feat:新增vConsole

This commit is contained in:
wangsongsole 2022-10-19 16:39:25 +08:00
parent 6a0bc5d40a
commit 02d234bec9
5 changed files with 17 additions and 2 deletions

View File

@ -20,6 +20,8 @@
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/tabbar.css">
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/modelPop.js"></script>
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/tabbar.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head>
<body>
@ -255,6 +257,7 @@
</div>
</body>
<script>
var vConsole = new VConsole();
new Vue({
el: '#homepage',
data () {

View File

@ -17,6 +17,8 @@
<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/payPop.js"></script>
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head>
<body>
@ -186,6 +188,7 @@
</div>
</body>
<script>
var vConsole = new VConsole();
let goodsCount = null, goodsDetail = null;
new Vue({
el: '#exchangePage',
@ -510,9 +513,9 @@
this.payType = payType
this.show = false
let orderInfo = await this.createdOrder(payType);
if (orderInfo.pay_status==2) {//pay_status 2已支付
if (orderInfo.pay_status == 2) {//pay_status 2已支付
window.location.replace('http://test.86885.cn/paysuccess.html?order_number=' + orderInfo.order_number);
}else{
} else {
this.createdPay(orderInfo.order_number);
}
},

View File

@ -16,6 +16,8 @@
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/tabbar.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/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head>
<body>
@ -81,6 +83,7 @@
@backFunction="backFunction"></model-pop>
</div>
<script>
var vConsole = new VConsole();
new Vue({
el: "#app",
data () {

View File

@ -17,6 +17,8 @@
<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/payPop.js"></script>
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head>
<body>
@ -93,6 +95,7 @@
</div>
<script>
var vConsole = new VConsole();
new Vue({
el: "#app",
data () {

View File

@ -15,6 +15,8 @@
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/loading.js"></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/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head>
<body>
@ -60,6 +62,7 @@
</div>
</body>
<script>
var vConsole = new VConsole();
new Vue({
el: '#app',
data () {