uniapp 样式修改

pull/2/head
Jruome 2023-05-29 20:19:04 +08:00
parent f9a503248e
commit ef9ee333f7
4 changed files with 10 additions and 4 deletions

View File

@ -24,6 +24,7 @@
<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="format"> <b style="color: #f56c6c">{{ format }}</b> </template>
<template v-if="fileType"> <b style="color: #f56c6c">{{ fileType.join("/") }}</b> </template>
的文件
</div>
@ -71,6 +72,11 @@ export default {
isShowTip: {
type: Boolean,
default: true
},
//
format: {
type: String,
default: ''
}
},
data() {

View File

@ -58,7 +58,7 @@
<el-input v-model="form.title" placeholder="请输入标题"/>
</el-form-item>
<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 label="跳转链接" prop="url">
<el-input v-model="form.url" placeholder="请输入跳转链接"/>

View File

@ -151,7 +151,7 @@
<el-row>
<el-col :span="12">
<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"/>
</el-form-item>
</el-col>

View File

@ -837,7 +837,7 @@
.header_bottom {
position: absolute;
margin-left: 43rpx;
bottom: 12%;
bottom: 9%;
width: 664rpx;
height: 238rpx;
@ -852,7 +852,7 @@
}
.notice {
margin-top: -6%;
margin-top: -1%;
margin-left: 48rpx;
width: 658rpx;
height: 67rpx;