1.修改H5 支付完成跳转

2.价格精度问题
yj-dev
杨杰 3 years ago
parent cc5dc93ed5
commit bc9eeb2710
  1. 16
      App.vue
  2. 21
      pages/goods/refuel-succes/refuel-succes.vue
  3. 8
      pages/user/order_details/order_details.vue
  4. 2
      pages/user/order_list/order_list.vue

@ -5,15 +5,15 @@
// brestUrl: 'http://192.168.3.4:9302/brest', // brestUrl: 'http://192.168.3.4:9302/brest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/', // imgUrl: 'https://192.168.3.4:9301/filesystem/',
// //
// url: 'https://hsg.dctpay.com/crest', url: 'https://hsg.dctpay.com/crest',
// imgUrl: 'https://hsg.dctpay.com/filesystem/', imgUrl: 'https://hsg.dctpay.com/filesystem/',
// brestUrl : 'https://hsg.dctpay.com/brest', brestUrl : 'https://hsg.dctpay.com/brest',
// imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
// //
url: 'https://hsgcs.dctpay.com/crest', // url: 'https://hsgcs.dctpay.com/crest',
brestUrl : 'https://hsgcs.dctpay.com/brest', // brestUrl : 'https://hsgcs.dctpay.com/brest',
imgUrl: 'https://hsgcs.dctpay.com/filesystem/', // imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', // imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
userInfo: "", userInfo: "",
brestUserInfo : '', brestUserInfo : '',
openId: '', openId: '',

@ -68,6 +68,8 @@
<text class="paddtright10">{{orderInfo.deductionPrice}}</text> <text class="paddtright10">{{orderInfo.deductionPrice}}</text>
</view> </view>
</view> </view>
<view class="btn mart50" @click="backHome()">返回首页</view>
<!-- <view class="width90 font13 fcor999 mart10"> <!-- <view class="width90 font13 fcor999 mart10">
*本站不支持电子发票,如需发票请到加油站前台索取 *本站不支持电子发票,如需发票请到加油站前台索取
</view> --> </view> -->
@ -127,6 +129,11 @@
} }
}) })
}, },
backHome(){
uni.switchTab({
url:'../../tabBar/home/home'
})
}
} }
} }
</script> </script>
@ -193,4 +200,18 @@
border-top: 1px solid #58C4E6; border-top: 1px solid #58C4E6;
border-left: 1px solid #58C4E6; border-left: 1px solid #58C4E6;
} }
.btn {
color: #FFFFFF;
background-color: #0083f5;
width: 80%;
margin-left: 10%;
margin-top: 80rpx;
margin-bottom: 50rpx;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 45rpx;
font-size: 40rpx;
}
</style> </style>

@ -112,7 +112,7 @@
<view class="right" v-else> <view class="right" v-else>
<image style="width: 15px;height: 15px;vertical-align: sub;" <image style="width: 15px;height: 15px;vertical-align: sub;"
src="../../../static/img/jfx.png"> src="../../../static/img/jfx.png">
</image>{{recinfo.totalPrice * 10 * 10}} </image>{{(recinfo.totalPrice * 10 * 10).toFixed(0)}}
</view> </view>
</view> </view>
<view class="row" v-if="recinfo.payPrice"> <view class="row" v-if="recinfo.payPrice">
@ -125,7 +125,7 @@
<view class="right" v-else> <view class="right" v-else>
<image style="width: 15px;height: 15px;vertical-align: sub;" <image style="width: 15px;height: 15px;vertical-align: sub;"
src="../../../static/img/jfx.png"> src="../../../static/img/jfx.png">
</image>{{recinfo.payPrice* 10 * 10}} </image>{{(recinfo.payPrice* 10 * 10).toFixed(0)}}
</view> </view>
</view> </view>
<view class="row" v-if="recinfo.payRealPrice"> <view class="row" v-if="recinfo.payRealPrice">
@ -138,7 +138,7 @@
<view class="right" v-else> <view class="right" v-else>
<image style="width: 15px;height: 15px;vertical-align: sub;" <image style="width: 15px;height: 15px;vertical-align: sub;"
src="../../../static/img/jfx.png"> src="../../../static/img/jfx.png">
</image>{{recinfo.payRealPrice * 10 * 10}} </image>{{(recinfo.payRealPrice * 10 * 10).toFixed(0)}}
</view> </view>
</view> </view>
<view class="row" v-if="recinfo.deductionPrice"> <view class="row" v-if="recinfo.deductionPrice">
@ -151,7 +151,7 @@
<view class="right" v-else> <view class="right" v-else>
<image style="width: 15px;height: 15px;vertical-align: sub;" <image style="width: 15px;height: 15px;vertical-align: sub;"
src="../../../static/img/jfx.png"> src="../../../static/img/jfx.png">
</image>{{recinfo.deductionPrice * 10 * 10}} </image>{{(recinfo.deductionPrice * 10 * 10).toFixed(0)}}
</view> </view>
</view> </view>
<view class="row"> <view class="row">

@ -78,7 +78,7 @@
<view class="font16 fontwig6 text1 fcor333 aliitem" style="justify-content: flex-end;" <view class="font16 fontwig6 text1 fcor333 aliitem" style="justify-content: flex-end;"
v-else> v-else>
<image style="width: 15px;height: 15px;" src="../../../static/img/jfx.png"> <image style="width: 15px;height: 15px;" src="../../../static/img/jfx.png">
</image>{{row.payPrice * 10 * 10}} </image>{{(row.payPrice * 10 * 10).toFixed(0)}}
</view> </view>
<view class="fotrt font15 text1 fcor999 mart5">{{typeText[row.orderStatus]}}</view> <view class="fotrt font15 text1 fcor999 mart5">{{typeText[row.orderStatus]}}</view>
</view> </view>

Loading…
Cancel
Save