取消地区的限制
This commit is contained in:
parent
c3174d2809
commit
0eed1e96bb
@ -1,13 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view v-if="currentCity && currentCity.cityName && currentCity.cityName != '衡水市'">
|
<!-- <view v-if="currentCity && currentCity.cityName && currentCity.cityName != '衡水市'">
|
||||||
<view class="not_found_404">
|
<view class="not_found_404">
|
||||||
<text class="not_found_text">404</text>
|
<text class="not_found_text">404</text>
|
||||||
<text class="not_found_desc">当前城市暂未开通服务</text>
|
<text class="not_found_desc">当前城市暂未开通服务</text>
|
||||||
<button class="not_found_button" @click="obtainLocation">重新定位</button>
|
<button class="not_found_button" @click="obtainLocation">重新定位</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else>
|
<view v-else> -->
|
||||||
|
<view>
|
||||||
<view class="container" :style="{ marginTop: top + 'px' }" v-if="loading">
|
<view class="container" :style="{ marginTop: top + 'px' }" v-if="loading">
|
||||||
<!-- 城市信息部分 -->
|
<!-- 城市信息部分 -->
|
||||||
<view class="white_container searchBox" :style="{ height: localHeight + 'px' }">
|
<view class="white_container searchBox" :style="{ height: localHeight + 'px' }">
|
||||||
@ -204,8 +205,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="merchantItem_right_con_right" @click="toJump(item)">
|
<view class="merchantItem_right_con_right" @click="toJump(item)">
|
||||||
<image
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_review.png"
|
||||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_review.png"
|
|
||||||
mode="aspectFill"></image>
|
mode="aspectFill"></image>
|
||||||
点评
|
点评
|
||||||
</view>
|
</view>
|
||||||
@ -953,8 +953,10 @@ export default {
|
|||||||
|
|
||||||
// 分类查询
|
// 分类查询
|
||||||
async getCateList() {
|
async getCateList() {
|
||||||
const res = await request(apiArr2.getCateList, "POST", {
|
const params = {
|
||||||
}, { slice: false });
|
isShop: 1,
|
||||||
|
}
|
||||||
|
const res = await request(apiArr2.getCateList, "POST", params, { slice: false });
|
||||||
if (res.rows.length) {
|
if (res.rows.length) {
|
||||||
this.currentCategoryId = res.rows[0].id
|
this.currentCategoryId = res.rows[0].id
|
||||||
this.activeCategoryId = `category-${this.currentCategoryId}`
|
this.activeCategoryId = `category-${this.currentCategoryId}`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user