a56f4969 by simon

默认提交

1 parent 79e0d49a
......@@ -45,7 +45,7 @@ Component({
// 点击自定义按钮
onInnerButtonHandler() {
this.triggerEvent('evtcomp', {
name: "_evt_common_comp_button",
name: "_evt_order_submit_success",
data: {
cid: this.properties.cid,
innerTitle: this.properties.innerTitle,
......
......@@ -56,7 +56,10 @@ Component({
})
},
onStepperChange(e) {
this.setNum(e.detail);
let val = e.detail;
if(val > this.properties.productInfo.maxNum) val = this.properties.productInfo.maxNum;
if(val < this.properties.productInfo.minNum) val = this.properties.productInfo.minNum;
this.setNum(val);
},
bindRemarkInput(e) {
this.setData({
......
......@@ -243,23 +243,29 @@ $contentWidth:690px;
margin-top: 32px;
}
.empty-tips{
.empty-tips {
text-align: center;
padding: 60px 0;
color: #666666;
}
}
}
}
// 我的出价
.my-price {
margin: 72px auto 12px;
text-align: center;
font-size: 24px;
}
// 提交按钮
.submit-btn {
@include cb(560px, 84px);
@extend .linear;
margin: 72px auto 0;
margin: 0 auto 0;
}
}
}
......
......@@ -77,6 +77,7 @@
</view>
</view>
</view>
<view class="price my-price">我的出价:¥{{filter.Fen2Yuan(productInfo.personLastPrice)}}</view>
<!-- 按钮 -->
<view bindtap="onSubmitHandler" class="submit-btn {{productInfo.status != 1 || isTimeEnd ? 'disable' : ''}}">
我要出价
......
......@@ -60,16 +60,16 @@ $contentWidth:690px;
position: relative;
height: 100%;
flex: 1;
// padding-right: 8px;
padding-right: 12px;
@extend .bb;
align-self: flex-start;
height: 160px;
// height: 160px;
.up {}
.down {
position: absolute;
bottom: 0;
// position: absolute;
// bottom: 0;
}
.tt {
......
......@@ -19,6 +19,7 @@
<view class="tt t1">{{item.auctionName}}</view>
</view>
<view class="down">
<view class="tt t2 t3">适用群体:{{item.memberTypeLimitStr}}</view>
<view class="tt t2 t3">活动区域:{{item.district}}</view>
<view class="tt t3">{{item.dateStr}}</view>
</view>
......
......@@ -206,10 +206,18 @@ Page({
break;
}
break;
// 兑换成功
case "_evt_order_submit_success":
app.router.push({
path:"giftShop",
openType:"switchTab"
})
break;
default:
break;
break;
default:
break;
}
},
})
......
......@@ -51,11 +51,13 @@ $contentWidth:690px;
background: #F8F8F8;
border-radius: 8px;
color: #3680EB;
font-size: 30px;
}
// 删除
.t2 {
color: #E62435;
font-size: 30px;
}
.no {
......
......@@ -18,8 +18,12 @@ Page({
authorizeVisible: true
})
},
onShow() {
wx.setNavigationBarTitle({
title: '积分获取'
})
},
onLoad(options) {
// 手输码
let code = options.code || "";
if (code) {
......@@ -27,7 +31,6 @@ Page({
code: code
})
}
this.initData();
},
......@@ -72,6 +75,9 @@ Page({
this.setData({
scaning: true,
})
wx.setNavigationBarTitle({
title: '积分获取'
})
app.post({
url: app.api.scanIntegralQrcode,
data: {
......@@ -87,6 +93,10 @@ Page({
wx.setNavigationBarTitle({
title: '积分获取失败'
})
} else {
wx.setNavigationBarTitle({
title: '积分获取成功'
})
}
}).catch((err) => {
wx.hideLoading();
......
......@@ -60,16 +60,17 @@ $contentWidth:690px;
position: relative;
height: 100%;
flex: 1;
// padding-right: 8px;
padding-right: 12px;
@extend .bb;
align-self: flex-start;
height: 160px;
// height: 160px;
.up {}
.down {
position: absolute;
bottom: 0;
// position: absolute;
// bottom: 0;
}
.tt {
......
......@@ -19,6 +19,7 @@
<view class="tt t1">{{item.seckillName}}</view>
</view>
<view class="down">
<view class="tt t2 t3">适用群体:{{item.memberTypeLimitStr}}</view>
<view class="tt t2 t3">活动区域:{{item.district}}</view>
<view class="tt t3">{{item.dateStr}}</view>
</view>
......