Commit d8995347 authored by beisir's avatar beisir

feat:测试线上webapp

parent 76925acb
......@@ -13,9 +13,7 @@
</div>
<net-error />
<goods-share ref="gdShare" />
<div v-if="groupLoading" class="group-list-loading">
<!-- <img src="@/assets/images/group-list.png" /> -->
</div>
<div v-if="groupLoading" class="group-list-loading" />
</div>
</template>
<script>
......@@ -112,7 +110,7 @@ export default {
left: 0;
width: 100%;
height: 100%;
background: url(~@/assets/images/group-list.png) no-repeat center;
background: url(https://img.lkbang.net/activity/group-list.png) no-repeat center;
background-size: 100%;
z-index: 10;
}
......
......@@ -163,15 +163,14 @@ export default {
if (isWxMp) {
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 }));
// alert(linkPrve);
// alert(`${linkPrve}&extraInfo=${linkParams}`);
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() {
......
......@@ -3,13 +3,13 @@
羊小咩原始ID:gh_a976018bfb9e -->
<wx-open-launch-weapp
class="launch-btn"
username="gh_a976018bfb9e"
username="gh_e1d790d67513"
:path="newJumpUrl"
@launch="launch"
@error="launchError"
>
<script type="text/wxtag-template">
<style>.btn {height: 96px}</style>
<style>.btn {height: 100%}</style>
<div class="btn">打开小程序</div>
</script>
</wx-open-launch-weapp>
......
......@@ -7,7 +7,7 @@
&-puzzle {
position: absolute;
right: 0;
top: 10px;
top: 0;
z-index: 1;
// border-radius: 16px 0 0 16px;
// color: #e92615;
......@@ -23,7 +23,8 @@
position: fixed;
right: 12px;
bottom: 60px;
z-index: 1;
// z-index: 1;
z-index: 100000;
background: #fff url(~@/assets/images/share-icon.png) no-repeat center;
background-size: 100%;
border-radius: 50%;
......
......@@ -2,7 +2,7 @@
<!-- 配置活动背景色 -->
<div class="group" :style="{ backgroundColor: goodsTemp.bgcolor }">
<!-- <cr-skeleton v-if="showLoading" class="loading" /> -->
<div v-if="!isShowShare" class="group-puzzle" @click="goToMyorder">我的拼团</div>
<div class="group-puzzle" @click="goToMyorder">我的拼团</div>
<!-- 配置头部动态信息 start -->
<div class="group-top">
<!-- 动态活动背景图 -->
......@@ -61,7 +61,7 @@
</div>
<!-- 下方列表展示信息 end -->
</div>
<div v-if="!isShowShare" class="group-share" @click="openShareEvent">&nbsp;</div>
<div class="group-share" @click="openShareEvent">&nbsp;</div>
</div>
</template>
<script>
......
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