Commit c94f60a4 by huahua

提交

parent 5ffe961d
......@@ -555,6 +555,7 @@
if (res) {
this.list = res;
this.phone = res.phone
//console.log(this.phone)
this.support_paypal = false;
if (this.list.support_paypal == 1) {
this.support_paypal = true;
......@@ -587,7 +588,7 @@
uni.stopPullDownRefresh();
uni.hideLoading();
}).catch(err => {
console.log(err)
//console.log(err)
this.msg = err.msg
uni.stopPullDownRefresh();
uni.hideLoading();
......
......@@ -195,10 +195,6 @@
this.designer = designer
if (designer.status.value == 1) {
this.clearIntervalTime()
uni.navigateTo({
url: '../mine/self_help_payment_details?orderId=' + designer.order_id +
'&type=' + this.key + '&machine_id=' + this.queryPage.machine_id
})
} else {
if (this.sighstate == true) return;
this.sighstate = true
......
......@@ -252,7 +252,7 @@
machine_id: this.machine_id, //设备
goods_id: this.goods_id, //产品
works_id: this.works_id, //作品
channel_no: null, //货道
channel_no: this.channel_no, //货道
dict_id: null, //属性字典id
goods_size: null, //产品尺寸
works_num: null, //作品
......@@ -277,12 +277,11 @@
homeservice.WorksListPhone(data).then(result => {
uni.hideLoading();
let url_pay = result.data.link
if (url_pay.includes("http")) {
window.location.href = url_pay
} else {
this.generateQRCode(url_pay)
}
}
}).catch(err => {
uni.hideLoading();
uni.showToast({
......@@ -305,7 +304,7 @@
machine_id: this.machine_id, //设备
goods_id: this.goods_id, //产品
works_id: this.works_id, //作品
channel_no: null, //货道
channel_no: this.channel_no, //货道
dict_id: null, //属性字典id
goods_size: null, //产品尺寸
works_num: null, //作品
......@@ -329,14 +328,12 @@
})
homeservice.WorksListPhone(data).then(result => {
uni.hideLoading();
let url_pay = result.data.link
url_pay="https://www.baidu.com/"
let url_pay = result.data.link
if (url_pay.includes("http")) {
window.location.href = url_pay
} else {
this.generateQRCode(url_pay)
}
}
//console.log(result)
/* let url_pay = result.data.link
......@@ -362,7 +359,7 @@
machine_id: this.machine_id, //设备
goods_id: this.goods_id, //产品
works_id: this.works_id, //作品
channel_no: null, //货道
channel_no: this.channel_no, //货道
dict_id: null, //属性字典id
goods_size: null, //产品尺寸
works_num: null, //作品
......@@ -385,12 +382,12 @@
})
homeservice.WorksListPhone(data).then(result => {
uni.hideLoading();
let url_pay = result.data.link
let url_pay = result.data.link
if (url_pay.includes("http")) {
window.location.href = url_pay
} else {
this.generateQRCode(url_pay)
}
}
}).catch(err => {
uni.hideLoading();
......@@ -423,6 +420,7 @@
// key: this.tabletext ? 3 : 1
key: "3"
}).then(result => {
console.log(result)
this.coupon = result.coupon
this.stock = result.stock
// 读出锁库存储存信息
......@@ -431,6 +429,8 @@
this.sizestock = this.$base.lockInventory.stock
this.channel_no = this.$base.lockInventory.channel_no
this.dict_id = this.$base.lockInventory.dict_id
}).catch(err => {
//uni.showToast({title: err.msg,icon: 'none'});
});
......
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>Customize Phone case</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.b920293a.js></script><script src=/static/js/index.61784d34.js></script></body></html>
\ No newline at end of file
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.b920293a.js></script><script src=/static/js/index.63c97dad.js></script></body></html>
\ No newline at end of file
......@@ -15,7 +15,7 @@ if( "localhost" == domain || "kxzh5.refinecolor.com" == domain ){
//正式版
const baseURL = hostname + "://"+domain+"/api/"
//// 获取当前页面的域名
// 获取当前页面的域名
const Env = {
getDevBaseURL: () => baseURL,
getBaseURL: () => baseURL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment