|
@@ -5,10 +5,11 @@
|
|
|
<view class="input-box flex">
|
|
|
<view class=" input-content flex">
|
|
|
<view class="iconfont iconsearch"></view>
|
|
|
- <view class="input"><input type="text" placeholder="输入关键字搜索" @input='search'/></view>
|
|
|
+ <view class="input"><input type="text" placeholder="输入关键字搜索" @input='search' /></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <picker mode="multiSelector" :range="listActionType" range-key='cate_name' @change="changeType" @columnchange='listChange'>
|
|
|
+ <picker mode="multiSelector" :range="listActionType" range-key='cate_name' @change="changeType"
|
|
|
+ @columnchange='listChange'>
|
|
|
<view class="shop-name clamp">分类</view>
|
|
|
</picker>
|
|
|
<view class="shop-name clamp">重置</view>
|
|
@@ -117,7 +118,7 @@
|
|
|
methods: {
|
|
|
...mapMutations(['setLat', 'setLon', 'setStoreInfo']),
|
|
|
// 确认切换
|
|
|
- changeType(res){
|
|
|
+ changeType(res) {
|
|
|
console.log(res);
|
|
|
const item = res.detail.value;
|
|
|
const ar = this.typeList[item[0]].children[item[1]];
|
|
@@ -126,8 +127,8 @@
|
|
|
this.getShoping();
|
|
|
},
|
|
|
// 列表切换
|
|
|
- listChange(res){
|
|
|
- if(res.detail.column==0){
|
|
|
+ listChange(res) {
|
|
|
+ if (res.detail.column == 0) {
|
|
|
this.typeActionNum = res.detail.value;
|
|
|
}
|
|
|
},
|
|
@@ -194,9 +195,9 @@
|
|
|
console.log(obj.longitude, obj.latitude);
|
|
|
store_list({
|
|
|
longitude: obj.longitude, //经度
|
|
|
- latitude: obj.latitude ,//纬度
|
|
|
- keyword:obj.keyword,
|
|
|
- cid:obj.typeAction.cid
|
|
|
+ latitude: obj.latitude, //纬度
|
|
|
+ keyword: obj.keyword,
|
|
|
+ cid: obj.typeAction.cid
|
|
|
})
|
|
|
.then(function({
|
|
|
data
|
|
@@ -499,6 +500,7 @@
|
|
|
margin-left: 19rpx;
|
|
|
color: #a2e0c7;
|
|
|
flex-grow: 1;
|
|
|
+
|
|
|
input {
|
|
|
font-size: 26rpx;
|
|
|
color: #a2e0c7;
|
|
@@ -513,4 +515,4 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|