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
053c130b
Commit
053c130b
authored
Jun 17, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zyw' into 'dev_7.0.1'
Feature zyw See merge request
!29
parents
557c6640
9aeaea39
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
13 deletions
+28
-13
personCenter.js
src/component/personCenter/personCenter.js
+3
-2
personCenter.wxml
src/component/personCenter/personCenter.wxml
+5
-5
personCenter.wxss
src/component/personCenter/personCenter.wxss
+13
-0
couponDetail.js
src/pages/couponDetail/couponDetail.js
+1
-0
couponDetail.wxml
src/pages/couponDetail/couponDetail.wxml
+5
-5
coupons.wxml
src/pages/coupons/coupons.wxml
+1
-1
No files found.
src/component/personCenter/personCenter.js
View file @
053c130b
...
@@ -50,7 +50,7 @@ Component({
...
@@ -50,7 +50,7 @@ Component({
memberActivateStatus
:
false
,
memberActivateStatus
:
false
,
integralNum
:
0
,
integralNum
:
0
,
couponNum
:
0
,
couponNum
:
0
,
baseUrl
:
'/assets/imgs/0606.png'
,
baseUrl
:
'/assets/imgs/0606
10
.png'
,
isAuthorization
:
false
,
isAuthorization
:
false
,
_token
:
''
,
_token
:
''
,
currentMobile
:
''
currentMobile
:
''
...
@@ -100,7 +100,7 @@ Component({
...
@@ -100,7 +100,7 @@ Component({
}
}
},
},
handleGoWxCard
()
{
handleGoWxCard
()
{
wxService
.
openCard
List
()
wxService
.
openCard
()
}
}
}
}
})
})
\ No newline at end of file
src/component/personCenter/personCenter.wxml
View file @
053c130b
...
@@ -13,16 +13,16 @@
...
@@ -13,16 +13,16 @@
<view class='user-name-content'>
<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">
<image class='icon-edit' src='/assets/imgs/711_12.png'></image>
<image class='icon-edit' src='/assets/imgs/711_12.png'></image>
</navigator>-->
</navigator>
-->
</view>
</view>
<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'
bind
tap="handleGoWxCard"></image>
<image src='/assets/imgs/711_11.png'
catch
tap="handleGoWxCard"></image>
</view>
-->
</view>
</view>
</view>
</view>
</view>
<view class='df tc person-num' wx:if='{{currentMobile}}'>
<view class='df tc person-num' wx:if='{{currentMobile}}'>
...
...
src/component/personCenter/personCenter.wxss
View file @
053c130b
...
@@ -101,4 +101,16 @@
...
@@ -101,4 +101,16 @@
}
}
.un-active-btn{
.un-active-btn{
/* font-family:"iconfont-711" !important; */
/* font-family:"iconfont-711" !important; */
}
.user-info{
position: relative;
}
.qr-code{
position: absolute;
right: 0;
top: 6rpx;
}
.qr-code>image{
width: 100rpx;
height: 100rpx;
}
}
\ No newline at end of file
src/pages/couponDetail/couponDetail.js
View file @
053c130b
...
@@ -36,6 +36,7 @@ wxService.page({
...
@@ -36,6 +36,7 @@ wxService.page({
wx
.
hideLoading
()
wx
.
hideLoading
()
data
.
coupon
.
startTime
=
data
.
coupon
.
startTime
.
substring
(
0
,
10
)
data
.
coupon
.
startTime
=
data
.
coupon
.
startTime
.
substring
(
0
,
10
)
data
.
coupon
.
endTime
=
data
.
coupon
.
endTime
.
substring
(
0
,
10
)
data
.
coupon
.
endTime
=
data
.
coupon
.
endTime
.
substring
(
0
,
10
)
data
.
couponSetting
.
notice
=
JSON
.
parse
(
data
.
couponSetting
.
notice
)
this
.
setData
({
this
.
setData
({
couponDetail
:
data
couponDetail
:
data
})
})
...
...
src/pages/couponDetail/couponDetail.wxml
View file @
053c130b
...
@@ -14,13 +14,13 @@
...
@@ -14,13 +14,13 @@
<view class='coupon-code fs-24' bindtap="handelPresentCouponCode">出示券码</view>
<view class='coupon-code fs-24' bindtap="handelPresentCouponCode">出示券码</view>
</view>
</view>
<view class='integral-detail'>
<view class='integral-detail'>
<view class='integral-list'>
<
!-- <
view class='integral-list'>
<text class='integral-title'>优惠详情</text>
<text class='integral-title'>优惠详情</text>
<text class='integral-desc'>{{couponDetail.couponSetting.notice}}</text>
<text class='integral-desc'>{{couponDetail.couponSetting.notice}}</text>
</view>
</view>
-->
<view class='integral-list'>
<view class='integral-list'
wx:for="{{couponDetail.couponSetting.notice}}" wx:key="{{index}}"
>
<text class='integral-title'>
有效期
</text>
<text class='integral-title'>
{{item.label}}
</text>
<text class='integral-desc'>{{
couponDetail.coupon.startTime}} 至 {{couponDetail.coupon.endTim
e}}</text>
<text class='integral-desc'>{{
item.valu
e}}</text>
</view>
</view>
</view>
</view>
<!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>-->
<!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>-->
...
...
src/pages/coupons/coupons.wxml
View file @
053c130b
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<view class='coupon-info' data-title="{{item.title}}" data-cardNo="{{item.cardNo}}" data-id="{{item.couponId}}" bindtap="handelPresentCouponDetail">
<view class='coupon-info' data-title="{{item.title}}" data-cardNo="{{item.cardNo}}" data-id="{{item.couponId}}" bindtap="handelPresentCouponDetail">
<view class='coupon-name fs-28'>{{item.title}}</view>
<view class='coupon-name fs-28'>{{item.title}}</view>
<view class='coupon-time fs-24'>{{item.startTime}} 至 {{item.endTime}}</view>
<view class='coupon-time fs-24'>{{item.startTime}} 至 {{item.endTime}}</view>
<
view class='coupon-desc fs-24'>{{item.notice}}</view
>
<
!-- <view class='coupon-desc fs-24'>{{item.notice}}</view> --
>
</view>
</view>
<view class='coupon-code fs-24' data-cardNo="{{item.cardNo}}" bindtap="handelPresentCouponCode">出示劵码</view>
<view class='coupon-code fs-24' data-cardNo="{{item.cardNo}}" bindtap="handelPresentCouponCode">出示劵码</view>
</view>
</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