提交 053b8b4d authored 作者: 王天霸's avatar 王天霸

图片优化

上级 d076d398
......@@ -44,7 +44,7 @@
<i class="el-icon-warning h-warning"></i>
</span>
</div>
<div style="width:380px;line-height: 24px;padding-top: 6px;">
<div style="width:400px;line-height: 24px;padding-top: 6px;">
<span class="tips-text">图片大小为500KB以内,支持png/jpg,限一张,请确保图片清晰</span></br>
<span class="tips-text">请确保营业执照在有效期内</span>
</div>
......@@ -795,6 +795,11 @@
}
}
</script>
<style scoped>
.main-con /deep/ .uploadData .el-upload-list--picture-card .el-upload-list__item{
line-height: 20px !important;
}
</style>
<style lang="scss" type="text/stylus" scoped>
.fill-store-inf {
......
......@@ -568,7 +568,11 @@
} // methods end
}
</script>
<style scoped>
.main-con /deep/ .uploadData .el-upload-list--picture-card .el-upload-list__item{
line-height: 20px !important;
}
</style>
<style lang="scss" type="text/stylus" scoped>
.fill-store-inf {
font-size : 16px;
......
......@@ -49,14 +49,14 @@ export default {
// insertImgFn 是获取图片 url 后,插入到编辑器的方法
// 上传图片,返回结果,将图片插入到编辑器中
that.getAllImg(files).then((res) => {
let data = { data: [] };
let data = { data: [],type:3 };
let imgBase = "";
if (res.length > 0) {
for (let i = 0; i < res.length; i++) {
imgBase = "";
imgBase = res[i].split(",")[1];
if (imgBase) {
data.data.push({ img_data: imgBase,type:3});
data.data.push({ img_data: imgBase});
}
}
......
......@@ -85,7 +85,7 @@
<!-- 新增/修改/详情 -->
<el-dialog :title="brandTitle" v-if="isOpen" :visible.sync="isOpen" width="70%" class="brandInf-add" center
:close-on-click-modal="false" :before-close="handleCancel">
<el-form :model="brandForm" :rules="brandRules" ref="brandForm" label-width="140px">
<el-form :model="brandForm" :rules="brandRules" class="brandForm" ref="brandForm" label-width="140px">
<el-row v-if="indexBrandId != 0 && brandForm.status != 3">
<p class="brand-status-con">
<span v-if="brandForm.status == 1" class="color-spe-success"><i class="el-icon-success"></i></span>
......@@ -1041,7 +1041,11 @@
} // methods end
}
</script>
<style scoped>
.brandForm /deep/ .uploadData .el-upload-list--picture-card .el-upload-list__item{
line-height: 20px !important;
}
</style>
<style lang="scss" type="text/stylus" scoped>
.brandInf-add {
/deep/.el-dialog {
......
......@@ -251,7 +251,7 @@
<!--编辑-->
<el-dialog title="编辑店铺信息" :visible.sync="isOpen" width="65%" class="shopinf-edit"
center :destroy-on-close="true" :close-on-click-modal="false" :before-close="handleCancel">
<el-form v-if="isOpen" ref="editForm" :model="editForm" :rules="editRules" label-width="180px" size="small">
<el-form v-if="isOpen" ref="editForm" class="editForm" :model="editForm" :rules="editRules" label-width="180px" size="small">
<el-form-item label="电商平台经验:" prop="is_business_experience">
<el-radio-group v-model="editForm.is_business_experience">
......@@ -937,7 +937,14 @@
}
}
</script>
<style scoped>
.box-card /deep/ .uploadData .el-upload-list--picture-card .el-upload-list__item{
line-height: 20px !important;
}
.editForm /deep/ .uploadData .el-upload-list--picture-card .el-upload-list__item{
line-height: 20px !important;
}
</style>
<style lang="scss" type="text/stylus" scoped>
.shopinf-edit {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论