Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3d96ba77
authored
Jul 25, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' of 192.168.3.233:saas/mini-program/hmd into v1.0.0
2 parents
4a21bca3
5ae22ba5
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
86 additions
and
78 deletions
components/image/index.js
packageMall/pages/coupon/coupon.wxml
packageMall/pages/detail/detail.js
packageMine/pages/coupon/detail/detail.wxml
packageMine/pages/coupon/recommend/recommend.wxml
packageMine/pages/order/index/index.js
pages/Login/Login.wxml
pages/Login/Login.wxss
pages/loading/loading.js
pages/tab/index/components/store-equity/store-equity.js
pages/tab/index/components/store-equity/store-equity.wxml
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/tab/mall/components/SearchBox/SearchBox.js
pages/tab/mall/index.wxml
pages/tab/mine/components/myOrder/myOrder.js
pages/tab/mine/components/myOrder/myOrder.wxml
pages/tab/mine/index.wxml
router/router.js
components/image/index.js
View file @
3d96ba7
...
@@ -12,7 +12,7 @@ Component({
...
@@ -12,7 +12,7 @@ Component({
*/
*/
properties
:
{
properties
:
{
src
:
{
src
:
{
type
:
String
,
type
:
null
,
value
:
''
,
value
:
''
,
observer
:
async
function
(
url
,
o
)
{
observer
:
async
function
(
url
,
o
)
{
if
(
url
)
{
if
(
url
)
{
...
...
packageMall/pages/coupon/coupon.wxml
View file @
3d96ba7
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<view class="liness" wx:if="{{index < list.length - 1}}"></view>
<view class="liness" wx:if="{{index < list.length - 1}}"></view>
</block>
</block>
</view>
</view>
<block wx:if="{{couponDetail.suitMerchantLists && couponDetail.suitMerchantLists.length}}">
<
!-- <
block wx:if="{{couponDetail.suitMerchantLists && couponDetail.suitMerchantLists.length}}">
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="storeTitle">适用门店</view>
<view class="storeTitle">适用门店</view>
<view wx:for="{{couponDetail.suitMerchantLists}}" wx:key="index" class="store-box">
<view wx:for="{{couponDetail.suitMerchantLists}}" wx:key="index" class="store-box">
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
</view>
</view>
</view>
</view>
</view>
</view>
</block>
</block>
-->
<block wx:else>
<
!-- <
block wx:else>
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="qr-box box" style="margin-bottom: 32rpx;">
<view class="storeTitle">适用门店</view>
<view class="storeTitle">适用门店</view>
<view class="storeName">{{couponDetail.merchantName}}</view>
<view class="storeName">{{couponDetail.merchantName}}</view>
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
</block>
</block>
-->
<view class="associationBox" wx:if="{{couponDetail.relatedGoodsId}}">
<view class="associationBox" wx:if="{{couponDetail.relatedGoodsId}}">
<view class="box-X">
<view class="box-X">
<view class="title">关联商品</view>
<view class="title">关联商品</view>
...
...
packageMall/pages/detail/detail.js
View file @
3d96ba7
// packageMall/pages/detail/detail.js
// packageMall/pages/detail/detail.js
import
{
import
{
commentTime
,
centsToyuan
,
centsToyuan
,
iosTimeFormat
iosTimeFormat
}
from
'~/utils/format'
}
from
'~/utils/format'
...
@@ -236,7 +235,7 @@ Page({
...
@@ -236,7 +235,7 @@ Page({
},
},
async
join
(
e
)
{
async
join
(
e
)
{
const
loginStatus
=
await
wx
.
p
.
router
.
intercept
()
const
loginStatus
=
await
wx
.
p
.
router
.
intercept
()
if
(
loginStatus
)
return
if
(
loginStatus
)
return
let
params
=
e
&&
e
.
detail
let
params
=
e
&&
e
.
detail
if
(
!
params
)
{
if
(
!
params
)
{
params
=
{
params
=
{
...
@@ -389,11 +388,6 @@ Page({
...
@@ -389,11 +388,6 @@ Page({
})
})
if
(
isActivity
)
this
.
countDown
([
data
.
startTime
,
data
.
endTime
])
if
(
isActivity
)
this
.
countDown
([
data
.
startTime
,
data
.
endTime
])
if
(
!
wx
.
$authStatus
)
this
.
getUserAddressDefault
()
else
this
.
setData
({
addressFlag
:
true
})
wx
.
hideLoading
()
wx
.
hideLoading
()
}
else
{
}
else
{
wx
.
hideLoading
()
wx
.
hideLoading
()
...
@@ -464,8 +458,12 @@ Page({
...
@@ -464,8 +458,12 @@ Page({
}
}
})
})
},
},
getUserAddressDefault
()
{
async
getUserAddressDefault
()
{
wx
.
p
.
api
.
mineApi
.
getUserAddressDefault
().
then
(({
const
res
=
await
wx
.
p
.
router
.
intercept
(
false
)
if
(
res
)
this
.
setData
({
addressFlag
:
true
})
else
wx
.
p
.
api
.
mineApi
.
getUserAddressDefault
().
then
(({
code
,
code
,
data
data
})
=>
{
})
=>
{
...
@@ -496,6 +494,7 @@ Page({
...
@@ -496,6 +494,7 @@ Page({
*/
*/
onShow
:
function
()
{
onShow
:
function
()
{
this
.
getUserAddressList
()
this
.
getUserAddressList
()
this
.
getUserAddressDefault
()
},
},
/**
/**
...
...
packageMine/pages/coupon/detail/detail.wxml
View file @
3d96ba7
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view class="box" wx:if="{{detailInfo.suitMerchantLists && detailInfo.suitMerchantLists.length}}">
<
!-- <
view class="box" wx:if="{{detailInfo.suitMerchantLists && detailInfo.suitMerchantLists.length}}">
<view class="couponBox">
<view class="couponBox">
<view class="title">适用门店</view>
<view class="title">适用门店</view>
<view wx:for="{{detailInfo.suitMerchantLists}}" wx:key="index" class="store-box">
<view wx:for="{{detailInfo.suitMerchantLists}}" wx:key="index" class="store-box">
...
@@ -196,5 +196,5 @@
...
@@ -196,5 +196,5 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
-->
</block>
</block>
\ No newline at end of file
\ No newline at end of file
packageMine/pages/coupon/recommend/recommend.wxml
View file @
3d96ba7
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<view class="lines" wx:if="{{index < list.length - 1}}"></view>
<view class="lines" wx:if="{{index < list.length - 1}}"></view>
</block>
</block>
</view>
</view>
<view class="box" style="margin-bottom: 32rpx;" wx:if="{{detailInfo.suitMerchantLists && detailInfo.suitMerchantLists.length}}">
<
!-- <
view class="box" style="margin-bottom: 32rpx;" wx:if="{{detailInfo.suitMerchantLists && detailInfo.suitMerchantLists.length}}">
<view class="title">适用门店</view>
<view class="title">适用门店</view>
<view wx:for="{{detailInfo.suitMerchantLists}}" wx:key="index" class="store-box">
<view wx:for="{{detailInfo.suitMerchantLists}}" wx:key="index" class="store-box">
<view class="storeName">{{item.merchantName}}</view>
<view class="storeName">{{item.merchantName}}</view>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
-->
<!-- <view class="tips">- 为你推荐 -</view>
<!-- <view class="tips">- 为你推荐 -</view>
<view class="goods-box">
<view class="goods-box">
<block wx:if="{{listFlag}}">
<block wx:if="{{listFlag}}">
...
...
packageMine/pages/order/index/index.js
View file @
3d96ba7
...
@@ -161,28 +161,21 @@ Page({
...
@@ -161,28 +161,21 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
console
.
log
(
options
,
'========='
)
this
.
setData
({
this
.
setData
({
tabIndex
:
options
.
tabIndex
,
tabIndex
:
options
.
tabIndex
,
orderStatusPart
:
orderStatusPartEnum
[
options
.
tabIndex
],
orderStatusPart
:
orderStatusPartEnum
[
options
.
tabIndex
],
})
})
const
{
this
.
clearData
()
userInfo
,
tabIndex
}
=
this
.
data
if
(
userInfo
)
{
if
(
tabIndex
!=
options
?.
tabIndex
)
delete
options
.
tabIndex
this
.
setData
(
options
)
this
.
clearData
()
}
},
},
onShow
(){
onShow
()
{
if
(
this
.
refresh
)
this
.
clearData
()
if
(
this
.
refresh
)
this
.
clearData
()
},
},
onHide
(){
onHide
()
{
this
.
refresh
=
true
this
.
refresh
=
true
},
},
clearData
()
{
async
clearData
()
{
const
res
=
await
wx
.
p
.
router
.
intercept
()
if
(
res
)
return
this
.
setData
({
this
.
setData
({
listFlag
:
false
,
listFlag
:
false
,
list
:
[],
list
:
[],
...
...
pages/Login/Login.wxml
View file @
3d96ba7
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
</view>
</view>
<view class="wx-box">
<view class="wx-box">
<block wx:if="{{!isAgree}}">
<block wx:if="{{!isAgree}}">
<button class="wx-auth-button text-center {{isAgree}}" bindtap="showTips">登录</button>
<button class="wx-auth-button text-center {{isAgree}}" bindtap="showTips">
微信
登录</button>
</block>
</block>
<block wx:else>
<block wx:else>
<button open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="wx-auth-button text-center">登录</button>
<button open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" class="wx-auth-button text-center">
微信
登录</button>
</block>
</block>
</view>
</view>
</block>
</block>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</block>
</block>
<view class="type-box flex">
<view class="type-box flex">
<view class="title" bindtap="changeLoginType">
<view class="title" bindtap="changeLoginType">
其他方式
{{loginType==0?'手机号登录':'微信登录'}}
</view>
</view>
<!-- <view class="type" bindtap="changeLoginType">
<!-- <view class="type" bindtap="changeLoginType">
<view class="icon">
<view class="icon">
...
...
pages/Login/Login.wxss
View file @
3d96ba7
...
@@ -116,8 +116,8 @@ page {}
...
@@ -116,8 +116,8 @@ page {}
.type-box {
.type-box {
flex-direction: column;
flex-direction: column;
margin-top: 33rpx;
margin-top: 33rpx;
font-size: 2
4
rpx;
font-size: 2
8
rpx;
color: #
8A8C90
;
color: #
fff
;
}
}
.type .icon {
.type .icon {
...
...
pages/loading/loading.js
View file @
3d96ba7
...
@@ -93,7 +93,8 @@ Page({
...
@@ -93,7 +93,8 @@ Page({
if
(
query
)
{
if
(
query
)
{
let
arr
=
query
.
split
(
'&'
)
let
arr
=
query
.
split
(
'&'
)
arr
.
map
(
e
=>
{
arr
.
map
(
e
=>
{
const
[
key
,
val
]
=
e
.
split
(
'='
)
let
[
key
,
val
]
=
e
.
split
(
'='
)
if
(
val
==
'false'
||
val
==
'true'
)
val
=
JSON
.
parse
(
val
)
Object
.
assign
(
events
,
{
Object
.
assign
(
events
,
{
[
key
]:
val
[
key
]:
val
})
})
...
...
pages/tab/index/components/store-equity/store-equity.js
View file @
3d96ba7
...
@@ -12,6 +12,14 @@ Component({
...
@@ -12,6 +12,14 @@ Component({
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
init
()
{
this
.
getMemberCardData
()
this
.
getMerchantDetail
()
this
.
toCheckMember
()
},
onPullDownRefresh
()
{
this
.
init
()
},
getMerchantDetail
()
{
getMerchantDetail
()
{
const
{
const
{
merchantId
merchantId
...
@@ -29,18 +37,20 @@ Component({
...
@@ -29,18 +37,20 @@ Component({
wx
.
p
.
router
.
intercept
(
false
).
then
(
res
=>
{
wx
.
p
.
router
.
intercept
(
false
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
setData
({
this
.
setData
({
memberInfo
:
{},
isMember
:
false
,
flag
:
true
})
})
}
else
{
}
else
{
wx
.
p
.
api
.
equityApi
.
checkOpenMember
().
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
checkOpenMember
().
then
(
res
=>
{
let
isMember
=
false
if
(
res
.
data
&&
res
.
data
.
validitDate
)
{
if
(
res
.
data
&&
res
.
data
.
validitDate
)
{
res
.
data
.
time
=
new
Date
(
res
.
data
.
validitDate
).
format
(
'yyyy.MM.dd'
)
res
.
data
.
time
=
new
Date
(
res
.
data
.
validitDate
).
format
(
'yyyy.MM.dd'
)
}
}
if
(
res
.
code
==
0
&&
res
.
data
)
{
if
(
res
.
code
==
0
&&
res
.
data
)
{
// 获取门店会员卡信息
isMember
=
true
this
.
getMemberCardData
()
}
}
this
.
setData
({
isMember
})
})
})
}
}
})
})
...
@@ -77,8 +87,7 @@ Component({
...
@@ -77,8 +87,7 @@ Component({
},
},
lifetimes
:
{
lifetimes
:
{
ready
()
{
ready
()
{
this
.
getMerchantDetail
()
this
.
init
()
this
.
toCheckMember
()
}
}
},
},
pageLifetimes
:
{
pageLifetimes
:
{
...
...
pages/tab/index/components/store-equity/store-equity.wxml
View file @
3d96ba7
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<view class="content">
<view class="content">
<glsx-image class="equity-icon" src="home/vip-icon.png"></glsx-image>
<glsx-image class="equity-icon" src="home/vip-icon.png"></glsx-image>
<text class="text">生活权益|专享超百种生活权益</text>
<text class="text">生活权益|专享超百种生活权益</text>
<block wx:if="{{!
memberInfo.equityName
}}">
<block wx:if="{{!
isMember
}}">
<view class="content-view equity-btn" bindtap="toBuyMember">立即开通</view>
<view class="content-view equity-btn" bindtap="toBuyMember">立即开通</view>
</block>
</block>
</view>
</view>
...
...
pages/tab/index/index.js
View file @
3d96ba7
...
@@ -9,7 +9,7 @@ Page({
...
@@ -9,7 +9,7 @@ Page({
data
:
{
data
:
{
pageNum
:
1
,
pageNum
:
1
,
goodsIndex
:
0
,
goodsIndex
:
0
,
customerlist
:
[]
},
},
/**
/**
...
@@ -150,6 +150,7 @@ Page({
...
@@ -150,6 +150,7 @@ Page({
})
})
this
.
getHomeConfig
()
this
.
getHomeConfig
()
this
.
getActivityList
()
this
.
getActivityList
()
this
.
selectComponent
(
'#storeQuity'
).
onPullDownRefresh
()
},
},
onReachBottom
()
{
onReachBottom
()
{
let
{
let
{
...
...
pages/tab/index/index.wxml
View file @
3d96ba7
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<view class="layout" style="top:{{navHeight}}px">
<view class="layout" style="top:{{navHeight}}px">
<!-- 门店信息 -->
<!-- 门店信息 -->
<view class="store-box">
<view class="store-box">
<store-equity></store-equity>
<store-equity
id="storeQuity"
></store-equity>
</view>
</view>
<!-- 公告 -->
<!-- 公告 -->
<block wx:if="{{noticeContent}}">
<block wx:if="{{noticeContent}}">
...
...
pages/tab/mall/components/SearchBox/SearchBox.js
View file @
3d96ba7
...
@@ -9,7 +9,7 @@ Component({
...
@@ -9,7 +9,7 @@ Component({
value
:
'请输入搜索内容'
value
:
'请输入搜索内容'
},
},
value
:
{
value
:
{
type
:
String
,
type
:
null
,
value
:
''
value
:
''
},
},
searchType
:
{
searchType
:
{
...
...
pages/tab/mall/index.wxml
View file @
3d96ba7
<navigation-bar
bindnavbarReady="navbarReady"
>商城</navigation-bar>
<navigation-bar>商城</navigation-bar>
<view class="mall-layout" style="margin-top: {{navHeight}}px;">
<view class="mall-layout" style="margin-top: {{navHeight}}px;">
<search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box>
<search-box search-type="2" bindsearch="search" model:value="{{searchVal}}"></search-box>
<block wx:if="{{flag}}">
<block wx:if="{{flag}}">
...
...
pages/tab/mine/components/myOrder/myOrder.js
View file @
3d96ba7
...
@@ -39,8 +39,11 @@ Component({
...
@@ -39,8 +39,11 @@ Component({
*/
*/
methods
:
{
methods
:
{
goOrder
(
e
)
{
goOrder
(
e
)
{
let
tabIndex
=
e
.
currentTarget
.
dataset
.
key
+
1
let
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/order/index/index'
,{
key
}
=
e
.
currentTarget
.
dataset
,
tabIndex
=
key
||
0
wx
.
p
.
router
.
go
(
'/packageMine/pages/order/index/index'
,
{
tabIndex
tabIndex
})
})
}
}
...
...
pages/tab/mine/components/myOrder/myOrder.wxml
View file @
3d96ba7
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</view>
</view>
</view>
</view>
<view class="btnBox">
<view class="btnBox">
<view class="independentBox" wx:for="{{orderList}}" wx:key="index" bindtap="goOrder" data-key="{{index}}">
<view class="independentBox" wx:for="{{orderList}}" wx:key="index" bindtap="goOrder" data-key="{{index
+ 1
}}">
<view class="order-img">
<view class="order-img">
<glsx-image webp src="mine/{{item.imageUrl}}.png"></glsx-image>
<glsx-image webp src="mine/{{item.imageUrl}}.png"></glsx-image>
</view>
</view>
...
...
pages/tab/mine/index.wxml
View file @
3d96ba7
<view class="navigation-bar">
<view class="navigation-bar">
<navigation-bar
bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
<navigation-bar bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
</view>
</view>
<block wx:if="{{user_box_style}}">
<block wx:if="{{user_box_style}}">
<view class="layout mine">
<view class="layout mine">
...
@@ -36,38 +36,36 @@
...
@@ -36,38 +36,36 @@
</view>
</view>
</view>
</view>
<!-- 会员卡 -->
<!-- 会员卡 -->
<block wx:if="{{memberInfo}}">
<block wx:if="{{memberFlag}}">
<block wx:if="{{memberFlag}}">
<block wx:if="{{!isMember}}">
<block wx:if="{{!isMember}}">
<view class="member-box">
<view class="member-box">
<view class="left-box">
<view class="left-box">
<view class="member-icon">
<view class="member-icon">
<glsx-image webp src="mine/member.png"></glsx-image>
<glsx-image webp src="mine/member.png"></glsx-image>
</view>
<view class="left-content">
<view class="card">{{memberInfo.equityName}}</view>
<view class="describe" wx:if="{{!isMember}}">生活权益|专享超百项生活权益</view>
<view class="describe" wx:else>{{vipInfo.time}} 到期</view>
</view>
</view>
</view>
<view class="member-button" bindtap="toBuyMember">开通会员</view>
<view class="left-content">
<view class="member-price" bindtap="toBuyMember" wx:if="{{memberInfo.goodPrice}}">特惠¥{{memberInfo.goodPrice}}起</view>
<view class="card">{{memberInfo.equityName}}</view>
</view>
<view class="describe" wx:if="{{!isMember}}">生活权益|专享超百项生活权益</view>
</block>
<view class="describe" wx:else>{{vipInfo.time}} 到期</view>
<block wx:else>
<view class="vip-box" bindtap="goInterests">
<view class="vip-box-bg">
<glsx-image src="equity/version/1_0_0/{{vipType[identity]}}.png"></glsx-image>
</view>
</view>
<view class="vip-name {{titleClass[identity]}}">{{identity==1?vipInfo.goldName:identity==2?vipInfo.silverName:memberInfo.equityName}}</view>
</view>
</view>
<!-- <view class="goUseBox" bindtap="goInterests">
<view class="member-button" bindtap="toBuyMember">开通会员</view>
<view class="member-price" bindtap="toBuyMember" wx:if="{{memberInfo.goodPrice}}">特惠¥{{memberInfo.goodPrice}}起</view>
</view>
</block>
<block wx:else>
<view class="vip-box" bindtap="goInterests">
<view class="vip-box-bg">
<glsx-image src="equity/version/1_0_0/{{vipType[identity]}}.png"></glsx-image>
</view>
<view class="vip-name {{titleClass[identity]}}">{{identity==1?vipInfo.goldName:identity==2?vipInfo.silverName:memberInfo.equityName}}</view>
</view>
<!-- <view class="goUseBox" bindtap="goInterests">
去使用
去使用
<view class="goUseBox-icon">
<view class="goUseBox-icon">
<glsx-image webp src="mine/goUse.png"></glsx-image>
<glsx-image webp src="mine/goUse.png"></glsx-image>
</view>
</view>
</view> -->
</view> -->
</block>
</block>
</block>
</block>
</block>
<!-- 我的券包 -->
<!-- 我的券包 -->
...
...
router/router.js
View file @
3d96ba7
...
@@ -40,7 +40,7 @@ class Router {
...
@@ -40,7 +40,7 @@ class Router {
/**
/**
* 跳转到switchTab
* 跳转到switchTab
*/
*/
switchTab
(
route
,
events
=
{})
{
switchTab
(
route
,
events
=
{})
{
this
.
_to
(
route
,
events
,
'switchTab'
);
this
.
_to
(
route
,
events
,
'switchTab'
);
}
}
_to
(
route
,
events
,
to
,
success
)
{
_to
(
route
,
events
,
to
,
success
)
{
...
@@ -82,6 +82,10 @@ class Router {
...
@@ -82,6 +82,10 @@ class Router {
if
(
Object
.
keys
(
data
).
length
!==
0
)
if
(
Object
.
keys
(
data
).
length
!==
0
)
data
.
on
(
'getData'
,
(
res
)
=>
callBack
(
res
));
data
.
on
(
'getData'
,
(
res
)
=>
callBack
(
res
));
}
}
/**
*
* @param {*} auto 是否自动跳转到登录,默认自动跳转
*/
async
intercept
(
auto
=
true
)
{
async
intercept
(
auto
=
true
)
{
const
authStatus
=
wx
.
$authStatus
;
const
authStatus
=
wx
.
$authStatus
;
if
(
authStatus
)
{
if
(
authStatus
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment