diff --git a/application/wap/view/first/store/detail.html b/application/wap/view/first/store/detail.html
index f55f2da6..4ce74404 100644
--- a/application/wap/view/first/store/detail.html
+++ b/application/wap/view/first/store/detail.html
@@ -16,7 +16,7 @@
¥{$storeInfo.price|floatval}
原价:¥{$storeInfo.ot_price|floatval}
商品编号:{$storeInfo.id} 库存:{$storeInfo.stock}{$storeInfo.unit_name}
- 销量:{$storeInfo.ficti}{$storeInfo.unit_name}
+ 销量:{$storeInfo.ficti+$storeInfo.sales}{$storeInfo.unit_name}
{gt name="storeInfo['give_integral']" value="0"}
积分:{$storeInfo.give_integral|floatval} 赠送
{/gt}
@@ -115,6 +115,8 @@
this.cardShow = true;
}, goCart: function (values, cartNum) {
var checkedAttr = this.productValue[values.sort().join(',')], that = this;
+// console.log(values);
+// console.log(checkedAttr);
storeApi.setCart({
cartNum: cartNum,
uniqueId: checkedAttr === undefined ? 0 : checkedAttr.unique,
@@ -135,7 +137,11 @@
});
this.cardClose();
}, changeAttr: function (values) {
+ console.log(values);
+ //console.log(values.sort());
+ //console.log(values.sort().join(','));
var checkedAttr = this.productValue[values.sort().join(',')];
+ //console.log(values);console.log(checkedAttr);
if (!checkedAttr) {
this.setProductCardInfo({stock: 0});
} else {
@@ -225,7 +231,7 @@
desc: $product.store_info || $product.store_name,
// imgUrl: location.origin + $product.image,
imgUrl: $product.image,
- link: $urlShare || "{:url('store/detail',array('id'=>$store['id'],'spuid'=>$userInfo['uid']))}"
+ link: $urlShare || "{:url('store/detail',array('id'=>$storeInfo['id'],'spuid'=>$userInfo['uid']))}"
});
});
this.$nextTick(function () {
diff --git a/application/wap/view/first/store/index.html b/application/wap/view/first/store/index.html
index e398214d..ab5036d6 100644
--- a/application/wap/view/first/store/index.html
+++ b/application/wap/view/first/store/index.html
@@ -28,7 +28,7 @@
-
已售{{item.ficti}}
+
已售{{item.ficti+item.sales}}
¥{{item.price}}
diff --git a/view/crmebN/pages/product-con/index.js b/view/crmebN/pages/product-con/index.js
index e487254c..61a07cdc 100644
--- a/view/crmebN/pages/product-con/index.js
+++ b/view/crmebN/pages/product-con/index.js
@@ -875,7 +875,7 @@ Page({
onShareAppMessage: function () {
var that = this;
return {
- title: '小程序',
+ title: that.data.productSelect.store_name,
path: app.globalData.openPages,
// imageUrl: that.data.url + that.data.product.image,
success: function () {
diff --git a/view/crmebN/pages/product-con/index.wxml b/view/crmebN/pages/product-con/index.wxml
index fd8e9ff3..dd8a9439 100644
--- a/view/crmebN/pages/product-con/index.wxml
+++ b/view/crmebN/pages/product-con/index.wxml
@@ -43,7 +43,7 @@
原价:¥{{storeInfo.ot_price}}
库存:{{storeInfo.stock}}{{storeInfo.unit_name}}
- 销量:{{storeInfo.ficti}}{{storeInfo.unit_name}}
+ 销量:{{storeInfo.ficti+storeInfo.sales}}{{storeInfo.unit_name}}
@@ -78,7 +78,7 @@
{{reply.comment}}
{{reply.add_time}}
-
+
管理员回复:
{{reply.merchant_reply_content}}
{{reply.merchant_reply_time}}
diff --git a/view/crmebN/pages/product-con/index.wxss b/view/crmebN/pages/product-con/index.wxss
index 86dc136a..bd5b0f59 100644
--- a/view/crmebN/pages/product-con/index.wxss
+++ b/view/crmebN/pages/product-con/index.wxss
@@ -56,6 +56,7 @@ background-color:#fff;padding:8rpx 0;border-radius:0;margin:0;line-height:2;}
.poster-pop .close{width:46rpx;height:75rpx;position:fixed;right:0;top:-73rpx;}
.poster-pop .save-poster{background-color:#df2d0a;font-size::22rpx;color:#fff;text-align:center;height:76rpx;line-height:76rpx;width:450rpx;}
.mask{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.6);z-index:9;}
+.wxParse-p{margin-bottom: -5rpx;}
@import "/pages/foo-tan/foo-tan.wxss";
@import "/wxParse/wxParse.wxss";
-@import "/pages/home/home.wxss";
\ No newline at end of file
+@import "/pages/home/home.wxss";
diff --git a/view/crmebN/pages/productSort/productSort.wxml b/view/crmebN/pages/productSort/productSort.wxml
index 03cbccb5..9e60a390 100644
--- a/view/crmebN/pages/productSort/productSort.wxml
+++ b/view/crmebN/pages/productSort/productSort.wxml
@@ -32,7 +32,7 @@
{{item.store_name}}
- 已售{{item.ficti}}
+ 已售{{item.ficti+item.sales}}
¥{{item.price}}精