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
e8f2289a
Commit
e8f2289a
authored
Jun 12, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: person_qrcode
parent
a9c12688
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
personCenter.wxml
src/component/personCenter/personCenter.wxml
+5
-5
userCenter.js
src/pages/userCenter/userCenter.js
+2
-0
No files found.
src/component/personCenter/personCenter.wxml
View file @
e8f2289a
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
<text class="un-active-btn" >激活立享会员特权</text>
<text class="un-active-btn" >激活立享会员特权</text>
</view>
</view>
<view wx:if='{{memberActivateStatus}}' class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-image: url(' + baseUrl + ');'}}">
<view wx:if='{{memberActivateStatus}}' c
atchtap="handleToMemberOfOwn" c
lass="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>-->
<!-- <button type="primary" plain='false' wx:if='{{!memberActivateStatus}}' bindtap="handleTtoActiveMemebr">激活立享会员特权</button>-->
<view class='user-info' wx:if='{{memberActivateStatus}}'>
<view class='user-info' wx:if='{{memberActivateStatus}}'>
<view class="user-avatar"
catchtap="handleToMemberOfOwn"
>
<view class="user-avatar">
<open-data type="userAvatarUrl"></open-data>
<open-data type="userAvatarUrl"></open-data>
</view>
</view>
<view class='user-name-content'
catchtap="handleToMemberOfOwn"
>
<view class='user-name-content'>
<view class='user-name'>
<view class='user-name'>
<open-data type="userNickName" class="userinfo-nickname" lang="zh_CN"></open-data>
<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">
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
<view class='user-id'>{{memberCardNo}}</view>
<view class='user-id'>{{memberCardNo}}</view>
</view>
</view>
<view class='qr-code pr'>
<!--
<view class='qr-code pr'>
<image src='/assets/imgs/711_11.png' bindtap="handleGoWxCard"></image>
<image src='/assets/imgs/711_11.png' bindtap="handleGoWxCard"></image>
</view>
</view>
-->
</view>
</view>
</view>
</view>
<view class='df tc person-num' wx:if='{{_token}}'>
<view class='df tc person-num' wx:if='{{_token}}'>
...
...
src/pages/userCenter/userCenter.js
View file @
e8f2289a
...
@@ -71,6 +71,7 @@ wxService.page({
...
@@ -71,6 +71,7 @@ wxService.page({
title
:
'加载中'
title
:
'加载中'
})
})
wxService
.
get
(
`/member/memberPoint/getMyPointInfo`
).
then
(
res
=>
{
wxService
.
get
(
`/member/memberPoint/getMyPointInfo`
).
then
(
res
=>
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
...
@@ -78,6 +79,7 @@ wxService.page({
...
@@ -78,6 +79,7 @@ wxService.page({
integralNum
:
data
&&
data
.
point
||
0
integralNum
:
data
&&
data
.
point
||
0
})
})
}
}
}
})
})
},
},
// 查询优惠券数量
// 查询优惠券数量
...
...
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