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"> <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() {

View File

@ -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="请输入跳转链接"/>

View File

@ -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>

View File

@ -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;