|
@@ -9,14 +9,14 @@
|
|
|
<text class="iconfont icon-chenggong true" style="font-size: 100rpx; color: greenyellow"></text>
|
|
|
</view>
|
|
|
<view class="textclass"> 支付成功 </view>
|
|
|
- <view class="textclass" style="margin-top: 20rpx"> ¥{{ 133 }} </view>
|
|
|
+ <view class="textclass" style="margin-top: 20rpx"> ¥{{ detail.totalAmount }} </view>
|
|
|
</view>
|
|
|
<view class="zhuangtaitubiao" v-if="[3].includes(type)">
|
|
|
<view class="icon">
|
|
|
<text class="iconfont icon-shibai false" style="font-size: 100rpx; color: red"></text>
|
|
|
</view>
|
|
|
<view class="textclass"> 支付失败 </view>
|
|
|
- <view class="textclass" style="margin-top: 20rpx"> ¥{{ 133 }} </view>
|
|
|
+ <view class="textclass" style="margin-top: 20rpx"> ¥{{ detail.totalAmount }} </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="zhuangtaitubiao" style="justify-content: flex-start !important" v-if="[2].includes(type)">
|
|
@@ -39,7 +39,7 @@
|
|
|
</view>
|
|
|
<view class="row">
|
|
|
<view class="label">支付方式:</view>
|
|
|
- <view class="value">{{ detail.payType | payTypeFilter }}</view>
|
|
|
+ <view class="value">微信支付</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -74,15 +74,6 @@ export default {
|
|
|
default: 3
|
|
|
}
|
|
|
},
|
|
|
- filters: {
|
|
|
- payTypeFilter(val) {
|
|
|
- const MAP = {
|
|
|
- WECHAT: '微信支付',
|
|
|
- LINE: '线下支付'
|
|
|
- }
|
|
|
- return MAP[val]
|
|
|
- }
|
|
|
- },
|
|
|
data() {
|
|
|
return {
|
|
|
type: this.state,
|
|
@@ -108,7 +99,7 @@ export default {
|
|
|
this.timeId = setTimeout(() => {
|
|
|
this.miao--
|
|
|
}, 1000)
|
|
|
- } else {
|
|
|
+ } else if (this.state != 2) {
|
|
|
this.type = 3
|
|
|
}
|
|
|
},
|