取消地区的限制

This commit is contained in:
赵毅 2025-09-22 11:34:00 +08:00
parent c3174d2809
commit 0eed1e96bb

View File

@ -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' }">
@ -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}`