diff --git a/manifest.json b/manifest.json
index 1eddc7a..300b96b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name" : "老农极鲜",
+ "name" : "老农极鲜土货",
"appid" : "__UNI__768F35C",
"description" : "这是一款基于uniapp开发的app和微信小程序的模板框架",
"versionName" : "1.0.0",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 534ecdd..3059fd3 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -43,8 +43,11 @@
{{item.name}}
¥{{item.price}}
- {{item.amount>=1000?'999+':item.amount}}件已售
- 加入购物车
+
+ {{item.amount>=1000?'999+':item.amount}}件已售
+
+ 加入购物车
+ 商品已售罄
@@ -75,8 +78,11 @@
{{item.name}}
¥{{item.price}}
- {{item.stock>=100?'99+':item.stock}}件已售
- 加入购物车
+
+ {{item.amount>=1000?'999+':item.amount}}件已售
+
+ 加入购物车
+ 商品已售罄
@@ -268,7 +274,8 @@
tag:item.tag,
stock:item.stock,
sku_id:item.default_sku.id,
- amount:item.amount,
+ amount:item.amount,
+ is_over:item.is_over,
}
commodityArr.push(obj)
})
diff --git a/pagesA/order/detail.vue b/pagesA/order/detail.vue
index eba378b..a14533e 100644
--- a/pagesA/order/detail.vue
+++ b/pagesA/order/detail.vue
@@ -214,7 +214,7 @@
this.$requst.get('/api/index/base-config').then(res=>{
if(res.code==0) {
console.log(res,'客服电话');
- this.$toolAll.tools.countCustomer(res.data.customer_service_tel,res.data.customer_service_tel);
+ this.$toolAll.tools.countCustomer(res.data.customer_service_tel,res.data.customer_service_after_tel);
} else {
this.$toolAll.tools.showToast(res.msg)
}
diff --git a/pagesB/about/about.vue b/pagesB/about/about.vue
index 30e09c5..f4b6715 100644
--- a/pagesB/about/about.vue
+++ b/pagesB/about/about.vue
@@ -29,7 +29,7 @@
uni.showLoading({
title:'加载中'
});
- this.$requst.get('/api/index/statement').then(res=>{
+ this.$requst.get('/api/index/about').then(res=>{
if(res.code==0){
this.about = this.$toolAll.tools.escape2Html(res.data.content);
} else {
diff --git a/pagesB/integral-rule/integral-rule.vue b/pagesB/integral-rule/integral-rule.vue
index 60a58ab..ec17e4e 100644
--- a/pagesB/integral-rule/integral-rule.vue
+++ b/pagesB/integral-rule/integral-rule.vue
@@ -4,8 +4,7 @@
- 每{{integral_rule.deduction_points_score}}积分可抵扣{{integral_rule.deduction_points_score_value}}元;
- 每下单{{integral_rule.place_order_score}}元,可获得{{integral_rule.place_order_score_value}}积分。
+
@@ -31,9 +30,10 @@
uni.showLoading({
title:'加载中'
});
- this.$requst.get('/api/user/integral-rule').then(res=>{
+ this.$requst.get('/api/index/base-config').then(res=>{
if(res.code==0){
- this.integral_rule = res.data;
+ console.log(res,'积分规则')
+ this.integral_rule = this.$toolAll.tools.escape2Html(res.data.score_rule);
} else {
this.$toolAll.tools.showToast(res.msg);
}
diff --git a/pagesB/shop-detail/shop-detail.vue b/pagesB/shop-detail/shop-detail.vue
index 1bc0352..60568f3 100644
--- a/pagesB/shop-detail/shop-detail.vue
+++ b/pagesB/shop-detail/shop-detail.vue
@@ -26,23 +26,25 @@
+
- 规格选择
+ {{shopDetail.is_over==0?'规格选择':'商品已售罄'}}
-
+
{{item.title}}
¥{{vip_level>0?item.price:item.original_price}}
-
+
加入购物车
立即购买
+ 预估上货时间:{{shopDetail.cycle!==''?shopDetail.cycle:'未知'}}