1 line
47 KiB
JavaScript
Executable File
1 line
47 KiB
JavaScript
Executable File
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_detail-index"],{"0525":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,mode:"aspectFit"}})],1)]}))],2)],1)},n=[]},"059e":function(t,e,i){"use strict";i.r(e);var a=i("0525"),n=i("af44");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("fd21");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"37f8005b",null,!1,a["a"],void 0);e["default"]=c.exports},"0d29":function(t,e,i){var a=i("f27f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("345ba691",a,!0,{sourceMap:!1,shadowMode:!1})},"104c":function(t,e,i){"use strict";i.r(e);var a=i("90c4"),n=i("5bfe");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("b771");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7457bcea",null,!1,a["a"],void 0);e["default"]=c.exports},"1c57":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-7457bcea]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-7457bcea]{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-7457bcea]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-7457bcea]{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-7457bcea]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-7457bcea]{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-7457bcea]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-7457bcea]{width:%?500?%}.flex[data-v-7457bcea]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-7457bcea]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-7457bcea]{font-size:%?28?%;color:#fff}.mask[data-v-7457bcea]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"20f5":function(t,e,i){var a=i("1c57");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("a31b40ae",a,!0,{sourceMap:!1,shadowMode:!1})},"2b47":function(t,e,i){"use strict";var a=i("914e"),n=i.n(a);n.a},"3a93":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("523b").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[null!=t.followDetail&&t.followDetail?a("v-uni-view",{staticClass:"main",class:{off_scoll:t.flag},staticStyle:{"padding-top":"var(--status-bar-height)"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showManage=!1}}},[1!=t.followDetail.status?a("v-uni-view",{staticClass:"approval_status"},[a("v-uni-view",{staticClass:"status_count",class:0==t.followDetail.status?"status1":"status0"},[a("v-uni-view",{staticClass:"status_title"},[a("v-uni-text",{staticClass:"iconfont",class:-1==t.followDetail.status||-2==t.followDetail.status?"icon-tishi":"icon-shijian"}),-1==t.followDetail.status?a("v-uni-text",{staticClass:"title"},[t._v("审核未通过")]):t._e(),-2==t.followDetail.status?a("v-uni-text",{staticClass:"title"},[t._v("已下架")]):t._e(),0==t.followDetail.status?a("v-uni-text",{staticClass:"title"},[t._v("正在审核")]):t._e()],1),-1==t.followDetail.status||-2==t.followDetail.status?a("v-uni-view",{staticClass:"status_info"},[t._v(t._s(t.followDetail.refusal))]):t._e(),0==t.followDetail.status?a("v-uni-view",{staticClass:"status_info"},[t._v("发布的内容审核通过后,将展示在首页!")]):t._e()],1)],1):t._e(),a("v-uni-view",{staticClass:"tab-cont"},[a("v-uni-view",{staticClass:"follow_count"},[a("v-uni-view",{staticClass:"list_count"},[t.followDetail.author?a("v-uni-view",{staticClass:"title"},[a("v-uni-view",{staticClass:"head-menu"},[a("i",{staticClass:"iconfont icon-xiangzuo",staticStyle:{"font-size":"40rpx","text-align":"left"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.returns.apply(void 0,arguments)}}})]),a("v-uni-view",{staticClass:"author"},[a("v-uni-navigator",{attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_user/index?id="+t.followDetail.uid}},[a("v-uni-image",{staticClass:"picture",attrs:{src:t.followDetail.author.avatar||"/static/images/f.png",mode:"aspectFit"}})],1),a("v-uni-view",{staticClass:"name acea-row",staticStyle:{width:"300rpx"}},[a("v-uni-text",[t._v(t._s(t.followDetail.author.nickname))]),t.followDetail.author.member?a("v-uni-image",{staticClass:"level_icon",attrs:{src:t.followDetail.author.member.brokerage_icon,alt:""}}):t._e()],1)],1),a("v-uni-view",{staticClass:"author",staticStyle:{"margin-left":"50rpx"}},[t.followDetail.is_author?a("v-uni-view",{staticClass:"manageCount"},[a("v-uni-view",{staticClass:"follow_btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showManage=!t.showManage}}},[t._v("管理")]),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showManage,expression:"showManage"}],staticClass:"manage"},[a("v-uni-navigator",{staticClass:"items",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_release/index?id="+t.id+"&type=1"}},[a("v-uni-text",{staticClass:"iconfont icon-bianji"}),a("v-uni-text",[t._v("编辑")])],1),a("v-uni-view",{staticClass:"items",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.deleteTopic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-shanchu3"}),a("v-uni-text",[t._v("删除")])],1)],1)],1):a("v-uni-view",{on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.followAuthor.apply(void 0,arguments)}}},[t.followDetail.is_fans?a("v-uni-view",{staticClass:"follow_btn focused"},[t._v("已关注")]):a("v-uni-view",{staticClass:"follow_btn focus"},[a("v-uni-text",{staticClass:"iconfont icon-jiahao2"}),t._v("关注")],1)],1)],1)],1):t._e(),a("v-uni-view",{staticClass:"product"},[a("productConSwiper",{attrs:{imgUrls:t.followDetail.image}})],1),a("v-uni-view",{staticClass:"pro_describle"},[a("v-uni-view",{staticClass:"product"},[a("v-uni-scroll-view",{staticClass:"scroll-view",staticStyle:{"white-space":"nowrap",display:"flex"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"show-scrollbar":"true"}},t._l(t.followDetail.relevance,(function(e,i){return a("v-uni-view",{key:i,staticClass:"product-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.shopdetail(e)}}},[e.spu?a("v-uni-view",{staticClass:"item-count acea-row"},[a("v-uni-view",{staticClass:"picture"},[a("v-uni-image",{staticClass:"image",attrs:{src:e.spu.image}})],1),a("v-uni-view",{staticClass:"product-text"},[e.spu&&e.spu.store_name.length>=12?a("v-uni-text",{staticClass:"name line1"},[t._v(t._s(e.spu.store_name.slice(0,12))+"...")]):a("v-uni-text",{staticClass:"name line1"},[t._v(t._s(e.spu&&e.spu.store_name))]),a("v-uni-view",{staticClass:"product-price"},[a("v-uni-view",{staticClass:"price"},[a("v-uni-text",{staticClass:"sm"},[t._v("¥")]),a("v-uni-text",{staticClass:"money"},[t._v(t._s(e.spu.price))])],1)],1)],1)],1):t._e()],1)})),1)],1),a("v-uni-view",{staticClass:"product_info"},[a("v-uni-text",{staticClass:"text"},[t._v(t._s(t.followDetail.content))])],1),t.followDetail.topic?a("v-uni-navigator",{staticClass:"product_cate",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_search_list/index?id="+t.followDetail.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(t.followDetail.topic.topic_name))])],1)],1):t._e(),a("v-uni-view",{staticClass:"create_time"},[t._v(t._s(t.followDetail.create_time))])],1)],1)],1),1==t.community_reply_status?a("v-uni-view",{staticClass:"commend_list",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.loseFocus.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"commen_count"},[t._v("评论"+t._s(0==t.replyData.all?"":t.replyData.all))]),t.commList.length>0?[t._l(t.commList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"common_list"},[e.author?a("v-uni-view",{staticClass:"commen_one",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.toReply(e,i)}}},[a("v-uni-image",{staticClass:"image",attrs:{src:e.author.avatar?e.author.avatar:"/static/images/f.png"}})],1):t._e(),a("v-uni-view",{staticClass:"info_count"},[a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"message"},[e.author?a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.author.nickname))]):t._e(),a("v-uni-view",{staticClass:"desc",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.toReply(e,i)}}},[t._v(t._s(e.content))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(e.create_time))])],1),a("v-uni-view",{staticClass:"like",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.starComment(e)}}},[a("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?a("v-uni-view",{staticClass:"reply_count"},t._l(e.children,(function(e,n){return a("v-uni-view",{key:n,staticClass:"reply_list"},[a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"item_count"},[e.author?a("v-uni-image",{staticClass:"image",attrs:{src:e.author.avatar?e.author.avatar:"/static/images/f.png"},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.toReply(e,i)}}}):t._e(),e.author?a("v-uni-view",{staticClass:"name_two"},[t._v(t._s(e.author.nickname))]):t._e(),a("v-uni-view",{staticClass:"desc_two",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.toReply(e,i)}}},[e.reply?a("v-uni-text",{staticClass:"reply_user"},[t._v("回复\n\t\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(e.reply.nickname))]):t._e(),t._v(t._s(e.content))],1),a("v-uni-view",{staticClass:"time_two"},[t._v(t._s(e.create_time))])],1),a("v-uni-view",{staticClass:"like_two",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.starComment(e)}}},[a("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)})),a("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:!t.loading}},[a("v-uni-text",{staticClass:"iconfont icon-jiazai loading"})],1)]:t._e(),0!=t.commList.length||t.loading?t._e():a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:"/static/images/no_commen.png"}}),a("v-uni-text",[t._v("暂无评论,快去抢沙发吧~")])],1),1==t.followDetail.status&&t.followDetail.relevance.length<=0?a("v-uni-view",{staticClass:"release_bar acea-row"},[a("v-uni-view",{staticClass:"input_count",class:{input_reply:t.content}},[a("v-uni-form",{on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.submitComment.apply(void 0,arguments)}}},[a("v-uni-input",{attrs:{type:"text",placeholder:t.placeholder,"placeholder-style":"color: #999999; font-size: 26rpx;",focus:t.focus,cursorSpacing:"{20}"},on:{confirm:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.submitComment()}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)],1),t.content?a("v-uni-view",[a("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):a("v-uni-view",{staticClass:"input_bar acea-row"},[a("v-uni-view",{staticClass:"item acea-row",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.likeToggle(t.followDetail.relevance_id)}}},[a("v-uni-text",{staticClass:"iconfont",class:t.followDetail.relevance_id?"icon-shoucang1":"icon-dianzan"}),a("v-uni-text",[t._v(t._s(t.followDetail.count_start))])],1),a("v-uni-view",{staticClass:"item acea-row",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.FToggle.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-pinglun"}),a("v-uni-text",[t._v(t._s(t.replyData.all))])],1)],1)],1):t._e(),1==t.followDetail.status&&t.followDetail.relevance.length>0?a("v-uni-view",{staticClass:"release_bar acea-row"},[a("v-uni-view",{staticClass:"shopp",staticStyle:{"margin-top":"10rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openMore(t.followDetail)}}},[a("v-uni-view",{staticClass:"shopp-img"},[a("v-uni-image",{attrs:{src:i("f3de"),mode:""}})],1),a("v-uni-view",{staticClass:"shopp-txt"},[t._v("商品 ("+t._s(t.followDetail.relevance.length)+")")])],1),a("v-uni-view",{staticClass:"input_bar acea-row"},[a("v-uni-view",{staticClass:"item acea-row"},[a("v-uni-text",{staticClass:"iconfont",class:t.followDetail.relevance_id?"icon-shoucang1":"icon-dianzan"}),a("v-uni-text",[t._v(t._s(t.followDetail.count_start))])],1),a("v-uni-view",{staticClass:"item acea-row",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.FToggle.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-pinglun"}),a("v-uni-text",[t._v(t._s(t.replyData.all))])],1)],1)],1):t._e()],2):t._e()],1)],1):t._e(),t.followDetail&&null!=t.followDetail||t.loadData?t._e():a("v-uni-view",{staticClass:"no_content"},[a("v-uni-view",{staticClass:"count"},[a("v-uni-image",{attrs:{src:i("8917")}}),a("v-uni-text",[t._v("内容不存在,可能被删除了哦~")]),a("v-uni-navigator",{staticClass:"btn",attrs:{"open-type":t.open_grass?"switchTab":"navigate",url:"/pages/index/index"}},[t._v("返回首页")])],1)],1),t.followDetail?a("mentioned",{ref:"mentioned",attrs:{list:t.followDetail.relevance,uid:t.followDetail.uid},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},closes:function(e){arguments[0]=e=t.$handleEvent(e),t.flag=!1}}}):t._e(),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)}}}),a("uni-popup",{ref:"bindmobile",attrs:{type:"bottom"}},[a("bindmobile",{on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),a("uni-popup",{ref:"bindmobile1",attrs:{type:"bottom"}},[a("v-uni-view",{staticStyle:{"background-color":"#fff",height:"154rpx"}},[a("v-uni-view",{staticClass:"input_count1",class:{input_reply:t.content}},[a("v-uni-form",{on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.submitComment.apply(void 0,arguments)}}},[a("v-uni-view",{staticStyle:{display:"flex",padding:"0 20rpx","box-sizing":"border-box"}},[a("v-uni-input",{staticClass:"count1",attrs:{type:"text",placeholder:t.placeholder,"placeholder-style":"color: #999999; font-size: 26rpx;",focus:t.focus,cursorSpacing:"{20}"},on:{confirm:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.submitComment()}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),a("v-uni-button",{staticClass:"send1",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.submitComment.apply(void 0,arguments)}}},[t._v("发送")])],1)],1)],1)],1)],1)],1)},o=[]},"3dd6":function(t,e,i){"use strict";i.r(e);var a=i("ec05"),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},"52dc":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.deoList=function(t){return n.default.get("community/show/".concat(t),{noAuth:!0})},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("df89"))},"5bfe":function(t,e,i){"use strict";i.r(e);var a=i("e40c"),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},8917:function(t,e,i){t.exports=i.p+"static/img/no_content.e66d9bc7.png"},"90c4":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;"},[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=[]},"914e":function(t,e,i){var a=i("9a6d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("2b2373cd",a,!0,{sourceMap:!1,shadowMode:!1})},"9a6d":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-0f4c923e]{background:#fff}body.?%PAGE?%[data-v-0f4c923e]{background:#fff}.head-menu[data-v-0f4c923e]{width:%?51?%;height:%?51?%;margin-right:%?20?%;margin-top:%?10?%}.head-menu uni-image[data-v-0f4c923e]{width:100%;height:100%}.tab-cont[data-v-0f4c923e]{background:#fff;border-radius:%?16?% %?16?% 0 0}.approval_status[data-v-0f4c923e]{padding:%?20?%}.approval_status .status_count[data-v-0f4c923e]{padding:%?26?% %?30?% %?20?%;border-radius:%?10?%}.approval_status .status_count .title[data-v-0f4c923e]{margin-left:%?10?%;font-size:%?28?%;font-weight:700}.approval_status .status_count.status0[data-v-0f4c923e]{background:#fdf3f2}.approval_status .status_count.status0 .title[data-v-0f4c923e]{color:#e93323}.approval_status .status_count.status1[data-v-0f4c923e]{background:#fff4eb}.approval_status .status_count.status1 .title[data-v-0f4c923e]{color:#fc8327}.approval_status .status_count .iconfont[data-v-0f4c923e]{font-size:%?30?%}.approval_status .status_count .icon-shijian[data-v-0f4c923e]{color:#fc8327}.approval_status .status_count .icon-tishi[data-v-0f4c923e]{color:#e93323}.approval_status .status_count .status_info[data-v-0f4c923e]{font-size:%?22?%;color:#666;margin:%?10?% 0 0 %?36?%}.product[data-v-0f4c923e]{flex-direction:row;margin-top:%?27?%}.product .scroll-view[data-v-0f4c923e]{flex-direction:row}.product .product-item[data-v-0f4c923e]{display:inline-block;width:%?444?%;height:%?136?%;background-color:#f4f4f4;border-radius:%?12?%;padding:%?16?% %?15?%;margin-right:%?30?%}.product .swiper[data-v-0f4c923e]{width:%?500?%!important;height:%?136?%!important}.product .swiper .swiper-count[data-v-0f4c923e]{width:%?444?%!important;height:%?136?%!important;background:rgba(0,0,0,.55);border-radius:%?12?%;padding:%?16?% %?15?%}.product .swiper .swiper-item[data-v-0f4c923e]{flex-direction:row}.product .item-count[data-v-0f4c923e]{flex-direction:row;justify-content:space-between}.product .item-count .picture[data-v-0f4c923e]{width:%?104?%;height:%?104?%;border-radius:%?10?%}.product .item-count .picture .image[data-v-0f4c923e]{width:%?104?%;height:%?104?%;border-radius:%?10?%}.product .item-count .product-text[data-v-0f4c923e]{width:%?286?%;justify-content:space-between}.product .item-count .product-text .name[data-v-0f4c923e]{font-size:%?24?%;width:%?286?%;color:#000}.product .item-count .product-text .product-price[data-v-0f4c923e]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.product .item-count .product-text .product-price .price[data-v-0f4c923e]{display:flex;flex-direction:row}.product .item-count .product-text .product-price .price .sm[data-v-0f4c923e],\r\n.product .item-count .product-text .product-price .price .money[data-v-0f4c923e]{color:#000;font-size:%?24?%}.product .item-count .product-text .product-price .buy-btn[data-v-0f4c923e]{padding:%?6?% %?20?%;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:%?26?%;background:#e93323;font-size:%?20?%}.follow_count[data-v-0f4c923e]{padding:%?20?%;border-bottom:1px solid #f5f5f5}.follow_count .title[data-v-0f4c923e]{display:flex}.follow_count .author[data-v-0f4c923e]{display:flex;align-items:center}.follow_count .author .fenxa[data-v-0f4c923e]{width:%?51?%;height:%?51?%}.follow_count .author .fenxa uni-image[data-v-0f4c923e]{width:100%;height:100%}.follow_count .author .picture[data-v-0f4c923e],\r\n.follow_count .author uni-image[data-v-0f4c923e]{width:%?70?%;height:%?70?%;border-radius:100%}.follow_count .author .name[data-v-0f4c923e]{margin-left:%?20?%;color:#333;font-size:%?32?%;font-weight:700;align-items:center}.follow_count .author .follow_btn[data-v-0f4c923e]{margin-right:%?24?%;width:%?112?%;display:flex;text-align:center;justify-content:center;line-height:%?42?%;font-size:%?22?%;border-radius:%?33?%;color:#282828;border:1px solid #282828}.follow_count .author .follow_btn.focus[data-v-0f4c923e]{color:var(--view-theme);border:1px solid var(--view-theme)}.follow_count .author .follow_btn.focus .iconfont[data-v-0f4c923e]{font-size:%?15?%;margin-right:%?5?%}.follow_count .author .follow_btn.focused[data-v-0f4c923e]{background:#eee;border:1px solid #eee;color:#999}.follow_count .author .level_icon[data-v-0f4c923e]{width:%?34?%;height:%?32?%;margin:%?4?% 0 0 %?6?%;border:none}.follow_count .time[data-v-0f4c923e]{color:#282828;font-size:%?46?%}.follow_count .product[data-v-0f4c923e]{margin-top:%?20?%;border-radius:%?16?%}.follow_count .manageCount[data-v-0f4c923e]{position:relative}.follow_count .manageCount .manage[data-v-0f4c923e]{width:%?210?%;background:#fff;box-shadow:0 %?2?% %?15?% rgba(0,0,0,.1);padding:0 %?15?%;position:absolute;bottom:%?-180?%;left:%?-20?%;z-index:10;border-radius:%?16?%}.follow_count .manageCount .manage[data-v-0f4c923e]::before{content:"";display:inline-block;width:%?26?%;height:%?26?%;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;top:%?-10?%;left:%?30?%;box-shadow:%?-1?% %?-1?% %?1?% rgba(0,0,0,.05)}.follow_count .manageCount .manage .items[data-v-0f4c923e]{border-bottom:1px solid #eee;color:#282828;font-size:%?26?%;padding:%?20?% 0;display:flex;align-items:center}.follow_count .manageCount .manage .items[data-v-0f4c923e]:last-child{border-bottom:none}.follow_count .manageCount .manage .items .iconfont[data-v-0f4c923e]{margin:0 %?16?% 0}.pro_describle .create_time[data-v-0f4c923e]{color:#ccc;font-size:%?22?%;margin-left:%?10?%;margin-top:%?5?%}.pro_describle .mentioned[data-v-0f4c923e]{padding:%?20?% 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f5f5f5}.pro_describle .mentioned .title[data-v-0f4c923e]{color:#666;font-size:%?26?%}.pro_describle .product_more[data-v-0f4c923e]{max-width:%?360?%;display:flex;align-items:center}.pro_describle .product_more .more_image[data-v-0f4c923e]{width:%?58?%;height:%?58?%;border-radius:%?5?%;border:1px solid #bbb;margin-right:%?12?%}.pro_describle .product_more .iconfont[data-v-0f4c923e]{color:#ccc;margin-left:%?10?%}.pro_describle .product_info[data-v-0f4c923e]{line-height:%?45?%;margin:%?20?% 0}.pro_describle .product_info .text[data-v-0f4c923e]{font-size:%?28?%;color:#282828;text-align:justify;text-justify:newspaper;word-break:break-all}.pro_describle .product_info .unfold_btn[data-v-0f4c923e]{margin-left:%?30?%;font-size:%?30?%;color:#282828;font-weight:700}.pro_describle .product_cate[data-v-0f4c923e]{margin:%?20?% 0;display:inline-block}.pro_describle .product_cate > uni-view[data-v-0f4c923e]{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-0f4c923e]{font-size:%?28?%}.pro_describle .product_cate > uni-view .icon[data-v-0f4c923e]{font-size:%?35?%;font-weight:700;margin-right:%?10?%}.main_count[data-v-0f4c923e]{padding:%?30?% %?20?%}.main_count .list[data-v-0f4c923e]{width:%?710?%;height:%?280?%;margin-bottom:%?30?%;position:relative}.main_count .list .picture[data-v-0f4c923e]{width:%?710?%;height:%?280?%;border-radius:%?16?%}.commend_list[data-v-0f4c923e]{margin-top:%?30?%;padding:0 %?20?%;position:relative;padding-bottom:%?120?%}.commend_list .commen_count[data-v-0f4c923e]{font-size:%?26?%;color:#282828;margin:%?30?% 0}.commend_list .common_list[data-v-0f4c923e]{position:relative;padding-left:%?94?%}.commend_list .common_list .commen_one[data-v-0f4c923e]{position:absolute;top:0;left:0}.commend_list .common_list .commen_one .image[data-v-0f4c923e],\r\n.commend_list .common_list .commen_one uni-image[data-v-0f4c923e]{width:%?74?%;height:%?74?%;border-radius:100%}.commend_list .common_list .info_count[data-v-0f4c923e]{margin-bottom:%?20?%}.commend_list .common_list .info[data-v-0f4c923e]{position:relative;padding-right:%?90?%}.commend_list .common_list .name[data-v-0f4c923e],\r\n.commend_list .common_list .name_two[data-v-0f4c923e]{color:#999;font-size:%?26?%}.commend_list .common_list .desc[data-v-0f4c923e],\r\n.commend_list .common_list .desc_two[data-v-0f4c923e]{color:#282828;font-size:%?28?%;margin-top:%?10?%;display:inline-block}.commend_list .common_list .desc_two[data-v-0f4c923e]{font-size:%?26?%}.commend_list .common_list .desc_two .reply_user[data-v-0f4c923e]{font-size:%?24?%;color:#4a8ac9;margin:0 %?6?%}.commend_list .common_list .time[data-v-0f4c923e],\r\n.commend_list .common_list .time_two[data-v-0f4c923e]{color:#bbb;font-size:%?22?%;margin-top:%?15?%}.commend_list .common_list .like[data-v-0f4c923e],\r\n.commend_list .common_list .like_two[data-v-0f4c923e]{color:#999;font-size:%?26?%;text-align:center;position:absolute;top:0;right:0;width:%?75?%}.commend_list .common_list .like .icon-yidianzan[data-v-0f4c923e],\r\n.commend_list .common_list .like_two .icon-yidianzan[data-v-0f4c923e]{color:var(--view-theme)}.commend_list .common_list .reply_list[data-v-0f4c923e]{margin-top:%?20?%}.commend_list .common_list .reply_list .item[data-v-0f4c923e]{padding-right:%?140?%;position:relative}.commend_list .common_list .reply_list .item_count[data-v-0f4c923e]{position:relative;padding-left:%?56?%}.commend_list .common_list .reply_list .item_count .image[data-v-0f4c923e],\r\n.commend_list .common_list .reply_list .item_count un-image[data-v-0f4c923e]{width:%?36?%;height:%?36?%;border-radius:100%;position:absolute;top:0;left:0}.no_content[data-v-0f4c923e],\r\n.main[data-v-0f4c923e]{min-height:100vh;background:#fff;position:relative}.no_content .count[data-v-0f4c923e],\r\n.main .count[data-v-0f4c923e]{position:absolute;text-align:center;width:100%;top:50%;margin-top:%?-300?%}.no_content .count uni-image[data-v-0f4c923e],\r\n.no_content .count uni-image[data-v-0f4c923e],\r\n.main .count uni-image[data-v-0f4c923e],\r\n.main .count uni-image[data-v-0f4c923e]{width:%?424?%;height:%?305?%}.no_content .count uni-text[data-v-0f4c923e],\r\n.main .count uni-text[data-v-0f4c923e]{display:block;color:#999;font-size:%?26?%}.no_content .btn[data-v-0f4c923e],\r\n.main .btn[data-v-0f4c923e]{width:%?440?%;text-align:center;padding:%?15?% 0;color:var(--view-theme);border:1px solid var(--view-theme);border-radius:%?40?%;margin:%?44?% auto 0;font-size:%?32?%}.input_count1[data-v-0f4c923e]{height:%?70?%;padding-top:%?15?%}.input_count1[data-v-0f4c923e] .count1{padding-left:%?20?%;width:%?617?%;height:%?70?%;background:#f4f4f4;margin:0 auto;border-radius:35px 35px 35px 35px}.release_bar[data-v-0f4c923e]{align-items:center;width:100%;background:#fff;padding:%?15?% %?20?%;position:fixed;left:0;bottom:0;z-index:10;border-top:1px solid #f5f5f5;justify-content:space-between;padding-bottom:0}.release_bar .input_count[data-v-0f4c923e]{width:%?530?%;background:#f7f7f7;border-radius:%?30?%;padding:%?12?% %?30?%}.release_bar .input_count uni-input[data-v-0f4c923e]{font-size:%?26?%}.release_bar .input_bar[data-v-0f4c923e]{align-items:center;color:#282828;font-size:%?26?%}.release_bar .input_bar .iconfont[data-v-0f4c923e]{font-size:%?40?%;margin-right:%?6?%}.release_bar .input_bar .icon-shoucang1[data-v-0f4c923e]{color:var(--view-theme)}.release_bar .input_bar .item[data-v-0f4c923e]{align-items:center}.release_bar .input_bar .item[data-v-0f4c923e]:first-child{margin-right:%?25?%}.release_bar .shopp[data-v-0f4c923e]{width:%?209?%;height:%?70?%;line-height:%?70?%;background:linear-gradient(90deg,#f84221,#ff6d20);border-radius:33px 33px 33px 33px;opacity:1;display:flex}.release_bar .shopp .shopp-img[data-v-0f4c923e]{width:%?46?%;height:%?46?%;margin-top:%?12?%;margin-left:%?25?%;margin-right:%?11?%}.release_bar .shopp .shopp-img uni-image[data-v-0f4c923e]{width:100%;height:100%}.release_bar .shopp .shopp-txt[data-v-0f4c923e]{font-size:%?26?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#fff}.release_bar .send[data-v-0f4c923e]{font-size:%?26?%;color:#fff;padding:%?12?% %?45?%;background-image:linear-gradient(126deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:%?30?%;text-align:center}.empty[data-v-0f4c923e]{margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-0f4c923e],\r\n.empty uni-image[data-v-0f4c923e]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-0f4c923e]{display:block;color:#999;font-size:%?26?%}.send1[data-v-0f4c923e]{font-size:%?26?%;color:#fff;background-image:linear-gradient(126deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:%?30?%;text-align:center;width:%?150?%;line-height:%?70?%;margin-left:%?20?%}.off_scoll[data-v-0f4c923e]{height:100vh;overflow:hidden}',""]),t.exports=e},af44:function(t,e,i){"use strict";i.r(e);var a=i("ea88"),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},b036: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=i("33b4"),o=a(i("a040")),s=function(t,e){t&&o.default.set("spread",t||0),t&&e&&(0,n.spread)(t).then((function(t){}))};e.default=s},b771:function(t,e,i){"use strict";var a=i("20f5"),n=i.n(a);n.a},d8de:function(t,e,i){"use strict";i.r(e);var a=i("3a93"),n=i("3dd6");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("2b47");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0f4c923e",null,!1,a["a"],void 0);e["default"]=c.exports},df89:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("c975");var n=i("3093"),o=(i("5eb1"),a(i("e9c8")));var s={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){s[t]=function(e,i,a){return function(t,e,i,a){a.noAuth;var s=a.noVerify,c=void 0!==s&&s,r=n.HTTP_REQUEST_URL,l=n.HEADER;return o.default.state.app.token&&(l[n.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(a,n){uni.request({url:r+"/api/"+t,method:e||"GET",header:l,data:i||{},success:function(t){c||200==t.data.status?a(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?n(t.data):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),n(t.data)):n(t.data.message||"系统错误")},fail:function(t){n("请求失败")}})}))}(e,t,i,a||{})}}));var c=s;e.default=c},e40c: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("a040")),i("cc48"),i("8a31"),i("26cb")),s=(a(i("8afb")),i("5315")),c=(a(i("1ba1")),i("5eb1")),r=(getApp(),{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,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,s.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,c.toLogin)(!0)},getUserProfile:function(){(0,c.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=r},ea88: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},ec05:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7"),i("14d9"),i("3c65");a(i("6860"));var n=i("3093"),o=i("33b4"),s=i("52dc"),c=i("26cb"),r=(a(i("b036")),a(i("104c"))),l=a(i("059e")),u=a(i("4766")),d=a(i("5dc4")),f=i("5315"),p=(getApp(),{components:{authorize:r.default,productConSwiper:l.default,mentioned:u.default,bindmobile:d.default},data:function(){return{flag:!1,open_grass:n.openPlantGrass,followDetail:null,commList:[],moreList:[],isShowAuth:!1,isAuto:!1,showManage:!1,content:"",id:"",replyData:{},userInfo:{},loadData:!1,loaded:!1,loading:!1,loadTitle:"加载更多",where:{page:1,limit:10},reply_id:"",placeholder:"快来说点儿什么吧...",isChild:!1,index:0,currSpid:"",focus:!1,actionSheetHidden:!0,type:0,isshow:!1}},created:function(){},computed:(0,f.configMap)({community_reply_status:0},(0,c.mapGetters)(["isLogin","uid","viewColor"])),watch:{},onLoad:function(t){this.id=t.id,this.type=t.type,this.getDetail(),this.getReplyList()},onShow:function(){uni.hideLoading()},mounted:function(){},methods:{shopdetail:function(t){uni.navigateTo({url:"/pages/goods_details/index?id="+t.spu.product_id})},FToggle:function(){this.$refs.bindmobile1.open()},returns:function(){uni.navigateBack()},goHome:function(){uni.switchTab({url:"/pages/index/index"})},onLoadFun:function(){this.isShowAuth=!1,this.getDetail(),this.getReplyList()},authColse:function(t){this.isShowAuth=t},authOpen:function(){!1===this.isLogin&&(this.isAuto=!0,this.isShowAuth=!0)},getUserInfo:function(){var t=this;(0,o.getUserInfo)().then((function(e){t.userInfo=e.data,e.data.phone?t.createReply():t.$refs.bindmobile.open()}))},getDetail:function(){var t=this;t.loadData||(t.loadData=!0,uni.showLoading({title:"加载中",mask:!0}),(0,s.plantDetailApi)(t.id).then((function(e){t.loadData=!1,t.followDetail=e.data,t.followDetail.relevance=t.followDetail.relevance.filter((function(t){return t.spu})),uni.hideLoading()})).catch((function(e){t.followDetail=null,t.loadData=!1,uni.hideLoading()})))},getReplyList:function(){var t=this;t.loading||t.loaded||(t.loading=!0,t.loadTitle="",(0,s.replyLstApi)(t.id,t.where).then((function(e){t.loading=!1,t.replyData=e.data;var i=e.data.list,a=t.$util.SplitArray(i,t.commList);t.loaded=i.length<t.where.limit,t.loading=!1,t.loadTitle=t.loaded?"已全部加载":"加载更多",t.$set(t,"commList",a),t.$set(t.where,"page",t.where.page+1)})).catch((function(e){t.loading=!1,uni.showToast({title:e,icon:"none"})})))},submitComment:function(){!1===this.isLogin?(this.isAuto=!0,this.isShowAuth=!0):this.getUserInfo()},createReply:function(){var t=this,e=t.reply_id?t.reply_id:0;(0,s.replyCreateApi)(t.id,{content:t.content,reply_id:e}).then((function(e){200===e.status&&1==e.data.status&&(t.isChild?t.commList[t.index]["children"]?t.commList[t.index]["children"].push(e.data):t.commList[t.index]["children"]=[e.data]:t.commList.unshift(e.data),t.replyData.all++),t.$util.Tips({title:e.message}),t.loseFocus(),t.content=""})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},toReply:function(t,e){this.placeholder="回复:"+t.author.nickname,this.reply_id=t.reply_id,this.isChild=!0,this.index=e,this.focus=!0,this.content=""},loseFocus:function(){this.focus=!1,this.reply_id=0,this.placeholder="快来说点儿什么吧...",this.isChild=!1},starComment:function(t){var e=this;if(!1===e.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var i=t.relevance_id?0:1;(0,s.starCommentApi)(t.reply_id,{status:i}).then((function(i){200===i.status&&(t.relevance_id?(t.count_start--,e.replyData.start--,t.count_start=0==t.count_start?0:t.count_start,e.replyData.start=0==e.replyData.start?0:e.replyData.start,t.relevance_id=!1):(t.count_start++,t.relevance_id=!0,e.replyData.start++)),e.$util.Tips({title:i.message})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))}},likeToggle:function(t){var e=this;if(!1===this.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var i=t?0:1;(0,s.graphicStartApi)(this.followDetail.community_id,{status:i}).then((function(i){t?(e.followDetail.count_start--,e.followDetail.count_start=0==e.followDetail.count_start?0:e.followDetail.count_start,e.followDetail.relevance_id=!1):(e.followDetail.count_start++,e.followDetail.relevance_id=!0)}))}},followAuthor:function(){var t=this;if(!1===this.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var e=0==this.followDetail.is_fans?1:0;(0,s.followAuthorApi)(this.followDetail.uid,{status:e}).then((function(e){200===e.status&&(t.followDetail.is_fans=0==t.followDetail.is_fans?1:0),t.$util.Tips({title:e.message})}))}},deleteTopic:function(){var t=this;uni.showModal({content:"确定要删除该话题么?",success:function(e){e.confirm?(0,s.deletePlantApi)(t.id).then((function(e){200===e.status&&(t.$util.Tips({title:e.message}),setTimeout((function(){uni.redirectTo({url:"/pages/plantGrass/plant_user/index"})}),1e3))})):e.cancel}})},openMore:function(t){this.$refs.mentioned.showPopup(),this.flag=!0},close:function(){this.$refs.mentioned.closePopup(),this.$refs.bindmobile.close(),this.flag=!1}},onReachBottom:function(){this.getReplyList()},onPullDownRefresh:function(){}});e.default=p},f27f:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.product-bg[data-v-37f8005b]{width:%?710?%;height:%?710?%;position:relative}.product-bg uni-swiper[data-v-37f8005b]{width:100%;height:100%;position:relative}.product-bg .slide-image[data-v-37f8005b]{width:100vw;height:100%;border-radius:%?16?%}.product-bg .pages[data-v-37f8005b]{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-37f8005b]{width:100%;height:100%}.product-bg .item[data-v-37f8005b]{position:relative;width:100%;height:100%}.product-bg .item .poster[data-v-37f8005b]{position:absolute;top:0;left:0;height:%?750?%;width:100%;z-index:9}.product-bg .item .poster .image[data-v-37f8005b]{width:100%;height:100%}.product-bg .item .stop[data-v-37f8005b]{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-37f8005b]{width:100%;height:100%}',""]),t.exports=e},f3de:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA/hJREFUaEPtWF2IjVEUXasoypQHiqIoysQDMWWepHgzIRQhUyiKUMrISEJGKVOIQhEyQsi8UfLEw4gHMkVRFEVRpkxRW2s6d/rm8917zvdzbzfdXfflnvOtvdfZZ/8d4j8T/md80CBU7x5teKjhoRqfQOorZ2ZjAMwHMKrKtv4B8JzkYBo9qQiZ2XoAZwCMT6Mkx94fALaRvBmKEUzIzBYBeFQDz8Rtl6eWkHwSQioNoYcCDgGtwp5HJJeG4KYh9BPAuBDQKuwZINkUghtEyMwmAfgcAljFPZNJfvHhhxJaCOCpD6zK660kn/l0hBLaAOCqD6zK6xtJXvPpCCV0BEBnDEz14R6AuQBm+RQFrr8CoN8KAKp3UTlK8qAPJ5SQvCMvRWUdyR4zU4F9A2CGT5ln/R2AZpJ/zGwtgBux/ddIbvTpCCWk+FEcRWU6yQ/6w8ySCPt0x9eHDTazaQDexzY8I9nqAw0l9BXAhBhYC8k+R+g4gA6fMs96F8n9Di8pCX0jOdGnw0vIzNTmfE8A2kDyujNAd/6uT5lnfSVJxaQ8rhYrKQE0kRyohBNCSEH/IgHkIsmtzgAV3I85ejz1bFNLxprZBQBbEnTOI/kyL6HVAG4lgHxzRgx1w2Z2AMDRjF7qJHnM4Si76XDiV1zLa0jezktoH4CuMiDtJK9EDHmckDx8HFUsF5fGBDPbBOBymY86SJ7IS+icWvgyIGpFlGp1ZeQltUgPACzwsXDrSiptpZbGxatKgHCS5DzJ7XkJ+brsHpLrSkrMTPF0CMDuCqOGRoJuAIejQW5mqj2qQeXE23WHJAXd5ymeE+8muSe6x9WSVW7kKJ24PKqZ6k6phkUO4pQ7hEqqPpGcmtlDrgv4HXh9dO93+tJqHMt59DSA9kA9o9VNlNtb0UNmph5NdzpU1L7sJXk/5AMzWw7gZMq2STHbn5XQMhfkIfZF96jB7HHX63Wkvii+ZrtrqFiZkxbYJZHerIR2ueDNoHfEJ6UrUsRL0Q6SZ7MSCgnUvGTTfv9PAooC+GJINUXXrp6kl2RbVg8pIRQ1vBV1KP0km7MS+pUwORZlWFacQZJjUxMyMxVTFdV6FHXmn5IMKxtDZqZHRbU99ShLSarj+EcqEdoM4GI9stGsRPJSWkJFjNXVOo/hcT2uoJKHNNRpuKtHuU1yTVoPaezW+F2P0keyJS2htymbxloSf0dyZlpCvmGrlgTiukYMldHFSjGkMVoPjEU0lEWSV6Orh/uhN8HgpKCNZqY+Tk9K5Wb8Ig0NwdLEu5VktvHBkZKH5K3443mIAUXu0XOZkkHZaVXKvG8KRVpUC6wGoVqcch4dDQ/lOb1afNvwUC1OOY+Ovx1NS0TKMvG2AAAAAElFTkSuQmCC"},fd21:function(t,e,i){"use strict";var a=i("0d29"),n=i.n(a);n.a}}]); |