Commit e71fd5fb authored by jiangjiantao's avatar jiangjiantao

兑换券

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