diff --git a/pages/index/index.vue b/pages/index/index.vue index 47743b9..3efd62b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -162,7 +162,6 @@ {{item.name}} - {{item.content}} @@ -343,23 +342,19 @@ tjData:[], felNav:[{ id:1, - content: '大家常买', - name: '热门精选' + name: '大家常买' }, { id:2, - content: '优惠提前享', - name: '推荐套餐' + name: '行业大拿' }, { id:3, - name: '专业培训', - content: '特色专业' + name: '女性专区', }, { id:4, - name: '更多优惠', - content: '更多' + name: '全部项目', }, ], scrollLeft:0, @@ -1127,23 +1122,23 @@ }, chengFel(item){//大家常买。。。 导航切换 this.currentTabFl=item.id; - if(this.currentTabFl=='1'){ + if(this.currentTabFl=='1'){//大家常买 this.remen() - }else if(this.currentTabFl=='2'){ + }else if(this.currentTabFl=='2'){//行业大拿 this.tjtaocan() - }else if(this.currentTabFl=='3'){ + }else if(this.currentTabFl=='3'){//女性专区 uni.navigateTo({ url:'/pages/my/fuwuxiangm' }) - }else{ + }else{//全部项目 uni.navigateTo({ url:'/pages/my/fuwuGengduo' }) } }, - tjtaocan(){//推荐套餐 - this.$Request.get("/app/massage/package/findPage", { - type:'104', + tjtaocan(){//行业大拿 + this.$Request.get("/app/artificer/selectArtificerList", { + isGoods:1, page:'1', limit:'4' }).then(res => { @@ -1157,10 +1152,8 @@ } }); }, - remen(){//热门精选 - this.$Request.get("/app/artificer/selectMassageTypePage", { - by: '3', - status:'1', + remen(){//大家常买 + this.$Request.get("/app/massage/package/findPackageAndMassagePage", { page:'1', limit:'4' }).then(res => { diff --git a/pages/my/fuwuxiangm.vue b/pages/my/fuwuxiangm.vue index eabd876..1b35b0d 100644 --- a/pages/my/fuwuxiangm.vue +++ b/pages/my/fuwuxiangm.vue @@ -1,85 +1,107 @@ - + \ No newline at end of file