Commit cff89bf3 by 梁建民

js

parent be517701
......@@ -37,7 +37,7 @@ const mutations = {
state.walletInfoData = payload.data;
},
sendSafesms(state, payload) {
state.showImgCode = true;
state.showImgCode = payload.countDownFlag;
state.countDownFlag = payload.countDownFlag
},
verifyResetsms(state, payload) {
......@@ -69,7 +69,7 @@ const mutations = {
},
payTodo(state, payload) {
state.rechargeWithdrawOrderDetail = payload.data
},
}
}
const actions = {
......@@ -153,6 +153,10 @@ const actions = {
});
},
sendSafesms({commit}, payload) {
Toast.loading({
message: '处理中...'
});
var params = {
verify: payload.imgCode,
channel: 3
......@@ -167,16 +171,17 @@ const actions = {
});
commit({
type: 'sendSafesms',
countDownFlag: true
countDownFlag: false
});
} else if (data.err_code == 23019) { //请确认图形验证码
} else if (data.err_code == 23019) {
//请确认图形验证码
Toast({
message: data.err_msg,
duration: 2000
});
commit({
type: 'sendSafesms',
countDownFlag: false
countDownFlag: true
});
} else {
Toast({
......@@ -185,7 +190,7 @@ const actions = {
});
}
}).catch(function (err) {
Toast.clear();
});
},
verifyResetsms({commit}, payload) {
......@@ -317,10 +322,18 @@ const actions = {
setTimeout(function () {
window.location.href = "/h5/view/#/wallet/bind";
}, 2000)
} else if (data.err_code == 11030) {
Toast({
message: data.err_msg,
duration: 2000
});
setTimeout(() => {
window.location.href = '/h5/view/#/';
}, 2000)
} else {
Toast({
message: data.err_msg,
duration: 3000
duration: 200
});
}
}).catch(function (err) {
......@@ -504,7 +517,7 @@ const actions = {
}).catch(function (err) {
});
},
}
}
const getters = {}
......
<template>
<section>
<section class="head-dom">
<div class="header-page clr">
<i class="icon iconfont icon-xiangzuo fl" @click="historyback"></i>
<h3 class="title fl">{{title}}</h3>
<Menu v-if="meaushow" :color="color"></Menu>
<Menu v-if="meaushow" :color="color"></Menu>
</div>
</section>
</template>
<script>
import Menu from '@/views/common/Menu.vue';
export default {
import Menu from '@/views/common/Menu.vue';
export default {
name: 'header-page',
props: {
color: {
......@@ -20,23 +21,21 @@ export default {
type: String,
default: '猎芯网'
},
meaushow:{
meaushow: {
type: Boolean,
default: false
}
},
data() {
return {
}
return {}
},
mounted() {
},
methods: {
historyback:function(){
history.go(-1)
}
historyback: function () {
history.go(-1)
}
},
components: {
Menu
......@@ -44,19 +43,37 @@ export default {
}
</script>
<style lang="scss">
body{padding-top:40px;}
.header-page{
<style lang="scss" scoped>
.head-dom {
padding-top: 40px;
height:40px;
width:100%;
padding: 0 0.2rem;
position:fixed;
z-index: 998;
top:0;
background:#fafafa;
i{font-size:18px;margin-top:10px;color:#666}
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:0px 10%!important;}
}
.header-page {
height: 40px;
width: 100%;
padding: 0 0.2rem;
position: fixed;
z-index: 998;
top: 0;
background: #fafafa;
i {
font-size: 18px;
margin-top: 10px;
color: #666
}
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: 0px 10% !important;
}
}
}
</style>
.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
.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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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
.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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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}.head-dom[data-v-3efd14ca]{padding-top:40px}.head-dom .header-page[data-v-3efd14ca]{height:40px;width:100%;padding:0 .2rem;position:fixed;z-index:998;top:0;background:#fafafa}.head-dom .header-page i[data-v-3efd14ca]{font-size:18px;margin-top:10px;color:#666}.head-dom .header-page h3[data-v-3efd14ca]{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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a2ea83e"],{"3b79":function(t,n,a){"use strict";var i=a("db41"),o=a.n(i);o.a},"57af":function(t,n,a){"use strict";var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;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)])},o=[],s=a("7272"),e={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"]}},c=e,l=(a("9f93"),a("fc05")),r=Object(l["a"])(c,i,o,!1,null,null,null);n["a"]=r.exports},7272:function(t,n,a){"use strict";var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(n){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(n){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},o=[function(){var t=this,n=t.$createElement,a=t._self._c||n;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}}},e=s,c=(a("3b79"),a("fc05")),l=Object(c["a"])(e,i,o,!1,null,null,null);n["a"]=l.exports},"9f93":function(t,n,a){"use strict";var i=a("fe55"),o=a.n(i);o.a},db41:function(t,n,a){},fe55:function(t,n,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30664260"],{"1a47":function(t,e,a){},"2e96":function(t,e,a){var s=a("9c9a"),n=s.JSON||(s.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},"3b79":function(t,e,a){"use strict";var s=a("db41"),n=a.n(s);n.a},"57af":function(t,e,a){"use strict";var s=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)])},n=[],i=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:i["a"]}},l=o,c=(a("9f93"),a("fc05")),r=Object(c["a"])(l,s,n,!1,null,null,null);e["a"]=r.exports},"6a0f":function(t,e,a){"use strict";var s=a("1a47"),n=a.n(s);n.a},7272:function(t,e,a){"use strict";var s=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()])])},n=[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("会员中心")])])])}],i={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},o=i,l=(a("3b79"),a("fc05")),c=Object(l["a"])(o,s,n,!1,null,null,null);e["a"]=c.exports},"832f":function(t,e,a){"use strict";a.r(e);var s=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){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)},n=[],i=a("badb"),o=a.n(i),l=a("bd31"),c=a("1cc5"),r=a("52c1"),d=a("01c5"),u=a("57af");c["a"].use(d["h"]).use(d["e"]);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("fc05")),w=Object(p["a"])(_,s,n,!1,null,null,null);e["default"]=w.exports},"9f93":function(t,e,a){"use strict";var s=a("fe55"),n=a.n(s);n.a},badb:function(t,e,a){t.exports=a("2e96")},db41:function(t,e,a){},fe55:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3be59844"],{2536: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:"news"},[a("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),a("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,function(i,n){return a("van-swipe-item",{key:n},[a("a",{attrs:{href:t._f("urlPatg")(i.url,"news-banner-"+(n+1)),target:i.window_open>0?"_blank":"_self"}},[a("img",{attrs:{src:i.images,height:"100%",width:"100%"}})])])}),1),t.cat_list.length>0?a("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,function(i,n){return a("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(i){t.tab(n)}}},[t._v("\n "+t._s(i.cat_name)+"\n ")])}),0):t._e(),a("ul",{staticClass:"listBox clr"},[a("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.content_list,function(i,n){return a("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+i.art_id+"/"+i.cat_id}}},[a("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[a("img",{attrs:{"data-src":i.litpic,alt:i.title,"data-error":"static/images/news.png"}})]),a("div",{staticClass:"boxgrt"},[a("h1",{staticClass:"title"},[t._v(t._s(i.title))]),a("p",{staticClass:"titleLook clearfix"},[a("span",{staticClass:"fl"},[t._v(t._s(i.writer))]),a("span",{staticClass:"fr"},[t._v(t._s(i.click)+"浏览")])])])])}),1)],1),a("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?a("div",{staticClass:"backtop"},[a("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},s=[],e=a("bd31"),c=a("1cc5"),o=a("52c1"),l=a("01c5"),r=a("57af");c["a"].use(l["n"]).use(l["o"]).use(l["f"]).use(l["g"]);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 i=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=i>=300}}},components:{Header:r["a"]}},f=u,d=(a("9c9e"),a("fc05")),h=Object(d["a"])(f,n,s,!1,null,"88b86944",null);i["default"]=h.exports},"3b79":function(t,i,a){"use strict";var n=a("db41"),s=a.n(n);s.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)])},s=[],e=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:e["a"]}},o=c,l=(a("9f93"),a("fc05")),r=Object(l["a"])(o,n,s,!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()])])},s=[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("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,o=(a("3b79"),a("fc05")),l=Object(o["a"])(c,n,s,!1,null,null,null);i["a"]=l.exports},"9c9e":function(t,i,a){"use strict";var n=a("ef17"),s=a.n(n);s.a},"9f93":function(t,i,a){"use strict";var n=a("fe55"),s=a.n(n);s.a},db41:function(t,i,a){},ef17:function(t,i,a){},fe55:function(t,i,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-411c813f"],{"1a47":function(t,e,a){},"2e96":function(t,e,a){var s=a("9c9a"),i=s.JSON||(s.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},"3b79":function(t,e,a){"use strict";var s=a("db41"),i=a.n(s);i.a},"57af":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"head-dom"},[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=[],n=(a("9f07"),a("0964"),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:n["a"]}},l=o,c=(a("7afb"),a("fc05")),r=Object(c["a"])(l,s,i,!1,null,"3efd14ca",null);e["a"]=r.exports},"62ad":function(t,e,a){},"6a0f":function(t,e,a){"use strict";var s=a("1a47"),i=a.n(s);i.a},7272:function(t,e,a){"use strict";var s=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("会员中心")])])])}],n={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},o=n,l=(a("3b79"),a("fc05")),c=Object(l["a"])(o,s,i,!1,null,null,null);e["a"]=c.exports},"7afb":function(t,e,a){"use strict";var s=a("62ad"),i=a.n(s);i.a},"832f":function(t,e,a){"use strict";a.r(e);var s=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){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=[],n=a("badb"),o=a.n(n),l=a("bd31"),c=a("1cc5"),r=a("52c1"),d=a("01c5"),u=a("57af");c["a"].use(d["h"]).use(d["e"]);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("fc05")),w=Object(p["a"])(_,s,i,!1,null,null,null);e["default"]=w.exports},badb:function(t,e,a){t.exports=a("2e96")},db41:function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-61476b42"],{"3b79":function(t,i,a){"use strict";var s=a("db41"),n=a.n(s);n.a},"57af":function(t,i,a){"use strict";var s=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)])},n=[],e=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:e["a"]}},l=c,o=(a("9f93"),a("fc05")),r=Object(o["a"])(l,s,n,!1,null,null,null);i["a"]=r.exports},7272:function(t,i,a){"use strict";var s=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()])])},n=[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("会员中心")])])])}],e={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=e,l=(a("3b79"),a("fc05")),o=Object(l["a"])(c,s,n,!1,null,null,null);i["a"]=o.exports},"7fca":function(t,i,a){},"93db":function(t,i,a){"use strict";var s=a("7fca"),n=a.n(s);n.a},"9f93":function(t,i,a){"use strict";var s=a("fe55"),n=a.n(s);n.a},bd04:function(t,i,a){"use strict";a.r(i);var s=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")}},[a("span",[t._v("活动 | ")]),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,s){return a("div",{key:s,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)},n=[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"banner-header clr"},[s("div",{staticClass:"banner-img fl"},[s("img",{attrs:{src:a("defc")}})]),s("div",{staticClass:"banner-title fl"},[t._v("猎芯网")])])}],e=a("bd31"),c=a("1cc5"),l=a("52c1"),o=a("01c5"),r=a("57af");c["a"].use(o["g"]);var f={name:"wxlist",data:function(){return{page:0,limit:6,loading:!1}},computed:Object(e["a"])({},Object(l["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"]}},u=f,d=(a("93db"),a("fc05")),h=Object(d["a"])(u,s,n,!1,null,"2cd2f384",null);i["default"]=h.exports},db41:function(t,i,a){},defc:function(t,i,a){t.exports=a.p+"img/logo2.19d260fd.png"},fe55:function(t,i,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6199b240"],{"3b79":function(t,a,i){"use strict";var s=i("db41"),n=i.n(s);n.a},"57af":function(t,a,i){"use strict";var s=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}}),i("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?i("Menu",{attrs:{color:t.color}}):t._e()],1)])},n=[],e=(i("9f07"),i("0964"),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"]}},l=c,o=(i("7afb"),i("fc05")),r=Object(o["a"])(l,s,n,!1,null,"3efd14ca",null);a["a"]=r.exports},"62ad":function(t,a,i){},7272:function(t,a,i){"use strict";var s=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()])])},n=[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,l=(i("3b79"),i("fc05")),o=Object(l["a"])(c,s,n,!1,null,null,null);a["a"]=o.exports},"7afb":function(t,a,i){"use strict";var s=i("62ad"),n=i.n(s);n.a},"7fca":function(t,a,i){},"93db":function(t,a,i){"use strict";var s=i("7fca"),n=i.n(s);n.a},bd04:function(t,a,i){"use strict";i.r(a);var s=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("section",{staticClass:"wxlist"},[i("Header"),i("div",{staticClass:"wxlist-content"},[i("div",{staticClass:"menu-title"},[t._v(t._s(t.wechatArticle.menu))]),t.wechatArticle.top?i("div",{staticClass:"wxlist-banner"},[i("div",{staticClass:"banner-box"},[t._m(0),i("div",{staticClass:"banner-body"},[i("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[i("img",{attrs:{alt:t.wechatArticle.top.title,src:t.wechatArticle.top.img}})])]),i("div",{staticClass:"banner-footer"},[i("a",{attrs:{href:t._f("urlPatg")(t.wechatArticle.top.url,"wechatlist")}},[i("span",[t._v("活动 | ")]),t._v(t._s(t.wechatArticle.top.title))])])])]):t._e(),i("div",{staticClass:"wxlist-data"},[i("div",{staticClass:"wxlist-data-box"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,offset:10,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.wechatArticleList,function(a,s){return i("div",{key:s,staticClass:"data-group clr"},[i("a",{attrs:{href:t._f("urlPatg")(a.url,"wechatlist")}},[i("div",{staticClass:"group-left fl"},[i("div",{staticClass:"group-left-box"},[t._v("\n "+t._s(a.title)+"\n ")])]),i("img",{staticClass:"group-right fr",attrs:{src:a.img}})])])}),0)],1)])])],1)},n=[function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"banner-header clr"},[s("div",{staticClass:"banner-img fl"},[s("img",{attrs:{src:i("defc")}})]),s("div",{staticClass:"banner-title fl"},[t._v("猎芯网")])])}],e=i("bd31"),c=i("1cc5"),l=i("52c1"),o=i("01c5"),r=i("57af");c["a"].use(o["g"]);var f={name:"wxlist",data:function(){return{page:0,limit:6,loading:!1}},computed:Object(e["a"])({},Object(l["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"]}},u=f,d=(i("93db"),i("fc05")),h=Object(d["a"])(u,s,n,!1,null,"2cd2f384",null);a["default"]=h.exports},db41:function(t,a,i){},defc:function(t,a,i){t.exports=i.p+"img/logo2.19d260fd.png"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74b6e450"],{"3b79":function(t,a,n){"use strict";var i=n("db41"),o=n.n(i);o.a},"57af":function(t,a,n){"use strict";var i=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("section",{staticClass:"head-dom"},[n("div",{staticClass:"header-page clr"},[n("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:t.historyback}}),n("h3",{staticClass:"title fl"},[t._v(t._s(t.title))]),t.meaushow?n("Menu",{attrs:{color:t.color}}):t._e()],1)])},o=[],s=(n("9f07"),n("0964"),n("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"]}},e=c,l=(n("7afb"),n("fc05")),r=Object(l["a"])(e,i,o,!1,null,"3efd14ca",null);a["a"]=r.exports},"62ad":function(t,a,n){},7272:function(t,a,n){"use strict";var i=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("div",[t.flag?n("div",{staticClass:"menu-fade",on:{click:function(a){t.flag=!1}}}):t._e(),n("div",{staticClass:"menu clr"},[n("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(a){t.flag=!t.flag}}}),t.flag?n("div",[n("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},o=[function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("ul",{staticClass:"menu-view"},[n("li",[n("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),n("li",[n("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),n("li",[n("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),n("li",[n("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),n("li",{staticClass:"mui-table-view-cell "},[n("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),n("li",[n("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[n("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],s={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},c=s,e=(n("3b79"),n("fc05")),l=Object(e["a"])(c,i,o,!1,null,null,null);a["a"]=l.exports},"7afb":function(t,a,n){"use strict";var i=n("62ad"),o=n.n(i);o.a},db41:function(t,a,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-aa726976"],{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){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("bd31"),c=i("1cc5"),o=i("52c1"),l=i("01c5"),r=i("57af");c["a"].use(l["n"]).use(l["o"]).use(l["f"]).use(l["g"]);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("fc05")),h=Object(d["a"])(f,n,s,!1,null,"88b86944",null);a["default"]=h.exports},"3b79":function(t,a,i){"use strict";var n=i("db41"),s=i.n(n);s.a},"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}}),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("9f07"),i("0964"),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("7afb"),i("fc05")),r=Object(l["a"])(o,n,s,!1,null,"3efd14ca",null);a["a"]=r.exports},"62ad":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("fc05")),l=Object(o["a"])(c,n,s,!1,null,null,null);a["a"]=l.exports},"7afb":function(t,a,i){"use strict";var n=i("62ad"),s=i.n(n);s.a},"9c9e":function(t,a,i){"use strict";var n=i("ef17"),s=i.n(n);s.a},db41:function(t,a,i){},ef17:function(t,a,i){}}]);
\ 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