mirror of
https://gitee.com/was666/as-editor.git
synced 2026-01-29 00:02:43 +08:00
feat: 更新商品/广告组件
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user