master
271556543@qq.com 3 years ago
parent a7cfae11ee
commit 66575dafb5

@ -122,7 +122,8 @@ export default {
{
'display':'flex',
'align-items':'center',
'flex-wrap':'wrap'
'flex-wrap':'wrap',
'min-width':'380px'
}
}>
{
@ -202,13 +203,14 @@ export default {
.ivu-modal-body{
max-height: 65vh !important;
min-height: 300px;
overflow-y: scroll;
overflow: scroll;
}
.xy-table-item{
display: flex;
align-items: center;
margin-right: 80px;
padding-right: 80px;
&-label{
padding: 0 20px;
@ -217,6 +219,9 @@ export default {
}
}
.el-form-item{
flex-basis: 50%;
}
.el-form-item__error{
white-space: nowrap;
word-break: keep-all !important;

@ -1,7 +1,7 @@
<!--新增门店-->
<template>
<div>
<xy-dialog :width="70" ref="dialog" :is-show.sync="isShow" :title="type === 'add' ? '新增门店' : '编辑门店'" type="form" :form="form" :rules="rules" @submit="submit">
<xy-dialog :width="66" ref="dialog" :is-show.sync="isShow" :title="type === 'add' ? '新增门店' : '编辑门店'" type="form" :form="form" :rules="rules" @submit="submit">
<template v-slot:belongsMerchant>
<div class="xy-table-item">
<div class="xy-table-item-label">

@ -16,7 +16,7 @@
<div class="xy-table-item-label">
图标
</div>
<div class="xy-table-item-content">
<div class="xy-table-item-content img-suggestion">
<div v-if="form.icon" style="position: relative;">
<img :src="form.icon" class="avatar">
<Button
@ -192,4 +192,14 @@ export default {
top: 1px;
left: 4%;
}
.img-suggestion::after{
content:'推荐大小 80*80';
font-size: 12px;
color: rgb(160,160,160);
transform: scale(0.9,0.95);
position: absolute;
bottom: -28px;
left: 140px;
}
</style>

Loading…
Cancel
Save