...
|
...
|
@@ -120,7 +120,7 @@ Page({ |
|
|
},
|
|
|
goSearch() {
|
|
|
wx.navigateTo({
|
|
|
url: '/pages/search/search?S4_num=1'
|
|
|
url: '/pages/Vmore4SList/Vmore4SList?home=1'
|
|
|
})
|
|
|
},
|
|
|
addLoveCared() { // 去添加车辆
|
...
|
...
|
@@ -303,6 +303,9 @@ Page({ |
|
|
url: 'api/index2/indexUnder',
|
|
|
})
|
|
|
console.log(data, "4SD店列表");
|
|
|
if (data.length == 0) { // 如果是空数组,你调用的是【推荐4s店】这个接口
|
|
|
that.getCitied()
|
|
|
}
|
|
|
that.setData({
|
|
|
index4S: data
|
|
|
})
|
...
|
...
|
@@ -321,7 +324,6 @@ Page({ |
|
|
let id = e.currentTarget.dataset.id
|
|
|
let token = wx.getStorageSync('token')
|
|
|
if (token) {
|
|
|
|
|
|
try {
|
|
|
const {
|
|
|
data
|
...
|
...
|
@@ -646,6 +648,8 @@ Page({ |
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
} else {
|
|
|
a.popTest('该4s店暂未运营')
|
|
|
}
|
|
|
},
|
|
|
|
...
|
...
|
|