diff --git a/data-room-ui/packages/BigScreenDesign/RightSetting/BorderSetting.vue b/data-room-ui/packages/BigScreenDesign/RightSetting/BorderSetting.vue
index cbf486cf..57ffac49 100644
--- a/data-room-ui/packages/BigScreenDesign/RightSetting/BorderSetting.vue
+++ b/data-room-ui/packages/BigScreenDesign/RightSetting/BorderSetting.vue
@@ -404,7 +404,6 @@ export default {
this.$refs.SourceDialog.init()
},
initMove(val){
- console.log(val)
this.$refs.MoveDialog.init(val,this.config.borderArray)
}
diff --git a/data-room-ui/packages/BigScreenDesign/RightSetting/MoveDialog/index.vue b/data-room-ui/packages/BigScreenDesign/RightSetting/MoveDialog/index.vue
index d9dfa503..d8832872 100644
--- a/data-room-ui/packages/BigScreenDesign/RightSetting/MoveDialog/index.vue
+++ b/data-room-ui/packages/BigScreenDesign/RightSetting/MoveDialog/index.vue
@@ -8,11 +8,14 @@
:appen-to-body="false"
class="bs-dialog-wrap bs-el-dialog"
@closed="close"
- @opened='getDom'
+ @opened="getDom"
>
-
+
-
+
方向 |
描述 |
@@ -21,27 +24,27 @@
左上角 |
不能拉伸 |
-
+
右上角 |
不能拉伸 |
-
+
左下角 |
不能拉伸 |
-
+
右下角 |
不能拉伸 |
-
+
左侧 |
宽度不变,高度自动拉伸 |
-
+
右侧 |
宽度不变,高度自动拉伸 |
-
+
顶部 |
高度不变,宽度自动拉伸 |
@@ -58,64 +61,73 @@
-
+ @change="changeTop"
+ />
-
+ @change="changeRight"
+ />
-
+ @change="changeBottom"
+ />
-
+ @change="changeLeft"
+ />
-
-
-
-
-
-
-
-
-
-
+ :src="imgUrl||url"
+ fit="fill"
+ />
+
+
+
+
{
+ if (array) {
+ [this.top, this.right, this.bottom, this.left] = array
+ this.$nextTick(() => {
this.changeTop(this.top)
this.changeRight(this.right)
this.changeBottom(this.bottom)
@@ -239,7 +251,7 @@ export default {
})
}
this.dialogVisible = true
- },
+ }
}
}
@@ -261,27 +273,36 @@ export default {
display: flex;
justify-content: center;
align-items: center;
+ td,th{
+ padding: 8px 20px;
+ text-align: center;
+ vertical-align: middle;
+ }
.img{
position: relative;
.toptitle{
position: absolute;
- top: -30px;
- left: 34%;
+ top: -43px;
+ left: 50%;
+ transform: translateX(-50%);
}
.righttitle{
position: absolute;
top: 50%;
- right: -110px;
+ transform: translateY(-50%);
+ right: -123px;
}
.bottomtitle{
position: absolute;
- bottom: -30px;
- left: 34%;
+ bottom: -43px;
+ left: 50%;
+ transform: translateX(-50%);
}
.lefttitle{
position: absolute;
top: 50%;
- left: -110px;
+ transform: translateY(-50%);
+ left: -123px;
}
// height: 100%;
.top{