|
@@ -33,6 +33,12 @@
|
|
|
<el-form-item label="字体色">
|
|
|
<el-color-picker v-model="formData.font_color"></el-color-picker>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="隐藏价格">
|
|
|
+ <el-radio-group v-model="formData.hide_prices">
|
|
|
+ <el-radio :label="0">显示</el-radio>
|
|
|
+ <el-radio :label="1">隐藏</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<template #label>
|
|
|
<span style="color: #f56c6c">*</span> 网址
|
|
@@ -277,6 +283,9 @@ export default {
|
|
|
if (!temp.font_color) {
|
|
|
temp.font_color = '#222'
|
|
|
}
|
|
|
+ if (typeof temp.hide_prices !== 'number') {
|
|
|
+ temp.hide_prices = 0
|
|
|
+ }
|
|
|
this.formData = temp
|
|
|
this.loading = false
|
|
|
},
|