|
@@ -16,28 +16,30 @@
|
|
|
<view class="order-wrap">
|
|
|
<view class="more">
|
|
|
<text class="title">我的订单</text>
|
|
|
- <view> <text class="more-right">全部订单</text> <text class="iconfont icon-chakangengduo"></text> </view>
|
|
|
+ <view @click="navigator('/pages/user/order/order-list?state=0')">
|
|
|
+ <text class="more-right">全部订单</text> <text class="iconfont icon-chakangengduo"></text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="line"></view>
|
|
|
<!-- 菜单选项 -->
|
|
|
<view class="order-nav">
|
|
|
- <view class="order-nav-item">
|
|
|
+ <view class="order-nav-item" @click="navigator('/pages/user/order/order-list?state=1')">
|
|
|
<image src="@/static/ws/dh_dfk_02.png" mode="widthFix"></image> <text>待付款</text>
|
|
|
</view>
|
|
|
- <view class="order-nav-item">
|
|
|
+ <view class="order-nav-item" @click="navigator('/pages/user/order/order-list?state=2')">
|
|
|
<image src="@/static/ws/dh_dfh_03.png" mode="widthFix"></image> <text>待发货</text>
|
|
|
</view>
|
|
|
- <view class="order-nav-item">
|
|
|
+ <view class="order-nav-item" @click="navigator('/pages/user/order/order-list?state=3')">
|
|
|
<image src="@/static/ws/dh_yfh_04.png" mode="widthFix"></image> <text>已发货</text>
|
|
|
</view>
|
|
|
- <view class="order-nav-item">
|
|
|
+ <view class="order-nav-item" @click="navigator('/pages/user/order/order-list?state=4')">
|
|
|
<image src="@/static/ws/dh_tk_05.png" mode="widthFix"></image> <text>退货/款</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 订单状态区域END -->
|
|
|
<!-- 帮机构下单 -->
|
|
|
- <view class="place-order" @click="toClubList">
|
|
|
+ <view class="place-order" @click="navigator('/pages/user/club/club-list')">
|
|
|
<view class="place-left"> <text class="iconfont icon-bangjigouxiadan"></text> <text class="title">帮机构下单</text> </view>
|
|
|
<text class="iconfont icon-chakangengduo"></text>
|
|
|
</view>
|
|
@@ -95,7 +97,9 @@ export default {
|
|
|
firstList: [{ name: '帮机构下单', path: '/pages/user/club/club-list', icon: 'icon-yunyingrenyuanguanli' }]
|
|
|
}
|
|
|
},
|
|
|
- onLoad() {},
|
|
|
+ onLoad() {
|
|
|
+
|
|
|
+ },
|
|
|
computed: {
|
|
|
...mapState(['hasLogin', 'userInfo'])
|
|
|
},
|