Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
1444eba5
Commit
1444eba5
authored
Jun 11, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 会员跳转
parent
c2b7eba5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
personCenter.js
src/component/personCenter/personCenter.js
+3
-0
personCenter.wxml
src/component/personCenter/personCenter.wxml
+5
-4
No files found.
src/component/personCenter/personCenter.js
View file @
1444eba5
...
...
@@ -59,6 +59,9 @@ Component({
})
},
methods
:
{
handleToMemberOfOwn
()
{
wxService
.
router
(
`/pages/memberOfOwn/memberOfOwn`
)
},
toBonusDetails
()
{
wxService
.
router
(
`/pages/integralWater/integralWater`
)
},
...
...
src/component/personCenter/personCenter.wxml
View file @
1444eba5
...
...
@@ -10,18 +10,19 @@
<view wx:if='{{memberActivateStatus}}' class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-image: url(' + baseUrl + ');'}}">
<!-- <button type="primary" plain='false' wx:if='{{!memberActivateStatus}}' bindtap="handleTtoActiveMemebr">激活立享会员特权</button>-->
<view class='user-info' wx:if='{{memberActivateStatus}}'>
<view class="user-avatar">
<view class="user-avatar"
catchtap="handleToMemberOfOwn"
>
<open-data type="userAvatarUrl"></open-data>
</view>
<view class='user-name-content'>
<view class='user-name-content'
catchtap="handleToMemberOfOwn"
>
<view class='user-name'>
<open-data type="userNickName" class="userinfo-nickname" lang="zh_CN"></open-data>
<navigator url='/pages/memberOfOwn/memberOfOwn' style='display:inline-block' hover-class="none">
<
!--<
navigator url='/pages/memberOfOwn/memberOfOwn' style='display:inline-block' hover-class="none">
<image class='icon-edit' src='/assets/imgs/711_12.png'></image>
</navigator>
</navigator>
-->
</view>
<view class='user-id'>{{memberCardNo}}</view>
</view>
<view class='qr-code pr'>
<image src='/assets/imgs/711_11.png' bindtap="handleGoWxCard"></image>
</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment