update
parent
da44e606bc
commit
7a68b93079
|
@ -269,7 +269,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 单线图 -->
|
<!-- 单线图 -->
|
||||||
<div class="lineSvgFlag">
|
<div class="lineSvgFlag">
|
||||||
<el-dialog v-model="dialogVisible" width="30%" :show-close="false" :close-on-press-escape="false" :close-on-click-modal="false" custom-class="my-custom-dialog">
|
<el-dialog v-model="dialogVisible" width="50%" :show-close="false" :close-on-press-escape="false" :close-on-click-modal="false" custom-class="my-custom-dialog">
|
||||||
<!-- custom-class="customDialog_line panel" -->
|
<!-- custom-class="customDialog_line panel" -->
|
||||||
<div class="panel-footer"></div>
|
<div class="panel-footer"></div>
|
||||||
<div class="closeBtn" @click="handleClose"></div>
|
<div class="closeBtn" @click="handleClose"></div>
|
||||||
|
@ -541,7 +541,7 @@ let handleShowSvg = async (svgIndex: string) => {
|
||||||
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
|
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
|
||||||
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
|
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
|
||||||
draw.size('100%', '100%')
|
draw.size('100%', '100%')
|
||||||
draw.zoom(0.189)
|
draw.zoom(1)
|
||||||
|
|
||||||
// 设置文字为白色
|
// 设置文字为白色
|
||||||
draw.find('text').each(function () {
|
draw.find('text').each(function () {
|
||||||
|
@ -573,7 +573,7 @@ let handleCustomLine = (svgHtml, result) => {
|
||||||
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
|
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
|
||||||
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
|
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
|
||||||
draw.size('100%', '100%')
|
draw.size('100%', '100%')
|
||||||
draw.zoom(0.189)
|
draw.zoom(0.5)
|
||||||
|
|
||||||
console.log(result, 'result')
|
console.log(result, 'result')
|
||||||
let polyline = draw.find('polyline')
|
let polyline = draw.find('polyline')
|
||||||
|
@ -1546,8 +1546,8 @@ const styleVar = computed(() => {
|
||||||
}
|
}
|
||||||
:deep(.el-dialog) {
|
:deep(.el-dialog) {
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
width: changeHeight(2420);
|
width: changeHeight(3100);
|
||||||
height: changeHeight(1580);
|
height: changeHeight(1700);
|
||||||
// top: 10%;
|
// top: 10%;
|
||||||
// top: 50%;
|
// top: 50%;
|
||||||
// left: 50%;
|
// left: 50%;
|
||||||
|
|
Loading…
Reference in New Issue