Commit d7e7c7b4 by 肖康

x

parent e5a365c1
.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:10px;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}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.news li,.news ul{font-family:"\5FAE\8F6F\96C5\9ED1"!important}.news .borderBottom{border-bottom:1px solid #e5e5e5}.news .navList{border-bottom:1px solid #e5e5e5;padding:0 10px;clear:both;height:40px;line-height:40px;font-size:14px;background:#fff;overflow:hidden}.news .navList p{text-align:center;width:33.33%;color:#333;float:left;cursor:pointer;height:40px;line-height:40px}.news .navList p.act{color:#e10601;border-bottom:2px solid #e10601}.news .navListfixed{border-bottom:1px solid #e5e5e5;padding:0 10px;clear:both;height:40px;line-height:40px;font-size:14px;background:#fff;overflow:hidden;position:fixed;top:39px;left:0;right:0}.news .navListfixed p{text-align:center;width:33.33%;color:#333;float:left;cursor:pointer;height:40px;line-height:40px}.news .navListfixed p.act{color:#e10601;border-bottom:2px solid #e10601}.news .navList44 p{width:25%}.news .listBox li{padding:10px;height:100px;border-bottom:1px solid #e5e5e5;-webkit-box-sizing:border-box;box-sizing:border-box}.news .listBox li img{height:75px;width:27%;float:left;border:0;outline:none}.news .listBox li .boxgrt{height:75px;width:66%;float:right}.news .listBox li .boxgrt .title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;font-size:.32rem;font-weight:700;height:50px;line-height:25px}.news .listBox li .boxgrt .titleLook{font-size:14px;color:#999;margin-top:5px}
\ No newline at end of file
.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:10px;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}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.wxlist{height:100%;background:#f8f8f8}.wxlist .wxlist-content .menu-title{color:#333;font-size:18px;height:47px;line-height:47px;padding-left:.2rem}.wxlist .wxlist-content .wxlist-banner{padding:0 .2rem}.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px}.banner-box{background:#fff;border-radius:4px;min-height:275px}.banner-header .banner-title{font-size:19px;color:#333}.banner-header .banner-img{width:.8rem;height:.8rem;margin-right:10px}.banner-header .banner-img img{width:100%;height:100%;width:.8rem;height:.8rem;border-radius:50%;display:block}.banner-body img{width:100%;height:4.8rem}.banner-footer{font-size:16px;line-height:20px;color:#666;padding:.4rem .28rem}.banner-footer a{color:#666}.banner-footer span{color:#999}.wxlist-data{padding:10px}.wxlist-data-box{background:#fff;border-radius:4px}.group-right{width:2rem;height:60px}.group-left-box{height:50px;width:6.347rem;font-size:16px;color:#333;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.group-left{width:6.347rem;border-bottom:1px solid #e5e5e5;padding-top:.1rem;padding-bottom:.5rem}.data-group{padding:.25rem;display:block}
\ No newline at end of file
.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:10px;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}body{padding-top:40px}.header-page{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.header-page i{font-size:18px;margin-top:10px;color:#666}.header-page h3{font-size:16px;color:#333;width:68%;line-height:40px;text-align:center;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.news-detail .bar,.news-detail .content-newsdetail,.news-detail .title{padding:0 10px}.news-detail .content-newsdetail img{max-width:100%!important}.news-detail h1.title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#333;font-size:22px;font-weight:700;line-height:30px;margin-top:10px}.news-detail .bar{height:16px;clear:both;font-size:12px;color:#999;margin-top:10px;margin-bottom:10px}.news-detail .bar span{line-height:16px;height:16px;float:left}.news-detail .bar .f24{color:#333}.news-detail .bar .f20{font-size:12px;padding-left:5px;padding-right:5px;border-radius:2px;border:1px solid #ccc;margin-right:10px}.news-detail .detail-pop{width:8.66rem;height:7.44rem;position:fixed;top:50%;left:50%;margin-left:-4.33rem;margin-top:-3.72rem}.news-detail .detail-pop img{width:100%;height:100%}.news-detail .closexdetailad{font-size:26px;float:right;color:#ccc}.news-detail .adbox{padding:0 10px}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d9b3b33"],{"13d3":function(t,n,i){i("0ed8"),t.exports=i("836e").Object.getOwnPropertySymbols},2259:function(t,n,i){},2536:function(t,n,i){"use strict";i.r(n);var a=function(){var t=this,n=t.$createElement,i=t._self._c||n;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(n,a){return i("van-swipe-item",{key:a},[i("a",{attrs:{href:t._f("urlPatg")(n.url,"news-banner-"+(a+1)),target:n.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:n.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(n,a){return i("p",{key:a,staticClass:"fl",class:{act:t.act==a},on:{click:function(n){return t.tab(a)}}},[t._v("\n "+t._s(n.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(n){t.loading=n},expression:"loading"}},t._l(t.content_list,function(n,a){return i("router-link",{key:a,attrs:{tag:"li",to:{path:"/news/detail/"+n.art_id+"/"+n.cat_id}}},[i("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[i("img",{attrs:{"data-src":n.litpic,alt:n.title,"data-error":"static/images/news.png"}})]),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(n.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(n.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(n.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("bd31"),c=i("8973"),o=i("52c1"),l=i("5101"),r=i("57af");c["a"].use(l["g"]).use(l["h"]).use(l["c"]).use(l["d"]);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 n=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=n>=300}}},components:{Header:r["a"]}},f=u,d=(i("9c9e"),i("8c9c")),h=Object(d["a"])(f,a,s,!1,null,"88b86944",null);n["default"]=h.exports},"3b79":function(t,n,i){"use strict";var a=i("2259"),s=i.n(a);s.a},5710:function(t,n,i){},"57af":function(t,n,i){"use strict";var a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("section",[i("div",{staticClass:"header-page clr"},[i("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),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={name:"header-page",props:{color:{type:String,default:""},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)}},components:{Menu:e["a"]}},o=c,l=(i("9f93"),i("8c9c")),r=Object(l["a"])(o,a,s,!1,null,null,null);n["a"]=r.exports},7272:function(t,n,i){"use strict";var a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",[t.flag?i("div",{staticClass:"menu-fade",on:{click:function(n){t.flag=!1}}}):t._e(),i("div",{staticClass:"menu clr"},[i("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(n){t.flag=!t.flag}}}),t.flag?i("div",[i("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},s=[function(){var t=this,n=t.$createElement,i=t._self._c||n;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("8c9c")),l=Object(o["a"])(c,a,s,!1,null,null,null);n["a"]=l.exports},8683:function(t,n,i){},"9c9e":function(t,n,i){"use strict";var a=i("8683"),s=i.n(a);s.a},"9f93":function(t,n,i){"use strict";var a=i("5710"),s=i.n(a);s.a},bd31:function(t,n,i){"use strict";var a=i("6e35"),s=i.n(a),e=i("e5df"),c=i.n(e),o=i("0ec6"),l=i.n(o),r=i("1904"),u=i.n(r);function f(t,n,i){return n in t?u()(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function d(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{},a=l()(i);"function"===typeof c.a&&(a=a.concat(c()(i).filter(function(t){return s()(i,t).enumerable}))),a.forEach(function(n){f(t,n,i[n])})}return t}i.d(n,"a",function(){return d})},e5df:function(t,n,i){t.exports=i("13d3")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a3aac8d6"],{"13d3":function(t,i,a){a("0ed8"),t.exports=a("836e").Object.getOwnPropertySymbols},2259:function(t,i,a){},"2c10":function(t,i,a){},"3b79":function(t,i,a){"use strict";var n=a("2259"),e=a.n(n);e.a},"3bed":function(t,i,a){"use strict";var n=a("2c10"),e=a.n(n);e.a},5710:function(t,i,a){},"57af":function(t,i,a){"use strict";var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("section",[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},e=[],s=a("7272"),c={name:"header-page",props:{color:{type:String,default:""},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)}},components:{Menu:s["a"]}},o=c,l=(a("9f93"),a("8c9c")),r=Object(l["a"])(o,n,e,!1,null,null,null);i["a"]=r.exports},7272:function(t,i,a){"use strict";var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(i){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(i){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},e=[function(){var t=this,i=t.$createElement,a=t._self._c||i;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("会员中心")])])])}],s={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=s,o=(a("3b79"),a("8c9c")),l=Object(o["a"])(c,n,e,!1,null,null,null);i["a"]=l.exports},"9f93":function(t,i,a){"use strict";var n=a("5710"),e=a.n(n);e.a},bd04:function(t,i,a){"use strict";a.r(i);var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("section",{staticClass:"wxlist"},[a("Header"),a("div",{staticClass:"wxlist-content"},[a("div",{staticClass:"menu-title"},[t._v(t._s(t.wechatArticle.menu))]),t.wechatArticle.top?a("div",{staticClass:"wxlist-banner"},[a("div",{staticClass:"banner-box"},[t._m(0),a("div",{staticClass:"banner-body"},[a("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[a("img",{attrs:{alt:t.wechatArticle.top.title,src:t.wechatArticle.top.img}})])]),a("div",{staticClass:"banner-footer"},[a("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[t._v(t._s(t.wechatArticle.top.title))])])])]):t._e(),a("div",{staticClass:"wxlist-data"},[a("div",{staticClass:"wxlist-data-box"},[a("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,offset:10,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.wechatArticleList,function(i,n){return a("div",{key:n,staticClass:"data-group clr"},[a("a",{attrs:{href:t._f("urlPatg")(i.url,"wechatlist")}},[a("div",{staticClass:"group-left fl"},[a("div",{staticClass:"group-left-box"},[t._v("\n "+t._s(i.title)+"\n ")])]),a("img",{staticClass:"group-right fr",attrs:{src:i.img}})])])}),0)],1)])])],1)},e=[function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"banner-header clr"},[n("div",{staticClass:"banner-img fl"},[n("img",{attrs:{src:a("defc")}})]),n("div",{staticClass:"banner-title fl"},[t._v("猎芯网")])])}],s=a("bd31"),c=a("8973"),o=a("52c1"),l=a("5101"),r=a("57af");c["a"].use(l["d"]);var u={name:"wxlist",data:function(){return{page:0,limit:6,loading:!1}},computed:Object(s["a"])({},Object(o["b"])({wechatArticle:function(t){return t.wxlist.wechatArticle},wechatArticleList:function(t){return t.wxlist.wechatArticleList},limits:function(t){return t.wxlist.limits},loadStatus:function(t){return t.wxlist.loadStatus},finished:function(t){return t.wxlist.finished}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){},methods:{getData:function(t){this.$store.dispatch({type:"wechatArticle",type_id:t,page:this.page,limit:this.limit})},onLoad:function(){this.page<this.limits&&(this.page++,this.getData(this.$route.query.type_id))}},components:{Header:r["a"]}},f=u,d=(a("3bed"),a("8c9c")),h=Object(d["a"])(f,n,e,!1,null,"4899ffcc",null);i["default"]=h.exports},bd31:function(t,i,a){"use strict";var n=a("6e35"),e=a.n(n),s=a("e5df"),c=a.n(s),o=a("0ec6"),l=a.n(o),r=a("1904"),u=a.n(r);function f(t,i,a){return i in t?u()(t,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[i]=a,t}function d(t){for(var i=1;i<arguments.length;i++){var a=null!=arguments[i]?arguments[i]:{},n=l()(a);"function"===typeof c.a&&(n=n.concat(c()(a).filter(function(t){return e()(a,t).enumerable}))),n.forEach(function(i){f(t,i,a[i])})}return t}a.d(i,"a",function(){return d})},defc:function(t,i,a){t.exports=a.p+"img/logo2.19d260fd.png"},e5df:function(t,i,a){t.exports=a("13d3")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b928682e"],{"13d3":function(t,e,a){a("0ed8"),t.exports=a("836e").Object.getOwnPropertySymbols},2259:function(t,e,a){},"3b79":function(t,e,a){"use strict";var n=a("2259"),i=a.n(n);i.a},"524c":function(t,e,a){},5710:function(t,e,a){},"57af":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("div",{staticClass:"header-page clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),a("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?a("Menu",{attrs:{color:t.color}}):t._e()],1)])},i=[],s=a("7272"),o={name:"header-page",props:{color:{type:String,default:""},title:{type:String,default:"猎芯网"},meaushow:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{historyback:function(){history.go(-1)}},components:{Menu:s["a"]}},l=o,c=(a("9f93"),a("8c9c")),r=Object(c["a"])(l,n,i,!1,null,null,null);e["a"]=r.exports},"6a0f":function(t,e,a){"use strict";var n=a("524c"),i=a.n(n);i.a},7272:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(e){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(e){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;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("会员中心")])])])}],s={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},o=s,l=(a("3b79"),a("8c9c")),c=Object(l["a"])(o,n,i,!1,null,null,null);e["a"]=c.exports},"832f":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"news-detail"},[t.newsDetailObj.current_info?a("div",[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("h1",{staticClass:"title"},[t._v(t._s(t.newsDetailObj.current_info.title))]),a("div",{staticClass:"bar"},[a("span",{staticClass:"f20"},[t._v(t._s(t.newsDetailObj.current_info.art_type_text))]),a("span",{staticClass:"f24"},[t._v("来源:")]),a("span",{staticClass:"f24"},[t._v(t._s(t.newsDetailObj.current_info.writer)+"   "+t._s(t._f("dateTimeFormate")(t.newsDetailObj.current_info.publish_time)))])]),t.newsDetailAd.news_details_ad?[t.newsDetailAd.news_details_ad.header?[a("div",{staticClass:"adbox"},[a("a",{attrs:{href:t.newsDetailAd.news_details_ad.header.url,target:t.newsDetailAd.news_details_ad.header.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.news_details_ad.header.images,alt:t.newsDetailAd.news_details_ad.header.title,width:"100%",height:"120"}})])])]:t._e()]:t._e(),a("div",{staticClass:"content-newsdetail",domProps:{innerHTML:t._s(t.newsDetailObj.current_info.body)}}),t.newsDetailAd.news_details_ad?[t.newsDetailAd.news_details_ad.footer?[a("div",{staticClass:"adbox"},[a("a",{attrs:{href:t.newsDetailAd.news_details_ad.footer.url,target:t.newsDetailAd.news_details_ad.footer.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.news_details_ad.footer.images,alt:t.newsDetailAd.news_details_ad.footer.title,width:"100%",height:"120"}})])])]:t._e()]:t._e()],2):t._e(),t.newsDetailAd.h5_news_ad_pop?[a("div",{directives:[{name:"show",rawName:"v-show",value:t.popdetailbool,expression:"popdetailbool"}],staticClass:"detail-pop"},[a("van-icon",{staticClass:"closexdetailad",attrs:{name:"close"},on:{click:function(e){return t.popdetailact()}}}),a("a",{attrs:{href:t.newsDetailAd.h5_news_ad_pop.url,target:t.newsDetailAd.h5_news_ad_pop.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:t.newsDetailAd.h5_news_ad_pop.images,alt:t.newsDetailAd.h5_news_ad_pop.title}})])],1)]:t._e(),t.loadStatus?a("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],2)},i=[],s=a("badb"),o=a.n(s),l=a("bd31"),c=a("8973"),r=a("52c1"),d=a("5101"),u=a("57af");c["a"].use(d["e"]).use(d["b"]);var f={name:"newsDetail",data:function(){return{title:"猎芯网-新闻列表详情",p:1,meaushow:!0,popdetailbool:!1}},computed:Object(l["a"])({},Object(r["b"])({newsDetailObj:function(t){return t.newsdetail.newsDetailObj},loadStatus:function(t){return t.newsdetail.loadStatus},newsDetailAd:function(t){return t.newsdetail.newsDetailAd}})),watch:{newsDetailObj:function(t){"{}"!=o()(t)&&(this.title=t.current_info.title,window.document.title=t.current_info.title)}},created:function(){this.getDataAd(),this.getData(),this.scrollFns()},methods:{getData:function(){this.$store.dispatch({type:"newsArticleDetail",art_id:this.$route.params.art_id})},getDataAd:function(){this.$store.dispatch({type:"newsArticleDetailAd",cat_id:this.$route.params.cat_id})},popdetailact:function(){this.popdetailbool=!1,this.newsDetailAd.h5_news_ad_pop=""},scrollFns:function(){var t=this;window.onscroll=function(){var e=document.documentElement.scrollTop||document.body.scrollTop;e>=100&&(t.popdetailbool=!0)}}},components:{Header:u["a"]}},_=f,p=(a("6a0f"),a("8c9c")),w=Object(p["a"])(_,n,i,!1,null,null,null);e["default"]=w.exports},"9f93":function(t,e,a){"use strict";var n=a("5710"),i=a.n(n);i.a},bd31:function(t,e,a){"use strict";var n=a("6e35"),i=a.n(n),s=a("e5df"),o=a.n(s),l=a("0ec6"),c=a.n(l),r=a("1904"),d=a.n(r);function u(t,e,a){return e in t?d()(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function f(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},n=c()(a);"function"===typeof o.a&&(n=n.concat(o()(a).filter(function(t){return i()(a,t).enumerable}))),n.forEach(function(e){u(t,e,a[e])})}return t}a.d(e,"a",function(){return f})},e5df:function(t,e,a){t.exports=a("13d3")}}]);
\ No newline at end of file
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