You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

114 lines
5.2 KiB

<!--pages/aftersales/index.wxml-->
<view class="body" wx:if="{{remind}}">
<view class='zong'>
<view class="spinner">
<view class="spinner-container container1">
<view class="circle1"></view>
<view class="circle2"></view>
<view class="circle3"></view>
<view class="circle4"></view>
</view>
<view class="spinner-container container2">
<view class="circle1"></view>
<view class="circle2"></view>
<view class="circle3"></view>
<view class="circle4"></view>
</view>
<view class="spinner-container container3">
<view class="circle1"></view>
<view class="circle2"></view>
<view class="circle3"></view>
<view class="circle4"></view>
</view>
</view>
</view>
</view>
<!-- 加载页面结束 -->
<block wx:else>
<view class="c_t60"></view>
<scroll-view scroll-y="true" style="height:100%;">
<view class="search_no" wx:if="{{orderList.length < 1}}">
<view class="font_14">
<image class="scimg" src="/images/search_no.png"></image>
</view>
<text>没有可用订单/(ㄒoㄒ)/~~</text>
</view>
<view class="list" wx:for="{{orderList}}" wx:key="key">
<view class="top">
<view>订单号:{{item.r_sNo}}
<view class="tab_statu" style='color:#FA5151;' wx:if="{{item.r_type == 0}}">待核审</view>
<view class="tab_statu sbutt" data-id='{{item.id}}' bindtap='setModalStatus' data-status="1" wx:if="{{item.r_type == 1 || item.r_type == 11}}">待回寄></view>
<view class="tab_statu sbutt" bindtap='jujue' data-index='{{index}}' wx:if="{{item.r_type == 2 || item.r_type == 5 || item.r_type == 8 || item.r_type == 10}}">已拒绝></view>
<view class="tab_statu" style='color:#FA5151;' wx:if="{{item.r_type == 3}}">待卖家收货</view>
<view class="tab_statu" style='color:#FA5151;' wx:if="{{item.r_type == 4 || item.r_type == 9}}">已退款</view>
<view class="tab_statu" style='color:#FA5151;' wx:if="{{item.r_type == 12}}">已结束</view>
</view>
</view>
<view class="shop df">
<image class="sh_slt" src="{{item.imgurl}}"></image>
<view class="sp_text">
<view class="sp_tit ovh1" style="color:#000;">{{item.p_name}}</view>
<view class="sp_tit ovh1" style='color:#999'>{{item.size}}</view>
</view>
<view class="sp_jg">
<view class='guige' style="color:#000;">¥ {{item.p_price}} </view>
<view class='guige'>x{{item.num}}</view>
</view>
</view>
<view class="bottom">
<image wx:if="{{item.re_type==2}}" src="/images/tuikuan.png" mode="" />
<image wx:elif="{{item.re_type==1}}" src="/images/tuihuo.png" mode="" />
<image wx:elif="{{item.re_type==3}}" src="/images/huanhuo.png" mode="" />
<text>{{item.re_type==2?'仅退款':item.re_type==1?'退货退款':'换货'}}</text>
<view class="right">
<view class="normalBtn" bindtap="navToAsdetail" data-info="{{item}}">查看详情</view>
<view class="confirmBtn" bindtap="cancelAct" data-info="{{item}}">撤销审核</view>
</view>
</view>
</view>
</scroll-view>
</block>
<!-- 弹窗 -->
<view class="drawer_screen" bindtap="setModalStatus" data-status="0" wx:if="{{showModalStatus}}"></view>
<view animation="{{animationData}}" class="drawer_attr_box" catchtouchmove="preventTouchMove" wx:if="{{showModalStatus}}">
<view style="margin-top: 10%;">
<view class='thxq'>退货地址:
<text>{{address}}</text>
</view>
<view class='thxq'>退货联系人:{{name}}</view>
<view class='thxq'>退货联系电话:{{phone}}</view>
<view class='thxq' style='padding-top:0;'>
<form bindsubmit="kdtj">
<view class='Withdraw'>
<view class="section" style="width: 100%;">
<picker bindchange="bindPickerChange" value="{{index}}" range="{{exp}}">
<view class="picker">
快递名称:
<view style='display:inline-block;margin-top:3px;'>
<image style='width:40rpx;height:40rpx;' src='../../images/xjt.png'></image>
</view>
<text style='margin-left: 10px;'>{{express[index].kuaidi_name}}</text>
<input style='display:none' name='kdname' value='{{express[index].kuaidi_name}}' type='text'></input>
</view>
</picker>
</view>
</view>
<view class='Withdraw'>
<view>快递单号:</view>
<input class='cash' name='kdcode' maxlength='20' value='' placeholder="" type='number'></input>
</view>
<view class='Withdraw'>
<view>联 系 人: </view>
<input class='cash' name='lxr' maxlength='20' value='' placeholder="" type='text'></input>
</view>
<view class='Withdraw'>
<view>联系电话:</view>
<input class='cash' name='lxdh' maxlength='11' value='' placeholder="" type='number'></input>
</view>
<button class="pay_foot" style='color:#fff;background:{{bgcolor}};border:1px solid {{bgcolor}};border-radius:30px;margin:0;font-size:14px;padding:0;width:90px;height:33px;line-height:32px;' formType="submit">提交</button>
</form>
</view>
</view>
</view>