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 74a1a286
authored
Jul 17, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
f789151d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
pages/tab/mine/index.js
pages/tab/mine/index.wxml
pages/tab/mine/index.js
View file @
74a1a28
...
...
@@ -27,7 +27,6 @@ Page({
}
=
this
.
data
if
(
userInfo
)
{
this
.
getOrderNumberList
()
this
.
toCheckMember
()
this
.
getMemberCardData
()
}
},
...
...
@@ -97,6 +96,13 @@ Page({
})
})
},
goInterests
(){
wx
.
p
.
router
.
switchTab
(
'/pages/tab/equity/index'
)
},
// 开通会员页面
toBuyMember
()
{
wx
.
p
.
router
.
go
(
'/packageEquity/pages/open/open'
)
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
...
...
@@ -108,7 +114,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow
()
{
this
.
toCheckMember
()
},
/**
...
...
pages/tab/mine/index.wxml
View file @
74a1a28
...
...
@@ -39,14 +39,14 @@
</view>
</view>
<!-- 会员卡 -->
<block wx:if="{{memberInfo}}">
<view class="member-box">
<view class="left-box">
<view class="member-icon">
<glsx-image webp src="mine/member.png"></glsx-image>
</view>
<view class="left-content">
<view class="card">会员权益卡</view>
<!-- <view class="card">{{memberInfo.equityName}}</view> -->
<view class="card">{{memberInfo.equityName}}</view>
<view class="describe" wx:if="{{!isMember}}">生活权益|专享超百项生活权益</view>
<view class="describe" wx:else>{{vipInfo.time}} 到期</view>
</view>
...
...
@@ -64,6 +64,7 @@
</view>
</block>
</view>
</block>
<!-- 我的券包 -->
<view class="coupon-box box flex" bindtap="jump" data-url="/packageMine/pages/coupon/index/index">
我的卡券
...
...
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