Commit 499da6fc8a33a43995122707314a8cab29f4d183

Authored by WXD-SEASON\season
2 parents 12e17a5e f9cb4bf1

Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa

components/diy_floatingBox/diy_floatingBox.wxss
@@ -2,10 +2,10 @@ @@ -2,10 +2,10 @@
2 2
3 .floatingBox { 3 .floatingBox {
4 /* width: 100rpx; */ 4 /* width: 100rpx; */
5 - height: 750rpx; 5 + /* height: 750rpx; */
6 position: fixed; 6 position: fixed;
7 /* top:0; */ 7 /* top:0; */
8 - bottom: 300rpx; 8 + bottom: 200rpx;
9 /* margin: auto; */ 9 /* margin: auto; */
10 /* background-color: red; */ 10 /* background-color: red; */
11 display: flex; 11 display: flex;
packageC/pages/presell/cart/cart.js
@@ -1972,6 +1972,10 @@ Page({ @@ -1972,6 +1972,10 @@ Page({
1972 }).then(res => { 1972 }).then(res => {
1973 if (res.data.code == 0) { 1973 if (res.data.code == 0) {
1974 var data = res.data.data; 1974 var data = res.data.data;
  1975 +
  1976 + //如果订单促销的取价不是实收,清空订单促销
  1977 + if(data && data.discount_field>0) data=null;
  1978 +
1975 th.data.order_prom[pick] = data; 1979 th.data.order_prom[pick] = data;
1976 } else { 1980 } else {
1977 th.data.order_prom[pick] = null; 1981 th.data.order_prom[pick] = null;
@@ -2439,6 +2443,9 @@ Page({ @@ -2439,6 +2443,9 @@ Page({
2439 }).then(res => { 2443 }).then(res => {
2440 if (res.data.code == 0) { 2444 if (res.data.code == 0) {
2441 ord_prom = res.data.data; 2445 ord_prom = res.data.data;
  2446 +
  2447 + //如果订单促销的取价不是实收,清空订单促销
  2448 + if(ord_prom && ord_prom.discount_field>0) ord_prom=null;
2442 } 2449 }
2443 }) 2450 })
2444 } 2451 }
pages/index/index/index.wxss
@@ -1070,7 +1070,7 @@ page { @@ -1070,7 +1070,7 @@ page {
1070 width: 124rpx; 1070 width: 124rpx;
1071 height: 170rpx; 1071 height: 170rpx;
1072 position: fixed; 1072 position: fixed;
1073 - top: 50%; 1073 + top:300rpx;
1074 right: 0; 1074 right: 0;
1075 /* transform: translateY(-50%); */ 1075 /* transform: translateY(-50%); */
1076 z-index: 10000; 1076 z-index: 10000;