管理端 文案修改

pull/3/head
Jruome 2023-05-30 10:20:14 +08:00
parent 95f8e31dac
commit fc5a55141e
3 changed files with 21 additions and 12 deletions

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" :format="'163*163'"/> <imageUpload v-model="form.picUrl" :limit="1" :format="'664*238'" />
</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="请输入跳转链接"/>
@ -213,7 +213,10 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
// :deep(.el-upload-list__item){
width: 332px;
height: 119px;
}
.img-height { .img-height {
height: 150px; height: 150px;
} }

View File

@ -119,7 +119,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="微信客地址" prop="wxKfUrl"> <el-form-item label="微信客地址" prop="wxKfUrl">
<el-input v-model="form.wxKfUrl" placeholder="请输入"/> <el-input v-model="form.wxKfUrl" placeholder="请输入"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -131,7 +131,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="销售对接号码" prop="saleContactMobile"> <el-form-item label="销售对接号码" prop="saleContactMobile">
<el-input v-model="form.saleContactMobile" placeholder="请输入"/> <el-input v-model="form.saleContactMobile" placeholder="请输入"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -156,7 +156,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="店铺状态" prop="status"> <el-form-item label="启用状态" prop="status">
<el-radio-group v-model="form.status"> <el-radio-group v-model="form.status">
<el-radio v-for="dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)" <el-radio v-for="dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)"
:key="dict.value" :label="parseInt(dict.value)">{{ dict.label }} :key="dict.value" :label="parseInt(dict.value)">{{ dict.label }}
@ -459,6 +459,10 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
:deep(.el-upload-list__item){
width: 82px;
height: 82px;
}
.qrcode-wrap { .qrcode-wrap {
text-align: center; text-align: center;
} }

View File

@ -137,17 +137,19 @@
} }
}, },
watch:{ watch:{
'form.userPhone' (){ 'form.userPhone' (val){
this.verify() this.verify(val)
}, },
'form.confirmPhone' (){ 'form.confirmPhone' (val){
this.verify() this.verify(val)
} }
}, },
methods: { methods: {
async verify(){ async verify(phone){
const res = await memberByHomeGradeInfo(this.form.confirmPhone) if(this.form.userPhone == this.form.confirmPhone){
this.memberData = res.data const res = await memberByHomeGradeInfo(phone)
this.memberData = res.data
}
}, },
handleMember(value, index) { handleMember(value, index) {
if (!!parseInt(value.isExist)) return if (!!parseInt(value.isExist)) return