fix:修复订单无法支付
This commit is contained in:
parent
6f189fc737
commit
b44f5ca477
|
@ -5,13 +5,14 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,viewport-fit=cover" />
|
content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,viewport-fit=cover" />
|
||||||
<title>我的订单</title>
|
<title>订单</title>
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/vue.min.js?v=1367936144322" type="text/javascript"
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/vue.min.js?v=1367936144322" type="text/javascript"
|
||||||
charset="utf-8"></script>
|
charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/axios.js?v=1367936144322">
|
<script type="text/javascript" src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/axios.js?v=1367936144322">
|
||||||
</script>
|
</script>
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
||||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/myOrder.css" />
|
<!-- <link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/myOrder.css" /> -->
|
||||||
|
<link rel="stylesheet" href="./myOrder.css">
|
||||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/tabbar.css">
|
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/tabbar.css">
|
||||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/payPop.css">
|
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/payPop.css">
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/tabbar.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/tabbar.js"></script>
|
||||||
|
@ -24,9 +25,9 @@
|
||||||
<!-- 弹出提示 -->
|
<!-- 弹出提示 -->
|
||||||
<img class="backPresTy" @click="backHandler" v-if="goodsCount<2"
|
<img class="backPresTy" @click="backHandler" v-if="goodsCount<2"
|
||||||
src=" https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="">
|
src=" https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/backprepageBtn.png" alt="">
|
||||||
|
<p class="nav-title">订单</p>
|
||||||
<div id="refresh" @touchstart="touchStart($event)" @touchmove="touchMove($event)"
|
<div id="refresh" @touchstart="touchStart($event)" @touchmove="touchMove($event)"
|
||||||
@touchcancel="touchEnd($event)" style="height:100%;">
|
@touchcancel="touchEnd($event)">
|
||||||
<img v-show='!!loadShowHeight' class='img-lodging'
|
<img v-show='!!loadShowHeight' class='img-lodging'
|
||||||
src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/img-logding.png" alt="">
|
src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/img-logding.png" alt="">
|
||||||
<div class="content" slot="content">
|
<div class="content" slot="content">
|
||||||
|
@ -151,6 +152,7 @@
|
||||||
|
|
||||||
touchEnd () {
|
touchEnd () {
|
||||||
if (this.loadShowHeight >= 60) {
|
if (this.loadShowHeight >= 60) {
|
||||||
|
console.log(1);
|
||||||
this.getOrderList()
|
this.getOrderList()
|
||||||
} else {
|
} else {
|
||||||
this.loadShowHeight = 0
|
this.loadShowHeight = 0
|
||||||
|
@ -289,7 +291,7 @@
|
||||||
toLinkAliPay (res) {
|
toLinkAliPay (res) {
|
||||||
let banklink = encodeURIComponent(
|
let banklink = encodeURIComponent(
|
||||||
window.location.origin +
|
window.location.origin +
|
||||||
"/alipay.html?orderNumber=" + res.orderNumber
|
"/alipay.html?orderNumber=" + res.order_number
|
||||||
);
|
);
|
||||||
let link = "http://openapi.1688sup.com/alipay/oauth?jump=" + banklink;
|
let link = "http://openapi.1688sup.com/alipay/oauth?jump=" + banklink;
|
||||||
window.location.replace(link);
|
window.location.replace(link);
|
||||||
|
|
Loading…
Reference in New Issue