|
@@ -70,10 +70,41 @@
|
|
|
@error="launchErrorFn"
|
|
|
>
|
|
|
<script type="text/wxtag-template">
|
|
|
- <style>.btn { padding: 12px }</style>
|
|
|
+ <style>.btn {
|
|
|
+ padding: 12px
|
|
|
+ }</style>
|
|
|
<button class="btn">嘉里中心小程序>积分商城</button>
|
|
|
</script>
|
|
|
</wx-open-launch-weapp>
|
|
|
+ <br />
|
|
|
+ <wx-open-launch-weapp
|
|
|
+ :id="`launch-btn`"
|
|
|
+ style="
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 999;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ opacity: 0.3;
|
|
|
+ background: #3a85e2;
|
|
|
+ "
|
|
|
+ username="gh_0bd6a97b6d38"
|
|
|
+ :path="`pages/pointsMall/pointsMall.html${launchPath}`"
|
|
|
+ :env-version="envVersion"
|
|
|
+ @launch="launchFn"
|
|
|
+ @error="launchErrorFn"
|
|
|
+ @ready="onLaunchReady"
|
|
|
+ >
|
|
|
+ <script type="text/wxtag-template">
|
|
|
+ <div style="position: absolute;z-index:999; top: 0; left: 0;bottom:0;right:0;width: 100%;height: 100%;
|
|
|
+ opacity: 0.3;
|
|
|
+ background: #4cd964;">嘉里中心小程序>积分商城
|
|
|
+ </div>
|
|
|
+ </script>
|
|
|
+ </wx-open-launch-weapp>
|
|
|
<span>进行兑换</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -113,6 +144,7 @@ import uni from '@/utils/uniHooks';
|
|
|
import { Toast } from 'vant';
|
|
|
import { getPlatform, getAppIdByGroupIdAndMallId, isInWeixinH5 } from '@/utils';
|
|
|
import { initWxJsSdkConfig } from '@/utils/login';
|
|
|
+
|
|
|
export default {
|
|
|
created() {
|
|
|
// 纸质优惠券
|
|
@@ -579,6 +611,9 @@ export default {
|
|
|
launchErrorFn() {
|
|
|
console.log('H5 跳转到 嘉里中心小程序: fail');
|
|
|
},
|
|
|
+ onLaunchReady() {
|
|
|
+ console.log('H5 跳转到 嘉里中心小程序 的标签 渲染了');
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -592,6 +627,7 @@ export default {
|
|
|
flex-direction: column;
|
|
|
height: 100vh;
|
|
|
background: #f4f7ff;
|
|
|
+
|
|
|
.parkingFeeCoupon {
|
|
|
min-height: 99.88vh;
|
|
|
}
|
|
@@ -709,6 +745,7 @@ export default {
|
|
|
|
|
|
.no-coupon {
|
|
|
text-align: center;
|
|
|
+
|
|
|
img {
|
|
|
width: 60%;
|
|
|
display: block;
|