Browse Source

修改频道图标

test
Enzo 4 years ago
parent
commit
b97a2ba42b
  1. 3
      pages/channel/index.vue
  2. 1
      pages/recommList/index.vue

3
pages/channel/index.vue

@ -15,7 +15,7 @@
<!-- 机票酒店 -->
<view v-for="(item,index) of channel_list">
<view class="title lf-m-t-40" v-if="!item.showTitle">
<image src="../../static/images/plane_ticket.png" class="icon-img"></image>
<image :src="item.icon" class="icon-img"></image>
<text class="lf-m-l-10">{{item.name}}</text>
</view>
<view class="lf-flex-wrap lf-p-l-5 select-box">
@ -104,6 +104,7 @@
})
})
})
console.log('shujushuju',this.channel_list)
}).catch(err => {
})

1
pages/recommList/index.vue

@ -70,6 +70,7 @@
},
getData() {
let tab_item = this.tab_list[this.current];
console.log('页数',tab_item.page)
if(this.$shared.isValueType(tab_item) == 'undefined') return;
this.$http(this.API.API_ADVICELIST,{page: tab_item.page,category_id: tab_item.id}).then(res => {
let isPage = res.data.next_page_url == null?false:true;

Loading…
Cancel
Save