updata
This commit is contained in:
parent
bcdf0d5fa2
commit
ff422ac048
|
|
@ -177,6 +177,11 @@
|
|||
|
||||
onLoad(param) {
|
||||
self = this;
|
||||
|
||||
// #ifdef H5
|
||||
this.handleWechatShare();
|
||||
// #endif
|
||||
|
||||
console.log(param, 'onLoad参数ss');
|
||||
const isWechat = getApp()['globalData']['parameters']?.isWechat;
|
||||
console.log(isWechat, getApp()['globalData']['parameters']?.brand_id, '是否需要分享');
|
||||
|
|
@ -309,10 +314,7 @@
|
|||
// 设置微信分享标识
|
||||
// wx.miniProgram.postMessage({ data: this['BrandInfor']['brand_id']});
|
||||
})
|
||||
});
|
||||
|
||||
this.handleWechatShare();
|
||||
},
|
||||
}); },
|
||||
|
||||
// 打开规格选择弹框
|
||||
SkuPopup(data) {
|
||||
|
|
@ -516,8 +518,8 @@
|
|||
|
||||
// 挂载微信
|
||||
handleWechatShare() {
|
||||
console.log(this.getUrl(), 'ggg')
|
||||
wxconfig({ url: 'https://tpoint.agrimedia.cn/privilege/pages/restaurant/home/shop_home/shop_home' }).then(res => {
|
||||
console.log(this.getUrl(), '挂载微信挂载微信挂载微信挂载微信')
|
||||
wxconfig({ url: this.getUrl() }).then(res => {
|
||||
let wxConfig = {
|
||||
debug: res.data.debug,
|
||||
appId: res.data.appId,
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>在线点餐</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><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.acc03eee.js></script><script src=/privilege/static/js/index.150142c5.js></script></body></html>
|
||||
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><script src="https://h5.dhcc.wang/api/apilink-native.min.js?v=20200701"></script><link rel=stylesheet href=/privilege/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/privilege/static/js/chunk-vendors.acc03eee.js></script><script src=/privilege/static/js/index.a71afcc2.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.1de5f5c4.js
vendored
Normal file
1
unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.1de5f5c4.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue