feat: 更新商品/广告组件

This commit is contained in:
王奥斯 2021-11-10 17:27:54 +08:00
parent 7f328394cc
commit ea381b4fe4
2 changed files with 11 additions and 11 deletions

View File

@ -591,12 +591,12 @@ export default {
computed: {
styleText() {
let modeType
if (this.datas.commodityType === 0) return (modeType = '大图模式')
if (this.datas.commodityType === 1) return (modeType = '一行两个')
if (this.datas.commodityType === 2) return (modeType = '一行三个')
if (this.datas.commodityType === 3) return (modeType = '详细列表')
if (this.datas.commodityType === 4) return (modeType = '一大两小')
if (this.datas.commodityType === 5) return (modeType = '横向滑动')
if (this.datas.commodityType === 0) modeType = '大图模式'
if (this.datas.commodityType === 1) modeType = '一行两个'
if (this.datas.commodityType === 2) modeType = '一行三个'
if (this.datas.commodityType === 3) modeType = '详细列表'
if (this.datas.commodityType === 4) modeType = '一大两小'
if (this.datas.commodityType === 5) modeType = '横向滑动'
return modeType
},

View File

@ -270,11 +270,11 @@ export default {
computed: {
styleText() {
let data
if (this.datas.swiperType === 0) return (data = '一行一个')
if (this.datas.swiperType === 1) return (data = '轮播海报')
if (this.datas.swiperType === 2) return (data = '多图单行')
if (this.datas.swiperType === 3) return (data = '立体模式')
if (this.datas.swiperType === 4) return (data = '导航横向滑动')
if (this.datas.swiperType === 0) data = '一行一个'
if (this.datas.swiperType === 1) data = '轮播海报'
if (this.datas.swiperType === 2) data = '多图单行'
if (this.datas.swiperType === 3) data = '立体模式'
if (this.datas.swiperType === 4) data = '导航横向滑动'
return data
},