From 80e36d89d0ab7544227ee264be3ae8d459ee371f Mon Sep 17 00:00:00 2001
From: "Mr.jiang" <714156421@qq.com>
Date: Tue, 20 Aug 2024 16:57:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A5=B3=E6=80=A7=E4=B8=93=E5=8C=BA=20?=
=?UTF-8?q?=E5=8A=A0=E4=BE=A7=E8=BE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/index.vue | 33 +--
pages/my/fuwuxiangm.vue | 595 ++++++++++++++++++++++++----------------
2 files changed, 374 insertions(+), 254 deletions(-)
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 @@
-
-
-
-
-
- 服务项目
-
-
-
-
-
-
- 搜索
+
+
+
+
+
+ 服务项目
+
+
+
+
+
+
+ 搜索
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
- ¥{{item.price}}
- ¥{{item.oldPrice}}
-
-
-
- {{tag}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.value}}
+
+
+
-
- 助眠解压
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+ ¥{{item.price}}
+ ¥{{item.oldPrice}}
+
+
+
+ {{tag}}
+
+
+ 助眠解压
+
+
+
+
+ 已售{{item.sales}}
+
+
+ 查看
+
+
+
+
-
-
- 已售{{item.sales}}
-
-
- 查看
-
-
-
-
-
-
+
+
-
+
\ No newline at end of file