Commit d8995347 authored by beisir's avatar beisir

feat:测试线上webapp

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