diff --git a/app.js b/app.js
index d1c771c..6573851 100644
--- a/app.js
+++ b/app.js
@@ -38,7 +38,7 @@ App({
// 获取前端配置文件
commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => {
let data = JSON.parse(res.data);
- data.isTest = data.isTest127? true : false;
+ data.isTest = data.isTest129? true : false;
data.indexSeason = null
this.globalData.configJson = data
}).then(() => {
diff --git a/pages/component/proRec/proRec.js b/pages/component/proRec/proRec.js
index 0150cb1..854cc8b 100644
--- a/pages/component/proRec/proRec.js
+++ b/pages/component/proRec/proRec.js
@@ -102,6 +102,14 @@ Component({
type: item.type
}
}, 1)
+
+ // if (item.goods_jump_type == "changshu" || item.goods_jump_type == "yjks") {
+ // util.goProdInOtherPlatform(item)
+ // return
+ // }
+
+
+
if (item.type == 'travels') {
// 游记做特殊处理 其他都按照原来的来
wx.navigateTo({
diff --git a/pages/index/index.js b/pages/index/index.js
index 34ff738..4ac7827 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -410,6 +410,7 @@ Page({
hotIndex: 0,
indexHot: [],
weather: null,
+ showMore: false,
// 页面图片
// imageSourceList:imageSource,
@@ -462,6 +463,7 @@ Page({
})
this.getUrlToPage()
+ this.getShowMore()
},
showImg (img) {
@@ -588,6 +590,14 @@ Page({
})
},
+ getShowMore () {
+ commonApi._post("multimedia/detail", {id: 2462}).then(res => {
+ this.setData({
+ showMore: res.data.company_name ==1?true:false
+ })
+ })
+ },
+
// --------------------banner 相关---------------------------
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index e2b2a47..7cd195b 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -170,7 +170,7 @@
-
+
更多 >
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index 018081a..8f9ea1c 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -760,15 +760,16 @@
.ggfw-list {
- display: flex;
- flex-wrap: wrap;
+ display: grid;
+ grid-template-columns: repeat(4, 166rpx);
+ row-gap: 23rpx;
justify-content: space-between;
}
.ggfw-list .ggfw {
- width: 220rpx;
- height: 106.67rpx;
- margin-bottom: 20rpx;
+ width: 166rpx;
+ height: 133rpx;
+ /* margin-bottom: 23rpx; */
}
.ggfw image{
width: 100%;
diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js
index f320a6e..5627b5c 100644
--- a/pages/info/postProductInfo/index.js
+++ b/pages/info/postProductInfo/index.js
@@ -756,11 +756,16 @@ Page({
})
this.drawImg()
})
- commonApi.user_post('cart/get_list', {}).then(res => {
+ // commonApi.user_post('cart/get_list', {}).then(res => {
+ // this.setData({
+ // cartCount: res.data.length
+ // })
+ // })
+ commonApi.user_post('cart/get_count', {noLogin: true}).then(res => {
this.setData({
- cartCount: res.data.length
+ cartCount: res.data //1
})
- })
+ })
} else {
setTimeout(() => {
this.onShow()
diff --git a/pages/map/index.wxml b/pages/map/index.wxml
index 50707e7..1f467da 100644
--- a/pages/map/index.wxml
+++ b/pages/map/index.wxml
@@ -28,9 +28,13 @@
酒店
-
@@ -71,10 +75,10 @@
美食
-