Commit d61b7422 by 施宇

ss

parents b8ff8139 eeca17fc
......@@ -538,3 +538,20 @@ body {
color: #fff;
}
/*# sourceMappingURL=global.css.map */
margin-bottom: 20px; }
.kefu .t2 a {
border-color: #e5e5e5;
color: #1080d0;
border: 1px solid #1080d0;
text-decoration: none;
text-align: center;
display: block;
height: 33px;
line-height: 33px;
font-size: 13px; }
.kefu .t2 a .icon-qq {
font-size: 13px;
margin-right: 10px; }
/*# sourceMappingURL=global.css.map */
......@@ -332,3 +332,154 @@ $imgUrl: '../images/';
}
}
}
/**数字转码**/
font[class^="rowNum"]{
font-size: 0 !important;
*word-spacing: -1px !important;
}
font[class^="asfgd"] {
position: relative;
background-image: url(https://static.ichunt.com/dist/res/m/images/number/aff.svg);
display: inline-block;
letter-spacing: normal;
word-spacing: normal;
font-style: normal;
}
.asfgdqwer, .asfgdtyhg, .asfgdpolk, .asfgdpoqw {
background-position: 0 -1px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdrfdf, .asfgderfd, .asfgdwdsa, .asfgdpoer {
background-position: -1px -17px !important;
background-repeat: no-repeat !important;
width: 4px;
height: 10px;
}
.asfgdasde, .asfgdqwsz, .asfgdrtgd, .asfgdpovv {
background-position: 0 -34px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdwsxc, .asfgdwsxz, .asfgdrfvb, .asfgdpoee {
background-position: 0 -53px !important;
background-repeat: no-repeat !important;
width: 6px;
height: 10px;
}
.asfgdqazs, .asfgdqasd, .asfgdqwag, .asfgdpogh {
background-position: 0 -73px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdrtyh, .asfgdyutr, .asfgdeews, .asfgdpotg {
background-position: 0 -95px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdpluj, .asfgdikjf, .asfgdesgj, .asfgdpfff {
background-position: 0 -113px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdtrdb, .asfgdiksf, .asfgdsgkp, .asfgdprty {
background-position: 0 -133px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdpehl, .asfgdstgb, .asfgderll, .asfgdpokf {
background-position: 0 -153px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
.asfgdpehg, .asfgdstgf, .asfgderlf, .asfgdpogk {
background-position: 0 -177px !important;
background-repeat: no-repeat !important;
width: 7px;
height: 10px;
}
/**兼容旧版本栅格布局**/
.mui-row:before, .mui-row:after
{
display: table;
content: ' ';
}
.mui-row:after
{
clear: both;
}
.mui-col-xs-1, .mui-col-sm-1, .mui-col-xs-2, .mui-col-sm-2, .mui-col-xs-3, .mui-col-sm-3, .mui-col-xs-4, .mui-col-sm-4, .mui-col-xs-5, .mui-col-sm-5, .mui-col-xs-6, .mui-col-sm-6, .mui-col-xs-7, .mui-col-sm-7, .mui-col-xs-8, .mui-col-sm-8, .mui-col-xs-9, .mui-col-sm-9, .mui-col-xs-10, .mui-col-sm-10, .mui-col-xs-11, .mui-col-sm-11, .mui-col-xs-12, .mui-col-sm-12
{
position: relative;
min-height: 1px;
}
.mui-row > [class*='mui-col-']
{
float: left;
}
.mui-col-xs-12,mui-col-sm-12
{
width: 100%;
}
.mui-col-xs-11,mui-col-sm-11
{
width: 91.66666667%;
}
.mui-col-xs-10,mui-col-sm-10
{
width: 83.33333333%;
}
.mui-col-xs-9,mui-col-sm-9
{
width: 75%;
}
.mui-col-xs-8,mui-col-sm-8
{
width: 66.66666667%;
}
.mui-col-xs-7,mui-col-sm-7
{
width: 58.33333333%;
}
.mui-col-xs-6,mui-col-sm-6
{
width: 50%;
}
.mui-col-xs-5,mui-col-sm-5
{
width: 41.66666667%;
}
.mui-col-xs-4,mui-col-sm-4
{
width: 33.33333333%;
}
.mui-col-xs-3,mui-col-sm-3
{
width: 25%;
}
.mui-col-xs-2,mui-col-sm-2
{
width: 16.66666667%;
}
.mui-col-xs-1,mui-col-sm-1
{
width: 8.33333333%;
}
.lxshop{
.lxshop-content{
.sift-box{
position: relative; padding-top: 5px; padding-left: 2.5%; height: 36px; line-height: 36px; border-bottom: 1px solid #d6d7dc; background-color: #fff;
dl{
float: left; width: 35%; margin-right: 0; height: 35px;
color:#333;
dt{
text-align: center; font-size: 12px; height: 30px; line-height: 30px;
background: #f3f3f3;overflow:hidden;text-overflow:ellipsis;
white-space: nowrap; padding: 0 5px;
}
dd{
position: absolute; top: 42px;
left: 0; width: 100%; bottom: 140px;
z-index: 3;display: none;
ul{
background: #fff; padding-bottom: 3px;height: 200px; overflow-x: auto;
li{
width: 46%; color: #333; font-size: 14px; border: 1px solid #fff;margin:0 2%;
margin-top: 3px; padding: 0 10px;box-sizing: border-box; height: 32px; line-height: 32px;
&.check{
border: 1px solid #1080d0; color: #1080d0;
}
}
}
.button{
border-top: 1px solid #d6d7dc; height: 40px;
line-height: 40px; background: #fff; -webkit-box-shadow: 0 2px 5px #eeeeee;
box-shadow: 0 2px 5px #eeeeee;
a{
width: 50%; font-size: 14px; height: 39px;
line-height: 39px; display: block; float: left;
text-align: center;
color:#333;
&.but-blue {
background: #1080d0;
color: #fff;
text-decoration: none;
text-align: center;
border: none;
}
}
}
}
&.p_act{
border: 1px solid #d6d7dc;
border-bottom:none;
dd{display: block;}
dt{ background: #fff; height: 34px; line-height:34px; border-bottom: 2px solid #fff; }
}
}
}
.search-list-box{
.data-group-supplier{
.name-shop{
padding: 10px 10px 10px 0;
margin-left: 10px; background: #fff;
img{ width: 60px; height: 30px; display: block; float: left; border: 1px solid #e5e5e5; margin-right: 10px; }
.ad{color: #666666; font-size: 12px; display:block; line-height: 16px; overflow: hidden; height: 30px;display: -webkit-box;display: -ms-flexbox;display: flex;-ms-flex-pack: distribute;justify-content: space-around;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
}
.more-number,.more-numberxk{
color: #999999; background: #f3f3f3; height: 32px; line-height: 32px; font-size: 12px; text-align: center;
.f-blue{color: #1080d0;}
.cup{cursor: pointer; color: #1080d0;
&:hover{cursor: pointer; color: #0073c5; font-weight: bold; }
}
}
}
}
}
}
.lxshop .lxshop-content .sift-box{position:relative;padding-top:5px;padding-left:2.5%;height:36px;line-height:36px;border-bottom:1px solid #d6d7dc;background-color:#fff}.lxshop .lxshop-content .sift-box dl{float:left;width:35%;margin-right:0;height:35px;color:#333}.lxshop .lxshop-content .sift-box dl dt{text-align:center;font-size:12px;height:30px;line-height:30px;background:#f3f3f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.lxshop .lxshop-content .sift-box dl dd{position:absolute;top:42px;left:0;width:100%;bottom:140px;z-index:3;display:none}.lxshop .lxshop-content .sift-box dl dd ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:auto}.lxshop .lxshop-content .sift-box dl dd ul li{width:46%;color:#333;font-size:14px;border:1px solid #fff;margin:0 2%;margin-top:3px;padding:0 10px;box-sizing:border-box;height:32px;line-height:32px}.lxshop .lxshop-content .sift-box dl dd ul li.check{border:1px solid #1080d0;color:#1080d0}.lxshop .lxshop-content .sift-box dl dd .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eeeeee;box-shadow:0 2px 5px #eeeeee}.lxshop .lxshop-content .sift-box dl dd .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;float:left;text-align:center;color:#333}.lxshop .lxshop-content .sift-box dl dd .button a.but-blue{background:#1080d0;color:#fff;text-decoration:none;text-align:center;border:none}.lxshop .lxshop-content .sift-box dl.p_act{border:1px solid #d6d7dc;border-bottom:none}.lxshop .lxshop-content .sift-box dl.p_act dd{display:block}.lxshop .lxshop-content .sift-box dl.p_act dt{background:#fff;height:34px;line-height:34px;border-bottom:2px solid #fff}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop{padding:10px 10px 10px 0;margin-left:10px;background:#fff}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop img{width:60px;height:30px;display:block;float:left;border:1px solid #e5e5e5;margin-right:10px}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop .ad{color:#666666;font-size:12px;display:block;line-height:16px;overflow:hidden;height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk{color:#999999;background:#f3f3f3;height:32px;line-height:32px;font-size:12px;text-align:center}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .f-blue,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .f-blue{color:#1080d0}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup{cursor:pointer;color:#1080d0}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup:hover,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup:hover{cursor:pointer;color:#0073c5;font-weight:bold}/*# sourceMappingURL=lxshop.min.css.map */
\ No newline at end of file
{"version":3,"sources":["lxshop.less"],"names":[],"mappings":"AAAA,OACE,gBACE,WACE,iBAAA,CAAqB,eAAA,CAAkB,iBAAA,CAAoB,WAAA,CAAc,gBAAA,CAAmB,+BAAA,CAAkC,sBAHpI,OACE,gBACE,UAEE,IACE,UAAA,CAAa,SAAA,CAAY,cAAA,CAAiB,WAAA,CAC1C,WANR,OACE,gBACE,UAEE,GAGE,IACE,iBAAA,CAAoB,cAAA,CAAiB,WAAA,CAAc,gBAAA,CACnD,kBAAA,CAAoB,eAAA,CAAgB,sBAAA,CACpC,kBAAA,CAAqB,cAV/B,OACE,gBACE,UAEE,GAQE,IACE,iBAAA,CAAoB,QAAA,CACpB,MAAA,CAAS,UAAA,CAAa,YAAA,CACtB,SAAA,CAAW,aAfrB,OACE,gBACE,UAEE,GAQE,GAIE,IACE,eAAA,CAAkB,kBAAA,CAAoB,YAAA,CAAe,gBAjBjE,OACE,gBACE,UAEE,GAQE,GAIE,GAEE,IACE,SAAA,CAAY,UAAA,CAAa,cAAA,CAAkB,qBAAA,CAAuB,WAAA,CAClE,cAAA,CAAiB,cAAA,CAAgB,qBAAA,CAAwB,WAAA,CAAc,iBACvE,OApBZ,gBACE,UAEE,GAQE,GAIE,GAEE,GAGG,OACC,wBAAA,CAA4B,cAtB5C,OACE,gBACE,UAEE,GAQE,GAeE,SACE,4BAAA,CAA+B,WAAA,CAC/B,gBAAA,CAAmB,eAAA,CAAkB,oCAAA,CACrC,6BA9BZ,OACE,gBACE,UAEE,GAQE,GAeE,QAKE,GACE,SAAA,CAAY,cAAA,CAAiB,WAAA,CAC7B,gBAAA,CAAmB,aAAA,CAAgB,UAAA,CACnC,iBAAA,CACA,WACA,OApCZ,gBACE,UAEE,GAQE,GAeE,QAKE,EAKG,UACC,kBAAA,CACA,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,YAKR,OA9CN,gBACE,UAEE,GA2CG,OACC,wBAAA,CACA,mBAFF,OA9CN,gBACE,UAEE,GA2CG,MAGC,IAAG,cAHL,OA9CN,gBACE,UAEE,GA2CG,MAIC,IAAI,eAAA,CAAkB,WAAA,CAAc,gBAAA,CAAkB,6BAnDhE,OACE,gBAuDE,iBACE,qBACE,YACG,wBAAA,CACD,gBAAA,CAAoB,gBA5D9B,OACE,gBAuDE,iBACE,qBACE,WAGE,KAAK,UAAA,CAAa,WAAA,CAAc,aAAA,CAAgB,UAAA,CAAa,wBAAA,CAA2B,kBA7DlG,OACE,gBAuDE,iBACE,qBACE,WAIE,KAAI,aAAA,CAAgB,cAAA,CAAiB,aAAA,CAAe,gBAAA,CAAmB,eAAA,CAAkB,WAAA,CAAa,mBAAA,CAAqB,mBAAA,CAAqB,YAAA,CAAc,wBAAA,CAA0B,4BAAA,CAA8B,2BAAA,CAA6B,4BAAA,CAA8B,yBAAA,CAA2B,sBA9DtT,OACE,gBAuDE,iBACE,qBAOE,cAhER,OACE,gBAuDE,iBACE,qBAOe,CAAA,eACX,aAAA,CAAgB,kBAAA,CAAqB,WAAA,CAAc,gBAAA,CAAmB,cAAA,CAAiB,kBAjEjG,OACE,gBAuDE,iBACE,qBAOE,aAEE,SAlEV,OACE,gBAuDE,iBACE,qBAOe,CAAA,cAEX,SAAQ,cAlElB,OACE,gBAuDE,iBACE,qBAOE,aAGE,MAnEV,OACE,gBAuDE,iBACE,qBAOe,CAAA,cAGX,MAAK,cAAA,CAAiB,cACtB,OAnER,gBAuDE,iBACE,qBAOE,aAGE,KACC,OAAD,OAnER,gBAuDE,iBACE,qBAOe,CAAA,cAGX,KACC,OAAO,cAAA,CAAiB,aAAA,CAAgB","file":"lxshop.min.css"}
\ No newline at end of file
......@@ -31,7 +31,7 @@ const WithdrawDetail = resolve => require(['@/views/wallet/WithdrawDetail'], res
const WalletRetrieve = resolve => require(['@/views/wallet/Retrieve'], resolve);
const WalletCashier = resolve => require(['@/views/wallet/Cashier'], resolve);
const xianhuo = resolve => require(['@/views/xianhuo/xianhuo'], resolve);
const lxshop = resolve => require(['@/views/lxshop/lxshop'], resolve);
Vue.use(Router);
const routes = [{
......@@ -252,7 +252,14 @@ const routes = [{
path: '/xianhuo',
component: xianhuo,
meta: {
title: ''
title: '猎芯自营'
}
},
{
path: '/lxshop',
component: lxshop,
meta: {
title: '猎芯联营'
}
},
{
......
......@@ -17,6 +17,7 @@ import exchange from './modules/pointmall/exchange'
import aboutus from './modules/aboutUs/index'
import chain from './modules/chain/chain'
import xianhuo from './modules/xianhuo/xianhuo'
import lxshop from './modules/lxshop/lxshop'
Vue.use(Vuex)
......@@ -39,6 +40,7 @@ export default new Vuex.Store({
exchange,
aboutus,
chain,
xianhuo
xianhuo,
lxshop
}
})
......@@ -162,6 +162,40 @@ export default {
result.push(arr[i]);
}
return result;
},
/**
* *
* 数字解密
* *
* /
*/
aggxde(str){
if (str && str.indexOf("font") != -1) {
var sff = (str.split('class="'));
sff.shift();
var numb = "";
var listb = [
['asfgdqwer', 'asfgdtyhg', 'asfgdpolk', 'asfgdpoqw'],
['asfgdrfdf', 'asfgderfd', 'asfgdwdsa', 'asfgdpoer'],
['asfgdasde', 'asfgdqwsz', 'asfgdrtgd', 'asfgdpovv'],
['asfgdwsxc', 'asfgdwsxz', 'asfgdrfvb', 'asfgdpoee'],
['asfgdqazs', 'asfgdqasd', 'asfgdqwag', 'asfgdpogh'],
['asfgdrtyh', 'asfgdyutr', 'asfgdeews', 'asfgdpotg'],
['asfgdpluj', 'asfgdikjf', 'asfgdesgj', 'asfgdpfff'],
['asfgdtrdb', 'asfgdiksf', 'asfgdsgkp', 'asfgdprty'],
['asfgdpehl', 'asfgdstgb', 'asfgderll', 'asfgdpokf'],
['asfgdpehg', 'asfgdstgf', 'asfgderlf', 'asfgdpogk']
];
for (var i = 0; i < sff.length; i++) {
var ghjk = sff[i].split(" ")[0];
for (var j = 0; j < listb.length; j++) {
if (listb[j].indexOf(ghjk) != -1) {
numb += j;
}
}
}
return Number(numb)
}
}
}
<template>
<section>
<div class="block oneDataGoods">
<dl class="mui-row img-box">
<a href="https://m.ichunt.com/goods_1151128199954026816.html?ptag=lxshop">
<dt>
<img class="lazy img-lazy" src="http://img.ichunt.com/images/goods/f6/b0/f6b0b0a470b61a7e7648052035ff41f7.jpg">
</dt>
<dd>
<h4>PIC16LF88T-I/SS</h4>
<p>制造商:MICROCHIP</p>
<p>
库存:
<span class="f-orange">
<font class="asfgdqasd cvbnmqwwe ieurnvewj eruwulurj"></font>
<font class="asfgdwsxz mzacbmeru uejrifkfg qwwertyui"></font>
<font class="asfgdpehg cvbnmqwwe eurnvewje dsieurnve"></font>
<font class="asfgdpluj urnvewjei jrifkfghj nmqwwerty"></font>
</span>
</p>
<p>
起订:
<font class="asfgdrfdf pkdsieurn bmeruwulu bmeruwulu"></font>
<font class="asfgdpoqw wulurjlau xmiqplmza jeilweisk"></font>
<font class="asfgdtyhg jlauejrif pkxmiqplm hjklzxcvb"></font>
<font class="asfgdqwer acbmeruwu ejrifkfgh zxcvbnmqw"></font>
</p>
<p>MPQ:--</p>
</dd>
</a>
</dl>
<div class="mui-row block-but">
<div class="morePrice">
<div class="mui-row list_data" style="display: block;">
<p class="mui-col-sm-4 mui-col-xs-4">
<font class="asfgdpoer wjeilweis lurjlauej opkdsieur"></font>
<font class="asfgdqwer ertyuiopk uiopkdsie fghjklzxc"></font>
<font class="asfgdpoqw vewjeilwe iqplmzacb uejrifkfg"></font>
<font class="asfgdqwer sieurnvew xcvbnmqww sdwpkxmiq"></font>
+
</p>
<p class="mui-col-sm-4 mui-col-xs-4">¥17.5972</p>
<p class="mui-col-sm-4 mui-col-xs-4">$1.9550</p>
</div>
<div class="mui-row list_data" style="display: block;">
<p class="mui-col-sm-4 mui-col-xs-4">
<font class="asfgdpovv jklzxcvbn fkfghjklz eilweiskv"></font>
<font class="asfgdpoqw wertyuiop urjlauejr plmzacbme"></font>
<font class="asfgdtyhg urnvewjei cbmeruwul acbmeruwu"></font>
<font class="asfgdpoqw lzxcvbnmq asdwpkxmi cvbnmqwwe"></font>
+
</p>
<p class="mui-col-sm-4 mui-col-xs-4">¥16.2515</p>
<p class="mui-col-sm-4 mui-col-xs-4">$1.8055</p>
</div>
<div class="mui-row list_data" style="display: block;">
<p class="mui-col-sm-4 mui-col-xs-4">
<font class="asfgdyutr urjlauejr auejrifkf xcvbnmqww"></font>
<font class="asfgdqwer qplmzacbm kxmiqplmz eurnvewje"></font>
<font class="asfgdqwer acbmeruwu ruwulurjl iqplmzacb"></font>
<font class="asfgdqwer ieurnvewj qplmzacbm rnvewjeil"></font>
+
</p>
<p class="mui-col-sm-4 mui-col-xs-4">¥15.9410</p>
<p class="mui-col-sm-4 mui-col-xs-4">$1.7710</p>
</div>
<div class="more-height" >更多梯度价格<i class="icon-top"></i></div>
</div>
<div class="but-shop">
<a href="javascript:void(0)" class="but" >我要下单</a>
</div>
</div>
</div>
</section>
</template>
<script>
export default {
name: "GoodsOne",
props: {
color: {
type: String,
default: ""
}
},
data() {
return {};
},
mounted() {},
methods: {
},
components: {
}
};
</script>
<style lang="scss" scoped>
.oneDataGoods{
&.block{
padding:5px 10px 0 0; margin-left: 10px;
border-top: 1px solid #d6d7dc;
.img-box{
padding: 10px 10px 0 0;
dt{
position: relative; float: left; height:80px; width: 80px;
span{ position: absolute; top: 0; right: 0; background:#e10601; display:block; padding: 0px 3px; height: 12px;line-height: 12px; border-radius: 2px; font-size: 10px; color: #fff; }
img{ border: 1px solid #e5e5e5; height: 80px;width: 80px; display: block; }
}
dd{
padding-left: 90px;
h4{
font-size: 16px; color: #333; height: 20px;
font-weight: 400; overflow:hidden;
text-overflow:ellipsis;white-space: nowrap;
.f-red{ font-weight: 400; color: #1080d0;}
}
h5{ height: 21px; padding-bottom: 9px; overflow: hidden;
span{padding: 0 5px; display:inline-block; background:#ffa200; height:12px;line-height: 12px; border-radius: 2px; font-size: 12px; color: #fff;}
}
p{ font-size: 12px; color: #666; height: 16px; line-height: 16px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap; }
}
}
.icon-hint span{ display: inline-block; height: 18px; line-height: 19px; color: #fff; background: #ffa200; margin-right: 5px; border-radius: 3px; padding: 0 9px; font-size: 12px; }
.block .icon-hint i{font-size: 13px; margin-right: 4px;}
.block-but{
padding:5px 0 10px 0; padding-left: 0; vertical-align: middle; display: table; width: 100%;
.morePrice{
color: #666; font-size: 12px; width: 100%;
.list_data{display: none; height: 19px;}
p{ font-size: 12px; color: #666; line-height: 19px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap; }
}
.but-shop{ width: 25%; vertical-align: middle; display: table-cell;}
.but{height: 30px; float: right; line-height:30px;padding: 0 20px; width: 60px; font-size: 14px;
display: block;color:#fff;background: #1080d0;text-align: center;cursor: pointer;
border-radius: 4px;
}
}
.more-height,.zkxk{ font-size: 12px; margin-right: 10%; height: 24px; line-height:24px; border: 1px solid #e5e5e5; text-align: center; color: #666; }
.icon-bot{
top: 9px;
position: relative;
content: "";
height: 0;
width: 0;
pointer-events: none;
border: solid transparent;
border-top-color: #4d4d4d;
border-width: 4px;
margin-left: 5px;
}
.icon-top{
bottom: 9px;
position: relative;
content: "";
height: 0;
width: 0;
pointer-events: none;
border: solid transparent;
border-bottom-color: #4d4d4d;
border-width: 4px;
margin-left: 5px;
}
}
}
</style>
<template>
$END$
</template>
<script>
export default {
name: "lxshop"
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<section class="lxshop">
<Header :meaushow='meaushow' :inputShow="inputShow" @toSearch="toSearchp"></Header>
<div class="lxshop-content">
<!--供应商-->
<div class="search-sift" >
<div class="sift-box pool-sift">
<!--p_act-->
<dl class="">
<dt>全部供应商</dt>
<dd >
<ul class="sift-ul">
<li class="fl">
<span>chip1stop</span>
</li>
</ul>
<div class="button">
<a href="#" class="but font cancel">重置</a>
<a href="#" class="but-blue confirm">确定</a>
</div>
</dd>
</dl>
</div>
</div>
<!--数据渲染部分-->
<div class="search-list-box">
<div class="data-group-supplier">
<div class="name-shop">
<img src="http://img.ichunt.com/images/cms/201807/04/0c9103a3f6368b6e8fc5729eda768aaf.png" class="name-img" alt="aipco">
<a href="https://www.ichunt.com/v3/activity/aipcohd" class="ad">全球通信电子、信息系统、运输、医疗电子、工业和消费电子供应商</a>
</div>
<GoodsOne></GoodsOne>
<div class="more-number">
还有<span class="f-blue">106522</span>个商品未显示,
<span class="hhs_load_more cup flag_two" >
点击加载更多
<i></i>
</span>
</div>
</div>
</div>
</div>
</section>
</template>
<script>
import Vue from 'vue';
import {mapState} from 'vuex'
import {Swipe,SwipeItem,Lazyload,List} from 'vant';
import Header from '@/views/common/Header.vue';
import GoodsOne from '@/views/common/GoodsOne.vue';
Vue.use(List);
export default {
name: 'news',
data() {
return {
inputShow:true,
meaushow:true
}
},
computed: {
...mapState({
})
},
watch: {
},
created() {
},
mounted() {
},
methods: {
toSearchp:function(){
window.location.href="/v3/search/search_index.html?ptag=lxshop-topnav"
}
},
components: {
Header,
GoodsOne
}
}
</script>
<style scoped>
@import "../../assets/css/lxshop/lxshop.min.css";
</style>
\ No newline at end of file
......@@ -4,7 +4,7 @@
<van-swipe :autoplay="3000" :height="bannerHeight">
<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'">
<img :src="item.images" class="" height="100%" width="100%">
<img :src="item.images" class="" height="100%meaushow" width="100%">
</a>
</van-swipe-item>
</van-swipe>
......
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:13px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.head-dom[data-v-87442ebc]{padding-top:44px}.head-dom .header-page[data-v-87442ebc]{height:44px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#f3f3f3}.head-dom .header-page i[data-v-87442ebc]{font-size:18px;margin-top:13px;color:#666}.head-dom .header-page h3[data-v-87442ebc]{font-size:16px;color:#333;width:68%;line-height:44px;text-align:center;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.head-dom .header-page .search[data-v-87442ebc]{position:absolute;left:40px;right:60px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .search .van-icon[data-v-87442ebc]{position:absolute;left:10px;height:20px;line-height:21px;margin-top:0}.head-dom .header-page .search .van-cell[data-v-87442ebc]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.oneDataGoods.block[data-v-4d2deb4a]{padding:5px 10px 0 0;margin-left:10px;border-top:1px solid #d6d7dc}.oneDataGoods.block .img-box[data-v-4d2deb4a]{padding:10px 10px 0 0}.oneDataGoods.block .img-box dt[data-v-4d2deb4a]{position:relative;float:left;height:80px;width:80px}.oneDataGoods.block .img-box dt span[data-v-4d2deb4a]{position:absolute;top:0;right:0;background:#e10601;display:block;padding:0 3px;height:12px;line-height:12px;border-radius:2px;font-size:10px;color:#fff}.oneDataGoods.block .img-box dt img[data-v-4d2deb4a]{border:1px solid #e5e5e5;height:80px;width:80px;display:block}.oneDataGoods.block .img-box dd[data-v-4d2deb4a]{padding-left:90px}.oneDataGoods.block .img-box dd h4[data-v-4d2deb4a]{font-size:16px;color:#333;height:20px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oneDataGoods.block .img-box dd h4 .f-red[data-v-4d2deb4a]{font-weight:400;color:#1080d0}.oneDataGoods.block .img-box dd h5[data-v-4d2deb4a]{height:21px;padding-bottom:9px;overflow:hidden}.oneDataGoods.block .img-box dd h5 span[data-v-4d2deb4a]{padding:0 5px;display:inline-block;background:#ffa200;height:12px;line-height:12px;border-radius:2px;font-size:12px;color:#fff}.oneDataGoods.block .img-box dd p[data-v-4d2deb4a]{font-size:12px;color:#666;height:16px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oneDataGoods.block .icon-hint span[data-v-4d2deb4a]{display:inline-block;height:18px;line-height:19px;color:#fff;background:#ffa200;margin-right:5px;border-radius:3px;padding:0 9px;font-size:12px}.oneDataGoods.block .block .icon-hint i[data-v-4d2deb4a]{font-size:13px;margin-right:4px}.oneDataGoods.block .block-but[data-v-4d2deb4a]{padding:5px 0 10px 0;padding-left:0;vertical-align:middle;display:table;width:100%}.oneDataGoods.block .block-but .morePrice[data-v-4d2deb4a]{color:#666;font-size:12px;width:100%}.oneDataGoods.block .block-but .morePrice .list_data[data-v-4d2deb4a]{display:none;height:19px}.oneDataGoods.block .block-but .morePrice p[data-v-4d2deb4a]{font-size:12px;color:#666;line-height:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oneDataGoods.block .block-but .but-shop[data-v-4d2deb4a]{width:25%;vertical-align:middle;display:table-cell}.oneDataGoods.block .block-but .but[data-v-4d2deb4a]{height:30px;float:right;line-height:30px;padding:0 20px;width:60px;font-size:14px;display:block;color:#fff;background:#1080d0;text-align:center;cursor:pointer;border-radius:4px}.oneDataGoods.block .more-height[data-v-4d2deb4a],.oneDataGoods.block .zkxk[data-v-4d2deb4a]{font-size:12px;margin-right:10%;height:24px;line-height:24px;border:1px solid #e5e5e5;text-align:center;color:#666}.oneDataGoods.block .icon-bot[data-v-4d2deb4a]{top:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-top-color:#4d4d4d;border-width:4px;margin-left:5px}.oneDataGoods.block .icon-top[data-v-4d2deb4a]{bottom:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#4d4d4d;border-width:4px;margin-left:5px}.lxshop .lxshop-content .sift-box{position:relative;padding-top:5px;padding-left:2.5%;height:36px;line-height:36px;border-bottom:1px solid #d6d7dc;background-color:#fff}.lxshop .lxshop-content .sift-box dl{float:left;width:35%;margin-right:0;height:35px;color:#333}.lxshop .lxshop-content .sift-box dl dt{text-align:center;font-size:12px;height:30px;line-height:30px;background:#f3f3f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.lxshop .lxshop-content .sift-box dl dd{position:absolute;top:42px;left:0;width:100%;bottom:140px;z-index:3;display:none}.lxshop .lxshop-content .sift-box dl dd ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:auto}.lxshop .lxshop-content .sift-box dl dd ul li{width:46%;color:#333;font-size:14px;border:1px solid #fff;margin:0 2%;margin-top:3px;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;height:32px;line-height:32px}.lxshop .lxshop-content .sift-box dl dd ul li.check{border:1px solid #1080d0;color:#1080d0}.lxshop .lxshop-content .sift-box dl dd .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eee;box-shadow:0 2px 5px #eee}.lxshop .lxshop-content .sift-box dl dd .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;float:left;text-align:center;color:#333}.lxshop .lxshop-content .sift-box dl dd .button a.but-blue{background:#1080d0;color:#fff;text-decoration:none;text-align:center;border:none}.lxshop .lxshop-content .sift-box dl.p_act{border:1px solid #d6d7dc;border-bottom:none}.lxshop .lxshop-content .sift-box dl.p_act dd{display:block}.lxshop .lxshop-content .sift-box dl.p_act dt{background:#fff;height:34px;line-height:34px;border-bottom:2px solid #fff}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop{padding:10px 10px 10px 0;margin-left:10px;background:#fff}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop img{width:60px;height:30px;display:block;float:left;border:1px solid #e5e5e5;margin-right:10px}.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop .ad{color:#666;font-size:12px;display:block;line-height:16px;overflow:hidden;height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk{color:#999;background:#f3f3f3;height:32px;line-height:32px;font-size:12px;text-align:center}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .f-blue,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .f-blue{color:#1080d0}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup{cursor:pointer;color:#1080d0}.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup:hover,.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup:hover{cursor:pointer;color:#0073c5;font-weight:700}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ea3b7e0"],{"1d8d":function(t,s,a){"use strict";var i=a("cb27"),c=a.n(i);c.a},"3b79":function(t,s,a){"use strict";var i=a("673c"),c=a.n(i);c.a},"47d3":function(t,s,a){},"57af":function(t,s,a){"use strict";var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",{staticClass:"head-dom"},[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),t.inputShow?a("div",{staticClass:"search"},[a("van-icon",{attrs:{name:"search",size:"18px",color:"#666"}}),a("van-field",{attrs:{placeholder:"请输入元器件型号、参数,查找全站库存数据"},on:{focus:t.toSearch}})],1):a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},c=[],e=a("7272"),n=a("a4c0"),o={name:"header-page",props:{color:{type:String,default:""},inputShow:{type:Boolean,default:!1},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)},toSearch:function(){this.$emit("toSearch")}},components:{"van-field":n["e"],"van-icon":n["f"],Menu:e["a"]}},l=o,r=(a("c4ad"),a("17cc")),u=Object(r["a"])(l,i,c,!1,null,"87442ebc",null);s["a"]=u.exports},"673c":function(t,s,a){},"70fd":function(t,s,a){"use strict";var i=a("b3b5"),c=a.n(i);c.a},7272:function(t,s,a){"use strict";var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(s){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(s){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},n=e,o=(a("3b79"),a("17cc")),l=Object(o["a"])(n,i,c,!1,null,null,null);s["a"]=l.exports},b3b5:function(t,s,a){},c4ad:function(t,s,a){"use strict";var i=a("47d3"),c=a.n(i);c.a},c80a:function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",{staticClass:"lxshop"},[a("Header",{attrs:{meaushow:t.meaushow,inputShow:t.inputShow},on:{toSearch:t.toSearchp}}),a("div",{staticClass:"lxshop-content"},[t._m(0),a("div",{staticClass:"search-list-box"},[a("div",{staticClass:"data-group-supplier"},[t._m(1),a("GoodsOne"),t._m(2)],1)])])],1)},c=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"search-sift"},[a("div",{staticClass:"sift-box pool-sift"},[a("dl",{},[a("dt",[t._v("全部供应商")]),a("dd",[a("ul",{staticClass:"sift-ul"},[a("li",{staticClass:"fl"},[a("span",[t._v("chip1stop")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"name-shop"},[a("img",{staticClass:"name-img",attrs:{src:"http://img.ichunt.com/images/cms/201807/04/0c9103a3f6368b6e8fc5729eda768aaf.png",alt:"aipco"}}),a("a",{staticClass:"ad",attrs:{href:"https://www.ichunt.com/v3/activity/aipcohd"}},[t._v("全球通信电子、信息系统、运输、医疗电子、工业和消费电子供应商")])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"more-number"},[t._v("\n 还有"),a("span",{staticClass:"f-blue"},[t._v("106522")]),t._v("个商品未显示,\n "),a("span",{staticClass:"hhs_load_more cup flag_two"},[t._v("\n 点击加载更多\n "),a("i")])])}],e=a("3f47"),n=a("6e6d"),o=a("52c1"),l=a("a4c0"),r=a("57af"),u=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",[a("div",{staticClass:"block oneDataGoods"},[a("dl",{staticClass:"mui-row img-box"},[a("a",{attrs:{href:"https://m.ichunt.com/goods_1151128199954026816.html?ptag=lxshop"}},[t._m(0),a("dd",[a("h4",[t._v("PIC16LF88T-I/SS")]),a("p",[t._v("制造商:MICROCHIP")]),a("p",[t._v("\n 库存:\n "),a("span",{staticClass:"f-orange"},[a("font",{staticClass:"asfgdqasd cvbnmqwwe ieurnvewj eruwulurj"}),a("font",{staticClass:"asfgdwsxz mzacbmeru uejrifkfg qwwertyui"}),a("font",{staticClass:"asfgdpehg cvbnmqwwe eurnvewje dsieurnve"}),a("font",{staticClass:"asfgdpluj urnvewjei jrifkfghj nmqwwerty"})],1)]),a("p",[t._v("\n 起订:\n "),a("font",{staticClass:"asfgdrfdf pkdsieurn bmeruwulu bmeruwulu"}),a("font",{staticClass:"asfgdpoqw wulurjlau xmiqplmza jeilweisk"}),a("font",{staticClass:"asfgdtyhg jlauejrif pkxmiqplm hjklzxcvb"}),a("font",{staticClass:"asfgdqwer acbmeruwu ejrifkfgh zxcvbnmqw"})],1),a("p",[t._v("MPQ:--")])])])]),a("div",{staticClass:"mui-row block-but"},[a("div",{staticClass:"morePrice"},[a("div",{staticClass:"mui-row list_data",staticStyle:{display:"block"}},[a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[a("font",{staticClass:"asfgdpoer wjeilweis lurjlauej opkdsieur"}),a("font",{staticClass:"asfgdqwer ertyuiopk uiopkdsie fghjklzxc"}),a("font",{staticClass:"asfgdpoqw vewjeilwe iqplmzacb uejrifkfg"}),a("font",{staticClass:"asfgdqwer sieurnvew xcvbnmqww sdwpkxmiq"}),t._v("\n +\n ")],1),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("¥17.5972")]),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("$1.9550")])]),a("div",{staticClass:"mui-row list_data",staticStyle:{display:"block"}},[a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[a("font",{staticClass:"asfgdpovv jklzxcvbn fkfghjklz eilweiskv"}),a("font",{staticClass:"asfgdpoqw wertyuiop urjlauejr plmzacbme"}),a("font",{staticClass:"asfgdtyhg urnvewjei cbmeruwul acbmeruwu"}),a("font",{staticClass:"asfgdpoqw lzxcvbnmq asdwpkxmi cvbnmqwwe"}),t._v("\n +\n ")],1),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("¥16.2515")]),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("$1.8055")])]),a("div",{staticClass:"mui-row list_data",staticStyle:{display:"block"}},[a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[a("font",{staticClass:"asfgdyutr urjlauejr auejrifkf xcvbnmqww"}),a("font",{staticClass:"asfgdqwer qplmzacbm kxmiqplmz eurnvewje"}),a("font",{staticClass:"asfgdqwer acbmeruwu ruwulurjl iqplmzacb"}),a("font",{staticClass:"asfgdqwer ieurnvewj qplmzacbm rnvewjeil"}),t._v("\n +\n ")],1),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("¥15.9410")]),a("p",{staticClass:"mui-col-sm-4 mui-col-xs-4"},[t._v("$1.7710")])]),t._m(1)]),t._m(2)])])])},f=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("dt",[a("img",{staticClass:"lazy img-lazy",attrs:{src:"http://img.ichunt.com/images/goods/f6/b0/f6b0b0a470b61a7e7648052035ff41f7.jpg"}})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"more-height"},[t._v("更多梯度价格"),a("i",{staticClass:"icon-top"})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"but-shop"},[a("a",{staticClass:"but",attrs:{href:"javascript:void(0)"}},[t._v("我要下单")])])}],m={name:"GoodsOne",props:{color:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{},components:{}},p=m,d=(a("1d8d"),a("17cc")),v=Object(d["a"])(p,u,f,!1,null,"4d2deb4a",null),h=v.exports;n["a"].use(l["h"]);var w={name:"news",data:function(){return{inputShow:!0,meaushow:!0}},computed:Object(e["a"])({},Object(o["b"])({})),watch:{},created:function(){},mounted:function(){},methods:{toSearchp:function(){window.location.href="/v3/search/search_index.html?ptag=lxshop-topnav"}},components:{Header:r["a"],GoodsOne:h}},C=w,g=(a("70fd"),Object(d["a"])(C,i,c,!1,null,"74621856",null));s["default"]=g.exports},cb27:function(t,s,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1dad0408"],{2536:function(t,a,i){"use strict";i.r(a);var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"news"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),i("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,function(a,n){return i("van-swipe-item",{key:n},[i("a",{attrs:{href:t._f("urlPatg")(a.url,"news-banner-"+(n+1)),target:a.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:a.images,height:"100%",width:"100%"}})])])}),1),t.cat_list.length>0?i("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,function(a,n){return i("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(a){return t.tab(n)}}},[t._v("\n "+t._s(a.cat_name)+"\n ")])}),0):t._e(),i("ul",{staticClass:"listBox clr"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.content_list,function(a,n){return i("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+a.art_id+"/"+a.cat_id}}},[i("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[i("img",{attrs:{"data-src":a.litpic,alt:a.title,"data-error":"static/images/news.png"}})]),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(a.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(a.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(a.click)+"浏览")])])])])}),1)],1),i("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?i("div",{staticClass:"backtop"},[i("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},s=[],e=i("3f47"),c=i("6e6d"),o=i("52c1"),l=i("a4c0"),r=i("57af");c["a"].use(l["p"]).use(l["q"]).use(l["g"]).use(l["h"]);var u={name:"news",data:function(){return{title:"猎芯网-新闻列表",p:1,cat_id:"",bannerHeight:180,meaushow:!0,loading:!1,limit:10,act:0,navListfixed:!1}},computed:Object(e["a"])({},Object(o["b"])({rollbanner:function(t){return t.news.rollbanner},cat_list:function(t){return t.news.cat_list},content_list:function(t){return t.news.content_list},loadStatus:function(t){return t.news.loadStatus},finished:function(t){return t.news.finished},totalLimit:function(t){return t.news.totalLimit}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(){var t="";this.cat_id?t=this.cat_id:this.cat_list.length>0&&(t=this.cat_list[0].cat_id),this.$store.dispatch({type:"newsArticle",cat_id:t,p:this.p,limit:this.limit})},tab:function(t){this.act!=t&&(this.act=t,this.p=1,this.cat_id=this.cat_list[t].cat_id,this.getData())},onLoad:function(){this.p<this.totalLimit&&(this.p++,this.getData())},scrollFns:function(){var t=this;window.onscroll=function(){var a=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=a>=300}}},components:{Header:r["a"]}},f=u,d=(i("9c9e"),i("17cc")),h=Object(d["a"])(f,n,s,!1,null,"88b86944",null);a["default"]=h.exports},"291c":function(t,a,i){},"3b79":function(t,a,i){"use strict";var n=i("673c"),s=i.n(n);s.a},"47d3":function(t,a,i){},"57af":function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"head-dom"},[i("div",{staticClass:"header-page clr"},[i("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),t.inputShow?i("div",{staticClass:"search"},[i("van-icon",{attrs:{name:"search",size:"18px",color:"#666"}}),i("van-field",{attrs:{placeholder:"请输入元器件型号、参数,查找全站库存数据"},on:{focus:t.toSearch}})],1):i("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?i("Menu",{attrs:{color:t.color}}):t._e()],1)])},s=[],e=i("7272"),c=i("a4c0"),o={name:"header-page",props:{color:{type:String,default:""},inputShow:{type:Boolean,default:!1},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)},toSearch:function(){this.$emit("toSearch")}},components:{"van-field":c["e"],"van-icon":c["f"],Menu:e["a"]}},l=o,r=(i("c4ad"),i("17cc")),u=Object(r["a"])(l,n,s,!1,null,"87442ebc",null);a["a"]=u.exports},"673c":function(t,a,i){},7272:function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.flag?i("div",{staticClass:"menu-fade",on:{click:function(a){t.flag=!1}}}):t._e(),i("div",{staticClass:"menu clr"},[i("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(a){t.flag=!t.flag}}}),t.flag?i("div",[i("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("ul",{staticClass:"menu-view"},[i("li",[i("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),i("li",[i("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),i("li",[i("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),i("li",[i("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),i("li",{staticClass:"mui-table-view-cell "},[i("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),i("li",[i("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,o=(i("3b79"),i("17cc")),l=Object(o["a"])(c,n,s,!1,null,null,null);a["a"]=l.exports},"9c9e":function(t,a,i){"use strict";var n=i("291c"),s=i.n(n);s.a},c4ad:function(t,a,i){"use strict";var n=i("47d3"),s=i.n(n);s.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22e40ede"],{2536:function(t,a,i){"use strict";i.r(a);var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"news"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),i("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,function(a,n){return i("van-swipe-item",{key:n},[i("a",{attrs:{href:t._f("urlPatg")(a.url,"news-banner-"+(n+1)),target:a.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:a.images,height:"100%meaushow",width:"100%"}})])])}),1),t.cat_list.length>0?i("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,function(a,n){return i("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(a){return t.tab(n)}}},[t._v("\n "+t._s(a.cat_name)+"\n ")])}),0):t._e(),i("ul",{staticClass:"listBox clr"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.content_list,function(a,n){return i("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+a.art_id+"/"+a.cat_id}}},[i("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[i("img",{attrs:{"data-src":a.litpic,alt:a.title,"data-error":"static/images/news.png"}})]),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(a.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(a.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(a.click)+"浏览")])])])])}),1)],1),i("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?i("div",{staticClass:"backtop"},[i("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},s=[],e=i("3f47"),c=i("6e6d"),o=i("52c1"),l=i("a4c0"),r=i("57af");c["a"].use(l["p"]).use(l["q"]).use(l["g"]).use(l["h"]);var u={name:"news",data:function(){return{title:"猎芯网-新闻列表",p:1,cat_id:"",bannerHeight:180,meaushow:!0,loading:!1,limit:10,act:0,navListfixed:!1}},computed:Object(e["a"])({},Object(o["b"])({rollbanner:function(t){return t.news.rollbanner},cat_list:function(t){return t.news.cat_list},content_list:function(t){return t.news.content_list},loadStatus:function(t){return t.news.loadStatus},finished:function(t){return t.news.finished},totalLimit:function(t){return t.news.totalLimit}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(){var t="";this.cat_id?t=this.cat_id:this.cat_list.length>0&&(t=this.cat_list[0].cat_id),this.$store.dispatch({type:"newsArticle",cat_id:t,p:this.p,limit:this.limit})},tab:function(t){this.act!=t&&(this.act=t,this.p=1,this.cat_id=this.cat_list[t].cat_id,this.getData())},onLoad:function(){this.p<this.totalLimit&&(this.p++,this.getData())},scrollFns:function(){var t=this;window.onscroll=function(){var a=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=a>=300}}},components:{Header:r["a"]}},f=u,d=(i("bb96"),i("17cc")),h=Object(d["a"])(f,n,s,!1,null,"4202a116",null);a["default"]=h.exports},3082:function(t,a,i){},"3b79":function(t,a,i){"use strict";var n=i("673c"),s=i.n(n);s.a},"47d3":function(t,a,i){},"57af":function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"head-dom"},[i("div",{staticClass:"header-page clr"},[i("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),t.inputShow?i("div",{staticClass:"search"},[i("van-icon",{attrs:{name:"search",size:"18px",color:"#666"}}),i("van-field",{attrs:{placeholder:"请输入元器件型号、参数,查找全站库存数据"},on:{focus:t.toSearch}})],1):i("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?i("Menu",{attrs:{color:t.color}}):t._e()],1)])},s=[],e=i("7272"),c=i("a4c0"),o={name:"header-page",props:{color:{type:String,default:""},inputShow:{type:Boolean,default:!1},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)},toSearch:function(){this.$emit("toSearch")}},components:{"van-field":c["e"],"van-icon":c["f"],Menu:e["a"]}},l=o,r=(i("c4ad"),i("17cc")),u=Object(r["a"])(l,n,s,!1,null,"87442ebc",null);a["a"]=u.exports},"673c":function(t,a,i){},7272:function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.flag?i("div",{staticClass:"menu-fade",on:{click:function(a){t.flag=!1}}}):t._e(),i("div",{staticClass:"menu clr"},[i("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(a){t.flag=!t.flag}}}),t.flag?i("div",[i("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("ul",{staticClass:"menu-view"},[i("li",[i("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),i("li",[i("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),i("li",[i("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),i("li",[i("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),i("li",{staticClass:"mui-table-view-cell "},[i("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),i("li",[i("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,o=(i("3b79"),i("17cc")),l=Object(o["a"])(c,n,s,!1,null,null,null);a["a"]=l.exports},bb96:function(t,a,i){"use strict";var n=i("3082"),s=i.n(n);s.a},c4ad:function(t,a,i){"use strict";var n=i("47d3"),s=i.n(n);s.a}}]);
\ 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