Commit e0ac0940a445184a1074083a21f1adb8c4a4b205

Authored by 后端开发-许程
1 parent cd3a9b14

生日优化

pages/giftpack/birthdaygift/birthdaygift.js
@@ -37,7 +37,6 @@ Page({ @@ -37,7 +37,6 @@ Page({
37 data: { 37 data: {
38 "actId": th.data.getActId, //活动id 38 "actId": th.data.getActId, //活动id
39 "actType": 4, //活动类型 1新人礼 2评价有礼 3节日营销 4生日营销 39 "actType": 4, //活动类型 1新人礼 2评价有礼 3节日营销 4生日营销
40 - "giftBagId": th.data.giftID, //礼包ID  
41 "storeId": a.stoid, //商家ID 40 "storeId": a.stoid, //商家ID
42 "userId": d.user_id //用户ID 41 "userId": d.user_id //用户ID
43 } 42 }
@@ -54,7 +53,7 @@ Page({ @@ -54,7 +53,7 @@ Page({
54 cards: res.data.data.lbCoupons 53 cards: res.data.data.lbCoupons
55 }) 54 })
56 } 55 }
57 - if (res.data.data.lbSM.length > 0 && res.data.data.lbSM != nll) { 56 + if (res.data.data.lbSM.length > 0 && res.data.data.lbSM != null) {
58 //礼包内容--服务项目 57 //礼包内容--服务项目
59 th.setData({ 58 th.setData({
60 itemShow: true, 59 itemShow: true,
pages/giftpack/birthdaygift/birthdaygift.wxss
@@ -337,3 +337,17 @@ button::after { @@ -337,3 +337,17 @@ button::after {
337 line-height: 0; 337 line-height: 0;
338 } 338 }
339 339
  340 +.lvip {
  341 + left: 30rpx;
  342 + bottom: -58rpx;
  343 + width: 20rpx;
  344 + height: 90rpx;
  345 + z-index: 5;
  346 +}
  347 +.rvip {
  348 + right: 30rpx;
  349 + bottom: -58rpx;
  350 + width: 20rpx;
  351 + height: 90rpx;
  352 + z-index: 5;
  353 +}
340 \ No newline at end of file 354 \ No newline at end of file