diff --git a/src/pages.json b/src/pages.json index 3466a14..0e28c49 100644 --- a/src/pages.json +++ b/src/pages.json @@ -119,6 +119,13 @@ "disableScroll": true } }, + { + "path": "my-act-list", + "style": { + "navigationBarTitleText": "我参加的活动", + "disableScroll": true + } + }, { "path": "merchant-activity", "style": { diff --git a/src/pages/merchant/components/cancel-card.vue b/src/pages/merchant/components/cancel-card.vue new file mode 100644 index 0000000..4196fc5 --- /dev/null +++ b/src/pages/merchant/components/cancel-card.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/pages/merchant/components/coupon-card.vue b/src/pages/merchant/components/coupon-card.vue new file mode 100644 index 0000000..e0b606c --- /dev/null +++ b/src/pages/merchant/components/coupon-card.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index 4f0e8cd..7c085dd 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -68,28 +68,18 @@ - - - - - - - diff --git a/src/pages/merchant/my-act-list.vue b/src/pages/merchant/my-act-list.vue new file mode 100644 index 0000000..95f0ead --- /dev/null +++ b/src/pages/merchant/my-act-list.vue @@ -0,0 +1,146 @@ + + + diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index 619d2cf..69eaa90 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -79,6 +79,7 @@ const state = reactive({ userInfo: {}, menuList: [ { text: "扫一扫", icon: "/static/icon/scan.png", path: "" }, + { text: "我参加的活动", icon: "/static/icon/act.png", path: "/pages/merchant/my-act-list" }, { text: "我的钱包", icon: "/static/icon/service_3.png", path: "/pages/wallet/list" }, { text: "我的人脸", icon: "/static/icon/service_5.png", path: "/pages/human-face/list" }, { text: "车辆管理", icon: "/static/icon/service_6.png", path: "/pages/car/userCar/list" }, diff --git a/src/sheep/api/act-cancel.ts b/src/sheep/api/act-cancel.ts index 85dc586..b290233 100644 --- a/src/sheep/api/act-cancel.ts +++ b/src/sheep/api/act-cancel.ts @@ -61,4 +61,13 @@ export default { method: "GET", params, }), + /** + * 用户领取核销券列表 + */ + userList: (params: any) => + request({ + url: "/wallet/act/cancel-item/app/user-list", + method: "GET", + params, + }), } diff --git a/src/sheep/api/act-com.ts b/src/sheep/api/act-com.ts index bfadc71..5d61111 100644 --- a/src/sheep/api/act-com.ts +++ b/src/sheep/api/act-com.ts @@ -28,4 +28,13 @@ export default { method: "GET", params, }), + /** + * 用户参加活动的数量统计 + */ + userTotal: (params: any) => + request({ + url: "/wallet/act/com/app/user-total", + method: "GET", + params, + }), } diff --git a/src/sheep/api/act-coupon.ts b/src/sheep/api/act-coupon.ts index d6c402c..9241343 100644 --- a/src/sheep/api/act-coupon.ts +++ b/src/sheep/api/act-coupon.ts @@ -10,4 +10,13 @@ export default { method: "POST", data, }), + /** + * 用户领取核销券列表 + */ + userList: (params: any) => + request({ + url: "/wallet/act-coupon-record/app/user-list", + method: "GET", + params, + }), } diff --git a/src/static/icon/act.png b/src/static/icon/act.png new file mode 100644 index 0000000..7f49d45 Binary files /dev/null and b/src/static/icon/act.png differ diff --git a/src/static/icon/act_cancel.png b/src/static/icon/act_cancel.png new file mode 100644 index 0000000..56792bb Binary files /dev/null and b/src/static/icon/act_cancel.png differ diff --git a/src/static/icon/act_coupon.png b/src/static/icon/act_coupon.png new file mode 100644 index 0000000..47da934 Binary files /dev/null and b/src/static/icon/act_coupon.png differ