mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-12 20:08:59 +08:00
fix(seller): 优化移动装修编辑器三栏布局与配置面板弹性适配防止溢出
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
<el-input v-model="item.title" maxlength="10" />
|
||||
</div>
|
||||
<div class="btn-row">
|
||||
<el-button plain type="primary" @click="pickImage(item)">选择照片</el-button>
|
||||
<el-button plain type="primary" @click="pickLink(item)">选择链接</el-button>
|
||||
<el-button plain type="primary" size="small" @click="pickImage(item)">选择照片</el-button>
|
||||
<el-button plain type="primary" size="small" @click="pickLink(item)">选择链接</el-button>
|
||||
</div>
|
||||
<div class="link-view" v-if="item.url && item.url.___type">
|
||||
已选链接:{{ linkText(item.url) }}
|
||||
@@ -312,7 +312,13 @@ export default {
|
||||
}
|
||||
.btn-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
:deep(.el-button),
|
||||
.el-button {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
.link-view {
|
||||
margin-top: 8px;
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
<div class="img-thumb placeholder" v-else>750*350</div>
|
||||
<div class="img-item-fields">
|
||||
<div class="btn-row">
|
||||
<el-button plain type="primary" @click="pickImage(item)">选择照片</el-button>
|
||||
<el-button plain type="primary" @click="pickLink(item)">选择链接</el-button>
|
||||
<el-button plain type="primary" size="small" @click="pickImage(item)">选择照片</el-button>
|
||||
<el-button plain type="primary" size="small" @click="pickLink(item)">选择链接</el-button>
|
||||
</div>
|
||||
<div class="link-view" v-if="item.url && item.url.___type">
|
||||
已选链接:{{ linkText(item.url) }}
|
||||
@@ -410,8 +410,8 @@ export default {
|
||||
gap: 10px;
|
||||
}
|
||||
.img-thumb {
|
||||
width: 132px;
|
||||
height: 62px;
|
||||
width: 120px;
|
||||
height: 60px;
|
||||
border: 1px dashed #dcdfe6;
|
||||
border-radius: 6px;
|
||||
padding: 3px;
|
||||
@@ -445,7 +445,14 @@ export default {
|
||||
}
|
||||
.btn-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
:deep(.el-button),
|
||||
.el-button {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 0 4px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
.link-view {
|
||||
margin-top: 8px;
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
</div>
|
||||
<div class="img-placeholder" v-else>尺寸不限</div>
|
||||
<div class="btn-row">
|
||||
<el-button plain type="primary" @click="pickImage">选择照片</el-button>
|
||||
<el-button plain type="primary" @click="openHotzone">绘制热区</el-button>
|
||||
<el-button plain type="primary" size="small" @click="pickImage">选择照片</el-button>
|
||||
<el-button plain type="primary" size="small" @click="openHotzone">绘制热区</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -263,6 +263,12 @@ export default {
|
||||
}
|
||||
.btn-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: 8px;
|
||||
:deep(.el-button),
|
||||
.el-button {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -177,3 +177,14 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
:deep(.el-button),
|
||||
.el-button {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@
|
||||
|
||||
.decorate {
|
||||
padding: 0 20px;
|
||||
height: calc(100vh - 96px);
|
||||
overflow-y: auto;
|
||||
min-height: 100%;
|
||||
box-sizing: border-box;
|
||||
background: #f5f7fa;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
min-width: 0;
|
||||
overflow-x: auto;
|
||||
.model-view-menu {
|
||||
flex: 1.5;
|
||||
min-width: 250px;
|
||||
flex: 0 0 250px;
|
||||
width: 250px;
|
||||
overflow-y: auto;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
@@ -41,13 +41,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.model-config {
|
||||
flex: 2.5;
|
||||
min-width: 380px;
|
||||
}
|
||||
.model-view-content {
|
||||
flex: 6;
|
||||
min-width: 400px;
|
||||
flex: 1;
|
||||
min-width: 520px;
|
||||
}
|
||||
.model-config {
|
||||
flex: 0 0 420px;
|
||||
width: 420px;
|
||||
min-width: 420px;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.model-item {
|
||||
line-height: 1.4;
|
||||
|
||||
Reference in New Issue
Block a user