微信公众号隐藏弹窗
This commit is contained in:
parent
76fc202512
commit
fecc184e1a
@ -1,10 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="v-navbar">
|
<view v-if="!isWeixin" class="v-navbar">
|
||||||
<u-navbar title="提货付款" :safeAreaInsetTop="false" :fixed="false" @leftClick="leftClick" bgColor="transparent"
|
<u-navbar title="提货付款" :safeAreaInsetTop="false" :fixed="false" @leftClick="leftClick" bgColor="transparent"
|
||||||
leftIconColor="#fff" :titleStyle="{color:'#fff',fontWeight:'bold',fontSize:'32rpx'}">
|
leftIconColor="#fff" :titleStyle="{color:'#fff',fontWeight:'bold',fontSize:'32rpx'}">
|
||||||
</u-navbar>
|
</u-navbar>
|
||||||
</view>
|
</view>
|
||||||
|
<view style="height: 150rpx;"></view>
|
||||||
<view v-if="merchantInfo && !isEmpty">
|
<view v-if="merchantInfo && !isEmpty">
|
||||||
<view class="v-desc">
|
<view class="v-desc">
|
||||||
<view>
|
<view>
|
||||||
@ -51,7 +52,7 @@
|
|||||||
<image src="/static/images/no_thing.png"></image>
|
<image src="/static/images/no_thing.png"></image>
|
||||||
<text style="margin-top: 60rpx;">{{tips}}</text>
|
<text style="margin-top: 60rpx;">{{tips}}</text>
|
||||||
<!-- 登陆 -->
|
<!-- 登陆 -->
|
||||||
<authorize :isAuto="isAuto" :isGoIndex="false" :isShowAuth="isShowAuth" @authColse="authColse"
|
<authorize v-show="!isWeixin" ref="authRef" :isAuto="isAuto" :isGoIndex="false" :isShowAuth="isShowAuth" @authColse="authColse"
|
||||||
@onLoadFun="onLoadFun">
|
@onLoadFun="onLoadFun">
|
||||||
</authorize>
|
</authorize>
|
||||||
</view>
|
</view>
|
||||||
@ -80,6 +81,7 @@ import { Toast } from "../../libs/uniApi";
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isEmpty: false,
|
isEmpty: false,
|
||||||
|
isWeixin: this.$wechat.isWeixin(),
|
||||||
cartForm: {
|
cartForm: {
|
||||||
product_id: '',
|
product_id: '',
|
||||||
product_attr_unique: '',
|
product_attr_unique: '',
|
||||||
@ -109,6 +111,12 @@ import { Toast } from "../../libs/uniApi";
|
|||||||
|
|
||||||
onLoad(opt) {
|
onLoad(opt) {
|
||||||
this.mer_id = opt.mer_id;
|
this.mer_id = opt.mer_id;
|
||||||
|
if(this.isWeixin) {
|
||||||
|
this.tips = '加载中...';
|
||||||
|
this.$nextTick(()=>{
|
||||||
|
this.$refs.authRef.toWecahtAuth();
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
if (!this.isLogin) {
|
if (!this.isLogin) {
|
||||||
@ -254,7 +262,7 @@ import { Toast } from "../../libs/uniApi";
|
|||||||
}
|
}
|
||||||
|
|
||||||
.empty {
|
.empty {
|
||||||
margin: 130rpx 0 150rpx;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
image,
|
image,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user