chenkainan 6 months ago
parent
commit
55c8a4c0a1
  1. 12
      pages.json
  2. 4
      pages/index/index.vue

12
pages.json

@ -264,12 +264,12 @@
"selectedIconPath" : "/static/images/selectHome.png",
"text" : "首页"
},
{
"pagePath" : "pages/map/map",
"iconPath" : "/static/images/map.png",
"selectedIconPath" : "/static/images/selectMap.png",
"text" : "地图"
},
// {
// "pagePath" : "pages/map/map",
// "iconPath" : "/static/images/map.png",
// "selectedIconPath" : "/static/images/selectMap.png",
// "text" : "地图"
// },
{
"pagePath" : "pages/user/user",
"iconPath" : "/static/images/mine.png",

4
pages/index/index.vue

@ -125,7 +125,7 @@
<!-- 金刚区 -->
<view class="menu-box flex-between">
<view v-for="(item,index) in menuList" :key="index" @click="goPath(item)" v-if="[5,6,7,9].includes(index)">
<view v-for="(item,index) in menuList" :key="index" @click="goPath(item)" v-if="[5,6,7].includes(index)">
<image :src="item.img" mode="aspectFill" lazy-load="true"></image>
<view>{{item.title}}</view>
</view>
@ -295,7 +295,7 @@
},
onShow() {
// id 4,
// id 4,(subtitle)(address)
this.Post({
id: 4
},'/api/article/getArticleById').then(res => {

Loading…
Cancel
Save