Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-back
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-back
Commits
55845311
Commit
55845311
authored
Feb 21, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge fixed
parent
e71fd5fb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
index.axml
pages/index/index.axml
+1
-1
index.js
pages/index/index.js
+5
-11
No files found.
pages/index/index.axml
View file @
55845311
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
<text class="scan-coupon-text-fail-desr">{{convertCouponMsg}}</text>
<text class="scan-coupon-text-fail-desr">{{convertCouponMsg}}</text>
<view class="failure-operation">
<view class="failure-operation">
<button class="close-use-coupon" type="ghost" size="default" onTap="convertCouponClose">关闭</button>
<button class="close-use-coupon" type="ghost" size="default" onTap="convertCouponClose">关闭</button>
<button class="again-use-coupon" type="primary" size="default" onTap="
convertCoupon
">重新兑换</button>
<button class="again-use-coupon" type="primary" size="default" onTap="
onHomeExchangeClicked
">重新兑换</button>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/index/index.js
View file @
55845311
...
@@ -225,14 +225,15 @@ Page({
...
@@ -225,14 +225,15 @@ Page({
/**首页相关 */
/**首页相关 */
/**立即收款 */
/**立即收款 */
onHomeCashierImmediatelyClicked
()
{
onHomeCashierImmediatelyClicked
()
{
this
.
setData
({
scene
:
3
})
},
},
/**
/**
* 兑换
* 兑换
*/
*/
onHomeExchangeClicked
()
{
onHomeExchangeClicked
()
{
this
.
setData
({
convertCouponState
:
1
})
this
.
sendConvertCouponToFront
(
1
)
},
},
/**
/**
...
@@ -353,10 +354,7 @@ Page({
...
@@ -353,10 +354,7 @@ Page({
});
});
},
},
//直接收银
directPayment
(
e
)
{
this
.
setData
({
scene
:
3
})
},
//发生直接收银事件
//发生直接收银事件
sendPaymentToFront
(
payment
)
{
sendPaymentToFront
(
payment
)
{
var
commonRequest
=
{
var
commonRequest
=
{
...
@@ -582,11 +580,7 @@ Page({
...
@@ -582,11 +580,7 @@ Page({
})
})
},
},
//兑换券
convertCoupon
(
e
){
this
.
setData
({
convertCouponState
:
1
})
this
.
sendConvertCouponToFront
(
1
)
},
//兑换券界面关闭
//兑换券界面关闭
convertCouponClose
(
e
){
convertCouponClose
(
e
){
...
...
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