orderRefund.wxml 2.4 KB

1
  1. <view class="content"><view class="order-item"><block wx:if="{{listStyle==1}}"><scroll-view class="goods-box" scroll-x="{{true}}"><block wx:for="{{item.cartInfo}}" wx:for-item="goodsItem" wx:for-index="goodsIndex" wx:key="goodsIndex"><view class="goods-item"><image class="goods-img" src="{{goodsItem.productInfo.image}}" mode="aspectFill"></image></view></block></scroll-view></block><block wx:for="{{item.cartInfo}}" wx:for-item="goodsItem" wx:for-index="goodsIndex" wx:key="goodsIndex"><block wx:if="{{listStyle==2}}"><view class="goods-box-single"><image class="goods-img" src="{{goodsItem.productInfo.image}}" mode="aspectFill"></image><view class="right"><text class="title clamp">{{goodsItem.productInfo.store_name}}</text><text class="attr-box">{{(goodsItem.attrInfo?goodsItem.attrInfo.suk:'')+" x "+goodsItem.cart_num}}</text><text class="price">{{goodsItem.productInfo.price}}</text></view></view></block></block></view><view class="orderDetial"><view class="row b-b flex"><text class="tit">订单总价</text><view class="input">{{"¥"+item.total_price}}</view></view><view class="row b-b flex"><text class="tit">邮费</text><view class="input">{{item.pay_postage>0?'¥'+item.pay_postage:'免邮费'}}</view></view><block wx:if="{{item.coupon_id>0}}"><view class="row b-b flex"><text class="tit">优惠券</text><view class="input">{{"-¥"+item.coupon_price}}</view></view></block><block wx:if="{{item.use_integral>0}}"><view class="row b-b flex"><text class="tit">积分抵扣</text><view class="input">{{"-¥"+item.use_integral}}</view></view></block><view class="row b-b flex"><text class="tit ">实付</text><view class="input payColor">{{"¥"+item.pay_price}}</view></view></view><view class="row b-b"><text class="tit">退款理由</text><picker mode="selector" range="{{value}}" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e"><block wx:if="{{refund}}"><view class="refund">{{refund||'请选择退款理由'}}</view></block><block wx:else><view class="noRefund">请选择退款理由</view></block></picker></view><view class="row b-b"><text class="tit">备注说明</text><input class="input" type="text" placeholder="请填写备注" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['','reason','$event',[]]]]]]}}" value="{{reason}}" bindinput="__e"/></view><button data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="add-btn" bindtap="__e">提交</button></view>