Commit a15f3d03245cb7dd3989d950f6b06627d4825104

Authored by yvan.ni
1 parent 89982d83

OA单

app.wxss
@@ -1207,6 +1207,9 @@ background: #ffe3e2; @@ -1207,6 +1207,9 @@ background: #ffe3e2;
1207 content: "\e615"; 1207 content: "\e615";
1208 } 1208 }
1209 1209
  1210 +.icon-search_fd:before{
  1211 + content: '\e618';
  1212 +}
1210 1213
1211 /* 去掉零售价划线 */ 1214 /* 去掉零售价划线 */
1212 .no_line_x{ 1215 .no_line_x{
@@ -1340,3 +1343,5 @@ checkbox .wx-checkbox-input { @@ -1340,3 +1343,5 @@ checkbox .wx-checkbox-input {
1340 height: 32rpx !important; 1343 height: 32rpx !important;
1341 margin-right: 16rpx; 1344 margin-right: 16rpx;
1342 } 1345 }
  1346 +
  1347 +
packageE/pages/cart/cart2/cart2.js
@@ -2249,6 +2249,7 @@ Page({ @@ -2249,6 +2249,7 @@ Page({
2249 original_img: th.data.imgUrl + get_data.goodsinfo.original_img, 2249 original_img: th.data.imgUrl + get_data.goodsinfo.original_img,
2250 weight:get_data.goodsinfo.weight, //赠品在计算运费必须的字段 2250 weight:get_data.goodsinfo.weight, //赠品在计算运费必须的字段
2251 exp_sum_type:get_data.goodsinfo.exp_sum_type, //赠品在计算运费必须的字段 2251 exp_sum_type:get_data.goodsinfo.exp_sum_type, //赠品在计算运费必须的字段
  2252 + uniform_exp_sum:get_data.goodsinfo.uniform_exp_sum, //赠品在计算运费必须的字段
2252 }; 2253 };
2253 var fd_gd=ord_goods[pos] 2254 var fd_gd=ord_goods[pos]
2254 2255
@@ -2258,6 +2259,10 @@ Page({ @@ -2258,6 +2259,10 @@ Page({
2258 newd.is_order_yh = fd_gd.is_order_yh; 2259 newd.is_order_yh = fd_gd.is_order_yh;
2259 newd.is_post_temp = fd_gd.is_post_temp; 2260 newd.is_post_temp = fd_gd.is_post_temp;
2260 2261
  2262 + if(get_data.zb_by>0){
  2263 + newd.is_past=1;
  2264 + }
  2265 +
2261 ord_goods.splice(pos+1,0,newd); 2266 ord_goods.splice(pos+1,0,newd);
2262 th.data.old_cartlist[i].goods.splice(pos2+1,0,newd); 2267 th.data.old_cartlist[i].goods.splice(pos2+1,0,newd);
2263 2268
@@ -2340,12 +2345,19 @@ Page({ @@ -2340,12 +2345,19 @@ Page({
2340 item_map.lbtitle = get_data.lbtitle; 2345 item_map.lbtitle = get_data.lbtitle;
2341 item_map.zxlbtitle = get_data.zxlbtitle; 2346 item_map.zxlbtitle = get_data.zxlbtitle;
2342 2347
  2348 +
  2349 +
  2350 +
2343 var rule=JSON.parse(get_data.rule); 2351 var rule=JSON.parse(get_data.rule);
2344 if(rule.is_monthgiftbag && parseFloat(rule.is_monthgiftbag )>0){ 2352 if(rule.is_monthgiftbag && parseFloat(rule.is_monthgiftbag )>0){
2345 //每月礼包 2353 //每月礼包
2346 item_map.monthlbtitle = get_data.monthlbtitle; 2354 item_map.monthlbtitle = get_data.monthlbtitle;
2347 } 2355 }
2348 2356
  2357 + if(get_data.gift_id){
  2358 + item_map.zp_by=rule.zp_by;
  2359 + }
  2360 +
2349 //-- 其他门店赠品的总和 -- 2361 //-- 其他门店赠品的总和 --
2350 var other_gift=0; 2362 var other_gift=0;
2351 other_gift=th.get_other_gift(c_arr,get_data.gift_id,pickid); 2363 other_gift=th.get_other_gift(c_arr,get_data.gift_id,pickid);
@@ -6476,6 +6488,7 @@ Page({ @@ -6476,6 +6488,7 @@ Page({
6476 var check = this.check_good(arr, goods_id); 6488 var check = this.check_good(arr, goods_id);
6477 return !check; 6489 return !check;
6478 }, 6490 },
  6491 +
6479 //立即购买获取优惠活动的内容 6492 //立即购买获取优惠活动的内容
6480 buy_now_prom_goods: async function (prom_id, arr, func) { 6493 buy_now_prom_goods: async function (prom_id, arr, func) {
6481 var th = this; 6494 var th = this;
@@ -7428,8 +7441,13 @@ Page({ @@ -7428,8 +7441,13 @@ Page({
7428 var fd=prom_goods_map[th.data.gf_prom_id]; 7441 var fd=prom_goods_map[th.data.gf_prom_id];
7429 7442
7430 if(fd){ 7443 if(fd){
7431 - newd.is_past=fd.is_past; 7444 + //newd.is_past=fd.is_past;
7432 newd.is_xz_yh=fd.is_xz_yh; 7445 newd.is_xz_yh=fd.is_xz_yh;
  7446 + //赠品包邮的优化
  7447 + if(fd.zb_by>0){
  7448 + newd.is_past=1;
  7449 + }
  7450 +
7433 } 7451 }
7434 7452
7435 //赠品的优惠要和商品的一样 7453 //赠品的优惠要和商品的一样