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