uniapp 样式修改
parent
f9a503248e
commit
ef9ee333f7
|
@ -24,6 +24,7 @@
|
||||||
<div class="el-upload__tip" slot="tip" v-if="showTip">
|
<div class="el-upload__tip" slot="tip" v-if="showTip">
|
||||||
请上传
|
请上传
|
||||||
<template v-if="fileSize"> 大小不超过 <b style="color: #f56c6c">{{ fileSize }}MB</b> </template>
|
<template v-if="fileSize"> 大小不超过 <b style="color: #f56c6c">{{ fileSize }}MB</b> </template>
|
||||||
|
<template v-if="format"> 尺寸为 <b style="color: #f56c6c">{{ format }}</b> </template>
|
||||||
<template v-if="fileType"> 格式为 <b style="color: #f56c6c">{{ fileType.join("/") }}</b> </template>
|
<template v-if="fileType"> 格式为 <b style="color: #f56c6c">{{ fileType.join("/") }}</b> </template>
|
||||||
的文件
|
的文件
|
||||||
</div>
|
</div>
|
||||||
|
@ -71,6 +72,11 @@ export default {
|
||||||
isShowTip: {
|
isShowTip: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
|
},
|
||||||
|
// 格式提示
|
||||||
|
format: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
<el-input v-model="form.title" placeholder="请输入标题"/>
|
<el-input v-model="form.title" placeholder="请输入标题"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="缩略图" prop="picUrl">
|
<el-form-item label="缩略图" prop="picUrl">
|
||||||
<imageUpload v-model="form.picUrl" :limit="1"/>
|
<imageUpload v-model="form.picUrl" :limit="1" :format="'163*163'"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="跳转链接" prop="url">
|
<el-form-item label="跳转链接" prop="url">
|
||||||
<el-input v-model="form.url" placeholder="请输入跳转链接"/>
|
<el-input v-model="form.url" placeholder="请输入跳转链接"/>
|
||||||
|
|
|
@ -151,7 +151,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="店铺LOGO图片" prop="logo">
|
<el-form-item label="店铺LOGO图片" prop="logo">
|
||||||
<ImageUpload v-model="form.logo" :limit="1" :isShowTip="false"
|
<ImageUpload v-model="form.logo" :limit="1" :format="'163*163'"
|
||||||
class="upload-image"/>
|
class="upload-image"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
|
@ -837,7 +837,7 @@
|
||||||
.header_bottom {
|
.header_bottom {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: 43rpx;
|
margin-left: 43rpx;
|
||||||
bottom: 12%;
|
bottom: 9%;
|
||||||
width: 664rpx;
|
width: 664rpx;
|
||||||
height: 238rpx;
|
height: 238rpx;
|
||||||
|
|
||||||
|
@ -852,7 +852,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
margin-top: -6%;
|
margin-top: -1%;
|
||||||
margin-left: 48rpx;
|
margin-left: 48rpx;
|
||||||
width: 658rpx;
|
width: 658rpx;
|
||||||
height: 67rpx;
|
height: 67rpx;
|
||||||
|
|
Loading…
Reference in New Issue