Fix:2462 【商城小程序】康养首页—展会信息—其他展会,搜索信息不存在时增加“暂无内容”提示

This commit is contained in:
modendeveloper
2024-10-10 19:46:37 +08:00
parent 12f2e42a16
commit dce372aca3
2 changed files with 14 additions and 5 deletions
+5 -5
View File
@@ -547,35 +547,35 @@
{ {
"path": "views/expoList", "path": "views/expoList",
"style": { "style": {
"navigationBarTitleText": "康养生活", "navigationBarTitleText": "康养旅居",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "views/expoDetails", "path": "views/expoDetails",
"style": { "style": {
"navigationBarTitleText": "康养生活", "navigationBarTitleText": "康养旅居",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "views/healthSanctum", "path": "views/healthSanctum",
"style": { "style": {
"navigationBarTitleText": "康养生活", "navigationBarTitleText": "康养旅居",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "views/healthFoods", "path": "views/healthFoods",
"style": { "style": {
"navigationBarTitleText": "康养生活", "navigationBarTitleText": "康养旅居",
"navigationBarBackgroundColor": "#FAEED8" "navigationBarBackgroundColor": "#FAEED8"
} }
}, },
{ {
"path": "views/healthFoodDetails", "path": "views/healthFoodDetails",
"style": { "style": {
"navigationBarTitleText": "康养生活", "navigationBarTitleText": "康养旅居",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
+9
View File
@@ -18,6 +18,14 @@
> >
{{ item.name }} {{ item.name }}
</view> </view>
<view v-if="expoList.length === 0">
<view class="no-data-wrap v12-justify-center v12-mt-6">
<image
:src="webUrl + '/orderIcon/微信图片_20241009220552.png'"
mode="widthFix"
></image>
</view>
</view>
</view> </view>
</view> </view>
</template> </template>
@@ -26,6 +34,7 @@ import { getWellnessExhibition } from '@/api/health'
export default{ export default{
data() { data() {
return { return {
webUrl: this.$VUE_APP_RESOURCES_URL,
keyword: '', keyword: '',
expoList: [] expoList: []
} }