Commit 5e223244 by 梁建民

js

parent a3db4759
......@@ -2,7 +2,7 @@
<van-swipe :autoplay="3000000" indicator-color="#ffffff" :loop="false">
<template v-if="slidedata">
<van-swipe-item v-for="(item, index) in slidedata" :key="index">
<a :href="item.url+'?ptag=index-banner-'+(index * 1 +1)">
<a :href="item.url+'?ptag=index-banner-'+(index * 1 +1)" :target="item.window_open > 0 ?'_blank':'_self'">
<img :src="item.images" class="slide-pic">
</a>
</van-swipe-item>
......
......@@ -55,20 +55,20 @@
<div class="selfshop boxsiz">
<div class="tit boxsiz">
<div class="l">
<i class="lineBlock va-b"></i>
<span class="t1 va-b">{{item.tem_name}}</span>
<span class="t2 va-b">{{item.ad_words}}</span>
<i class="lineBlock"></i>
<span class="t1">{{item.tem_name}}</span>
<span class="t2">{{item.ad_words}}</span>
</div>
<template v-if="item.link_words">
<a class="r" :href="item.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
<span class="va-m">{{item.link_words}}</span>
<i class="lineBlock va-m"></i>
<span>{{item.link_words}}</span>
<i class="lineBlock"></i>
</a>
</template>
</div>
<ul class="boxsiz list">
<li class="boxsiz" v-for="(v,index) in item.data.tempGoods" :key="index">
<a :href="'/item/'+v.goods_id+'.html?ptag='+ptag+'-floor'+(count * 1 +1)" class="boxsiz">
<a :href="'/item/'+v.goods_id+'.html?ptag='+ptag+'-floor'+(count * 1 +1)" class="boxsiz" :target="v.window_open > 0 ? '_blank':'_self'">
<!--限时限量-->
<template v-if="v.ac_type == 1">
<img :src="v.default_img" :alt="v.supplier_name" onerror="this.src='static/images/ziyin.png'">
......@@ -125,9 +125,9 @@
<div class="lxshop boxsiz">
<div class="tit boxsiz">
<div class="l">
<i class="lineBlock va-b"></i>
<span class="t1 va-b">{{item.tem_name}}</span>
<span class="t2 va-b">{{item.ad_words}}</span>
<i class="lineBlock"></i>
<span class="t1">{{item.tem_name}}</span>
<span class="t2">{{item.ad_words}}</span>
</div>
<template v-if="item.link_words">
<a class="r" :href="item.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
......@@ -138,7 +138,7 @@
</div>
<ul class="boxsiz list">
<li class="boxsiz" v-for="(v,index) in item.data.brandImages" :key="index">
<a :href="v.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
<a :href="v.url+'?ptag='+ptag+'-floor'+(count * 1 +1)" :target="v.window_open > 0 ? '_blank':'_self'">
<div class="pic">
<img :src="v.images" :alt="v.title">
</div>
......@@ -152,9 +152,9 @@
<div class="jfshop boxsiz">
<div class="tit boxsiz">
<div class="l">
<i class="lineBlock va-b"></i>
<span class="t1 va-b">{{item.tem_name}}</span>
<span class="t2 va-b">{{item.ad_words}}</span>
<i class="lineBlock"></i>
<span class="t1">{{item.tem_name}}</span>
<span class="t2">{{item.ad_words}}</span>
</div>
<template v-if="item.link_words">
<a class="r" :href="item.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
......@@ -165,7 +165,7 @@
</div>
<ul class="list boxsiz">
<li class="boxsiz" v-for="(v,index) in item.data.pointGoods" :key="index">
<a class="boxsiz" :href="'/v3/pointmall'+'?ptag='+ptag+'-floor'+(count * 1 +1)">
<a class="boxsiz" :href="'/v3/pointmall'+'?ptag='+ptag+'-floor'+(count * 1 +1)" :target="v.window_open > 0 ? '_blank':'_self'">
<div class="pic">
<img :src="v.prize_img_url" :alt="v.prize_name">
</div>
......@@ -184,9 +184,9 @@
<div class="pcb boxsiz">
<div class="tit boxsiz">
<div class="l">
<i class="lineBlock va-b"></i>
<span class="t1 va-b">{{item.tem_name}}</span>
<span class="t2 va-b">{{item.ad_words}}</span>
<i class="lineBlock"></i>
<span class="t1">{{item.tem_name}}</span>
<span class="t2">{{item.ad_words}}</span>
</div>
<template v-if="item.link_words">
<a class="r" :href="item.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
......@@ -197,7 +197,7 @@
</div>
<ul class="list boxsiz">
<li class="boxsiz" v-for="(v,index) in item.data.tempImages" :key="index">
<a class="boxsiz" :href="v.url+'?ptag='+ptag+'-floor'+(count * 1 +1)">
<a class="boxsiz" :href="v.url+'?ptag='+ptag+'-floor'+(count * 1 +1)" :target="v.window_open > 0 ? '_blank':'_self'">
<img :src="v.images" :alt="v.title">
</a>
</li>
......@@ -209,8 +209,8 @@
<div class="news boxsiz" v-if="index.footer_new_article">
<div class="tit boxsiz">
<div class="l">
<i class="lineBlock va-b"></i>
<span class="t1 va-b">资讯中心</span>
<i class="lineBlock"></i>
<span class="t1">资讯中心</span>
</div>
<a class="r" :href="'/news?cat_id=11&ptag='+ptag+'-dynamic'">
<span class="va-m">更多</span>
......@@ -500,9 +500,11 @@
align-items: baseline;
.l {
i {
position: relative;
top: 2px;
width: 3px;
height: 15px;
background: url("../../assets/images/home/arrow-2.png") no-repeat;
background: url("../../assets/images/home/arrow-2.png") no-repeat center;
background-size: contain;
margin-right: 0.187rem;
}
......@@ -517,6 +519,7 @@
}
}
.r {
display: block;
span {
font-size: 13px;
color: #999999;
......
<!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//szh5static.ichunt.com/favicon.ico><link rel=stylesheet href=//szh5static.ichunt.com/static/css/iconfont.css><script src=get_time.php></script><script>var fwtimes = window.fwtime - Math.floor((new Date().getTime()) / 1000); //获取服务器时间差</script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//szh5static.ichunt.com/css/chunk-3a0b6fc2.9d949474.css rel=prefetch><link href=//szh5static.ichunt.com/js/chunk-3a0b6fc2.1bd922b2.js rel=prefetch><link href=//szh5static.ichunt.com/css/app.463ccca8.css rel=preload as=style><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=preload as=style><link href=//szh5static.ichunt.com/js/app.3d385380.js rel=preload as=script><link href=//szh5static.ichunt.com/js/chunk-vendors.c9d5e282.js rel=preload as=script><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=stylesheet><link href=//szh5static.ichunt.com/css/app.463ccca8.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
<!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//szh5static.ichunt.com/favicon.ico><link rel=stylesheet href=//szh5static.ichunt.com/static/css/iconfont.css><script src=get_time.php></script><script>var fwtimes = window.fwtime - Math.floor((new Date().getTime()) / 1000); //获取服务器时间差</script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//szh5static.ichunt.com/css/chunk-18d9ba44.7d7c7ecd.css rel=prefetch><link href=//szh5static.ichunt.com/js/chunk-18d9ba44.b9bf8649.js rel=prefetch><link href=//szh5static.ichunt.com/css/app.463ccca8.css rel=preload as=style><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=preload as=style><link href=//szh5static.ichunt.com/js/app.c72c9031.js rel=preload as=script><link href=//szh5static.ichunt.com/js/chunk-vendors.c9d5e282.js rel=preload as=script><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=stylesheet><link href=//szh5static.ichunt.com/css/app.463ccca8.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
domain = domain ? ";domain=" + domain : "";
var Days = time;
var exp = new Date();
......@@ -224,4 +224,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}</script><script src=//szh5static.ichunt.com/js/chunk-vendors.c9d5e282.js></script><script src=//szh5static.ichunt.com/js/app.3d385380.js></script></body></html>
\ No newline at end of file
}</script><script src=//szh5static.ichunt.com/js/chunk-vendors.c9d5e282.js></script><script src=//szh5static.ichunt.com/js/app.c72c9031.js></script></body></html>
\ No newline at end of file
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