diff --git a/app.wxss b/app.wxss
index a37615e..e161419 100644
--- a/app.wxss
+++ b/app.wxss
@@ -1206,5 +1206,15 @@ background: #ffe3e2;
}
+/* 去掉零售价划线 */
+.no_line_x{
+ text-decoration: none !important;
+ font-size: 24rpx !important;
+ color: #acaaaa !important;
+}
+.no_line_c{
+ text-decoration: none !important;
+}
+
diff --git a/components/diy_goodsGroup/diy_goodsGroup.wxml b/components/diy_goodsGroup/diy_goodsGroup.wxml
index 97b65a3..e4c0fc1 100644
--- a/components/diy_goodsGroup/diy_goodsGroup.wxml
+++ b/components/diy_goodsGroup/diy_goodsGroup.wxml
@@ -73,7 +73,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -95,7 +95,7 @@
-
+
¥
{{item.market_price}}
@@ -111,7 +111,7 @@
-
+
¥
{{item.market_price}}
@@ -128,7 +128,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -156,7 +156,7 @@
-
+
¥
{{item.market_price}}
@@ -167,7 +167,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -248,7 +248,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -269,7 +269,7 @@
-
+
¥
{{item.market_price}}
@@ -285,7 +285,7 @@
-
+
¥
{{item.market_price}}
@@ -302,7 +302,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -330,7 +330,7 @@
-
+
¥
{{item.market_price}}
@@ -340,7 +340,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -423,7 +423,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -444,7 +444,7 @@
-
+
¥
{{item.market_price}}
@@ -460,7 +460,7 @@
-
+
¥
{{item.market_price}}
@@ -477,7 +477,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -505,7 +505,7 @@
-
+
¥
{{item.market_price}}
@@ -515,7 +515,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -600,7 +600,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -623,7 +623,7 @@
-
+
¥
{{item.market_price}}
@@ -639,7 +639,7 @@
-
+
¥
{{item.market_price}}
@@ -656,7 +656,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -683,7 +683,7 @@
-
+
¥
{{item.market_price}}
@@ -694,7 +694,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -801,7 +801,7 @@
+
¥{{aitem.prom_price}}
- ¥{{aitem.market_price}}
+ ¥{{aitem.market_price}}
@@ -822,7 +822,7 @@
-
+
¥
{{aitem.market_price}}
@@ -838,7 +838,7 @@
-
+
¥
{{aitem.market_price}}
@@ -855,7 +855,7 @@
{{filter.toFix(aitem.shop_price,2)}}
-
+
¥
{{aitem.market_price}}
@@ -883,7 +883,7 @@
-
+
¥
{{aitem.market_price}}
@@ -893,7 +893,7 @@
¥{{aitem.shop_price}}
- ¥{{aitem.market_price}}
+ ¥{{aitem.market_price}}
diff --git a/components/diy_goodsGroup/diy_goodsGroup.wxss b/components/diy_goodsGroup/diy_goodsGroup.wxss
index 496b5ff..e76398f 100644
--- a/components/diy_goodsGroup/diy_goodsGroup.wxss
+++ b/components/diy_goodsGroup/diy_goodsGroup.wxss
@@ -411,17 +411,20 @@
/*一个3列*/
.zs_goods_wai_san {
- width: 236rpx;
+ /* width: 236rpx; */
+ width: 242rpx;
/* display: flex;
margin-left: 10rpx;
float: left; */
/* margin-bottom: 8rpx; */
background-color: white;
overflow: hidden;
+ box-sizing: border-box;
}
.zs_goods_san {
- width: 236rpx;
+ /* width: 236rpx; */
+ width: 242rpx;
}
.zs_goods_3l {
diff --git a/components/diy_groupbuy/diy_groupbuy.wxml b/components/diy_groupbuy/diy_groupbuy.wxml
index e928d9e..6701dd3 100644
--- a/components/diy_groupbuy/diy_groupbuy.wxml
+++ b/components/diy_groupbuy/diy_groupbuy.wxml
@@ -39,7 +39,7 @@
{{aitem.goods_name}}
¥{{aitem.price}}
- ¥{{aitem.market_price}}
+ ¥{{aitem.market_price}}
¥
- {{item.market_price}}
+ {{item.market_price}}
@@ -132,7 +132,7 @@
-
+
¥
{{item.market_price}}
@@ -149,7 +149,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -177,7 +177,7 @@
-
+
¥
{{item.market_price}}
@@ -188,7 +188,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -255,7 +255,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -276,7 +276,7 @@
-
+
¥
{{item.market_price}}
@@ -292,7 +292,7 @@
-
+
¥
{{item.market_price}}
@@ -309,7 +309,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -337,7 +337,7 @@
-
+
¥
{{item.market_price}}
@@ -347,7 +347,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -416,7 +416,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -437,7 +437,7 @@
-
+
¥
{{item.market_price}}
@@ -453,7 +453,7 @@
-
+
¥
{{item.market_price}}
@@ -470,7 +470,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -498,7 +498,7 @@
-
+
¥
{{item.market_price}}
@@ -508,7 +508,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -581,7 +581,7 @@
+
¥{{item.prom_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -604,7 +604,7 @@
-
+
¥
{{item.market_price}}
@@ -620,7 +620,7 @@
-
+
¥
{{item.market_price}}
@@ -637,7 +637,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -663,7 +663,7 @@
-
+
¥
{{item.market_price}}
@@ -674,7 +674,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}
@@ -762,7 +762,7 @@
+
¥{{aitem.prom_price}}
- ¥{{aitem.market_price}}
+ ¥{{aitem.market_price}}
@@ -783,7 +783,7 @@
-
+
¥
{{aitem.market_price}}
@@ -799,7 +799,7 @@
-
+
¥
{{aitem.market_price}}
@@ -816,7 +816,7 @@
{{filter.toFix(aitem.shop_price,2)}}
-
+
¥
{{aitem.market_price}}
@@ -844,7 +844,7 @@
-
+
¥
{{aitem.market_price}}
@@ -854,7 +854,7 @@
¥{{aitem.shop_price}}
- ¥{{aitem.market_price}}
+ ¥{{aitem.market_price}}
diff --git a/components/goods_list/goods_list.wxml b/components/goods_list/goods_list.wxml
index e15421d..5702fd8 100644
--- a/components/goods_list/goods_list.wxml
+++ b/components/goods_list/goods_list.wxml
@@ -30,7 +30,7 @@
-
+
¥
{{item.market_price}}
@@ -62,7 +62,7 @@
-
+
¥
{{item.market_price}}
@@ -80,7 +80,7 @@
-
+
¥
{{item.market_price}}
@@ -97,7 +97,7 @@
{{filter.toFix(item.shop_price,2)}}
-
+
¥
{{item.market_price}}
@@ -124,7 +124,7 @@
-
+
¥
{{item.market_price}}
@@ -143,7 +143,7 @@
-
+
¥
{{item.market_price}}
diff --git a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
index 578c154..04cb149 100644
--- a/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
+++ b/packageC/pages/luckyGo/luckyGo_cart_ct/luckyGo_cart_ct.js
@@ -268,13 +268,14 @@ Page({
},
//计算商品预存款请求方法------------------------------------
async getGoodsAdvancesum(storageid, listform, cartList) {
-
- await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{
- }).then(res=>{
- if(res.data.code==0){
- getApp().globalData.config = res.data.data
- }
- })
+ if(!getApp().globalData.config){
+ await getApp().request.promiseGet("/api/weshop/store/get/" + os.stoid,{
+ }).then(res=>{
+ if(res.data.code==0){
+ getApp().globalData.config = res.data.data
+ }
+ })
+ }
if(!getApp().globalData.config) return false;
let res = await getApp().request.promisePost(`/api/weshop/delphiapi/saveErpApi`, {
diff --git a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
index 196893a..ead2ea1 100644
--- a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
+++ b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
@@ -113,11 +113,11 @@
{{filters.toFix(luckGoInfo.group_price/100,2)}}
-
+
零售价:{{data.market_price}}
-
+
diff --git a/packageC/pages/presell/cart/cart2_pre.js b/packageC/pages/presell/cart/cart2_pre.js
index 1fd1b8d..3c3986f 100644
--- a/packageC/pages/presell/cart/cart2_pre.js
+++ b/packageC/pages/presell/cart/cart2_pre.js
@@ -398,13 +398,14 @@ Page({
},
//计算商品预存款请求方法------------------------------------
async getGoodsAdvancesum(storageid, listform, cartList) {
-
- await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{
- }).then(res=>{
- if(res.data.code==0){
- getApp().globalData.config = res.data.data
- }
- })
+ if(!getApp().globalData.config){
+ await getApp().request.promiseGet("/api/weshop/store/get/" + os.stoid,{
+ }).then(res=>{
+ if(res.data.code==0){
+ getApp().globalData.config = res.data.data
+ }
+ })
+ }
if(!getApp().globalData.config) return false;
let res = await getApp().request.promisePost(`/api/weshop/delphiapi/saveErpApi`, {
diff --git a/packageE/pages/cart/cart2/cart2.js b/packageE/pages/cart/cart2/cart2.js
index a6ad0c1..bf16dac 100644
--- a/packageE/pages/cart/cart2/cart2.js
+++ b/packageE/pages/cart/cart2/cart2.js
@@ -410,12 +410,14 @@ Page({
//计算商品预存款请求方法------------------------------------
async getGoodsAdvancesum(storageid, listform, cartList) {
- await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{
- }).then(res=>{
- if(res.data.code==0){
- getApp().globalData.config = res.data.data
- }
- })
+ if(!getApp().globalData.config){
+ await getApp().request.promiseGet("/api/weshop/store/get/" + os.stoid,{
+ }).then(res=>{
+ if(res.data.code==0){
+ getApp().globalData.config = res.data.data
+ }
+ })
+ }
if(!getApp().globalData.config) return false;
let res = await getApp().request.promisePost(`/api/weshop/delphiapi/saveErpApi`, {
data: {
@@ -5533,6 +5535,7 @@ Page({
var prom = null;
var gg = to.get_b_now();
getApp().request.promiseGet("/api/weshop/promgoods/get/" + os.stoid + "/" + prom_id, {}).then(res => {
+
if (res.data.code == 0) {
prom = res.data.data;
let min_value = 0
diff --git a/packageE/pages/cart/cart2/cart2.wxml b/packageE/pages/cart/cart2/cart2.wxml
index 54c48b4..5780298 100644
--- a/packageE/pages/cart/cart2/cart2.wxml
+++ b/packageE/pages/cart/cart2/cart2.wxml
@@ -561,7 +561,7 @@
使用优惠券
- ¥ {{formData.coupon_price}}元
-
+
优惠活动
- ¥ {{filters.toFix(formData.cut_price,2)}}元
diff --git a/pages/activity/pind_list/pind_list.wxml b/pages/activity/pind_list/pind_list.wxml
index 2e57bc9..d151b58 100644
--- a/pages/activity/pind_list/pind_list.wxml
+++ b/pages/activity/pind_list/pind_list.wxml
@@ -69,7 +69,7 @@
¥
{{item.price}}
- ¥{{item.shop_price}}
+ ¥{{item.shop_price}}
diff --git a/pages/activity/seckill_list/seckill_list.wxml b/pages/activity/seckill_list/seckill_list.wxml
index 5bceb1e..588ad3c 100644
--- a/pages/activity/seckill_list/seckill_list.wxml
+++ b/pages/activity/seckill_list/seckill_list.wxml
@@ -69,7 +69,7 @@
¥
{{item.price}}
- 零售价¥{{item.market_price}}
+ 零售价¥{{item.market_price}}
diff --git a/pages/cart/cart2_inte/cart2_inte.js b/pages/cart/cart2_inte/cart2_inte.js
index f6e0b33..dfadf4b 100644
--- a/pages/cart/cart2_inte/cart2_inte.js
+++ b/pages/cart/cart2_inte/cart2_inte.js
@@ -272,13 +272,14 @@ Page({
},
//计算商品预存款请求方法------------------------------------
async getGoodsAdvancesum(storageid, listform, cartList) {
-
- await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{
- }).then(res=>{
- if(res.data.code==0){
- getApp().globalData.config = res.data.data
- }
- })
+ if(!getApp().globalData.config){
+ await getApp().request.promiseGet("/api/weshop/store/get/" + os.stoid,{
+ }).then(res=>{
+ if(res.data.code==0){
+ getApp().globalData.config = res.data.data
+ }
+ })
+ }
if(!getApp().globalData.config) return false;
let res = await getApp().request.promisePost(`/api/weshop/delphiapi/saveErpApi`, {
diff --git a/pages/cart/cart2_pt/cart2_pt.js b/pages/cart/cart2_pt/cart2_pt.js
index f3e596c..628716c 100644
--- a/pages/cart/cart2_pt/cart2_pt.js
+++ b/pages/cart/cart2_pt/cart2_pt.js
@@ -225,13 +225,14 @@ Page({
},
//计算商品预存款请求方法------------------------------------
async getGoodsAdvancesum(storageid, listform, cartList) {
-
- await getApp().request.promisePost("/api/weshop/store/get/" + storageid,{
- }).then(res=>{
- if(res.data.code==0){
- getApp().globalData.config = res.data.data
- }
- })
+ if(!getApp().globalData.config){
+ await getApp().request.promiseGet("/api/weshop/store/get/" + os.stoid,{
+ }).then(res=>{
+ if(res.data.code==0){
+ getApp().globalData.config = res.data.data
+ }
+ })
+ }
if(!getApp().globalData.config) return false;
let res = await getApp().request.promisePost(`/api/weshop/delphiapi/saveErpApi`, {
diff --git a/pages/giftpack/buygiftpack/giftpackbuy.wxml b/pages/giftpack/buygiftpack/giftpackbuy.wxml
index 5ac2c25..3919f50 100644
--- a/pages/giftpack/buygiftpack/giftpackbuy.wxml
+++ b/pages/giftpack/buygiftpack/giftpackbuy.wxml
@@ -47,7 +47,7 @@
-
+
{{"¥"+items.giftPosPrice}}
diff --git a/pages/giftpack/giftpacklist/giftpacklist.wxml b/pages/giftpack/giftpacklist/giftpacklist.wxml
index b5bb2de..948a3ca 100644
--- a/pages/giftpack/giftpacklist/giftpacklist.wxml
+++ b/pages/giftpack/giftpacklist/giftpacklist.wxml
@@ -63,7 +63,7 @@
diff --git a/pages/goods/search/search.wxml b/pages/goods/search/search.wxml
index c585939..9d1ca22 100644
--- a/pages/goods/search/search.wxml
+++ b/pages/goods/search/search.wxml
@@ -115,14 +115,14 @@
¥{{item.shop_price}}
@@ -131,7 +131,7 @@
¥{{item.shop_price}}
- ¥{{item.market_price}}
+ ¥{{item.market_price}}