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
190577b9
Commit
190577b9
authored
Aug 05, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 集点详情_desc
parent
0d5b0232
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
2 deletions
+46
-2
pointDetail.js
src/pages/pointDetail/pointDetail.js
+5
-0
pointDetail.wxml
src/pages/pointDetail/pointDetail.wxml
+9
-2
pointDetail.wxss
src/pages/pointDetail/pointDetail.wxss
+32
-0
No files found.
src/pages/pointDetail/pointDetail.js
View file @
190577b9
...
...
@@ -16,6 +16,8 @@ wxService.page({
content
:
'积分流水'
,
tip
:
'立即查看'
},
desc
:[{
"label"
:
"优惠详情"
,
"value"
:
"使用100积分可兑换一张维记鲜牛奶优惠券,凭券可以4.8元优惠价换购维记鲜牛奶236ML一盒!"
,
"type"
:
2
},{
"label"
:
"有效时间"
,
"value"
:
"2019-07-12 至 2019-08-06"
,
"type"
:
2
},{
"label"
:
"兑换说明"
,
"value"
:
"1、点击【立即兑换】,即可兑换成功,每人限兑换10张券
\
n2、在【会员小程序-优惠券】中可查询到已兑换的券;"
,
"type"
:
2
},{
"label"
:
"使用须知"
,
"value"
:
"1、凭此优惠券,前往广东7-Eleven有售门店,可以优惠价4.8元换购维记鲜牛奶236ML一盒!2、成功领到优惠券后,请务必在有效期内使用,逾期无效;3、一张券限兑换维记鲜牛奶236ML一盒;4、优惠券不设找零、不可兑换现金; 5、请于交易前向收银员出示此优惠券; 6、使用优惠券发生的交易,广东7-Eleven仅按实际支付金额开具发票;7、如发生退货,仅按顾客实际支付金额退款。 "
,
"type"
:
2
}]
},
/**
...
...
@@ -24,6 +26,9 @@ wxService.page({
onLoad
:
function
(
options
)
{
},
handleCheckGoods
()
{
wxService
.
router
(
`/pages/coupons/coupons`
)
},
handleGo
(){
console
.
log
(
'handleGo'
)
wxService
.
router
(
`/pages/coupons/coupons`
)
...
...
src/pages/pointDetail/pointDetail.wxml
View file @
190577b9
...
...
@@ -26,8 +26,14 @@
<!-- <view class="info-status-btn unacommpolished border_box">
还未达成,继续加油呀
</view>-->
</view>
<view class="detail-desc" />
<view class="detail-desc">
<view class="detail-active" bindtap="handleCheckGoods">查看活动商品 ></view>
<view class='integral-list' wx:for="{{desc}}" wx:key="{{index}}">
<text class='integral-title'>{{item.label}}</text>
<text class='integral-desc wpl'>{{item.value}}</text>
</view>
</view>
<x-dialog dialog="{{dialog}}" bind:handleGo="handleGo" show="{{dialog.show}}"></x-dialog>
\ No newline at end of file
src/pages/pointDetail/pointDetail.wxss
View file @
190577b9
...
...
@@ -41,4 +41,35 @@
color: rgba(204, 204, 204, 1);
font-size: 32rpx;
font-family: PingFangSC-Medium;
}
.detail-desc {
box-sizing: border-box;
padding: 0 40rpx;
}
.integral-list{
margin-bottom: 60rpx;
font-size: 27rpx;
}
.integral-title,.integral-desc{
display: inline-block;
}
.integral-title{
color: #999999;
vertical-align: top;
margin-right: 50rpx;
text-align: right;
width: 120rpx;
}
.integral-desc{
width: 500rpx;
color: #666666;
}
.detail-active {
height: 33rpx;
color: rgba(203, 60, 60, 1);
font-size: 24rpx;
text-align: right;
font-family: PingFangSC-Regular;
padding: 30rpx 0 50rpx 0;
box-sizing: border-box;
}
\ No newline at end of file
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