Commit b819527a by 肖康

x

parent 7539eb9f
...@@ -38,6 +38,7 @@ switch (window.location.hostname) { ...@@ -38,6 +38,7 @@ switch (window.location.hostname) {
url = 'http://m.liexin.com/v3/'; url = 'http://m.liexin.com/v3/';
urlApi = 'http://api.liexin.com/'; urlApi = 'http://api.liexin.com/';
urlPc = 'http://www.liexin.com/v3/'; urlPc = 'http://www.liexin.com/v3/';
zyApi = 'http://soso12.liexin.com'; zyApi = 'http://soso12.liexin.com';
lyApi = 'http://soso12.ichunt.com'; lyApi = 'http://soso12.ichunt.com';
break; break;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<van-swipe :autoplay="3000" :height="bannerHeight"> <van-swipe :autoplay="3000" :height="bannerHeight">
<van-swipe-item v-for="(item, index) in rollbanner" :key="index"> <van-swipe-item v-for="(item, index) in rollbanner" :key="index">
<a :href="item.url | urlPatg('news-banner-'+(index+1))" :target="item.window_open > 0 ?'_blank':'_self'"> <a :href="item.url | urlPatg('news-banner-'+(index+1))" :target="item.window_open > 0 ?'_blank':'_self'">
<img :src="item.images" class="" height="100%meaushow" width="100%"> <img :src="item.images" class="" height="100%" width="100%">
</a> </a>
</van-swipe-item> </van-swipe-item>
</van-swipe> </van-swipe>
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
<van-list v-model="loading" :loading="loadStatus" :finished="finished" <van-list v-model="loading" :loading="loadStatus" :finished="finished"
finished-text="没有更多了" @load="onLoad"> finished-text="没有更多了" @load="onLoad">
<router-link tag="li" :to="{'path':'/news/detail/'+item.art_id+'/'+item.cat_id}" v-for="(item,index) in content_list" :key="index"> <router-link tag="li" :to="{'path':'/news/detail/'+item.art_id+'/'+item.cat_id}" v-for="(item,index) in content_list" :key="index">
<div v-lazy-container="{selector:'img'}"> <img :src="item.litpic||'static/images/news.png'" :alt="item.title" >
<img :data-src="item.litpic" :alt="item.title" data-error="static/images/news.png">
</div>
<div class="boxgrt"> <div class="boxgrt">
<h1 class="title">{{item.title}}</h1> <h1 class="title">{{item.title}}</h1>
<p class="titleLook clearfix"> <p class="titleLook clearfix">
...@@ -101,6 +99,7 @@ ...@@ -101,6 +99,7 @@
}) })
}, },
tab(index){ tab(index){
console.log(index)
if(this.act==index){return} if(this.act==index){return}
this.act=index; this.act=index;
this.p=1; this.p=1;
......
This diff could not be displayed because it is too large.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment