(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1019:function(t,e,n){"use strict";n.r(e);var r=n(4),o=n(263),c=n(1030),l=n(1087),h=n(1053),d=n(1061);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){f=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,desc){t[e]=desc.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",h=o.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,n){return t[e]=n}}function m(t,e,n,o){var c=e&&e.prototype instanceof C?e:C,l=Object.create(c.prototype),h=new I(o||[]);return r(l,"_invoke",{value:P(t,n,h)}),l}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=m;var y={};function C(){}function w(){}function x(){}var S={};d(S,c,(function(){return this}));var k=Object.getPrototypeOf,L=k&&k(k(z([])));L&&L!==e&&n.call(L,c)&&(S=L);var j=x.prototype=C.prototype=Object.create(S);function O(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){var o;r(this,"_invoke",{value:function(r,c){function l(){return new e((function(o,l){!function r(o,c,l,h){var d=_(t[o],t,c);if("throw"!==d.type){var f=d.arg,m=f.value;return m&&"object"==v(m)&&n.call(m,"__await")?e.resolve(m.__await).then((function(t){r("next",t,l,h)}),(function(t){r("throw",t,l,h)})):e.resolve(m).then((function(t){f.value=t,l(f)}),(function(t){return r("throw",t,l,h)}))}h(d.arg)}(r,c,o,l)}))}return o=o?o.then(l,l):l()}})}function P(t,e,n){var r="suspendedStart";return function(o,c){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw c;return T()}for(n.method=o,n.arg=c;;){var l=n.delegate;if(l){var h=N(l,n);if(h){if(h===y)continue;return h}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var d=_(t,e,n);if("normal"===d.type){if(r=n.done?"completed":"suspendedYield",d.arg===y)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(r="completed",n.method="throw",n.arg=d.arg)}}}function N(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var c=o.arg;return c?c.done?(e[t.resultName]=c.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,y):c:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function F(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function z(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),h=n.call(o,"finallyLoc");if(l&&h){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),F(e),y}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;F(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:z(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),y}},t}function m(t,e,n,r,o,c,l){try{var h=t[c](l),d=h.value}catch(t){return void n(t)}h.done?e(d):Promise.resolve(d).then(r,o)}var _=Object(r.Page)({name:"detail",services:["ArticleService"],components:{Crumbs:c.a,ShopItem:l.a,ArticleItem:h.a,UShare:d.a},data:function(){return{showShare:!1}},asyncData:function(t){return(e=f().mark((function e(){var n,r,c,l,h,d,v;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.query,n=t.params,r=t.service,t.redirect,c=t.returnData,l=t.log,h=n.hashid||"",d=null,e.next=5,r(o.default).queryStoryDetail(h);case 5:if(d=e.sent){e.next=9;break}return l({needRedirect:1,logType:2,logParams:{req:{hashid:h},res:{articleDetail:d}}}),e.abrupt("return");case 9:return v=[],e.next=12,r(o.default).queryOtherList(h);case 12:if(e.t0=e.sent,e.t0){e.next=15;break}e.t0=[];case 15:return v=e.t0,e.abrupt("return",c({hashid:h,articleDetail:d,otherList:v}));case 17:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var c=e.apply(t,n);function l(t){m(c,r,o,l,h,"next",t)}function h(t){m(c,r,o,l,h,"throw",t)}l(void 0)}))})();var e},computed:{path:function(){return[{tag:"index",name:"首页"},{tag:"dx",name:"成长中心"},{tag:"courseList",name:"致富故事",params:{pinyin:"zfgs"}},{name:this.articleDetail.title}]}},filters:{readNums:function(t){return console.log(t),t>1e4?"".concat((t/1e4).toFixed(1),"w"):t}}}),y=(n(1126),n(8)),component=Object(y.a)(_,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("layout",{attrs:{isShowTopTitle:"no",footBg:1,selected:100}},[e("template",{slot:"content"},[e("div",{staticStyle:{"background-color":"#FFFFFF"}},[e("div",{staticClass:"page-ctn"},[e("Crumbs",{attrs:{path:t.path}}),t._v(" "),t.articleDetail?e("div",{staticClass:"detail-ctn"},[e("div",{staticClass:"l-ctn"},[e("div",{staticClass:"detail-t"},[t._v(t._s(t.articleDetail.title))]),t._v(" "),e("div",{staticClass:"detail-i"},[e("span",{staticClass:"s1"},[t._v("成长中心 | "+t._s(t._f("readNums")(t.articleDetail.readNum))+"人阅读 ")]),t._v(" "),e("span",{staticClass:"s2"},[t._v(t._s(t.articleDetail.createTime))])]),t._v(" "),e("div",{staticClass:"detail",domProps:{innerHTML:t._s(t.articleDetail.content)}}),t._v(" "),e("div",{staticClass:"share-bg-btns",on:{click:function(e){t.showShare=!0}}},[e("i",{staticClass:"iconfont icon-fenxiang2"}),t._v("\n 分享\n\n "),e("div",{staticClass:"share-position",style:{opacity:t.showShare?1:0}},[e("u-share",{on:{closeShare:function(e){t.showShare=!1}}})],1)])]),t._v(" "),e("div",{staticClass:"r-ctn"},[t.articleDetail.shopCard?e("div",{staticClass:"r-ctn-shop"},[e("div",{staticClass:"model-t"},[t._v("Ta的店铺")]),t._v(" "),e("div",{staticClass:"r-ctn-shop-item"},[e("ShopItem",{attrs:{shop:t.articleDetail.shopCard}})],1)]):t._e(),t._v(" "),e("div",{staticClass:"other-t"},[t._v("其他致富故事")]),t._v(" "),t.otherList&&t.otherList.length?e("div",{staticClass:"other-ctn"},t._l(t.otherList,(function(n){return e("r-link",{staticClass:"other-article",attrs:{tag:"dxArticleDetail",target:"_blank",params:{id:n.uid}}},[e("div",{staticClass:"img-ctn"},[e("s-image",{attrs:{src:n.images&&n.images.length?n.images[0].imgUrl:"",alt:n.title}})],1),t._v(" "),e("div",{staticClass:"other-title"},[t._v("\n "+t._s(n.title)+"\n ")])])})),1):t._e()])]):t._e()],1)])])],2)}),[],!1,null,"ecb4e42e",null);e.default=component.exports},1025:function(t,e,n){},1029:function(t,e,n){"use strict";n(1025)},1030:function(t,e,n){"use strict";var r={name:"crumbs",props:{path:Array}},o=(n(1029),n(8)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"crumbs-bg"},[e("div",{staticClass:"crumbs-ctn"},[t._l(t.path,(function(link,i){return i1e4?"".concat((t/1e4).toFixed(1),"w"):t}}},o=(n(1042),n(8)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return t.data?e("r-link",{attrs:{tag:"dxArticleDetail",target:"_blank",params:{id:t.data.uid}}},[t.data?e("div",{staticClass:"article-item-bg"},[e("div",{staticClass:"img-ctn"},[e("s-image",{attrs:{src:t.data.images&&t.data.images.length?t.data.images[0].imgUrl:"",alt:t.data.title}})],1),t._v(" "),e("div",{staticClass:"article-ctn"},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t.data.title)+"\n ")]),t._v(" "),t.data.description&&t.isShowBtm?e("div",{staticClass:"show-text"},[t._v(t._s(t.data.description))]):t._e(),t._v(" "),t.isShowBtm?e("div",{staticClass:"btm-text"},[t._v("\n 成长中心 | "+t._s(t._f("readNums")(t.data.readNum))+"人阅读\n ")]):t._e()])]):t._e()]):t._e()}),[],!1,null,"658c5ac6",null);e.a=component.exports},1061:function(t,e,n){"use strict";var r=n(4),o=Object(r.Create)({name:"u-share",data:function(){return{link:""}},onInit:function(){this.link=this.$config.pc+this.$route.path},head:function(){return{}},methods:{jumpLink:function(t){if("weixin"!=t){var title=encodeURIComponent(""),link=encodeURIComponent(this.link),image=encodeURIComponent(""),e={tqq:"http://connect.qq.com/widget/shareqq/index.html?url="+link+"&title="+title,tsina:"http://v.t.sina.com.cn/share/share.php?url="+link+"&title="+title+"&content=utf8&pic="+image,qzone:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+link+"&title="+title+"&pics="+image};window.open(e[t])}},closeShare:function(){this.$emit("closeShare")},copy:function(){var input=document.createElement("input");document.body.appendChild(input),input.setAttribute("value",this.link),input.select(),document.execCommand("copy")&&(document.execCommand("copy"),this.$toast("复制成功")),document.body.removeChild(input)}}}),c=(n(1063),n(8)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"share-bg"},[t._m(0),t._v(" "),e("div",{staticClass:"share-bg-t"},[e("div",{staticClass:"l-d"},[t._v("分享至")]),t._v(" "),e("div",{staticClass:"r-d",on:{click:function(e){return e.stopPropagation(),t.closeShare.apply(null,arguments)}}},[e("i",{staticClass:"iconfont icon-guanbi"})])]),t._v(" "),e("div",{staticClass:"bshare-custom"},[e("div",{staticClass:"share-item",on:{click:function(e){return t.jumpLink("tqq")}}},[e("div",{staticClass:"share-img tqq"}),t._v(" "),e("div",{staticClass:"s1"},[t._v("QQ")])]),t._v(" "),e("div",{staticClass:"share-item",on:{click:function(e){return t.jumpLink("tsina")}}},[e("div",{staticClass:"share-img tsina"}),t._v(" "),e("div",{staticClass:"s1"},[t._v("微博")])]),t._v(" "),e("div",{staticClass:"share-item",on:{click:function(e){return t.jumpLink("qzone")}}},[e("div",{staticClass:"share-img qzone"}),t._v(" "),e("div",{staticClass:"s1"},[t._v("QQ空间")])])]),t._v(" "),e("div",{staticClass:"btm-link"},[e("div",{staticClass:"page-link"},[t._v(t._s(t.link))]),t._v(" "),e("div",{staticClass:"copy-btn",on:{click:function(e){return t.copy()}}},[t._v("\n 复制链接\n ")])])])}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"jiao"},[t("i",{staticClass:"iconfont icon-shangsanjiaoxing"})])}],!1,null,"a30a3d38",null);e.a=component.exports},1062:function(t,e,n){"use strict";n(1041)},1063:function(t,e,n){"use strict";n(1043)},1087:function(t,e,n){"use strict";var r=n(4),o=(n(262),Object(r.Create)({name:"shop-item",services:["CourseService"],props:{shop:{type:Object,default:{}}},onInit:function(){},data:function(){return{showCode:!1,codeSrc:""}},methods:{queryCode:function(){var t=this;this.codeSrc?this.showCode=!0:this.$service.course.getStoreCode(this.shop.hnUserId).then((function(e){t.codeSrc=e,t.showCode=!0}))}}})),c=(n(1062),n(8)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return t.shop?e("div",{staticClass:"shop-item-bg"},[e("div",{staticClass:"shop-t"},[e("div",{staticClass:"shop-head"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.shop.headPic,expression:"shop.headPic"}],attrs:{type:"avatar",src:"",alt:""}})]),t._v(" "),e("div",{staticClass:"shop-name"},[t._v(t._s(t.shop.shopName))])]),t._v(" "),t.shop.identityList&&t.shop.identityList.length?e("div",{staticClass:"text-item"},[t._v("身份认证:\n "),t._l(t.shop.identityList,(function(r){return e("div",{staticClass:"icon-bg"},[1==r.orderSeq?e("img",{staticClass:"icon",attrs:{src:n(1038)}}):t._e(),t._v(" "),2==r.orderSeq?e("img",{staticClass:"icon",attrs:{src:n(1039)}}):t._e(),t._v(" "),3==r.orderSeq?e("img",{staticClass:"icon",attrs:{src:n(1040)}}):t._e(),t._v(" "),4==r.orderSeq?e("img",{staticClass:"icon",attrs:{src:"http://www.lianlianny.com/agricprod/lib/files/shop/qyrz.png"}}):t._e()])}))],2):t._e(),t._v(" "),t.shop.manageAddress?e("div",{staticClass:"text-item"},[t._v("所在地区:"+t._s(t.shop.manageAddress))]):t._e(),t._v(" "),t.shop.categorys?e("div",{staticClass:"text-item"},[t._v("经营类目:"+t._s(t.shop.categorys))]):t._e(),t._v(" "),e("div",{staticClass:"btm-ctn"},[e("r-link",{attrs:{tag:t.shop.memberFlag?"vipShop":"shop",target:"_blank",params:{id:t.shop.hnUserId}}},[e("div",{staticClass:"l-btn"},[t._v("\n 进店逛逛\n ")])]),t._v(" "),e("div",{staticClass:"r-btn",on:{mouseover:t.queryCode,mouseleave:function(e){t.showCode=!1}}},[t._v("\n 店铺二维码\n ")])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showCode,expression:"showCode"}],staticClass:"code-ctn"},[e("div",{staticClass:"qr-text"},[t._v("扫一扫访问手机店铺")]),t._v(" "),t.codeSrc?e("div",{staticClass:"qr-bg"},[e("img",{attrs:{src:t.codeSrc}})]):t._e()])]):t._e()}),[],!1,null,"367f2dcd",null);e.a=component.exports},1093:function(t,e,n){},1126:function(t,e,n){"use strict";n(1093)}}]);