Commit c5c44810 authored by beisir's avatar beisir

test:准备上线

parent 62b98272
......@@ -164,13 +164,13 @@ export default {
return `/pages/groupbuy/webview?url=${encodeURIComponent(JSON.stringify(linkPath))}`;
}
// // 本地测试时走的逻辑
if (isApp) {
const linkPrve = `https://mall.q-gp.com/common/launch?wxapp=gh_e1d790d67513&jumpUrl=${encodeURIComponent(
'pages/groupbuy/webview'
)}&terminal=1`;
const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath }));
return `${linkPrve}&extraInfo=${linkParams}`;
}
// if (isApp) {
// const linkPrve = `https://mall.q-gp.com/common/launch?wxapp=gh_e1d790d67513&jumpUrl=${encodeURIComponent(
// 'pages/groupbuy/webview'
// )}&terminal=1`;
// const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath }));
// return `${linkPrve}&extraInfo=${linkParams}`;
// }
return linkPath;
},
shareOpenWechat() {
......@@ -211,7 +211,6 @@ export default {
openTenetPosterUrl() {
// 打开小程序的海报下载页面
const { posterUrl } = this.shareInfo;
console.log(posterUrl);
this.nativeBridge.openNewUrl({
newUrl: `/pages/groupbuy/goodshare?url=${encodeURIComponent(JSON.stringify(posterUrl))}`
});
......
......@@ -136,11 +136,11 @@ export default {
<style lang="less" scoped>
@keyframes leftToRight {
from {
transform: scale(0.3);
transform: scale(0.3) translate3d(0, 0, 0);
opacity: 0;
}
to {
transform: scale(1);
transform: scale(1) translate3d(0, 0, 0);
opacity: 1;
}
}
......
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