From ea381b4fe452fb55ccb5b9ea4f05055a5f171672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=A5=E6=96=AF?= <9068149@qq.com> Date: Wed, 10 Nov 2021 17:27:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=95=86=E5=93=81/?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rightslider/listswitchingstyle/index.vue | 12 ++++++------ src/components/rightslider/pictureadsstyle/index.vue | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/rightslider/listswitchingstyle/index.vue b/src/components/rightslider/listswitchingstyle/index.vue index 355ae8b..59d7da5 100644 --- a/src/components/rightslider/listswitchingstyle/index.vue +++ b/src/components/rightslider/listswitchingstyle/index.vue @@ -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 }, diff --git a/src/components/rightslider/pictureadsstyle/index.vue b/src/components/rightslider/pictureadsstyle/index.vue index c92425f..f4bcf24 100644 --- a/src/components/rightslider/pictureadsstyle/index.vue +++ b/src/components/rightslider/pictureadsstyle/index.vue @@ -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 },