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"> <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/modelPop.js"></script>
<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>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head> </head>
<body> <body>
@ -255,6 +257,7 @@
</div> </div>
</body> </body>
<script> <script>
var vConsole = new VConsole();
new Vue({ new Vue({
el: '#homepage', el: '#homepage',
data () { data () {

View File

@ -17,6 +17,8 @@
<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/payPop.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://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> </head>
<body> <body>
@ -186,6 +188,7 @@
</div> </div>
</body> </body>
<script> <script>
var vConsole = new VConsole();
let goodsCount = null, goodsDetail = null; let goodsCount = null, goodsDetail = null;
new Vue({ new Vue({
el: '#exchangePage', el: '#exchangePage',
@ -510,9 +513,9 @@
this.payType = payType this.payType = payType
this.show = false this.show = false
let orderInfo = await this.createdOrder(payType); 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); window.location.replace('http://test.86885.cn/paysuccess.html?order_number=' + orderInfo.order_number);
}else{ } else {
this.createdPay(orderInfo.order_number); 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"> <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/tabbar.js"></script>
<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/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head> </head>
<body> <body>
@ -81,6 +83,7 @@
@backFunction="backFunction"></model-pop> @backFunction="backFunction"></model-pop>
</div> </div>
<script> <script>
var vConsole = new VConsole();
new Vue({ new Vue({
el: "#app", el: "#app",
data () { 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/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/payPop.js"></script>
<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/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head> </head>
<body> <body>
@ -93,6 +95,7 @@
</div> </div>
<script> <script>
var vConsole = new VConsole();
new Vue({ new Vue({
el: "#app", el: "#app",
data () { 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/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/api2_0.js"></script>
<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/modelPop.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>
</head> </head>
<body> <body>
@ -60,6 +62,7 @@
</div> </div>
</body> </body>
<script> <script>
var vConsole = new VConsole();
new Vue({ new Vue({
el: '#app', el: '#app',
data () { data () {