diff --git a/pages.json b/pages.json
index 954d491..63dbb7d 100644
--- a/pages.json
+++ b/pages.json
@@ -558,7 +558,7 @@
"root": "pages/other_package",
"pages": [
{
- "path": "productInfo/evaluateDetail",
+ "path": "coupon/coupon",
"style": {
"navigationStyle": "custom"
}
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 103c9cb..afac13f 100644
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -295,6 +295,12 @@ export default {
title: "钱包",
url: "https://static.tbmall.xin/static/mine/apply_purse.png",
path: "/pages/mine_package/mine_purse/mine_purse",
+ },
+ {
+ id: 6,
+ title: "优惠券",
+ url: "https://static.tbmall.xin/static/mine/apply_prize.png",
+ path: "/pages/other_package/coupon/coupon",
},
{
id: 2,
@@ -455,6 +461,12 @@ export default {
* @param {Object} item
*/
jumpTool(item) {
+ // 优惠券
+ if (item.id === 6) {
+ uni.navigateTo({
+ url: item.path,
+ });
+ }
// 客服
if (item.id === 7) {
uni.navigateTo({
diff --git a/pages/other_package/coupon/coupon.vue b/pages/other_package/coupon/coupon.vue
new file mode 100644
index 0000000..9484cef
--- /dev/null
+++ b/pages/other_package/coupon/coupon.vue
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+ ¥
+ {{ coupon.amount }}
+
+ {{ coupon.condition }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ coupon.title }}
+ {{ coupon.description }}
+
+
+
+ 仅剩 {{ coupon.timeLeft }}
+
+
+ 已失效
+
+
+
+
+
+ 使用
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file