text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-college-details"],{"0749":function(t,e,i){"use strict";var a,o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showpage?i("v-uni-view",[i("uni-top-bar",{attrs:{title:t.toptitle}}),i("v-uni-view",{staticClass:"hongren bg-fff",style:{top:t.height+43+"px"}},[i("v-uni-view",{staticClass:"count"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.content.title))]),i("v-uni-view",{staticClass:"time"},[t._l(t.content.type,(function(e,a){return i("v-uni-view",{key:a,staticClass:"cu-tag round bg-orange light"},[1==e?i("span",[t._v("#抖音")]):t._e(),0==e?i("span",[t._v("#快手")]):t._e()])})),i("v-uni-view",{staticClass:"cu-tag round light bg-grey"},[t._v(t._s(t.content.category))]),i("v-uni-view",{staticClass:"hits"},[t._v(t._s(t.content.views)+"人已学习")])],2),t.content.sharecontent?i("v-uni-view",{staticClass:"card"},[i("v-uni-view",{staticClass:"quote"},[i("img",{attrs:{src:"https://www.hongrensutui.com/uploads/share/quote.png",mode:"widthFix"}})]),i("v-uni-view",{staticClass:"sharecontent"},[t._v(t._s(t.content.sharecontent))])],1):i("v-uni-view",{staticClass:"card"},[i("v-uni-view",{staticClass:"quote"},[i("img",{attrs:{src:"https://www.hongrensutui.com/uploads/share/quote.png",mode:"widthFix"}})]),i("v-uni-view",{staticClass:"sharecontent"},[t._v("红人速推学院是抖音、快手指定线上学习平台；学院涵盖抖音、快手策略打法，为业界输出专业的营销课程。")])],1),i("v-uni-view",{staticClass:"data"},[t.content.file?i("v-uni-view",[1==t.content.free||8==t.content.article_card_id||t.content.categoryfree||t.content.articlefree?i("v-uni-view",{staticClass:"tip",staticStyle:{border:"none"}}):i("v-uni-view",{staticClass:"tip"},[i("span",{staticClass:"lg text-gray cuIcon-lock"}),i("span",{staticClass:"tipname"},[t._v("您需要加入"+t._s(t.content.category)+"，才能下载！")])]),1==t.content.free||8==t.content.article_card_id||t.content.categoryfree||t.content.articlefree?i("v-uni-view",{staticClass:"flie",staticStyle:{"margin-top":"0"}},[i("a",{staticStyle:{color:"#333"},attrs:{href:t.content["file"],target:"_blank"}},[i("img",{staticClass:"flie_img",attrs:{src:t._f("flie_txt")(t.content["file"]),mode:"widthFix"}}),i("v-uni-view",{staticClass:"flie_name"},[t._v(t._s(t._f("flie_name")(t.content.file))),i("span",{staticClass:"lg text-gray cuIcon-unlock"})])],1)]):i("v-uni-view",{staticClass:"flie"},[i("img",{staticClass:"flie_img",attrs:{src:t._f("flie_txt")(t.content["file"]),mode:"widthFix"}}),i("v-uni-view",{staticClass:"flie_name"},[t._v(t._s(t._f("flie_name")(t.content.file))),i("span",{staticClass:"lg text-gray cuIcon-lock"})])],1)],1):t._e(),i("v-uni-view",{domProps:{innerHTML:t._s(t.content.content)}}),i("img",{class:t.content.file?"hide":"show",attrs:{src:"https://www.hongrensutui.com/h5/img/news/news_logo_750_right.png",mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"follow solid-top text-center"},[i("v-uni-view",{staticClass:"fabulous solid",class:t.fab?"active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.fabulous.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"iconfont"},[t._v("")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(t.content.fabulous))])],1),i("v-uni-view",{staticClass:"encourage"},[t._v("觉得不错，鼓励一下")])],1)],1)],1),0==t.free?i("v-uni-view",{staticClass:"free",style:{top:t.height+43+"px"}},[i("v-uni-view",{staticClass:"title"},[t._v("付费后继续查看")]),i("v-uni-view",{staticClass:"tip_down"},[i("img",{attrs:{src:"https://www.hongrensutui.com/uploads/share/tip_down.png",mode:"widthFix"}})])],1):t._e(),0==t.free?i("v-uni-view",{staticClass:"cu-bar tabbar bg-white shadow foot"},[i("v-uni-view",{staticClass:"customer round shadow text-center"},[i("v-uni-view",{staticClass:"bottombtn clearfix"},[i("v-uni-view",{staticClass:"offerbtn",attrs:{"data-target":"Modal"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.categorymember(t.content.pid)}}},[t._v(t._s(t._f("numFilter")(t.category_price))+" 购买此栏目")]),i("v-uni-view",{staticClass:"custbtn",attrs:{"data-target":"Image"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cardmember.apply(void 0,arguments)}}},[t._v(t._s(t._f("numFilter")(t.member.discountedprice))+" 全站免费看")])],1)],1)],1):t._e()],1):t._e()},n=[];i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}))},"0f5e":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uniTopBar",props:{barid:{type:Number,default:0},title:{type:String},xueyuan:{type:String}},data:function(){return{modalName:"",loginbtn:"立即登录",height:"",img:!1,left:"",logo_right:""}},mounted:function(){this.height=this.StatusBar,1==this.barid?(this.left="3vw",this.logo_right="27vw"):(this.left="11vw",this.logo_right="32vw"),this.img=!0},methods:{navigateBack:function(){uni.navigateBack()}}};e.default=a},1148:function(t,e,i){"use strict";var a=i("a691"),o=i("1d80");t.exports="".repeat||function(t){var e=String(o(this)),i="",n=a(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(i+=e);return i}},"2edc":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".hongren[data-v-f26f761e]{bottom:0}.count[data-v-f26f761e]{padding:5vw 3vw}.title[data-v-f26f761e]{color:#333;font-size:5vw;font-weight:700}.time[data-v-f26f761e]{color:#666;font-size:3.6vw;padding:3vw 0}.time .hits[data-v-f26f761e]{float:right}.time .hits .iconfont[data-v-f26f761e]{font-size:3.5vw;margin-left:1vw;color:#6c757d}.card[data-v-f26f761e]{padding:2vw;line-height:6vw;background-color:#f7f7f7;border-top:2px #333 solid;display:-webkit-box;display:-webkit-flex;display:flex;color:#666;-webkit-justify-content:space-around;justify-content:space-around}.card .quote[data-v-f26f761e]{width:5vw;height:5vw;margin-right:2vw}.card .quote img[data-v-f26f761e]{width:100%}.card .sharecontent[data-v-f26f761e]{font-size:4vw;-webkit-box-flex:1;-webkit-flex:1;flex:1}.data[data-v-f26f761e]{color:#666;font-size:4.3vw;line-height:7vw;padding:3vw 0}.data img[data-v-f26f761e]{width:100%;border-radius:1.5vw}.data[data-v-f26f761e] img{margin-top:1.5vw;border-radius:1.5vw}.follow[data-v-f26f761e]{padding-top:6vw;padding-bottom:4vw}.fabulous[data-v-f26f761e]{width:16vw;height:16vw;left:50%;margin-left:-8vw;border-radius:50%;padding-top:3vw}.fabulous .iconfont[data-v-f26f761e]{font-size:6vw;color:#ccc}.fabulous .num[data-v-f26f761e]{font-size:3.2vw;margin-top:1vw;color:#777}.fabulous.active[data-v-f26f761e]{border:1px solid #f37b1d}.fabulous.active .num[data-v-f26f761e],\n.fabulous.active .iconfont[data-v-f26f761e]{color:#f37b1d}.encourage[data-v-f26f761e]{color:#999;margin-top:3vw;font-size:3.4vw}.free[data-v-f26f761e]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;overflow-y:scroll;overflow-x:hidden;-webkit-transform:translateZ(0);transform:translateZ(0);background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,0),hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.2) 50%,hsla(0,0%,100%,.4) 55%,hsla(0,0%,100%,.6) 60%,hsla(0,0%,100%,.8) 65%,#fff 80%,#fff);background-image:linear-gradient(180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,0) 40%,hsla(0,0%,100%,.2) 50%,hsla(0,0%,100%,.4) 55%,hsla(0,0%,100%,.6) 60%,hsla(0,0%,100%,.8) 65%,#fff 80%,#fff);padding-top:70vh}.free .tip_down[data-v-f26f761e]{text-align:center}.free .tip_down img[data-v-f26f761e]{width:8vw}.free .title[data-v-f26f761e]{margin:3vw auto;font-size:4vw;width:50vw;padding:2vw 3vw;text-align:center;color:#ffb148;border:1px #ffce6e solid;background-color:#fef5eb;border-radius:1.5vw}.member[data-v-f26f761e]{width:100vw;height:36vw;padding:0 3vw;overflow-x:scroll}.member-swiper[data-v-f26f761e]{width:200vw}.member .item[data-v-f26f761e]{float:left}.member .item .tab[data-v-f26f761e]{padding:3vw;width:29.2vw;height:30vw;background-color:rgba(231,235,237,.3);margin-right:3vw;border:1px solid #e7ebed;box-shadow:1px 1px 4px rgba(231,235,237,.2);border-radius:1.5vw;position:relative;overflow:hidden}.member .item .tab.active[data-v-f26f761e]{background-color:rgba(250,219,217,.3);border:1px solid #fadbd9;box-shadow:1px 1px 2px rgba(229,77,66,.1)}.member .item .tab .name[data-v-f26f761e]{font-size:3.5vw;padding-top:1vw;text-align:center;font-weight:600;color:#333}.member .item .tab .rate[data-v-f26f761e]{position:absolute;top:0;right:0;background-color:#e71d36;color:#fff;font-size:2.6vw;padding:0 1vw;border-bottom-left-radius:1.5vw}.member .item .tab .price[data-v-f26f761e]{color:red;padding-top:4vw;text-align:center;font-size:5.6vw;font-weight:700}.member .item .tab .price span[data-v-f26f761e]{font-weight:700;font-size:3.5vw}.member .item .tab .average[data-v-f26f761e]{text-align:center;font-size:3vw;padding-bottom:5vw}.member .item .tab .average.fracture[data-v-f26f761e]{padding-bottom:0}.member .item .tab .cost-price[data-v-f26f761e]{font-size:3vw;text-align:center;height:6vw;line-height:6vw;text-decoration:line-through}.flie[data-v-f26f761e]{margin-top:3vw;margin-bottom:1.5vw}.flie .flie_img[data-v-f26f761e]{width:14vw;height:14vw;margin:0!important;display:inline-block;border-top-left-radius:1.5vw!important;border-bottom-left-radius:1.5vw!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important;vertical-align:top}.flie .flie_name[data-v-f26f761e]{padding:2vw;font-size:3.5vw;width:58vw;height:14vw;line-height:5vw;display:inline-block;background-color:#efefef;border-top-right-radius:1.5vw;border-bottom-right-radius:1.5vw;position:relative}.flie span[data-v-f26f761e]{position:absolute;font-size:4vw;right:2vw;bottom:1vw}.tip[data-v-f26f761e]{\n\t/* margin-top: 3vw; */width:100%;color:#ffb148;border:1px #ffce6e solid;background-color:#fef5eb;border-radius:1.5vw;padding:0 4vw}.tip .cuIcon-lock[data-v-f26f761e]{color:#ffb148;margin-right:2vw;font-size:4vw;font-weight:700}.tip .tipname[data-v-f26f761e]{font-size:3.5vw;line-height:12vw}.cu-bar.foot[data-v-f26f761e]{z-index:199}.cu-bar.foot[data-v-f26f761e]{position:fixed;bottom:0;left:0;right:0;width:100%;height:50px;min-height:50px;z-index:200;-webkit-transform:translateZ(0);transform:translateZ(0)}.cu-bar.foot .text-red[data-v-f26f761e]{color:#e71d36}.cu-bar.foot .text-gray[data-v-f26f761e]{color:#9eb3c2}.cu-bar.foot.tabbar.shadow[data-v-f26f761e]{box-shadow:0 -1px 2px rgba(26,26,26,.1)}.customer[data-v-f26f761e]{height:10vw;line-height:10vw;margin:auto;font-size:4vw;text-align:center;z-index:9990}.customer .bottombtn[data-v-f26f761e]{width:94vw;height:100%;margin:auto;color:#fff;border-radius:10vw}.customer .bottombtn .offerbtn[data-v-f26f761e]{width:50%;float:left;background-color:#203c60;border-top-left-radius:1.5vw;border-bottom-left-radius:1.5vw}.customer .bottombtn .custbtn[data-v-f26f761e]{width:50%;float:left;background-color:#e71d36;border-top-right-radius:1.5vw;border-bottom-right-radius:1.5vw}",""]),t.exports=e},"408a":function(t,e,i){var a=i("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=a(t))throw TypeError("Incorrect invocation");return+t}},6687:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){this.mescroll.resetUpScroll()},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},o=a;e.default=o},"811f":function(t,e,i){"use strict";i.r(e);var a=i("c5a0"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"83cd":function(t,e,i){"use strict";var a,o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cu-bar bg-white",style:{height:t.height+44+"px",paddingTop:t.height+"px"}},[t.xueyuan?i("span",{staticStyle:{width:"100vw",height:"44px","vertical-align":"bottom"}},[i("img",{staticClass:"logo_left",style:{top:t.height+7+"px",left:t.left},attrs:{src:t.xueyuan}}),t.img?i("img",{staticClass:"logo_right",style:{top:t.height+2+"px",left:t.logo_right},attrs:{src:"https://www.hongrensutui.com/h5/img/logo_right.png"}}):t._e()]):t._e(),t.xueyuan?t._e():i("span",{staticStyle:{width:"100vw",height:"44px","vertical-align":"bottom"}},[1!=t.barid?i("span",[t.title?i("span",{style:{marginLeft:t.left,color:"#fff",fontSize:"4vw",lineHeight:"45px"}},[t._v(t._s(t.title))]):i("span",{style:{marginLeft:t.left,color:"#fff",fontSize:"4vw",lineHeight:"45px"}},[t._v("红人速推")])]):t._e(),t.img&&1==t.barid?i("img",{staticClass:"logo_left",style:{top:t.height+7+"px",left:t.left},attrs:{src:"https://www.hongrensutui.com/h5/img/logo_left.png"}}):t._e(),t.img&&1==t.barid?i("img",{staticClass:"logo_right",style:{top:t.height+2+"px",left:t.logo_right},attrs:{src:"https://www.hongrensutui.com/h5/img/logo_right.png"}}):t._e(),t.img&&1!=t.barid?i("img",{staticClass:"logo_right",style:{top:t.height+2+"px",left:t.logo_right},attrs:{src:"https://www.hongrensutui.com/h5/img/logo_right2.png"}}):t._e()])])},n=[];i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}))},"9b8e":function(t,e,i){"use strict";i.r(e);var a=i("0f5e"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},a6db:function(t,e,i){"use strict";i.r(e);var a=i("0749"),o=i("811f");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("bbb8");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"f26f761e",null,!1,a["a"],r);e["default"]=c.exports},aa9f:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'.auth[data-v-9df7cb58]{width:80vw;height:80vw;border-radius:1.5vw;background-color:#fff}.auth .title[data-v-9df7cb58]{color:#333;font-size:5vw;line-height:12vw;border-bottom:1px solid #efefef}.auth .logo[data-v-9df7cb58]{width:18vw;height:18vw;margin:6vw auto}.auth .logo img[data-v-9df7cb58]{width:100%;height:100%;border-radius:1.5vw}.auth .tip1[data-v-9df7cb58]{padding:0 5vw;text-align:left;color:#333;font-size:4.5vw;line-height:8vw}.auth .tip2[data-v-9df7cb58]{padding:0 5vw;text-align:left;color:#999;font-size:4vw;line-height:8vw}.auth uni-button[data-v-9df7cb58]{position:static;display:block;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;box-sizing:initial;font-size:4.5vw;text-align:center;text-decoration:none;line-height:%?80?%;border-radius:0;-webkit-tap-highlight-color:transparent;overflow:visible;color:#fff;background-color:#08c406;border-radius:1.5vw;margin:3vw ;margin-top:5vw}.cu-modal[data-v-9df7cb58]{height:100vh;z-index:300}.cu-bar[data-v-9df7cb58]{position:fixed;top:0;left:0;right:0;z-index:300;min-height:44px;background-color:#e71d36;-webkit-transform:translateZ(0);transform:translateZ(0)}.cu-bar .logo_left[data-v-9df7cb58]{position:absolute;\r\n\r\n\r\nleft:3vw;\r\nwidth:90px;height:30px}.cu-bar .logo_right[data-v-9df7cb58]{position:absolute;left:27vw;width:60vw}.cuIcon-back[data-v-9df7cb58]{color:#fff;font-size:6vw;height:44px;width:44px;line-height:44px;text-align:center}.cu-dialog[data-v-9df7cb58]{background-color:initial;width:auto;padding:4vw;height:auto}.cu-bar .action:first-child>uni-text[class*="cuIcon-"][data-v-9df7cb58]{margin:0}.cu-bar.tabbar .action [class*="cuIcon-"][data-v-9df7cb58]{width:auto}.cuIcon-close[data-v-9df7cb58]:before{background-color:rgba(0,0,0,.5);padding:1.5vw;border-radius:50%}',""]),t.exports=e},b17d:function(t,e,i){var a=i("aa9f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("2d0d384a",a,!0,{sourceMap:!1,shadowMode:!1})},b680:function(t,e,i){"use strict";var a=i("23e7"),o=i("a691"),n=i("408a"),r=i("1148"),s=i("d039"),c=1..toFixed,d=Math.floor,l=function(t,e,i){return 0===e?i:e%2===1?l(t,e-1,i*t):l(t*t,e/2,i)},f=function(t){var e=0,i=t;while(i>=4096)e+=12,i/=4096;while(i>=2)e+=1,i/=2;return e},u=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));a({target:"Number",proto:!0,forced:u},{toFixed:function(t){var e,i,a,s,c=n(this),u=o(t),g=[0,0,0,0,0,0],h="",v="0",w=function(t,e){var i=-1,a=e;while(++i<6)a+=t*g[i],g[i]=a%1e7,a=d(a/1e7)},p=function(t){var e=6,i=0;while(--e>=0)i+=g[e],g[e]=d(i/t),i=i%t*1e7},m=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==g[t]){var i=String(g[t]);e=""===e?i:e+r.call("0",7-i.length)+i}return e};if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(h="-",c=-c),c>1e-21)if(e=f(c*l(2,69,1))-69,i=e<0?c*l(2,-e,1):c/l(2,e,1),i*=4503599627370496,e=52-e,e>0){w(0,i),a=u;while(a>=7)w(1e7,0),a-=7;w(l(10,a,1),0),a=e-1;while(a>=23)p(1<<23),a-=23;p(1<<a),w(1,1),p(2),v=m()}else w(0,i),w(1<<-e,0),v=m()+r.call("0",u);return u>0?(s=v.length,v=h+(s<=u?"0."+r.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u))):v=h+v,v}})},bbb8:function(t,e,i){"use strict";var a=i("fa2c"),o=i.n(a);o.a},c4f3:function(t,e,i){"use strict";var a=i("b17d"),o=i.n(a);o.a},c5a0:function(t,e,i){"use strict";(function(t){var a=i("ee27");i("b680"),i("d3b7"),i("acd8"),i("ac1f"),i("25f0"),i("5319"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("e3d7")),n=a(i("6687")),r=a(i("f680")),s={mixins:[n.default,r.default],components:{uniTopBar:o.default},data:function(){return{id:"",fab:!1,content:"",height:"",toptitle:"文章详情",title:"",member:"",free:"",category_price:"",article_price:"",userInfo:"",showpage:!1}},filters:{numFilter:function(t){var e="";return e=isNaN(t)||""===t?" ":parseFloat(t).toFixed(0),e},numSingle:function(t,e){var i="";return i=isNaN(t)||""===t?" ":parseFloat(t/e).toFixed(2),i},flie_name:function(t){var e=t.split("."),i=e[e.length-2].split("/"),a=i[i.length-1],o=e[e.length-1];return a=a.length>20?"《"+a.substring(0,20)+"...》":"《"+a+"》",a+o},flie_txt:function(t){var e=t.split("."),i=e[e.length-1];return"pdf"==i?"https://www.hongrensutui.com/uploads/share/pdf_logo.png":"doc"==i?"https://www.hongrensutui.com/uploads/share/doc_logo.png":"docx"==i?"https://www.hongrensutui.com/uploads/share/doc_logo.png":"xls"==i?"https://www.hongrensutui.com/uploads/share/xls_logo.png":"xlsx"==i?"https://www.hongrensutui.com/uploads/share/xlsx_logo.png":"ppt"==i?"https://www.hongrensutui.com/uploads/share/ppt_logo.png":"pptx"==i?"https://www.hongrensutui.com/uploads/share/pptx_logo.png":"zip"==i?"https://www.hongrensutui.com/uploads/share/zip_logo.png":"rar"==i?"https://www.hongrensutui.com/uploads/share/rar_logo.png":void 0}},onLoad:function(t){var e=this;uni.showLoading({title:"加载中,请稍后..."}),this.height=this.StatusBar,e.id=t["id"],e.free=t["free"],e.msg=t["msg"],t.invite&&(uni.getStorageSync("invite")||uni.setStorageSync("invite",t.invite)),t.code?uni.getStorage({key:"invite",success:function(i){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code,invite:i.data},method:"POST",success:function(t){uni.removeStorageSync("invite"),uni.setStorageSync("userInfo",t.data.data.info),e.userInfo=t.data.data.info,e.collegeDetails()}})},fail:function(i){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code},method:"POST",success:function(t){uni.setStorageSync("userInfo",t.data.data.info),e.userInfo=t.data.data.info,e.collegeDetails()}})}}):uni.getStorage({key:"userInfo",success:function(t){""!=t.data&&null!=t.data?e.updateuser(t.data.id):wxlogin()},fail:function(t){wxlogin()}}),e.getmember()},onShow:function(){var t=this;uni.getStorage({key:"userInfo",success:function(e){""!=e.data&&null!=e.data&&t.updateuser(e.data.id)}})},methods:{updateuser:function(t){var e=this;t&&uni.request({url:"https://www.hongrensutui.com/api/index/userinfo",data:{id:t},method:"POST",success:function(t){t.data.data.info?(e.userInfo=t.data.data.info,uni.setStorageSync("userInfo",t.data.data.info),e.collegeDetails()):wxlogin()}})},getmember:function(){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/member",data:{belong:4},method:"POST",success:function(e){t.member=e.data.data.list[0]}})},collegeDetails:function(){var e=this;uni.getStorage({key:"userInfo",success:function(i){t.log(i),uni.request({url:"https://www.hongrensutui.com/api/index/collegeDetails",data:{mid:i.data.id,id:e.id},method:"POST",success:function(t){e.content=t.data.data.info,e.category_price=e.content.category_price,e.article_price=e.content.price;var a=t.data.data.info.content;e.content.content=a.replace(/\<img/gi,'<img style="border-radius: 1.5vw" '),e.content&&(uni.hideLoading(),e.showpage=!0),e.share(e.content,i.data.company_id,i.data.id)}})},fail:function(t){uni.request({url:"https://www.hongrensutui.com/api/index/collegeDetails",data:{id:e.id},method:"POST",success:function(t){e.content=t.data.data.list;var i=t.data.data.list.content;e.content.content=i.replace(/\<img/gi,'<img style="border-radius: 1.5vw" '),e.content&&(uni.hideLoading(),e.showpage=!0),e.share(e.content,0,0)}})}})},fabulous:function(){var t=this;t.fab||(t.fab=!0,t.content.fabulous=t.content.fabulous+1)},categorymember:function(e){var i=this;t.log(e),i.userInfo.id?uni.request({url:"https://www.hongrensutui.com/api/Pay/categoryorder",data:{openid:i.userInfo.openid,id:e},method:"POST",success:function(t){var e="/pages/college/details?id="+i.id+"&free=1&msg=已购买栏目";callpay(JSON.parse(t.data.data.parameters),t.data.data.info,e)}}):uni.showToast({title:"请登录后操作",icon:"none",duration:2e3})},openmember:function(t){var e=this;e.userInfo.id?uni.request({url:"https://www.hongrensutui.com/api/Pay/collegeorder",data:{openid:e.userInfo.openid,id:t},method:"POST",success:function(t){var i="/pages/college/details?id="+e.id+"&free=1&msg=已购买文章";callpay(JSON.parse(t.data.data.parameters),t.data.data.info,i)}}):uni.showToast({title:"请登录后操作",icon:"none",duration:2e3})},cardmember:function(){var t=this;t.userInfo.id?uni.request({url:"https://www.hongrensutui.com/api/Pay/card",data:{openid:t.userInfo.openid,id:8},method:"POST",success:function(e){var i="/pages/college/details?id="+t.id+"&free=1&msg=学院超级会员";callpay(JSON.parse(e.data.data.parameters),e.data.data.info,i)}}):(uni.showToast({title:"请登录后操作",icon:"none",duration:2e3}),ss)},wxcategorymember:function(t){var e=this;e.userInfo.id?uni.request({url:"https://www.hongrensutui.com/api/Order/categoryorder",data:{openid:e.userInfo.xopenid,id:t},method:"POST",success:function(t){var i=t.data.data.orderid;uni.requestPayment({provider:"wxpay",timeStamp:t.data.data.wechat.payinfo.timeStamp,nonceStr:t.data.data.wechat.payinfo.nonceStr,package:t.data.data.wechat.payinfo.package,signType:t.data.data.wechat.payinfo.signType,paySign:t.data.data.wechat.payinfo.paySign,success:function(t){uni.request({url:"https://www.hongrensutui.com/api/Order/complete_categoryorder",data:{openid:e.userInfo.xopenid,id:i},method:"POST",success:function(t){var i="/pages/college/details?id="+e.id+"&free=1&msg=已购买栏目";uni.redirectTo({url:i})}})}})}}):uni.showToast({title:"请登录后操作",icon:"none",duration:2e3})},wxcardmember:function(){var t=this;t.userInfo.id?uni.request({url:"https://www.hongrensutui.com/api/Order/card",data:{openid:t.userInfo.xopenid,id:8},method:"POST",success:function(e){var i=e.data.data.orderid;uni.requestPayment({provider:"wxpay",timeStamp:e.data.data.wechat.payinfo.timeStamp,nonceStr:e.data.data.wechat.payinfo.nonceStr,package:e.data.data.wechat.payinfo.package,signType:e.data.data.wechat.payinfo.signType,paySign:e.data.data.wechat.payinfo.paySign,success:function(e){uni.request({url:"https://www.hongrensutui.com/api/Order/complete_card",data:{openid:t.userInfo.xopenid,id:i},method:"POST",success:function(e){var i="/pages/college/details?id="+t.id+"&free=1&msg=学院超级会员";uni.redirectTo({url:i})}})}})}}):uni.showToast({title:"您还未登录，请登录后操作",icon:"none",duration:2e3})},share:function(t){function e(e,i,a){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e,i){var a=t.title;t.sharetitle&&(a=t.sharetitle);var o=t.title+"，点击查看详情";if(t.sharecontent&&(o=t.sharecontent),t.img)var n=t.img;else n="https://www.hongrensutui.com/uploads/share/college_logo.png";share(a,o,n,i)}))}};e.default=s}).call(this,i("5a52")["default"])},e3d7:function(t,e,i){"use strict";i.r(e);var a=i("83cd"),o=i("9b8e");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("c4f3");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"9df7cb58",null,!1,a["a"],r);e["default"]=c.exports},f680:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{i:Number,index:{type:Number,default:function(){return 0}}},data:function(){return{downOption:{auto:!1},upOption:{auto:!1},isInit:!1}},watch:{index:function(t){this.i!==t||this.isInit||(this.isInit=!0,this.mescroll&&this.mescroll.triggerDownScroll())}},methods:{mescrollInit:function(t){this.mescroll=t,this.mescrollInitByRef&&this.mescrollInitByRef(),this.i===this.index&&(this.isInit=!0,this.mescroll.triggerDownScroll())}}},o=a;e.default=o},fa2c:function(t,e,i){var a=i("2edc");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("37987752",a,!0,{sourceMap:!1,shadowMode:!1})}}]);