You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/static/js/pages-plant_grass-index.c2d...

1 lines
92 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plant_grass-index","pages-plantGrass-plant_featured-index~pages-plantGrass-plant_search_list-index~pages-plantGrass-plan~090f3bb5","pages-plantGrass-plant_detail-index~pages-short_video-nvueSwiper-index"],{"01c6":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},n=[]},"04c4":function(t,e,i){var a=i("5af7");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("650ad2b8",a,!0,{sourceMap:!1,shadowMode:!1})},"0a76":function(t,e,i){var a=i("df07");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("83a82ec8",a,!0,{sourceMap:!1,shadowMode:!1})},"0b7d":function(t,e,i){"use strict";i.r(e);var a=i("9aa8"),n=i("852b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("72ca");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1129b05c",null,!1,a["a"],void 0);e["default"]=c.exports},"0e37":function(t,e,i){"use strict";i.r(e);var a=i("4f7c"),n=i("5094");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c2fc");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3e7d9b82",null,!1,a["a"],void 0);e["default"]=c.exports},"10bc":function(t,e,i){var a=i("f5cb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7cfa8141",a,!0,{sourceMap:!1,shadowMode:!1})},"1a54":function(t,e,i){"use strict";i.r(e);var a=i("1d4e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1c59":function(t,e,i){"use strict";var a=i("6d61"),n=i("6566");a("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n)},"1c6c":function(t,e,i){"use strict";var a=i("d630"),n=i.n(a);n.a},"1d4e":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("5530"));i("a9e3"),i("d3b7"),i("159b"),i("14d9"),i("ac1f");var o=a(i("2eca")),s=i("d2c9"),c=a(i("f272")),r=i("26cb"),u={components:{WaterfallsFlowItem:o.default,authorize:c.default},props:{wfList:{type:Array,require:!0},updateNum:{type:Number,default:10},isAuth:{type:Boolean,default:!1},tab:{type:Number,default:1},uid:{type:Number,default:0},isShow:{type:Boolean,default:!1}},data:function(){return{allList:[],leftList:[],rightList:[],mark:0,boxHeight:[],isShowAuth:!1,isAuto:!1}},watch:{"wfList.length":{handler:function(t,e){var i=this;(!this.wfList.length||this.wfList.length===this.updateNum&&this.wfList.length<=this.allList.length)&&(this.allList=[],this.leftList=[],this.rightList=[],this.boxHeight=[],this.mark=0),this.wfList.length&&(this.allList=this.wfList,this.leftList=[],this.rightList=[],this.boxHeight=[],this.allList.forEach((function(t,e){(i.allList.length<3||i.allList.length<=7&&i.allList.length-e>1||i.allList.length>7&&i.allList.length-e>2)&&(e%2?i.rightList.push(t):i.leftList.push(t))})),this.allList.length<3?this.mark=this.allList.length+1:this.allList.length<=7?this.mark=this.allList.length-1:this.mark=this.allList.length-2,this.mark<this.allList.length&&this.waterFall())},immediate:!0,deep:!0},mounted:function(){},mark:function(){var t=this.allList.length;this.mark<t&&0!==this.mark&&this.boxHeight.length&&this.waterFall()}},computed:(0,n.default)({},(0,r.mapGetters)(["isLogin"])),methods:{waterFall:function(){var t=this.mark;if(this.allList[t])if(0==t)this.leftList.push(this.allList[t]),this.getViewHeight(0);else if(1==t)this.rightList.push(this.allList[t]),this.getViewHeight(1);else{if(this.boxHeight.length){var e=this.boxHeight[0]>this.boxHeight[1]?1:0;e?this.rightList.push(this.allList[t]):this.leftList.push(this.allList[t])}else this.rightList.length<this.leftList.length?this.rightList.push(this.allList[t]):this.leftList.push(this.allList[t]);this.getViewHeight()}},getViewHeight:function(){var t=this;this.$nextTick((function(){setTimeout((function(){uni.createSelectorQuery().in(t).select("#right").boundingClientRect((function(e){e&&(t.boxHeight[1]=e.height),uni.createSelectorQuery().in(t).select("#left").boundingClientRect((function(e){e&&(t.boxHeight[0]=e.height),t.mark=t.mark+1})).exec()})).exec()}),100)}))},itemTap:function(t){this.$emit("itemTap",t)},giveStart:function(t){var e=t.relevance_id?0:1;(0,s.graphicStartApi)(t.community_id,{status:e}).then((function(e){t.relevance_id?(t.relevance_id=!t.relevance_id,t.count_start--,t.count_start=0==t.count_start?0:t.count_start):(t.relevance_id=!t.relevance_id,t.count_start++)})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},onLoadFun:function(){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},authOpen:function(){!1===this.isLogin&&(this.isAuto=!0,this.isShowAuth=!0)},likeToggle:function(t,e){1==this.isLogin?t?this.giveStart(this.rightList[e]):this.giveStart(this.leftList[e]):this.authOpen()}}};e.default=u},"1ea6":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=a},2569:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("ae65").default,WaterfallsFlow:i("d920").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[a("v-uni-view",{staticClass:"page_con"},[a("v-uni-view",{staticClass:"grass_header",style:{"background-image":"url("+t.domain+"/static/images/grass_header.png)"}},[t.navShow?t._e():a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticClass:"navTab"},[1==t.community_status?a("v-uni-navigator",{staticClass:"release_btn acea-row row-center-wrapper",attrs:{url:"/pages/plantGrass/plant_release/index","hover-class":"none"}},[a("v-uni-text",{staticClass:"iconfont icon-fabu"})],1):t._e(),a("v-uni-view",{staticClass:"acea-row row-center-wrapper"},[a("v-uni-view",{staticClass:"nav-item",class:0==t.tabActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabActive=0,t.top=200}}},[t._v("关注")]),a("v-uni-view",{staticClass:"nav-item",class:1==t.tabActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabActive=1,t.top=300}}},[t._v("发现")])],1),t.isLogin&&1==t.community_status?a("v-uni-navigator",{attrs:{url:"/pages/plantGrass/plant_user/index?id="+t.userInfo.uid}},[a("v-uni-image",{staticClass:"avatar",attrs:{src:t.userInfo.avatar?t.userInfo.avatar:"/static/images/f.png"}})],1):t._e()],1),a("v-uni-view",{staticClass:"search_count"},[a("v-uni-navigator",{staticClass:"search",attrs:{url:"/pages/plantGrass/plant_search/index","hover-class":"none"}},[a("v-uni-text",{staticClass:"iconfont icon-xiazai5"}),t._v("搜索想看的文章")],1),a("v-uni-navigator",{staticClass:"search_topic",attrs:{url:"/pages/plantGrass/plant_topic/index"}},[a("v-uni-image",{staticClass:"topic_icon",attrs:{src:"/static/images/topic_cate.png"}})],1)],1)],1),1==t.tabActive?a("v-uni-view",{staticClass:"longTab"},[a("v-uni-scroll-view",{staticClass:"menu",staticStyle:{"white-space":"nowrap",display:"flex"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"scroll-left":t.tabLeft,"show-scrollbar":"true"}},t._l(t.menuList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"longItem",class:i===t.tabClick?"click":"",attrs:{"data-index":i,id:"id"+i},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.selectMenu(e,i,!0)}}},[t._v(t._s(e.cate_name))])})),1)],1):t._e()],1),a("v-uni-scroll-view",{staticClass:"main",attrs:{"scroll-y":"true"},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.followScroll.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"tab-cont",attrs:{id:"main"}},[0===t.tabActive?a("v-uni-view",[t.isLogin&&t.followList.length>0?a("v-uni-view",{staticClass:"follow_count",class:t.newData.status&&t.newData.status.status&&t.showTab?"showFoot":""},[t._l(t.followList,(function(e,n){return[a("v-uni-view",{key:n+"_0",staticClass:"list_count"},[a("v-uni-view",{staticClass:"title"},[e.author?a("v-uni-navigator",{staticClass:"author",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_user/index?id="+e.uid}},[a("easy-loadimage",{staticClass:"picture",attrs:{mode:"widthFix","image-src":e.author&&e.author.avatar||"/static/images/f.png"}}),a("v-uni-text",{staticClass:"name"},[t._v(t._s(e.author.nickname||""))])],1):t._e(),a("v-uni-view",{staticClass:"time"},[t._v(t._s(e.time))])],1),a("v-uni-view",{staticClass:"product"},[1==e.is_type?a("productConSwiper",{attrs:{imgUrls:e.image}}):a("v-uni-view",{staticClass:"videoSwiper",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goVideo(e)}}},[a("v-uni-image",{staticClass:"image",attrs:{src:e.image[0]}}),2==e.is_type?a("v-uni-image",{staticClass:"video_img",attrs:{src:i("dc82")}}):t._e()],1)],1),a("v-uni-view",{staticClass:"pro_describle"},[e.relevance&&e.relevance.length>0?a("v-uni-view",{staticClass:"mentioned",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openMore(e)}}},[a("v-uni-text",{staticClass:"title"},[t._v("查看TA提到的宝贝("+t._s(e.relevance.length)+")")]),a("v-uni-view",{staticClass:"product_more"},[a("v-uni-view",{staticClass:"item"},t._l(e.relevance,(function(e,i){return i<4?a("easy-loadimage",{key:i,staticClass:"more_image",attrs:{mode:"widthFix","image-src":e.spu&&e.spu.image||e.image}}):t._e()})),1),a("v-uni-text",{staticClass:"iconfont icon-gengduo3"})],1)],1):t._e(),!e.show&&e.content.length>110?a("v-uni-view",{staticClass:"product_info"},[a("v-uni-text",{staticClass:"text"},[t._v(t._s(e.content.substring(0,90)+"..."))]),a("v-uni-text",{staticClass:"unfold_btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showMore(e)}}},[t._v("展开")])],1):a("v-uni-view",{staticClass:"product_info"},[a("v-uni-text",{staticClass:"text"},[t._v(t._s(e.content))])],1),e.topic?a("v-uni-navigator",{staticClass:"product_cate",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_search_list/index?id="+e.topic.topic_id}},[a("v-uni-view",[a("v-uni-text",{staticClass:"icon"},[t._v("#")]),a("v-uni-text",{staticClass:"text"},[t._v(t._s(e.topic.topic_name))])],1)],1):t._e(),a("v-uni-view",{staticClass:"foot_bar"},[a("v-uni-button"),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"item_count",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.likeToggle(e)}}},[a("v-uni-text",{staticClass:"iconfont",class:e.relevance_id?"icon-shoucang1":"icon-dianzan"}),a("v-uni-text",[t._v(t._s(e.count_start>0?e.count_start:"点赞"))])],1),1==t.community_reply_status?a("v-uni-view",{staticClass:"item_count",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openCommon(e,n)}}},[a("v-uni-text",{staticClass:"iconfont icon-pinglun"}),a("v-uni-text",[t._v(t._s(e.count_reply>0?e.count_reply:"评论"))])],1):t._e()],1)],1)],1)],1)]}))],2):t._e(),0==t.followList.length&&!t.focusLoading&&t.isLogin?a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:"/static/images/no_thing.png"}}),a("v-uni-text",[t._v("暂无内容~")])],1):t._e(),t.isLogin?t._e():a("v-uni-view",{staticClass:"empty no_login"},[a("v-uni-image",{attrs:{src:"/static/images/no_login.png"}}),a("v-uni-view",{staticClass:"title"},[t._v("暂未登录")]),a("v-uni-text",[t._v("登录后可查看关注用户的发布哦~")]),a("v-uni-button",{staticClass:"login_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authOpen.apply(void 0,arguments)}}},[t._v("立即登录")])],1)],1):t._e(),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1===t.tabActive,expression:"tabActive === 1"}]},[a("v-uni-swiper",{style:"height:"+t.swiperHeight+"px",attrs:{interval:t.interval,"indicator-color":"rgba(255,255,255,0.6)",current:t.swiperCurrent},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},[t._l(t.menuList,(function(e,i){return[a("v-uni-swiper-item",{key:i+"_0",attrs:{"item-id":""+e.category_id}},[a("v-uni-scroll-view",{style:"height:"+t.swiperHeight+"px",attrs:{"scroll-y":"true",id:"goods"},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollLeft.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchmove.apply(void 0,arguments)}}},[t.cateGoods[e.category_id]&&t.cateGoods[e.category_id].goods.length?a("v-uni-view",{staticClass:"goods-wrap",attrs:{id:"goods"}},[a("v-uni-view",{staticClass:"goods"},[a("WaterfallsFlow",{attrs:{isShow:!1,wfList:t.cateGoods[e.category_id].goods,isFind:!0},on:{likeToggle:function(e){arguments[0]=e=t.$handleEvent(e),t.likeToggle.apply(void 0,arguments)}}})],1)],1):t._e(),a("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:t.cateGoods[e.category_id]&&!t.cateGoods[e.category_id].goodsLoading}},[a("v-uni-text",{staticClass:"iconfont icon-jiazai loading"}),t._v(t._s(t.cateGoods[e.category_id]?t.cateGoods[e.category_id].goodsLoading:0))],1),t.cateGoods[e.category_id]&&0==t.cateGoods[e.category_id].goods.length&&!t.cateGoods[e.category_id].goodsLoading?a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:"/static/images/no_thing.png"}}),a("v-uni-text",[t._v(t._s(-1==e.category_id?"暂无视频":"暂无文章")+"~")])],1):t._e()],1)],1)]}))],2)],1)],1)],1)],1),a("mentioned",{ref:"mentioned",attrs:{isHome:!0,list:t.moreList,uid:t.authorUid},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}}),a("comment",{ref:"comment",attrs:{isShow:t.showComment,userInfo:t.userInfo,bottom:t.bottom},on:{successFul:function(e){arguments[0]=e=t.$handleEvent(e),t.commentSucces.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}),a("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),t.newData.status&&t.newData.status.status&&t.showTab?a("v-uni-view",{staticClass:"foot"},[a("v-uni-view",{staticClass:"page-footer",style:{"background-color":t.newData.bgColor.color[0].item},attrs:{id:"target"}},t._l(t.newData.menuList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"foot-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goRouter(e)}}},[e.link==t.activeRouter?[a("v-uni-image",{attrs:{src:e.imgList[0]}}),a("v-uni-view",{staticClass:"txt",style:{color:t.newData.activeTxtColor.color[0].item}},[t._v(t._s(e.name))])]:[a("v-uni-image",{attrs:{src:e.imgList[1]}}),a("v-uni-view",{staticClass:"txt",style:{color:t.newData.txtColor.color[0].item}},[t._v(t._s(e.name))])]],2)})),1)],1):t._e()],1)},o=[]},"26b3":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{disabled:!1,text:"获取验证码"}},methods:{sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s";var i=setInterval((function(){e-=1,e<0&&clearInterval(i),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}}}};e.default=a},"29ce":function(t,e,i){var a=i("54f5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("55c482e6",a,!0,{sourceMap:!1,shadowMode:!1})},"2eca":function(t,e,i){"use strict";i.r(e);var a=i("6381"),n=i("acba");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("deca");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4b772aae",null,!1,a["a"],void 0);e["default"]=c.exports},"43d9":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var a={props:{imgUrls:{type:Array,default:function(){return[]}},videoline:{type:String,value:""},isType:{type:Number,default:1}},data:function(){return{indicatorDots:!0,circular:!0,autoplay:!0,interval:5e3,duration:500,currents:"1",controls:!0,isPlay:!0,videoContext:""}},created:function(){},watch:{},mounted:function(){this.videoContext=uni.createVideoContext("myVideo",this)},methods:{videoPause:function(t){},bindPause:function(){this.videoContext.play(),this.$set(this,"controls",!1),this.autoplay=!1},change:function(t){this.$set(this,"currents",t.detail.current+1)}}};e.default=a},"44c1":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("c7eb")),o=a(i("1da1"));i("ac1f"),i("00b4");var s=a(i("26b3")),c=i("ef5b"),r=i("c6c3"),u=i("26cb"),l=a(i("025b")),d={props:{isCommuity:{type:Boolean,default:!1}},mixins:[s.default],components:{Verify:l.default},data:function(){return{phone:"",captcha:"",isAuto:!1,isShowAuth:!1,key:"",codeVal:"",popup:{show:!1}}},computed:(0,u.mapGetters)(["isLogin","viewColor"]),onLoad:function(){},methods:{closePopup:function(){this.$emit("close")},editPwd:function(){var t=this;return t.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(t.phone)?t.captcha?void(0,c.bindingPhone)({phone:t.phone,sms_code:t.captcha}).then((function(e){return void 0!==e.data&&e.data.is_bind?uni.showModal({title:"是否绑定手机号",content:e.msg,confirmText:"绑定",success:function(e){if(e.confirm)(0,c.bindingPhone)({phone:t.phone,captcha:t.captcha,step:1}).then((function(e){return t.$emit("close"),t.$util.Tips({title:e.msg,icon:"success"})})).catch((function(e){return t.$util.Tips({title:e})}));else if(e.cancel)return t.$util.Tips({title:"您已取消绑定!"},{tab:5,url:"/pages/users/user_info/index"})}}):t.$emit("close"),t.$util.Tips({title:"绑定成功!",icon:"success"})})).catch((function(e){return t.$util.Tips({title:e})})):t.$util.Tips({title:"请填写验证码"}):t.$util.Tips({title:"请输入正确的手机号码!"}):t.$util.Tips({title:"请输入手机号码!"})},code:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=e,a.phone){i.next=3;break}return i.abrupt("return",a.$util.Tips({title:"请填写手机号码!"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(a.phone)){i.next=5;break}return i.abrupt("return",a.$util.Tips({title:"请输入正确的手机号码!"}));case 5:return e.disabled=!0,i.next=8,(0,r.registerVerify)({phone:a.phone,key:a.key,code:a.captcha,type:"binding",captchaType:"blockPuzzle",captchaVerification:t.captchaVerification}).then((function(t){e.disabled=!1,a.$util.Tips({title:t.msg}),a.sendCode()})).catch((function(t){return e.disabled=!1,a.$util.Tips({title:t})}));case 8:case"end":return i.stop()}}),i)})))()},success:function(t){this.$refs.verify.hide(),this.code(t)},handleVerify:function(){return this.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.phone)?void this.$refs.verify.show():this.$util.Tips({title:"请输入正确的手机号码!"}):this.$util.Tips({title:"请填写手机号码!"})}}};e.default=d},4540:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.product-bg[data-v-2f44f7fd]{width:%?710?%;height:%?710?%;position:relative}.product-bg uni-swiper[data-v-2f44f7fd]{width:100%;height:100%;position:relative}.product-bg .slide-image[data-v-2f44f7fd]{width:100%;height:100%;border-radius:%?16?%}.product-bg .pages[data-v-2f44f7fd]{position:absolute;background-color:#fff;height:%?34?%;padding:0 %?10?%;border-radius:%?3?%;right:%?30?%;bottom:%?30?%;line-height:%?34?%;font-size:%?24?%;color:#050505}#myVideo[data-v-2f44f7fd]{width:100%;height:100%}.product-bg .item[data-v-2f44f7fd]{position:relative;width:100%;height:100%}.product-bg .item .poster[data-v-2f44f7fd]{position:absolute;top:0;left:0;height:%?750?%;width:100%;z-index:9}.product-bg .item .poster .image[data-v-2f44f7fd]{width:100%;height:100%}.product-bg .item .stop[data-v-2f44f7fd]{position:absolute;top:50%;left:50%;width:%?136?%;height:%?136?%;margin-top:%?-68?%;margin-left:%?-68?%;z-index:9}.product-bg .item .stop .image[data-v-2f44f7fd]{width:100%;height:100%}',""]),t.exports=e},"493d":function(t,e,i){"use strict";i.r(e);var a=i("e933"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"4f7c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-text",{staticClass:"title"},[t._v("绑定手机号")]),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"main_counts"},[i("v-uni-form",{attrs:{"report-submit":"true"}},[i("v-uni-view",{staticClass:"ChangePassword"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-input",{attrs:{type:"number",placeholder:"输入手机号码","placeholder-class":"placeholder"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-input",{staticClass:"codeIput",attrs:{type:"number",placeholder:"输入验证码","placeholder-class":"placeholder"},model:{value:t.captcha,callback:function(e){t.captcha=e},expression:"captcha"}}),i("v-uni-button",{staticClass:"code",class:!0===t.disabled?"on":"",attrs:{disabled:t.disabled},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleVerify.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1),i("v-uni-button",{staticClass:"confirmBnt",attrs:{"form-type":"submit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.editPwd.apply(void 0,arguments)}}},[t._v("确认绑定")])],1)],1)],1)],1),i("Verify",{ref:"verify",attrs:{captchaType:"blockPuzzle",imgSize:{width:"330px",height:"155px"}},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.success.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.popup.show},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1)},n=[]},"4fad":function(t,e,i){var a=i("d039"),n=i("861d"),o=i("c6b6"),s=i("d86b"),c=Object.isExtensible,r=a((function(){c(1)}));t.exports=r||s?function(t){return!!n(t)&&((!s||"ArrayBuffer"!=o(t))&&(!c||c(t)))}:c},5094:function(t,e,i){"use strict";i.r(e);var a=i("44c1"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"54f5":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-3e7d9b82]{background-color:#fff;border-radius:%?16?% %?16?% 0 0;position:relative;padding-bottom:%?30?%}.container .header[data-v-3e7d9b82]{position:relative;padding:%?40?% %?30?%;text-align:center}.container .header .title[data-v-3e7d9b82]{color:#282828;font-size:%?32?%}.container .header .iconfont[data-v-3e7d9b82]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:0}.container .header .icon-guanbi5[data-v-3e7d9b82]{right:%?20?%;color:#8a8a8a;font-size:%?30?%;line-height:%?30?%;top:%?20?%;background-color:initial;font-weight:400}.ChangePassword[data-v-3e7d9b82]{padding:0 %?30?% %?100?%}.ChangePassword .phone[data-v-3e7d9b82]{font-size:%?32?%;font-weight:700;text-align:center;margin-top:%?55?%}.ChangePassword .list .item[data-v-3e7d9b82]{height:%?86?%;margin-bottom:%?30?%;flex-direction:row}.ChangePassword .list .item uni-input[data-v-3e7d9b82]{height:100%;font-size:%?32?%;border:1px solid #dcdcdc;border-radius:%?43?%;padding:0 %?40?%}.ChangePassword .list .item .placeholder[data-v-3e7d9b82]{color:#b9b9bc}.ChangePassword .list .item uni-input.codeIput[data-v-3e7d9b82]{max-width:%?400?%}.ChangePassword .list .item .code[data-v-3e7d9b82]{font-size:%?28?%;background-color:var(--view-minorColor);color:var(--view-theme);width:%?230?%;height:%?86?%;border-radius:%?43?%;display:flex;align-items:center;justify-content:center}.ChangePassword .list .item .code.on[data-v-3e7d9b82]{color:#b9b9bc}.ChangePassword .confirmBnt[data-v-3e7d9b82]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;color:#fff;margin:%?60?% auto 0 auto;text-align:center;line-height:%?90?%;background-color:var(--view-theme)}.getPhoneBtn[data-v-3e7d9b82]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;border:1px solid #3cb625;color:#3cb625;margin:%?40?% auto 0 auto;text-align:center;line-height:%?90?%}.getPhoneBtn .iconfont[data-v-3e7d9b82]{font-size:%?32?%;margin-right:%?12?%}[data-v-3e7d9b82] .verifybox{top:auto!important}',""]),t.exports=e},"5af7":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-850f4c6e]{background:#fff}body.?%PAGE?%[data-v-850f4c6e]{background:#fff}.page_con[data-v-850f4c6e]{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column}[data-v-850f4c6e] .wf-page{margin-bottom:%?98?%;margin-bottom:calc(98rpx+ constant(safe-area-inset-bottom));margin-bottom:calc(%?98?% + env(safe-area-inset-bottom))}.longTab[data-v-850f4c6e]{display:flex;width:100%;background:#fff;border-radius:%?16?% %?16?% 0 0;padding:%?20?%}.longTab .longItem[data-v-850f4c6e]{height:%?50?%;display:inline-block;line-height:%?50?%;text-align:center;font-size:%?30?%;color:#999;max-width:%?160?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-x:scroll;overflow-y:hidden;margin-right:%?56?%;\n /*解决ios上滑动不流畅*/-webkit-overflow-scrolling:touch;position:relative}.longTab .longItem[data-v-850f4c6e]:last-child{margin-right:0}.longTab .longItem.click[data-v-850f4c6e]{font-weight:700;font-size:%?34?%;color:var(--view-theme)}.longTab .longItem.click[data-v-850f4c6e]::after{content:"";display:block;width:%?60?%;height:%?4?%;background-color:var(--view-theme);display:flex;position:absolute;left:50%;margin-left:%?-32?%;bottom:%?0?%}.longTab .longItem.click .underline[data-v-850f4c6e]{opacity:1}.longTab .underlineBox[data-v-850f4c6e]{height:3px;width:20%;display:flex;align-content:center;justify-content:center}.longTab .underlineBox .underline[data-v-850f4c6e]{opacity:0;width:%?60?%;height:%?4?%;background-color:#e93323}.tab-cont[data-v-850f4c6e]{border-radius:%?16?% %?16?% 0 0}.follow_count[data-v-850f4c6e]{background:#fff;padding:%?20?% %?20?% %?100?%}.follow_count.showFoot[data-v-850f4c6e]{padding:%?20?% %?20?% calc(120rpx+ constant(safe-area-inset-bottom));padding:%?20?% %?20?% calc(%?120?% + env(safe-area-inset-bottom))}.follow_count .title[data-v-850f4c6e]{display:flex;align-items:center;justify-content:space-between}.follow_count .author[data-v-850f4c6e]{display:flex;align-items:center}.follow_count .author .picture[data-v-850f4c6e]{width:%?78?%;height:%?78?%;border-radius:100%;overflow:hidden}.follow_count .author[data-v-850f4c6e] uni-image, .follow_count .author[data-v-850f4c6e] .easy-loadimage, .follow_count .author uni-image[data-v-850f4c6e]{height:%?78?%}.follow_count .author .name[data-v-850f4c6e]{margin-left:%?20?%;color:#333;font-size:%?32?%;font-weight:700}.follow_count .time[data-v-850f4c6e]{color:#999;font-size:%?24?%}.follow_count .product[data-v-850f4c6e]{margin-top:%?20?%;border-radius:%?16?%}.follow_count .icon-fenxiang2[data-v-850f4c6e]{color:#282828;font-size:%?46?%;background:transparent}.list_count[data-v-850f4c6e]{margin-bottom:%?70?%}.list_count[data-v-850f4c6e]:last-child{margin-bottom:0}.videoSwiper[data-v-850f4c6e]{width:%?710?%;height:%?710?%;position:relative;border-radius:%?16?%}.videoSwiper .image[data-v-850f4c6e]{width:%?710?%;height:%?710?%;border-radius:%?16?%}.videoSwiper .video_img[data-v-850f4c6e]{width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;margin-left:%?-50?%;margin-top:%?-50?%;z-index:10}.pro_describle .mentioned[data-v-850f4c6e]{padding:%?20?% 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f5f5f5}.pro_describle .mentioned .title[data-v-850f4c6e]{color:#666;font-size:%?26?%}.pro_describle .product_more[data-v-850f4c6e]{max-width:%?360?%;display:flex;align-items:center}.pro_describle .product_more .more_image[data-v-850f4c6e]{width:%?58?%;height:%?58?%;border-radius:%?5?%;margin-right:%?12?%;display:inline-block;border:1px solid #bbb}.pro_describle .product_more[data-v-850f4c6e] uni-image, .pro_describle .product_more[data-v-850f4c6e] .easy-loadimage, .pro_describle .product_more uni-image[data-v-850f4c6e]{width:%?58?%;height:%?58?%}.pro_describle .product_more .iconfont[data-v-850f4c6e]{color:#ccc;margin-left:%?10?%}.pro_describle .product_info[data-v-850f4c6e]{line-height:%?45?%;margin:%?20?% 0}.pro_describle .product_info .text[data-v-850f4c6e]{font-size:%?28?%;color:#282828}.pro_describle .product_info .unfold_btn[data-v-850f4c6e]{margin-left:%?30?%;font-size:%?30?%;color:#282828;font-weight:700}.pro_describle .product_cate[data-v-850f4c6e]{margin:%?20?% 0;display:inline-block}.pro_describle .product_cate > uni-view[data-v-850f4c6e]{display:flex;align-items:center;background:var(--view-minorColor);border-radius:%?30?%;padding:0 %?25?%;line-height:%?56?%;height:%?56?%;color:var(--view-theme)}.pro_describle .product_cate > uni-view .text[data-v-850f4c6e]{font-size:%?28?%}.pro_describle .product_cate > uni-view .icon[data-v-850f4c6e]{font-size:%?35?%;font-weight:700;margin-right:%?10?%}.pro_describle .foot_bar[data-v-850f4c6e]{display:flex;align-items:center;justify-content:space-between}.pro_describle .foot_bar .item[data-v-850f4c6e]{display:flex;align-items:center;color:#282828}.pro_describle .foot_bar .item.icon-fenxiang2[data-v-850f4c6e]{font-size:%?46?%}.pro_describle .foot_bar .item_count[data-v-850f4c6e]{font-size:%?26?%;display:flex;align-items:center}.pro_describle .foot_bar .item_count[data-v-850f4c6e]:first-child{margin-right:%?30?%}.pro_describle .foot_bar .item_count .iconfont[data-v-850f4c6e]{font-size:%?40?%;margin-right:%?5?%}.pro_describle .foot_bar .item_count .icon-shoucang1[data-v-850f4c6e]{color:var(--view-priceColor)}.grass_header[data-v-850f4c6e]{display:flex;flex-direction:column;background-size:cover;background-color:#fff;width:100%;z-index:10}.header[data-v-850f4c6e]{padding:0 %?30?% %?20?%}.header .navTab[data-v-850f4c6e]{position:relative;padding:%?20?% 0 %?40?% 0}.header .navTab .nav-item[data-v-850f4c6e]{font-size:%?32?%;color:#666}.header .navTab .nav-item[data-v-850f4c6e]:first-child{margin-right:%?70?%}.header .navTab .nav-item.on[data-v-850f4c6e]{font-size:%?38?%;color:#282828;font-weight:700}.header .navTab .release_btn[data-v-850f4c6e]{width:%?58?%;height:%?58?%;border-radius:100%;background-image:linear-gradient(126deg,var(--view-bntColor21),var(--view-bntColor22));color:#fff;position:absolute;top:%?20?%;left:0}.header .navTab .release_btn .iconfont[data-v-850f4c6e]{font-size:%?28?%}.header .navTab .avatar[data-v-850f4c6e]{width:%?58?%;height:%?58?%;border-radius:100%;border:%?3?% solid rgba(0,0,0,.05);position:absolute;top:%?20?%;right:0}.header .search_count[data-v-850f4c6e]{display:flex;align-items:center;justify-content:space-between}.header .search_count .search_topic[data-v-850f4c6e]{width:%?46?%;height:%?46?%}.header .search_count .search_topic uni-image[data-v-850f4c6e], .header .search_count .search_topic .topic_icon[data-v-850f4c6e], .header .search_count .search_topic uni-image[data-v-850f4c6e]{width:%?46?%;height:%?46?%}.header .search[data-v-850f4c6e]{display:flex;align-items:center;min-width:0;height:%?58?%;border-radius:%?29?%;background-color:#fff;font-weight:500;font-size:%?24?%;color:#999;width:%?609?%}.header .search .iconfont[data-v-850f4c6e]{margin-right:%?13?%;margin-left:%?30?%;font-size:%?24?%}.main_count[data-v-850f4c6e]{background-color:#fff;padding:%?30?% %?20?%}.main_count .list[data-v-850f4c6e]{width:%?710?%;height:%?280?%;margin-bottom:%?30?%;position:relative}.main_count .list .picture[data-v-850f4c6e]{width:%?710?%;height:%?280?%;border-radius:%?16?%}.main[data-v-850f4c6e]{flex:1;min-height:60vh;height:auto}.nav.fixed[data-v-850f4c6e]{position:fixed;left:0;width:100%}.nav.fixed .nav-cont[data-v-850f4c6e]{position:absolute;width:100%}.goods[data-v-850f4c6e]{display:flex;flex-wrap:wrap;justify-content:space-between;padding:0 %?20?%;background:#fff;width:%?750?%}.goods .item[data-v-850f4c6e]{width:%?345?%;border-radius:%?16?%;margin-bottom:%?20?%;background-color:#fff;overflow:hidden}.goods .item[data-v-850f4c6e] .image, .goods .item[data-v-850f4c6e] .easy-loadimage, .goods .item uni-image[data-v-850f4c6e]{width:%?345?%;height:%?345?%}.goods .item[data-v-850f4c6e] .image uni-image, .goods .item[data-v-850f4c6e] .easy-loadimage uni-image, .goods .item uni-image uni-image[data-v-850f4c6e]{display:block;width:100%;height:100%}.goods .item .text[data-v-850f4c6e]{padding:%?20?% %?20?% %?25?%}.goods .item .text .name[data-v-850f4c6e]{font-weight:500;font-size:%?30?%;line-height:1;color:#222;display:flex;align-items:center}.goods .item .text .name .name_text[data-v-850f4c6e]{display:inline-block;max-width:%?400?%}.goods .item .text .money-wrap[data-v-850f4c6e]{display:flex;align-items:center;margin-top:%?43?%}.goods .item .text .money-wrap .money[data-v-850f4c6e]{font-weight:700;font-size:%?26?%;color:#e93323}.goods .item .text .money-wrap .money uni-text[data-v-850f4c6e]{font-size:%?34?%;line-height:1}.goods .item .text .money-wrap .ticket[data-v-850f4c6e]{height:%?26?%;padding-right:%?9?%;padding-left:%?9?%;border:1px solid #e93323;border-radius:%?4?%;margin-left:%?10?%;font-weight:500;font-size:%?20?%;line-height:%?24?%;color:#e93323}.goods .item .text .score[data-v-850f4c6e]{margin-top:%?20?%;font-weight:500;font-size:%?20?%;line-height:1;color:#737373}.goods .item .foot[data-v-850f4c6e]{display:flex;justify-content:center;align-items:center;height:%?52?%;background:linear-gradient(90deg,#f11b09,#f67a38);font-weight:500;font-size:%?24?%;color:#fff}.goods .item .foot .iconfont[data-v-850f4c6e]{margin-right:%?10?%;font-size:%?22?%;line-height:1}.empty[data-v-850f4c6e]{width:100%;text-align:center;position:relative;top:%?200?%}.empty uni-image[data-v-850f4c6e], .empty uni-image[data-v-850f4c6e]{display:inline-block;width:%?414?%;height:%?305?%}.empty .title[data-v-850f4c6e]{font-size:%?28?%;color:#282828;font-weight:700;margin-bottom:%?14?%}.empty uni-text[data-v-850f4c6e]{display:block;color:#999;font-size:%?26?%}.empty .login_btn[data-v-850f4c6e]{width:%?440?%;text-align:center;height:%?76?%;line-height:%?76?%;color:var(--view-theme);border:1px solid var(--view-theme);border-radius:%?40?%;margin:%?44?% auto 0;font-size:%?32?%}.page-footer[data-v-850f4c6e]{position:fixed;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-around;width:100%;height:%?98?%;height:calc(98rpx+ constant(safe-area-inset-bottom));height:calc(%?98?% + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid 1px #f3f3f3;background-color:#fff;box-shadow:0 0 %?17?% %?1?% hsla(0,0%,80.8%,.32);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer .foot-item[data-v-850f4c6e]{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative}.page-footer .foot-item .count-num[data-v-850f4c6e]{position:absolute;display:flex;justify-content:center;align-items:center;width:%?40?%;height:%?40?%;top:%?0?%;right:%?-15?%;color:#fff;font-size:%?20?%;background-color:#fd502f;border-radius:50%;padding:%?4?%}.page-footer .foot-item uni-image[data-v-850f4c6e]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.page-footer .foot-item .txt[data-v-850f4c6e]{font-size:%?24?%}',""]),t.exports=e},6062:function(t,e,i){i("1c59")},6224:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("ac1f"),i("14d9"),i("3c65");var n=i("d2c9"),o=a(i("b90c")),s=a(i("0e37")),c=i("c6c3"),r=i("26cb"),u=i("4f1b"),l=a(i("f272")),d={props:{isShow:{type:Boolean,default:!1},bottom:{type:Number,default:0},userInfo:{type:Object,default:function(){}}},components:{Loading:o.default,bindmobile:s.default,authorize:l.default},computed:(0,u.configMap)({community_reply_auth:0},(0,r.mapGetters)(["isLogin","viewColor"])),data:function(){return{content:"",id:"",list:[],loaded:!1,loading:!1,where:{page:1,limit:10},reply_id:"",placeholder:"快来说点儿什么吧...",isChild:!1,index:0,listIndex:0,focus:!1,all:0,isShowAuth:!1,isAuto:!1}},methods:{close:function(){this.$emit("close")},onTouchmove:function(t){var e=this;if(!this.loadend&&!this.loading){var i=uni.createSelectorQuery().in(this);i.select("#reply").boundingClientRect((function(t){t.bottom<1500&&t.top<0&&e.getList()})).exec()}},onLoadFun:function(){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},getData:function(t,e){this.id=t.community_id,this.loading=this.loaded=!1,this.where.page=1,this.list=[],this.getList(),this.listIndex=e},getList:function(){var t=this;t.loading||t.loaded||(t.loading=!0,(0,n.replyLstApi)(t.id,t.where).then((function(e){t.loading=!1,t.all=e.data.all,t.loaded=e.data.list.length<t.where.limit,t.list.push.apply(t.list,e.data.list),t.where.page=t.where.page+1}),(function(e){t.$util.Tips({title:e.msg})})))},submitComment:function(){!1===this.isLogin?(this.isAuto=!0,this.isShowAuth=!0):this.getUserInfo()},getUserInfo:function(){var t=this;(0,c.getUserInfo)().then((function(e){e.data.phone||0==t.community_reply_auth?t.createReply():t.$refs.bindmobile.open()}))},createReply:function(){var t=this,e=t.reply_id?t.reply_id:0;(0,n.replyCreateApi)(t.id,{content:t.content,reply_id:e}).then((function(e){t.$util.Tips({title:e.message}),1==e.data.status&&(t.isChild?t.list[t.index]["children"]?t.list[t.index]["children"].push(e.data):t.list[t.index]["children"]=[e.data]:t.list.unshift(e.data),t.all++),t.content="",t.$util.Tips({title:e.message}),t.$emit("successFul",t.listIndex),t.loseFocus()})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},toReply:function(t,e){this.content="",this.placeholder="回复:"+t.author.nickname,this.reply_id=t.reply_id,this.isChild=!0,this.index=e,this.focus=!0},loseFocus:function(){this.focus=!1,this.reply_id=0,this.placeholder="快来说点儿什么吧...",this.isChild=!1},starComment:function(t){var e=this,i=t.relevance_id?0:1;(0,n.starCommentApi)(t.reply_id,{status:i}).then((function(i){200===i.status&&(t.relevance_id?(t.count_start--,t.count_start=0==t.count_start?0:t.count_start,t.relevance_id=!1):(t.count_start++,t.relevance_id=!0)),e.$util.Tips({title:i.message})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},closepoup:function(){this.$refs.bindmobile.close()}}};e.default=d},6381:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("ae65").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.item?a("v-uni-view",{staticClass:"wf-page2",style:t.viewColor,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(t.item)}}},[a("v-uni-view",{staticClass:"pictrue skeleton-rect"},[a("easy-loadimage",{staticClass:"image",attrs:{mode:"widthFix","image-src":t.item.image[0]}}),t.isShow?a("v-uni-view",{staticClass:"plant-show"},[1==t.item.is_type?a("v-uni-text",{staticClass:"iconfont icon-tuwen1"}):2==t.item.is_type?a("v-uni-text",{staticClass:"iconfont icon-shipin1"}):t._e()],1):2==t.item.is_type?a("v-uni-view",{staticClass:"video_img"},[a("v-uni-image",{staticClass:"image",attrs:{src:i("dc82"),mode:""}})],1):t._e(),t.isAuth&&0==t.tab&&1!=t.item.status?a("v-uni-view",{staticClass:"approval_status"},[-1==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("审核未通过")]):-2==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("已下架")]):0==t.item.status?a("v-uni-view",{staticClass:"approval_title"},[t._v("正在审核")]):t._e(),-1==t.item.status||-2==t.item.status?a("v-uni-text",{staticClass:"approval_info"},[t._v("查看未通过原因")]):t._e(),0==t.item.status?a("v-uni-text",{staticClass:"approval_info"},[t._v("通过后将展示在列表")]):t._e()],1):t._e()],1),a("v-uni-view",{staticClass:"text"},[a("v-uni-view",{staticClass:"name skeleton-rect"},[a("v-uni-text",{staticClass:"text_name line2"},[t._v(t._s(t.item.title))])],1),a("v-uni-view",{staticClass:"count acea-row skeleton-rect"},[t.isAuth?a("v-uni-view",{staticClass:"author acea-row"},[a("v-uni-text",{staticClass:"author_time"},[t._v(t._s(t.item.time))])],1):a("v-uni-view",{staticClass:"author acea-row"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.item.author&&t.item.author.avatar||"/static/images/f.png",mode:"widthFix"}}),a("v-uni-text",{staticClass:"author_name line1"},[t._v(t._s(t.item.author&&t.item.author.nickname))])],1),a("v-uni-view",{staticClass:"like"},[a("v-uni-button",{staticClass:"like_count",attrs:{"hover-class":"none"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.likeToggle(t.item)}}},[a("v-uni-text",{staticClass:"iconfont",class:t.item.relevance_id?"icon-shoucang1":"icon-dianzan"}),a("v-uni-text",{staticClass:"collect"},[t._v(t._s(t.item.count_start))])],1)],1)],1)],1)],1):t._e()},o=[]},6566:function(t,e,i){"use strict";var a=i("9bf2").f,n=i("7c73"),o=i("6964"),s=i("0366"),c=i("19aa"),r=i("7234"),u=i("2266"),l=i("c6d2"),d=i("4754"),f=i("2626"),h=i("83ab"),v=i("f183").fastKey,p=i("69f3"),g=p.set,m=p.getterFor;t.exports={getConstructor:function(t,e,i,l){var d=t((function(t,a){c(t,f),g(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),r(a)||u(a,t[l],{that:t,AS_ENTRIES:i})})),f=d.prototype,p=m(e),b=function(t,e,i){var a,n,o=p(t),s=w(t,e);return s?s.value=i:(o.last=s={index:n=v(e,!0),key:e,value:i,previous:a=o.last,next:void 0,removed:!1},o.first||(o.first=s),a&&(a.next=s),h?o.size++:t.size++,"F"!==n&&(o.index[n]=s)),t},w=function(t,e){var i,a=p(t),n=v(e);if("F"!==n)return a.index[n];for(i=a.first;i;i=i.next)if(i.key==e)return i};return o(f,{clear:function(){var t=p(this),e=t.index,i=t.first;while(i)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete e[i.index],i=i.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=p(this),i=w(this,t);if(i){var a=i.next,n=i.previous;delete e.index[i.index],i.removed=!0,n&&(n.next=a),a&&(a.previous=n),e.first==i&&(e.first=a),e.last==i&&(e.last=n),h?e.size--:this.size--}return!!i},forEach:function(t){var e,i=p(this),a=s(t,arguments.length>1?arguments[1]:void 0);while(e=e?e.next:i.first){a(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!w(this,t)}}),o(f,i?{get:function(t){var e=w(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),h&&a(f,"size",{get:function(){return p(this).size}}),d},setStrong:function(t,e,i){var a=e+" Iterator",n=m(e),o=m(a);l(t,e,(function(t,e){g(this,{type:a,target:t,state:n(t),kind:e,last:void 0})}),(function(){var t=o(this),e=t.kind,i=t.last;while(i&&i.removed)i=i.previous;return t.target&&(t.last=i=i?i.next:t.state.first)?d("keys"==e?i.key:"values"==e?i.value:[i.key,i.value],!1):(t.target=void 0,d(void 0,!0))}),i?"entries":"values",!i,!0),f(e)}}},"6b02":function(t,e,i){"use strict";var a=i("10bc"),n=i.n(a);n.a},"6d61":function(t,e,i){"use strict";var a=i("23e7"),n=i("da84"),o=i("e330"),s=i("94ca"),c=i("cb2d"),r=i("f183"),u=i("2266"),l=i("19aa"),d=i("1626"),f=i("7234"),h=i("861d"),v=i("d039"),p=i("1c7e"),g=i("d44e"),m=i("7156");t.exports=function(t,e,i){var b=-1!==t.indexOf("Map"),w=-1!==t.indexOf("Weak"),_=b?"set":"add",y=n[t],x=y&&y.prototype,C=y,k={},L=function(t){var e=o(x[t]);c(x,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(w&&!h(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return w&&!h(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(w&&!h(t))&&e(this,0===t?0:t)}:function(t,i){return e(this,0===t?0:t,i),this})},A=s(t,!d(y)||!(w||x.forEach&&!v((function(){(new y).entries().next()}))));if(A)C=i.getConstructor(e,t,b,_),r.enable();else if(s(t,!0)){var T=new C,z=T[_](w?{}:-0,1)!=T,$=v((function(){T.has(1)})),S=p((function(t){new y(t)})),P=!w&&v((function(){var t=new y,e=5;while(e--)t[_](e,e);return!t.has(-0)}));S||(C=e((function(t,e){l(t,x);var i=m(new y,t,C);return f(e)||u(e,i[_],{that:i,AS_ENTRIES:b}),i})),C.prototype=x,x.constructor=C),($||P)&&(L("delete"),L("has"),b&&L("get")),(P||z)&&L(_),w&&x.clear&&delete x.clear}return k[t]=C,a({global:!0,constructor:!0,forced:C!=y},k),g(C,t),w||i.setStrong(C,t,b),C}},"72ca":function(t,e,i){"use strict";var a=i("d15d"),n=i.n(a);n.a},"733f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-1129b05c]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:77;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);max-height:%?1000?%}.container.on[data-v-1129b05c]{-webkit-transform:translateZ(0);transform:translateZ(0)}.container .header[data-v-1129b05c]{position:relative;padding:%?40?% %?30?%}.container .header .title[data-v-1129b05c]{color:#282828;font-size:%?30?%}.container .header .iconfont[data-v-1129b05c]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:0}.container .header .icon-guanbi5[data-v-1129b05c]{right:%?20?%;color:#8a8a8a;font-size:%?30?%;line-height:%?30?%;top:%?20?%;background-color:initial;font-weight:400}.container uni-scroll-view[data-v-1129b05c]{max-height:%?800?%}.container .main_count[data-v-1129b05c]{padding:0 %?30?% %?30?%;max-height:%?800?%;overflow-y:scroll}.container .main_count.mb90[data-v-1129b05c]{margin-bottom:%?90?%}.container .main_count .list[data-v-1129b05c]{margin-bottom:%?40?%;height:auto;flex-direction:row}.container .main_count .list[data-v-1129b05c]:last-child{margin-bottom:0}.container .main_count .pro_list[data-v-1129b05c]{display:flex;flex-direction:row}.container .main_count .pro_list .picture[data-v-1129b05c], .container .main_count .pro_list .image[data-v-1129b05c], .container .main_count .pro_list uni-image[data-v-1129b05c]{width:%?200?%;height:%?200?%;border-radius:%?16?%}.container .main_count .pro_list .info[data-v-1129b05c]{margin-left:%?30?%;position:relative}.container .main_count .pro_list .info .bottom[data-v-1129b05c]{display:flex;justify-content:space-between;align-items:center;width:%?460?%;position:absolute;left:0;bottom:%?10?%;flex-direction:row}.container .main_count .pro_list .info .name[data-v-1129b05c]{color:#282828;font-size:%?30?%;line-height:%?45?%;display:-webkit-box;width:%?460?%}.container .main_count .pro_list .info .price[data-v-1129b05c]{color:var(--view-priceColor);font-size:%?26?%;font-weight:700;flex-direction:row;align-items:flex-end}.container .main_count .pro_list .info .price uni-text[data-v-1129b05c]{font-size:%?34?%}.container .main_count .pro_list .info .buy-btn[data-v-1129b05c]{color:#fff;background:var(--view-theme);border-radius:%?26?%;width:%?140?%;height:%?48?%;display:flex;align-items:center;justify-content:center;font-size:%?22?%}',""]),t.exports=e},7763:function(t,e,i){"use strict";var a=i("0a76"),n=i.n(a);n.a},"7a52":function(t,e,i){"use strict";var a=i("a68c"),n=i.n(a);n.a},"7b67":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={WaterfallsFlowItem:i("ada9").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"wf-page"},[i("v-uni-view",[t.leftList.length?i("v-uni-view",{attrs:{id:"left"}},t._l(t.leftList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"wf-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.itemTap(e)}}},[i("WaterfallsFlowItem",{attrs:{item:e,isAuth:t.isAuth,uid:t.uid,isShow:t.isShow,tab:t.tab},on:{likeToggle:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.likeToggle(!1,a,e)}.apply(void 0,arguments)}}})],1)})),1):t._e()],1),i("v-uni-view",[t.rightList.length?i("v-uni-view",{attrs:{id:"right"}},t._l(t.rightList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"wf-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.itemTap(e)}}},[i("WaterfallsFlowItem",{attrs:{item:e,isAuth:t.isAuth,uid:t.uid,isShow:t.isShow,tab:t.tab},on:{likeToggle:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.likeToggle(!0,a,e)}.apply(void 0,arguments)}}})],1)})),1):t._e()],1),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},o=[]},"852b":function(t,e,i){"use strict";i.r(e);var a=i("9dfc"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"980a":function(t,e,i){var a=i("f735");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("6fa5b976",a,!0,{sourceMap:!1,shadowMode:!1})},"9aa8":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"container",class:1==t.popup.show?"on":""},[i("v-uni-view",{staticClass:"header"},[i("v-uni-text",{staticClass:"title"},[t._v("TA提到的宝贝")]),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"main_count",class:t.isHome?"mb90":""},[i("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e.spu)}}},[i("v-uni-view",{staticClass:"pro_list"},[i("v-uni-view",{staticClass:"picture"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.spu&&e.spu.image}})],1),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.spu&&e.spu.store_name))]),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-view",{staticClass:"price"},[t._v("¥"),i("v-uni-text",[t._v(t._s(e.spu&&e.spu.price))])],1),i("v-uni-view",{staticClass:"buy-btn"},[t._v("立即购买")])],1)],1)],1)],1)})),1)],1)],1),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.popup.show},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1)},n=[]},"9dfc":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("99af");var n=a(i("5530")),o=(i("bd9e"),i("26cb")),s={computed:(0,n.default)({},(0,o.mapGetters)(["viewColor"])),props:{list:{type:Array,default:[]},uid:{type:Number},isHome:{type:Boolean,default:!1}},data:function(){return{popup:{show:!1}}},methods:{closePopup:function(){this.$set(this.popup,"show",!1)},showPopup:function(){this.$set(this.popup,"show",!0)},goDetail:function(t){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time,"&spid=").concat(this.uid)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)}):0===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id,"&spid=").concat(this.uid)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)}):40===t.product_type&&uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id,"&spid=").concat(this.uid)})}}};e.default=s},a296:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.Popup[data-v-ac292046]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000}.Popup .logo-auth[data-v-ac292046]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-ac292046]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-ac292046]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-ac292046]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-ac292046]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-ac292046]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-ac292046]{width:%?500?%}.flex[data-v-ac292046]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-ac292046]{font-weight:700;background-color:#e93323;\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-ac292046]{font-size:%?28?%;color:#fff}.mask[data-v-ac292046]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},a314:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n=a(i("5530")),o=a(i("ae65")),s=i("26cb"),c={components:{easyLoadimage:o.default},computed:(0,n.default)({},(0,s.mapGetters)(["viewColor"])),props:{item:{type:Object,require:!0},type:{type:Number,default:0},isAuth:{type:Boolean,default:!1},uid:{type:Number||String,default:0},tab:{type:Number,default:1},isFind:{type:Boolean,default:!1},isShow:{type:Boolean,default:!1}},data:function(){return{isShowAuth:!1,isAuto:!1}},methods:{likeToggle:function(t){this.$emit("likeToggle",t)},goDetail:function(t){this.isFind?uni.navigateTo({url:"/pages/plantGrass/plant_featured/index?id="+t.topic_id}):this.plantDeail(t)},plantDeail:function(t){if(1==t.is_type)uni.navigateTo({url:"/pages/plantGrass/plant_detail/index?id="+t.community_id});else{var e=this.isAuth?1:0;uni.navigateTo({url:"/pages/short_video/nvueSwiper/index?id="+t.community_id+"&user="+e+"&uid="+this.uid+"&tab="+this.tab})}}}};e.default=c},a68c:function(t,e,i){var a=i("4540");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("de214a4a",a,!0,{sourceMap:!1,shadowMode:!1})},acba:function(t,e,i){"use strict";i.r(e);var a=i("a314"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},afa2:function(t,e,i){"use strict";i.r(e);var a=i("43d9"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b90c:function(t,e,i){"use strict";i.r(e);var a=i("01c6"),n=i("cc26");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7763");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0566d5ee",null,!1,a["a"],void 0);e["default"]=c.exports},b9d6:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"product-bg"},[e("v-uni-swiper",{attrs:{"indicator-dots":this.indicatorDots,"indicator-active-color":"#e93323",circular:this.circular,interval:this.interval,duration:this.duration}},[this._l(this.imgUrls,(function(t,i){return[e("v-uni-swiper-item",[e("v-uni-image",{staticClass:"slide-image",attrs:{src:t}})],1)]}))],2)],1)},n=[]},ba46:function(t,e,i){"use strict";i.r(e);var a=i("2569"),n=i("d6ba");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("d510");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"850f4c6e",null,!1,a["a"],void 0);e["default"]=c.exports},bb2f:function(t,e,i){var a=i("d039");t.exports=!a((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bd39:function(t,e,i){"use strict";var a=i("980a"),n=i.n(a);n.a},bd9e:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=function(t,e){return new Promise((function(e){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):e(t)}))},i("d3b7"),i("99af")},c15c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[i("v-uni-view",{staticClass:"logo-auth"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),t.isWeixin?i("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):i("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?i("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):i("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),i("v-uni-view",{staticClass:"bottom flex"},[i("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),i("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?i("v-uni-text",{staticClass:"text"},[t._v("去授权")]):i("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},n=[]},c232:function(t,e,i){"use strict";i.r(e);var a=i("7b67"),n=i("1a54");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6b02");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"cdb6c3a0",null,!1,a["a"],void 0);e["default"]=c.exports},c2fc:function(t,e,i){"use strict";var a=i("29ce"),n=i.n(a);n.a},c308:function(t,e,i){"use strict";i.r(e);var a=i("eced"),n=i("ea55");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("bd39");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6a62b0c2",null,!1,a["a"],void 0);e["default"]=c.exports},c9d6:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.wf-page2 .pictrue[data-v-4b772aae]{width:%?345?%;height:%?345?%;border-radius:%?16?%;position:relative}.wf-page2 .pictrue[data-v-4b772aae] uni-image, .wf-page2 .pictrue[data-v-4b772aae] .easy-loadimage, .wf-page2 .pictrue[data-v-4b772aae] .image{width:100%;max-width:%?345?%;height:%?345?%;border-radius:%?16?%}.wf-page2 .pictrue .video_img[data-v-4b772aae]{width:%?40?%;height:%?40?%;position:absolute;top:%?10?%;right:%?10?%;z-index:100}.wf-page2 .pictrue .video_img .image[data-v-4b772aae], .wf-page2 .pictrue .video_img uni-image[data-v-4b772aae], .wf-page2 .pictrue .video_img uni-image[data-v-4b772aae]{width:%?40?%;height:%?40?%}.wf-page2 .pictrue .plant-show[data-v-4b772aae]{width:%?42?%;height:%?42?%;border-radius:100%;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;position:absolute;top:%?10?%;left:%?10?%}.wf-page2 .pictrue .plant-show .iconfont[data-v-4b772aae]{font-size:%?20?%;color:#fff}.loadfail-img[data-v-4b772aae]{width:100%;height:%?345?%}.wf-page2 .text[data-v-4b772aae]{padding:%?20?%;width:%?345?%}.wf-page2 .text .name[data-v-4b772aae]{color:#333;font-size:%?28?%;font-weight:700}.wf-page2 .text .count[data-v-4b772aae]{margin-top:%?20?%;justify-content:space-between}.wf-page2 .text .count .author[data-v-4b772aae]{align-items:center}.wf-page2 .text .count .author_name[data-v-4b772aae]{margin-left:%?10?%;max-width:%?120?%;font-size:%?24?%;color:#333;max-width:%?180?%}.wf-page2 .text .count .author_time[data-v-4b772aae]{color:#666}.wf-page2 .text .count .like[data-v-4b772aae]{font-size:%?24?%;color:#999;display:flex}.wf-page2 .text .count .like .like_count[data-v-4b772aae]{display:flex;align-items:center}.wf-page2 .text .count .like .iconfont[data-v-4b772aae]{font-size:%?30?%}.wf-page2 .text .count .like .icon-shoucang1[data-v-4b772aae]{color:var(--view-priceColor)}.wf-page2 .text .count .like .collect[data-v-4b772aae]{font-size:%?24?%;margin-left:%?5?%}.wf-page2 .author .image[data-v-4b772aae], .wf-page2 .author uni-image[data-v-4b772aae]{width:%?46?%;height:%?46?%;border-radius:100%}.approval_status[data-v-4b772aae]{width:100%;height:100%;background:rgba(0,0,0,.4);position:absolute;top:0;left:0;border-radius:%?16?%;color:#fff;text-align:center;z-index:5}.approval_status .approval_title[data-v-4b772aae]{font-size:%?28?%;margin-top:%?135?%;font-weight:700}.approval_status .approval_info[data-v-4b772aae]{font-size:%?24?%;margin-top:%?24?%}',""]),t.exports=e},cc26:function(t,e,i){"use strict";i.r(e);var a=i("1ea6"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d15d:function(t,e,i){var a=i("733f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("55bebecc",a,!0,{sourceMap:!1,shadowMode:!1})},d2c9:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.boughtLstApi=function(t){return n.default.get("community/pay_product/lst",t)},e.browseLstApi=function(t){return n.default.get("community/hist_product/lst",t)},e.collectLstApi=function(t){return n.default.get("community/rela_product/lst",t)},e.createPlantApi=function(t){return n.default.post("community/create",t)},e.deletePlantApi=function(t){return n.default.post("community/delete/".concat(t))},e.focusArticleLst=function(t){return n.default.get("community/focuslst",t,{noAuth:!0})},e.followAuthorApi=function(t,e){return n.default.post("community/fans/".concat(t),e)},e.getTopicList=function(){return n.default.get("community/category/lst",{},{noAuth:!0})},e.getVideoCode=function(t,e){return n.default.get("community/qrcode/".concat(t),e,{noAuth:!0})},e.graphicLstApi=function(t){return n.default.get("community/lst",t,{noAuth:!0})},e.graphicProApi=function(t){return n.default.get("product/spu/get/".concat(t),{noAuth:!0})},e.graphicStartApi=function(t,e){return n.default.post("community/start/".concat(t),e)},e.hotSearchLst=function(){return n.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},e.myFansLst=function(t){return n.default.get("community/fans/lst",t)},e.myFocusLst=function(t){return n.default.get("community/focus/lst",t)},e.myVideoList=function(t,e){return n.default.get("community/user/community_video/".concat(t),e,{noAuth:!0})},e.orderAssociatePlantApi=function(t){return n.default.get("community/order/".concat(t),{},{noAuth:!0})},e.plantDetailApi=function(t){return n.default.get("community/show/".concat(t),{},{noAuth:!0})},e.replyCreateApi=function(t,e){return n.default.post("community/reply/create/".concat(t),e)},e.replyLstApi=function(t,e){return n.default.get("community/".concat(t,"/reply"),e,{noAuth:!0})},e.starArticleLst=function(t){return n.default.get("community/start/lst",t)},e.starCommentApi=function(t,e){return n.default.post("community/reply/start/".concat(t),e)},e.updatePlantApi=function(t,e){return n.default.post("community/update/".concat(t),e)},e.userArticleLst=function(t,e){return n.default.get("community/user/community/".concat(t),e)},e.userInfoApi=function(t){return n.default.get("community/user/info/".concat(t))},e.videoList=function(t){return n.default.get("community/video_lst",t,{noAuth:!0})};var n=a(i("b5ef"))},d510:function(t,e,i){"use strict";var a=i("04c4"),n=i.n(a);n.a},d630:function(t,e,i){var a=i("a296");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("8f383f98",a,!0,{sourceMap:!1,shadowMode:!1})},d6ba:function(t,e,i){"use strict";i.r(e);var a=i("e578"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d86b:function(t,e,i){var a=i("d039");t.exports=a((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},dc82:function(t,e,i){t.exports=i.p+"static/img/stop.5a8e6dc1.png"},deca:function(t,e,i){"use strict";var a=i("f49b"),n=i.n(a);n.a},df07:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".Loads[data-v-0566d5ee]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-0566d5ee]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee 3s linear 1s infinite;animation:load-data-v-0566d5ee 3s linear 1s infinite}.loading[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee linear 1s infinite;animation:load-data-v-0566d5ee linear 1s infinite}",""]),t.exports=e},e537:function(t,e,i){"use strict";i.r(e);var a=i("b9d6"),n=i("afa2");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7a52");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2f44f7fd",null,!1,a["a"],void 0);e["default"]=c.exports},e578:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("ac1f"),i("a630"),i("3ca3"),i("d3b7"),i("6062"),i("ddb0"),i("99af"),i("14d9"),i("159b");var n=a(i("2909")),o=a(i("5530")),s=a(i("c232")),c=a(i("0b7d")),r=a(i("c308")),u=i("d2c9"),l=i("c6c3"),d=i("26cb"),f=a(i("f272")),h=a(i("e537")),v=a(i("ae65")),p=i("8342"),g=i("4f1b"),m=getApp(),b={components:{authorize:f.default,WaterfallsFlow:s.default,productConSwiper:h.default,mentioned:c.default,comment:r.default,easyLoadimage:v.default},data:function(){return{domain:p.HTTP_REQUEST_URL,tabClick:0,tabLeft:0,isLeft:0,isWidth:0,windowHeight:0,swiperHeight:0,childIndex:0,showComment:!1,userInfo:{},goods:[],followList:[],menuList:[],moreList:[],commList:[],goodsList:[],navShow:!1,navActive:0,tabActive:1,keyword:"",sortPrice:!0,focusLoading:!1,goodsLoading:!1,goodsLoaded:!1,focusLoaded:!1,loadTitle:"加载更多",isShowAuth:!1,isAuto:!1,where:{category_id:0,page:1,limit:30},focusWhere:{page:1,limit:30},storeScroll:!0,storeTop:0,storeHeight:0,navHeight:0,avatar:"",hederBg:"../static/images/plant_header.png",top:300,shareInfo:{},actionSheetHidden:!0,authorUid:0,swiperCur:0,circular:!0,isScroll:!1,interval:3e3,currentItemId:0,swiperCurrent:0,cateGoods:{},newData:{},activeRouter:"",showTab:!1,bottom:90}},onPageScroll:function(t){t.scrollTop;uni.$emit("scroll")},created:function(){var t=this;uni.getSystemInfo({success:function(e){t.isWidth=e.windowWidth/6,t.windowHeight=e.windowHeight,t.$set(t,"swiperHeight",t.windowHeight+55)}})},computed:(0,o.default)((0,o.default)({},(0,d.mapGetters)(["isLogin","uid","viewColor"])),(0,g.configMap)({community_reply_status:0,community_app_switch:[],community_status:0,navigation:{}})),watch:{},onLoad:function(t){},onShow:function(){m.getConfigData(),this.getCateList(),this.getGoods();var t=getCurrentPages(),e=t[t.length-1].route;this.activeRouter="/"+e,this.getNav(),this.isLogin?(this.getUserInfo(),this.getFocusArtical()):this.userInfo={}},mounted:function(){var t=this,e=uni.createSelectorQuery().in(this);e.select("#main").boundingClientRect((function(e){t.storeHeight=e.height,t.storeTop=e.top})).exec()},methods:{goRouter:function(t){var e=getCurrentPages(),i=e[e.length-1].$page.fullPath;t.link!=i&&uni.switchTab({url:t.link,fail:function(e){uni.redirectTo({url:t.link})}})},getNav:function(){this.newData=this.navigation,this.newData.status&&this.newData.status.status?(this.showTab=!0,uni.hideTabBar()):(this.showTab=!1,uni.showTabBar())},followScroll:function(){uni.$emit("scroll")},shareFriend:function(t){this.shareInfo=t},onLoadFun:function(){this.isShowAuth=!1,this.getUserInfo(),this.getFocusArtical()},authColse:function(t){this.isShowAuth=t},authOpen:function(){!1===this.isLogin&&(this.isAuto=!0,this.isShowAuth=!0)},getUserInfo:function(){var t=this;(0,l.getUserInfo)().then((function(e){t.userInfo=e.data}))},getCateList:function(){var t=this;(0,u.getTopicList)().then((function(e){var i=[{cate_name:"推荐",category_id:0,children:[]}];2!=t.community_app_switch.length&&2!=t.community_app_switch[0]||(i=[{cate_name:"推荐",category_id:0,children:[]},{cate_name:"视频",category_id:-1,children:[]}]),t.menuList=Array.from(new Set([].concat((0,n.default)(i),(0,n.default)(e.data))))}))},swiperChange:function(t){var e=t.detail,i=e.current,a=e.source,n=e.currentItemId;if(("autoplay"===a||"touch"===a)&&(this.currentItemId=n,this.swiperCur=i,this.selectMenu(this.menuList[this.swiperCur],this.swiperCur,!1),this.menuList.length>6)){var o=this.swiperCur-2;o=o<=0?0:o;var s=(this.swiperCur-2)*this.isWidth;this.$nextTick((function(){this.$set(this,"tabLeft",s)}))}},selectMenu:function(t,e,i){this.currentItemId=t.category_id,this.swiperCurrent=e,this.swiperCur=e,this.isScroll=i,this.tabClick=e,this.isLeft=e*this.isWidth,this.setMenuLeft(e)},setMenuLeft:function(t){this.getGoods()},showMore:function(t){this.$set(t,"show",!0)},scrollLeft:function(t){uni.$emit("scroll"),this.navShow=t.detail.scrollTop>=this.storeHeight-200,t.detail.scrollTop>t.detail.scrollHeight-1500&&this.getGoods()},getGoods:function(){var t=this,e=this;this.cateGoods[this.currentItemId]||this.$set(this.cateGoods,this.currentItemId,{where:(0,o.default)((0,o.default)({},this.where),{},{category_id:this.currentItemId}),goods:[]});var i=this.cateGoods[this.currentItemId],a=this.currentItemId;i.goodsLoading||i.goodsLoaded||(i.goodsLoading=!0,i.loadTitle="",(0,u.graphicLstApi)(i.where).then((function(n){i.goodsLoading=!1,i.goodsLoaded=n.data.list.length<e.where.limit,1==i.where.page&&(i.goods=[]),i.goods.push.apply(i.goods,n.data.list),i.where.page=i.where.page+1,t.$set(t.cateGoods,a,(0,o.default)({},i))})).catch((function(e){i.goodsLoading=!1,uni.showToast({title:e,icon:"none"}),t.$set(t.cateGoods,a,i)})))},getFocusArtical:function(){var t=this;t.focusLoading||t.focusLoaded||(t.focusLoading=!0,t.loadTitle="",(0,u.focusArticleLst)(t.focusWhere).then((function(e){t.focusLoading=!1,t.focusLoaded=e.data.list.length<t.focusWhere.limit,e.data.list.forEach((function(t){t.show=!1})),t.followList.push.apply(t.followList,e.data.list),t.focusWhere.page=t.focusWhere.page+1})).catch((function(e){t.focusLoading=!1,uni.showToast({title:e,icon:"none"})})))},scrollHome:function(t){this.navShow=t.detail.scrollTop>=this.storeHeight-20},likeToggle:function(t){var e=t.relevance_id?0:1;(0,u.graphicStartApi)(t.community_id,{status:e}).then((function(e){t.relevance_id?(t.count_start--,t.count_start=0==t.count_start?0:t.count_start,t.relevance_id=!1):(t.count_start++,t.relevance_id=!0)}))},openMore:function(t){this.$refs.mentioned.showPopup(),this.moreList=t.relevance,this.authorUid=t.uid},openCommon:function(t,e){this.switchTab(0),this.showComment=!0,this.$refs.comment.getData(t,e)},commentSucces:function(t){this.followList[t]["count_reply"]++},closePopup:function(){this.$refs.mentioned.closePopup()},close:function(){this.switchTab(1),this.showComment=!1},switchTab:function(t){this.newData=this.navigation,this.newData.status&&this.newData.status.status?1==t?(this.showTab=!0,uni.hideTabBar()):(this.showTab=!1,uni.hideTabBar()):1==t?(this.showTab=!1,uni.showTabBar()):(this.showTab=!1,uni.hideTabBar())},goVideo:function(t){uni.navigateTo({url:"/pages/short_video/nvueSwiper/index?id="+t.community_id})},onTouchmove:function(t){var e=this,i=uni.createSelectorQuery().in(this);i.select("#goods").boundingClientRect((function(t){t.bottom<1500&&(1==e.tabActive?e.getGoods():e.getFocusArtical())})).exec()}},onReachBottom:function(){1==this.tabActive?this.getGoods():this.getFocusArtical()}};e.default=b},e933:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("5530")),o=a(i("ff56")),s=i("31bd"),c=i("5cac"),r=i("26cb"),u=a(i("dae1")),l=i("4f1b"),d=(a(i("8b6a")),i("713c")),f=getApp(),h={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,n.default)((0,n.default)({},(0,r.mapGetters)(["isLogin","userInfo","viewColor"])),(0,l.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,d.toLogin)(!0)},getUserProfile:function(){var t=this,e=this;u.default.getUserProfile().then((function(i){var a=i.userInfo;a.code=t.code,a.spread=f.globalData.spid,a.spread_code=f.globalData.code,(0,s.commonAuth)({auth:{type:"routine",auth:a}}).then((function(i){if(200!=i.data.status)return uni.setStorageSync("auth_token",i.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var a=i.data.result.expires_time-o.default.time();e.$store.commit("UPDATE_USERINFO",i.data.result.user),e.$store.commit("LOGIN",{token:i.data.result.token,time:a}),e.$store.commit("SETUID",i.data.result.user.uid),o.default.set(c.EXPIRES_TIME,i.data.result.expires_time,a),o.default.set(c.USER_INFO,i.data.result.user,a),t.$emit("onLoadFun",i.data.result.user),i.data.result.user.isNew&&t.mp_is_new&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1)}}};e.default=h},ea55:function(t,e,i){"use strict";i.r(e);var a=i("6224"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},eced:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={uniPopup:i("59c7").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"container",class:1==t.isShow?"on":"",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.loseFocus.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"main_content"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-text",{staticClass:"title"},[t._v("评论 "+t._s(t.all))]),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},[t.list.length>0?i("v-uni-view",{attrs:{id:"reply"},on:{touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchmove.apply(void 0,arguments)}}},[t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"common_list"},[i("v-uni-view",{staticClass:"commen_one"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.author&&e.author.avatar||"/static/images/f.png"}})],1),i("v-uni-view",{staticClass:"info_count"},[i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"message",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toReply(e,a)}}},[e.author?i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.author.nickname))]):t._e(),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(e.content))]),i("v-uni-view",{staticClass:"time"},[t._v(t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"like",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.starComment(e)}}},[i("v-uni-view",{staticClass:"iconfont",class:e.relevance_id?"icon-yidianzan":"icon-dianzan1"}),t._v(t._s(e.count_start))],1)],1),e.children&&e.children.length>0?i("v-uni-view",{staticClass:"reply_count"},t._l(e.children,(function(e,n){return i("v-uni-view",{key:n,staticClass:"reply_list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"item_count",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toReply(e,a)}}},[i("v-uni-image",{staticClass:"image",attrs:{src:e.author&&e.author.avatar||"/static/images/f.png"}}),e.author?i("v-uni-view",{staticClass:"name_two"},[t._v(t._s(e.author.nickname))]):t._e(),i("v-uni-view",{staticClass:"desc_two"},[e.reply?i("v-uni-text",{staticClass:"reply_user"},[t._v("回复 @"+t._s(e.reply.nickname))]):t._e(),t._v(t._s(e.content))],1),i("v-uni-view",{staticClass:"time_two"},[t._v(t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"like_two",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.starComment(e)}}},[i("v-uni-view",{staticClass:"iconfont",class:e.relevance_id?"icon-yidianzan":"icon-dianzan1"}),t._v(t._s(e.count_start))],1)],1)],1)})),1):t._e()],1)],1)})),i("v-uni-view",{staticClass:"end"},[i("v-uni-text",[t._v("到底了")])],1)],2):t._e(),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}}),0!=t.list.length||t.loading?t._e():i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:"/static/images/no_commen.png"}}),i("v-uni-text",[t._v("暂无评论,快去抢沙发吧~")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"release_bar",style:"bottom:"+t.bottom+"rpx;"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.userInfo.avatar||"/static/images/f.png"}}),i("v-uni-view",{staticClass:"input_count"},[i("v-uni-input",{attrs:{type:"text",placeholder:t.placeholder,"placeholder-style":"color: #999999; font-size: 26rpx;",focus:t.focus,"confirm-type":"search"},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1),i("v-uni-button",{staticClass:"send",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.submitComment.apply(void 0,arguments)}}},[t._v("发送")])],1)],1),i("uni-popup",{ref:"bindmobile",attrs:{type:"bottom"}},[i("bindmobile",{attrs:{isCommuity:!0},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closepoup.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.isShow},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},o=[]},f183:function(t,e,i){var a=i("23e7"),n=i("e330"),o=i("d012"),s=i("861d"),c=i("1a2d"),r=i("9bf2").f,u=i("241c"),l=i("057f"),d=i("4fad"),f=i("90e3"),h=i("bb2f"),v=!1,p=f("meta"),g=0,m=function(t){r(t,p,{value:{objectID:"O"+g++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},v=!0;var t=u.f,e=n([].splice),i={};i[p]=1,t(i).length&&(u.f=function(i){for(var a=t(i),n=0,o=a.length;n<o;n++)if(a[n]===p){e(a,n,1);break}return a},a({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!c(t,p)){if(!d(t))return"F";if(!e)return"E";m(t)}return t[p].objectID},getWeakData:function(t,e){if(!c(t,p)){if(!d(t))return!0;if(!e)return!1;m(t)}return t[p].weakData},onFreeze:function(t){return h&&v&&d(t)&&!c(t,p)&&m(t),t}};o[p]=!0},f272:function(t,e,i){"use strict";i.r(e);var a=i("c15c"),n=i("493d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1c6c");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ac292046",null,!1,a["a"],void 0);e["default"]=c.exports},f49b:function(t,e,i){var a=i("c9d6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("5a3727db",a,!0,{sourceMap:!1,shadowMode:!1})},f5cb:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.wf-page[data-v-cdb6c3a0]{display:grid;grid-template-columns:1fr 1fr;grid-gap:%?20?%}.wf-item[data-v-cdb6c3a0]{width:calc((100vw - 2 * %?20?% - %?20?%) / 2);margin-bottom:%?20?%;background:#fff;border-radius:%?16?%}.wf-item-page[data-v-cdb6c3a0]{padding-bottom:%?20?%}',""]),t.exports=e},f735:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-6a62b0c2]{display:block;background:#fff;border-radius:%?16?% %?16?% 0 0;position:relative;position:fixed;bottom:0;padding-bottom:calc(0rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(%?0?% + env(safe-area-inset-bottom));width:100%;left:0;background-color:#f5f5f5;z-index:40;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.container.on[data-v-6a62b0c2]{-webkit-transform:translateZ(0);transform:translateZ(0)}.container .main_content[data-v-6a62b0c2]{padding:%?24?% %?30?%;border-bottom:1px solid #f5f5f5;position:relative}.container .header[data-v-6a62b0c2]{position:relative;text-align:center}.container .header .title[data-v-6a62b0c2]{color:#282828;font-size:%?36?%;font-weight:700}.container .header .iconfont[data-v-6a62b0c2]{color:#8a8a8a;font-size:%?36?%;position:absolute;top:%?4?%;right:0}uni-scroll-view[data-v-6a62b0c2]{max-height:60vh}.main[data-v-6a62b0c2]{margin-top:%?60?%;padding-bottom:%?20?%;position:static}.main .common_list[data-v-6a62b0c2]{position:relative;padding-left:%?94?%;margin-bottom:%?20?%}.main .common_list .commen_one[data-v-6a62b0c2]{position:absolute;top:0;left:0}.main .common_list .commen_one .image[data-v-6a62b0c2], .main .common_list .commen_one uni-image[data-v-6a62b0c2]{width:%?74?%;height:%?74?%;border-radius:100%}.main .common_list .info[data-v-6a62b0c2]{position:relative;padding-right:%?90?%}.main .common_list .name[data-v-6a62b0c2], .main .common_list .name_two[data-v-6a62b0c2]{color:#999;font-size:%?26?%}.main .common_list .desc[data-v-6a62b0c2], .main .common_list .desc_two[data-v-6a62b0c2]{color:#282828;font-size:%?28?%;margin-top:%?10?%}.main .common_list .desc_two[data-v-6a62b0c2]{font-size:%?26?%}.main .common_list .desc_two .reply_user[data-v-6a62b0c2]{font-size:%?24?%;color:#4a8ac9;margin:0 %?6?%}.main .common_list .time[data-v-6a62b0c2], .main .common_list .time_two[data-v-6a62b0c2]{color:#bbb;font-size:%?22?%;margin-top:%?15?%}.main .common_list .like[data-v-6a62b0c2], .main .common_list .like_two[data-v-6a62b0c2]{color:#999;font-size:%?26?%;text-align:center;position:absolute;top:0;right:0;width:%?75?%}.main .common_list .like .icon-yidianzan[data-v-6a62b0c2], .main .common_list .like_two .icon-yidianzan[data-v-6a62b0c2]{color:var(--view-theme)}.main .common_list .reply_list[data-v-6a62b0c2]{margin-top:%?20?%}.main .common_list .reply_list .item[data-v-6a62b0c2]{padding-right:%?140?%;position:relative}.main .common_list .reply_list .item_count[data-v-6a62b0c2]{position:relative;padding-left:%?56?%}.main .common_list .reply_list .item_count .image[data-v-6a62b0c2], .main .common_list .reply_list .item_count un-image[data-v-6a62b0c2]{width:%?36?%;height:%?36?%;border-radius:100%;position:absolute;top:0;left:0}.main .end[data-v-6a62b0c2]{margin-top:%?50?%;text-align:center}.main .end uni-text[data-v-6a62b0c2]{color:#999;font-size:%?22?%;position:relative}.main .end uni-text[data-v-6a62b0c2]::before, .main .end uni-text[data-v-6a62b0c2]::after{content:"";display:inline-block;width:%?22?%;height:%?1?%;background:#999;position:absolute;top:%?18?%;opacity:.5}.main .end uni-text[data-v-6a62b0c2]::before{left:%?-30?%}.main .end uni-text[data-v-6a62b0c2]::after{right:%?-30?%}.release_bar[data-v-6a62b0c2]{width:100%;left:0;bottom:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:%?15?% %?30?%;border-top:1px solid #f5f5f5;flex-direction:row}.release_bar .avatar[data-v-6a62b0c2], .release_bar uni-image[data-v-6a62b0c2], .release_bar uni-image[data-v-6a62b0c2]{width:%?54?%;height:%?54?%;border-radius:100%}.release_bar .input_count[data-v-6a62b0c2]{width:%?480?%;background:#f7f7f7;border-radius:%?31?%;padding:%?12?% %?30?%}.release_bar .send[data-v-6a62b0c2]{font-size:%?26?%;color:#fff;padding:%?12?% %?30?%;background-image:linear-gradient(126deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:%?30?%;text-align:center}.empty[data-v-6a62b0c2]{display:block;margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-6a62b0c2], .empty uni-image[data-v-6a62b0c2]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-6a62b0c2]{display:block;color:#999;font-size:%?26?%}',""]),t.exports=e}}]);