Commit 50f0b4591032556db6e367a9b89b40092aab4b0f
Merge branch 'dev' into 'test'
Dev See merge request !830
Showing
2 changed files
with
14 additions
and
2 deletions
packageC/pages/presell/goodsInfo/goodsInfo.js
@@ -2707,7 +2707,8 @@ Page({ | @@ -2707,7 +2707,8 @@ Page({ | ||
2707 | if (!user_id) scene += "_0"; | 2707 | if (!user_id) scene += "_0"; |
2708 | scene += "_" + getApp().globalData.room_id; | 2708 | scene += "_" + getApp().globalData.room_id; |
2709 | } | 2709 | } |
2710 | - | 2710 | + |
2711 | + | ||
2711 | ///二微码 | 2712 | ///二微码 |
2712 | var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" + | 2713 | var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" + |
2713 | os.stoid + "?sceneValue=" + scene + "&pageValue=packageC/pages/presell/goodsInfo/goodsInfo"; | 2714 | os.stoid + "?sceneValue=" + scene + "&pageValue=packageC/pages/presell/goodsInfo/goodsInfo"; |
@@ -3913,6 +3914,15 @@ Page({ | @@ -3913,6 +3914,15 @@ Page({ | ||
3913 | gnext=0; | 3914 | gnext=0; |
3914 | return false; | 3915 | return false; |
3915 | } | 3916 | } |
3917 | + | ||
3918 | + if (act_data.start_time > ut.gettimestamp()) { | ||
3919 | + wx.showToast({title:"活动还未开始", icon: 'none', duration: 3000}); | ||
3920 | + setTimeout(function () { | ||
3921 | + ut.wx_back(); | ||
3922 | + }, 2000) | ||
3923 | + gnext=0; | ||
3924 | + return false; | ||
3925 | + } | ||
3916 | 3926 | ||
3917 | th.setData({ | 3927 | th.setData({ |
3918 | presellForm: res.data.data, | 3928 | presellForm: res.data.data, |
pages/cart/cart2/cart2.wxss
@@ -250,13 +250,15 @@ margin:auto; */ | @@ -250,13 +250,15 @@ margin:auto; */ | ||
250 | font-size: 24rpx; | 250 | font-size: 24rpx; |
251 | margin-left: 20rpx; | 251 | margin-left: 20rpx; |
252 | display: flex; | 252 | display: flex; |
253 | + flex-grow: 1; | ||
253 | align-items: center; | 254 | align-items: center; |
254 | height: 50rpx; | 255 | height: 50rpx; |
255 | - width: 500rpx; | 256 | + /* width: 500rpx; */ |
256 | } | 257 | } |
257 | 258 | ||
258 | .word-box { | 259 | .word-box { |
259 | font-size: 26rpx; | 260 | font-size: 26rpx; |
261 | + width: 100%; | ||
260 | /* width: 600rpx; */ | 262 | /* width: 600rpx; */ |
261 | /* padding: 10rpx; | 263 | /* padding: 10rpx; |
262 | height: 28rpx; | 264 | height: 28rpx; |