1.扫码支付结果页面
parent
a1544094c5
commit
9306294ef1
|
|
@ -105,10 +105,13 @@
|
|||
font-size: 28rpx;
|
||||
border: 2rpx #eee solid;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
min-height: 80rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 10rpx;
|
||||
color: #555;
|
||||
background: #F1F1F1;
|
||||
box-sizing: unset !important;
|
||||
}
|
||||
|
||||
.dialog-btn-group {
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@
|
|||
</view>
|
||||
<view v-if="data.payment_list.length > 2" class="br-t margin-top-sm padding-top-main tc cr-grey-9" @tap="more_event">
|
||||
<text>更多</text>
|
||||
<iconfont class="icon-mendian-jiantou2" size="24rpx"></iconfont>
|
||||
<iconfont class="icon-fenlei-top" size="24rpx"></iconfont>
|
||||
<iconfont :name="is_more ? 'icon-mendian-jiantou2' : 'icon-fenlei-top'" size="24rpx"></iconfont>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -52,20 +51,19 @@
|
|||
</view>
|
||||
</block>
|
||||
<!-- 输入框示例 -->
|
||||
<uni-popup ref="inputDialog" type="dialog">
|
||||
<uni-popup ref="inputDialog" type="dialog" :animation="false">
|
||||
<view class="dialog-container">
|
||||
<view class="dialog-title">
|
||||
<text>备注</text>
|
||||
</view>
|
||||
<view class="dialog-content">
|
||||
<input type="text" :value="form.note" class="dialog-input" maxlength="200" @input="input_change" />
|
||||
<input type="text" class="dialog-input" maxlength="200" @input="input_change" />
|
||||
</view>
|
||||
<view class="dialog-btn-group">
|
||||
<view class="dialog-btn cr-grey-9" @tap="input_dialog_colse">取消</view>
|
||||
<view class="dialog-btn br-l-f5" @tap="input_dialog_open">确定</view>
|
||||
<view class="dialog-btn divider-l" @tap="input_dialog_open">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <uni-popup-dialog ref="inputClose" mode="input" title="添加备注" placeholder=" " @confirm="input_dialog"></uni-popup-dialog> -->
|
||||
</uni-popup>
|
||||
</view>
|
||||
<view class="bg-white tc text-size-xl fw-b sub-key-content">
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
<view>
|
||||
<view v-if="(data || null) !== null" class="page-bottom-fixed">
|
||||
<view class="bg-white padding-main">
|
||||
<view v-if="(data.scanpay_info || null) !== null" class="tc margin-bottom-lg">
|
||||
<view class="user-title-img auto circle br oh">
|
||||
<image v-if="data.scanpay_info.logo" :src="data.scanpay_info.logo" mode="widthFix" class="wh-auto" />
|
||||
<block v-if="(data.order_info.status || null) !== null && data.order_info.status == 1">
|
||||
<view class="tc margin-bottom-lg">
|
||||
<view class="user-title-img auto circle br oh">
|
||||
<image v-if="data.scanpay_info.logo" :src="data.scanpay_info.logo" mode="widthFix" class="wh-auto" />
|
||||
</view>
|
||||
<view class="text-size margin-top-sm">{{ data.scanpay_info.name }}</view>
|
||||
</view>
|
||||
<view class="text-size margin-top-sm">{{ data.scanpay_info.name }}</view>
|
||||
</view>
|
||||
<block v-if="(data.order_info || null) !== null">
|
||||
<view class="flex-row jc-sb align-c spacing-mb">
|
||||
<view class="cr-base">订单状态</view>
|
||||
<view class="flex-1 flex-width tr" :class="data.order_info.status == 1 ? 'cr-green' : 'cr-red'">{{ data.order_info.status == 1 ? '支付成功' : '支付失败' }}</view>
|
||||
|
|
@ -22,15 +22,23 @@
|
|||
<view class="flex-1 flex-width tr fw-b cr-red">{{ currency_symbol }}{{ data.order_info.pay_price }}</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-else>
|
||||
<view class="padding-top-xxxl padding-bottom-main tc">
|
||||
<view class="cr-grey-c">
|
||||
<iconfont name="icon-payment-fail" size="120rpx"></iconfont>
|
||||
</view>
|
||||
<view class="margin-top-lg">支付失败</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<view v-if="(data.ad_code || null) !== null" class="padding-main">
|
||||
<view class="bg-white border-radius-main padding-main">
|
||||
<view class="border-radius-main">
|
||||
<mp-html :content="data.ad_code" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-fixed br-0 bg-grey-f5">
|
||||
<view class="bottom-line-exclude">
|
||||
<button class="bg-main br-main cr-white round text-size" type="default" hover-class="none" @tap="exit_event">关闭页面</button>
|
||||
<button class="bg-red br-red cr-white round text-size" type="default" hover-class="none" @tap="exit_event">关闭页面</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -92,6 +100,7 @@
|
|||
dataType: 'json',
|
||||
success: (res) => {
|
||||
uni.hideLoading();
|
||||
uni.stopPullDownRefresh();
|
||||
if (res.data.code == 0) {
|
||||
this.setData({
|
||||
data: res.data.data || null,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,11 @@
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-jianpan-guanbi:before {
|
||||
.icon-payment-fail:before {
|
||||
content: "\e6e6";
|
||||
}
|
||||
|
||||
.icon-keyboard-backspace:before {
|
||||
content: "\e6e5";
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue