Commit 2e191f6b1cb92907a75e30d91782621c1d5d3ccb
1 parent
066667dc4f
Exists in
master
修改详情页
Showing
2 changed files
with
17 additions
and
7 deletions
Show diff stats
src/pages.json
1 | 1 | { |
2 | 2 | "pages": [ |
3 | 3 | { |
4 | - "path" : "pages/refundProgress/refundProgress", | |
5 | - "style": { | |
6 | - "navigationBarTitleText": "申请退款" | |
7 | - } | |
8 | - }, | |
9 | - { | |
10 | 4 | "path": "pages/index/index", |
11 | 5 | "style": { |
12 | 6 | "navigationBarTitleText": "商城一览" |
13 | 7 | // "enablePullDownRefresh":true |
14 | 8 | } |
15 | 9 | }, |
10 | + { | |
11 | + "path" : "pages/refundProgress/refundProgress", | |
12 | + "style": { | |
13 | + "navigationBarTitleText": "申请退款" | |
14 | + } | |
15 | + }, | |
16 | 16 | { |
17 | 17 | "path" : "pages/myOrder/myOrder", |
18 | 18 | "style" : { | ... | ... |
src/pages/myOrder/orderCard.vue
... | ... | @@ -50,7 +50,7 @@ |
50 | 50 | </view> |
51 | 51 | <view class="payPrice">实付:<text class="priceNum">{{order.price}}</text> </view> |
52 | 52 | <view class="btns" v-if="order.orderType === 1"> |
53 | - <view class="btn-type1">申请退款</view> | |
53 | + <view class="btn-type1" @click="toRefundment">申请退款</view> | |
54 | 54 | <view class="btn-type2">去支付</view> |
55 | 55 | </view> |
56 | 56 | <view class="btns" v-if="order.orderType === 0"> |
... | ... | @@ -84,6 +84,16 @@ |
84 | 84 | data() { |
85 | 85 | return { |
86 | 86 | }; |
87 | + }, | |
88 | + methods:{ | |
89 | + toRefundment(){ | |
90 | + uni.navigateTo({ | |
91 | + url: '../refundment/refundment', | |
92 | + success: res => {}, | |
93 | + fail: () => {}, | |
94 | + complete: () => {} | |
95 | + }); | |
96 | + } | |
87 | 97 | } |
88 | 98 | } |
89 | 99 | </script> | ... | ... |