1 |
- <view class="content"><u-sticky vue-id="7453ac1f-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="navbar dfsb"><u-tabs vue-id="{{('7453ac1f-2')+','+('7453ac1f-1')}}" list="{{goodList}}" current="{{tabcur}}" activeStyle="{{({color:'#87C477'})}}" data-event-opts="{{[['^click',[['tabType']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs></view><view class="navbarTwo dfsb"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabClick',[index]]]]]}}" class="{{['nav-item',(tabCurrentIndex===index)?'current':'']}}" bindtap="__e">{{item.name}}</view></block></view></u-sticky><view class="box"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><navigator class="order-item bb" url="{{'./orderInfo?id='+item.id+'&tabcur='+tabcur}}"><view class="ordtitle dfsb"><text class="prosecond flex1">{{item.status_name}}</text></view><block wx:if="{{tabcur==0}}"><block><block wx:for="{{item.comments}}" wx:for-item="ite" wx:for-index="ind"><view class="shopshead dfsb"><image src="{{ite.goods_img}}" mode></image><view class="shopsInfo dffd"><view class="oneelli">{{ite.goods_name}}</view><view class="attr textgrey">{{ite.sku_val}}</view><view class="allInfo dfsb prosecond">{{''+(ite.goods_price||0.0)+''}}<text class="textgrey fontsm">{{"x"+ite.goods_num}}</text></view></view></view></block></block></block><block wx:if="{{tabcur!=0}}"><block><view class="shopshead dfsb"><image src="{{item.goods_img}}" mode></image><view class="shopsInfo dffd"><view class="oneelli">{{item.goods_name}}</view><view class="attr textgrey">{{item.sku_val}}</view><view class="allInfo dfsb prosecond">{{''+(item.goods_price||0.0)+''}}<text class="textgrey fontsm">{{"x"+(item.num||item.goods_num)}}</text></view></view></view></block></block><view class="other dfsb"><text>总计</text><text>{{item.goods_total}}</text></view><view class="btns dffs"><block wx:if="{{item.status==1}}"><view data-event-opts="{{[['tap',[['sureOrd',['$0',0],[[['orderList','',index]]]]]]]}}" class="cancle" catchtap="__e">取消</view></block><block wx:if="{{item.status>1&&item.status<5&&tabcur==0}}"><view data-event-opts="{{[['tap',[['sureOrd',['$0',3],[[['orderList','',index]]]]]]]}}" class="cancle" catchtap="__e">售后</view></block><block wx:if="{{item.status==1}}"><view data-event-opts="{{[['tap',[['sureOrd',['$0',1],[[['orderList','',index]]]]]]]}}" class="clickbtn" catchtap="__e">去付款</view></block><block wx:if="{{item.status==3}}"><view data-event-opts="{{[['tap',[['sureOrd',['$0',2],[[['orderList','',index]]]]]]]}}" class="clickbtn" catchtap="__e">确认收货</view></block></view></navigator></block><block wx:if="{{orderList.length<1}}"><view class="nodata"><u-empty vue-id="7453ac1f-3" icon-size="200" text="还没有订单哦" mode="order" bind:__l="__l"></u-empty></view></block></view></view>
|