12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <navbar parameter='{{parameter}}'></navbar>
- <view class='payment-status'>
- <!--失败时: 用icon-iconfontguanbi fail替换icon-duihao2 bg-color-->
- <view class='iconfont icon-duihao2 bg-color' wx:if="{{order_pay_info.paid || order_pay_info.pay_type == 'offline'}}"></view>
- <view class='iconfont icon-iconfontguanbi fail' wx:else></view>
- <!-- 失败时:订单支付失败 -->
- <view class='status' wx:if="{{order_pay_info.pay_type != 'offline'}}">{{order_pay_info.paid ? '订单支付成功':'订单支付失败'}}</view>
- <view class='status' wx:else>订单创建成功</view>
- <view class='wrapper'>
- <view class='item acea-row row-between-wrapper'>
- <view>订单编号</view>
- <view class='itemCom'>{{orderId}}</view>
- </view>
- <view class='item acea-row row-between-wrapper'>
- <view>下单时间</view>
- <view class='itemCom'>{{order_pay_info._pay_time}}</view>
- </view>
- <view class='item acea-row row-between-wrapper'>
- <view>支付方式</view>
- <view class='itemCom'>{{order_pay_info._status._payType}}</view>
- </view>
- <view class='item acea-row row-between-wrapper'>
- <view>支付金额</view>
- <view class='itemCom'>{{order_pay_info.pay_price}}</view>
- </view>
- <!--失败时加上这个 -->
- <view class='item acea-row row-between-wrapper' wx:if="{{order_pay_info.paid==0 && order_pay_info.pay_type != 'offline' }}">
- <view>失败原因</view>
- <view class='itemCom'>{{status==2 ? '取消支付':msg}}</view>
- </view>
- </view>
- <!--失败时: 重新购买 -->
- <view bindtap="goOrderDetails" wx:if="{{status==0}}">
- <button formType="submit" class='returnBnt bg-color' hover-class='none'>查看订单</button>
- </view>
- <view bindtap="goOrderDetails" wx:if="{{order_pay_info.paid==0 && status==1}}">
- <button class='returnBnt bg-color' hover-class='none'>重新购买</button>
- </view>
- <view bindtap="goOrderDetails" wx:if="{{order_pay_info.paid==0 && status==2}}">
- <button class='returnBnt bg-color' hover-class='none'>重新支付</button>
- </view>
- <form bindsubmit="goIndex" report-submit='true'>
- <button class='returnBnt cart-color' formType="submit" hover-class='none'>返回首页</button>
- </form>
- </view>
- <authorize bind:onLoadFun='onLoadFun'></authorize>
|