Commit e71fd5fb authored by jiangjiantao's avatar jiangjiantao

兑换券

parents b70863e1 4d5eb0c3
......@@ -3,6 +3,7 @@
"pages/index/index",
"pages/poster/poster",
"pages/home/home",
"pages/poster/poster",
"pages/waitoperate/waitoperate",
"pages/landscan/landscan",
"pages/payresult/payresult"
......
......@@ -20,5 +20,4 @@
</view>
</view>
</view>
\ No newline at end of file
......@@ -5,7 +5,8 @@
flex-direction: column;
width: 100%;
height: 100%;
background: #F3F7F9;
background: white;
/* border: 2px solid red; */
position: absolute
}
......@@ -18,7 +19,7 @@
height: 100%;
background: #F3F7F9;
filter: blur(3px);
position: absolute
position: absolute;
}
.homeTopView {
......@@ -37,28 +38,13 @@
width: auto;
}
.homeBodyView {
position: relative;
width: 100%;
height: 100%;
background: #ffffff;
.homeItemView {
width: 174rpx;
height: 148rpx;
/* border: 2px solid red; */
}
.homeGridItem {
/* box-sizing: border-box; */
display: flex;
flex-direction: column;
width: 96rpx;
align-items: center;
margin-top: 15rpx;
margin-bottom: 15rpx;
margin-left: 38rpx;
margin-right: 38rpx;
}
.homeItemImage {
width: 96rpx;
height: 96rpx;
}
.homeItemText {
......@@ -66,10 +52,24 @@
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(0, 0, 0, 1);
line-height: 27rpx;
/* line-height: 27rpx; */
margin: 0 auto;
margin-top: 12rpx;
}
.homeBodyView {
position: relative;
width: 100%;
height: 100%;
/* background: #ffffff; */
/* border: 2px solid red; */
}
.homeItemImage {
width: 96rpx;
height: 96rpx;
}
/**
支付结果页样式css
......
This diff is collapsed.
......@@ -156,9 +156,9 @@ Page({
});
context.goPage('payresult');
} else if(res.action == ACTION_GET_ACCOUNT){
} else if (res.action == ACTION_GET_ACCOUNT) {
context.setData({
storeName:res.data.storeName
storeName: res.data.storeName
});
}else if(res.action == ACTION_DIRECT_PAYMENT){
//直接收款
......@@ -176,6 +176,7 @@ Page({
}
});
},
onHide() {
// 页面隐藏
......@@ -205,7 +206,7 @@ Page({
};
},
getAccountInfo(){
getAccountInfo() {
my.ix.sendBuddyMessage({
target: getApp().globalData.frontScreenAppId,
data: {
......@@ -221,6 +222,78 @@ Page({
});
},
/**首页相关 */
/**立即收款 */
onHomeCashierImmediatelyClicked() {
},
/**
* 兑换
*/
onHomeExchangeClicked() {
},
/**
* 海报
*/
onHomePosterClicked() {
},
/**
* 退款
*/
onHomeRefundClicked() {
},
/**
* 打印上一单
*/
onHomePrintLastOrderClicked() {
},
/**
* 核验
*/
onHomeVerifyClicked() {
},
/**
* 提货
*/
onHomePickUpGoodsClicked() {
},
/**日结 */
onHomeDayCheckClicked() {
},
/**关于系统(实际上是关于应用) */
onHomeAboutAppClicked() {
},
/**
* 系统设置
*/
onHomeSysSettingClicked() {
},
/**
* 应用设置
*/
onHomeAppSettingClicked() {
},
/**payresult页面逻辑方法 */
onReprint() {
//通知前屏重新打印
......@@ -483,15 +556,15 @@ Page({
})
},
waitOperateBack(){
waitOperateBack() {
//直接返回到扫码页面,并且通知前屏返回
this.goPage('landscan');
my.ix.sendBuddyMessage({
target: getApp().globalData.frontScreenAppId,
data: {
action:ACTION_GO_SCAN,
data:null
action: ACTION_GO_SCAN,
data: null
},
success: (res) => {
console.log("通知前屏跳转到结算页面 成功 ===》" + JSON.stringify(res));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment