| 1 |
- <view class="content data-v-dbb51246"><view class="navbar data-v-dbb51246"><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','data-v-dbb51246',(tabCurrentIndex===index)?'current':'']}}" bindtap="__e">{{item.text}}</view></block></view><view class="top-search data-v-dbb51246"><input class="search-key data-v-dbb51246" type="number" placeholder="请输入用户手机号码" data-event-opts="{{[['input',[['__set_model',['','userphone','$event',[]]]]]]}}" value="{{userphone}}" bindinput="__e"/><image class="search-logo data-v-dbb51246" src="../../static/icon/search.png" mode></image><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="search-btn data-v-dbb51246" catchtap="__e">搜索</view></view><swiper class="swiper-box data-v-dbb51246" style="{{'height:'+(height)+';'}}" current="{{tabCurrentIndex}}" duration="300" data-event-opts="{{[['change',[['changeTab',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l2}}" wx:for-item="tabItem" wx:for-index="tabIndex" wx:key="tabIndex"><swiper-item class="tab-content data-v-dbb51246"><scroll-view class="list-scroll-content data-v-dbb51246" style="{{'height:'+(height)+';'}}" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadData',['$event']]]]]}}" bindscrolltolower="__e"><block wx:if="{{tabItem.$orig.loaded===true&&tabItem.$orig.orderList.length===0}}"><empty vue-id="{{'9aec346e-1-'+tabIndex}}" class="data-v-dbb51246" bind:__l="__l"></empty></block><block wx:for="{{tabItem.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToOrderDetail',['$0'],[[['navList','',tabIndex],['orderList','',index]]]]]]]}}" class="order-item data-v-dbb51246" bindtap="__e"><view class="i-top b-b data-v-dbb51246"><text class="time data-v-dbb51246">{{"订单编号:"+item.$orig.order_id}}</text><block wx:if="{{tabCurrentIndex===0}}"><text class="state data-v-dbb51246" style="color:#901b21;font-size:26rpx;font-weight:500;">待退款</text></block><block wx:else><text class="state data-v-dbb51246" style="color:#901b21;">已退款</text></block><block wx:if="{{item.$orig.status===4}}"><text data-event-opts="{{[['tap',[['deleteOrder',[index]]]]]}}" class="del-btn iconfont icondelete data-v-dbb51246" bindtap="__e"></text></block></view><block wx:if="{{item.$orig._info>1}}"><scroll-view class="goods-box data-v-dbb51246" scroll-x="{{true}}"><block wx:for="{{item.$orig._info}}" wx:for-item="goodsItem" wx:for-index="goodsIndex" wx:key="goodsIndex"><view class="goods-item data-v-dbb51246"><image class="goods-img data-v-dbb51246" src="{{goodsItem.cart_info.productInfo.image}}" mode="aspectFill"></image></view></block></scroll-view></block><block wx:for="{{item.l0}}" wx:for-item="itemt" wx:for-index="__i0__"><view class="goods-box-single data-v-dbb51246"><image class="goods-img data-v-dbb51246" src="{{itemt.$orig.cart_info.productInfo.image}}" mode="scaleToFill"></image><view class="right data-v-dbb51246"><view class="flex-start data-v-dbb51246"><text class="title clamp data-v-dbb51246">{{itemt.$orig.cart_info.productInfo.store_name}}</text><text class="price data-v-dbb51246" style="flex-grow:1;text-align:right;color:#901B21;font-size:30rpx;font-weight:bold;">{{''+itemt.f0+''}}</text></view><view class="row flex data-v-dbb51246"><text class="attr-box data-v-dbb51246">{{"x "+itemt.$orig.cart_info.cart_num}}</text></view></view></view></block><view class="flex data-v-dbb51246"><view class="price-box data-v-dbb51246"><text style="color:#901b21;display:inline-block;margin-right:8rpx;" class="data-v-dbb51246">{{"押金:"+item.$orig.deposit}}</text>{{'已退还:'+item.$orig.deposit_back+''}}</view><block wx:if="{{tabCurrentIndex==0}}"><view class="price-box data-v-dbb51246">退款金额:<text class="price data-v-dbb51246">{{item.m0}}</text></view></block></view><block wx:if="{{tabCurrentIndex===0}}"><view class="action-box b-t data-v-dbb51246"><button data-event-opts="{{[['tap',[['backdeposit',['$0'],[[['navList','',tabIndex],['orderList','',index]]]]]]]}}" class="action-btn data-v-dbb51246" catchtap="__e">退还押金</button><button data-event-opts="{{[['tap',[['agreeRefund',['$0'],[[['navList','',tabIndex],['orderList','',index]]]]]]]}}" class="action-btn data-v-dbb51246" catchtap="__e">同意退款</button></view></block></view></block><uni-load-more vue-id="{{'9aec346e-2-'+tabIndex}}" status="{{tabItem.$orig.loadingType}}" class="data-v-dbb51246" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper><uni-popup class="agree-wrapper data-v-dbb51246 vue-ref" vue-id="9aec346e-3" data-ref="popupagree" bind:__l="__l" vue-slots="{{['default']}}"><view class="agree data-v-dbb51246"><image src="https://zccy.liuniu946.com/static/img/agreebg.png" mode class="data-v-dbb51246"></image><view class="tap1 data-v-dbb51246">确认同意该笔退款吗?</view><view class="tap2 data-v-dbb51246">一旦操作将无法再次退还押金</view><view class="btn-wrapper flex data-v-dbb51246"><view data-event-opts="{{[['tap',[['cansel',['$event']]]]]}}" bindtap="__e" class="data-v-dbb51246">取消</view><view data-event-opts="{{[['tap',[['agree',['$event']]]]]}}" class="tybtn data-v-dbb51246" bindtap="__e">继续</view></view></view></uni-popup><uni-popup vue-id="9aec346e-4" type="center" data-ref="popupadmin" class="data-v-dbb51246 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="bind-admin-wappper data-v-dbb51246"><view class="title data-v-dbb51246">押金退还</view><view class="admin-item data-v-dbb51246"><view class="item-name data-v-dbb51246">订单号</view><view class="item-val data-v-dbb51246"><input type="text" placeholder="订单号不能为空" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','orderId','$event',[]]]]]]}}" value="{{orderId}}" bindinput="__e" class="data-v-dbb51246"/></view></view><view class="admin-item data-v-dbb51246"><view class="item-name data-v-dbb51246">退还金额</view><view class="item-val data-v-dbb51246"><input type="text" placeholder="请输入退还金额" data-event-opts="{{[['input',[['__set_model',['','backNum','$event',[]]]]]]}}" value="{{backNum}}" bindinput="__e" class="data-v-dbb51246"/></view></view><view class="btn-wrapper data-v-dbb51246"><view data-event-opts="{{[['tap',[['backClose',['$event']]]]]}}" class="btn data-v-dbb51246" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['qrbackDeposit',['$event']]]]]}}" class="btn btn1 data-v-dbb51246" bindtap="__e">确定</view></view></view></uni-popup></view>
|