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.
1 lines
39 KiB
1 lines
39 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_detail-index"],{"07f8":function(t,i,a){"use strict";a.r(i);var e=a("ef74"),n=a("919f");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);a("44ec");var s=a("f0c5"),l=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"f256329a",null,!1,e["a"],void 0);i["default"]=l.exports},"1c6c":function(t,i,a){"use strict";var e=a("d630"),n=a.n(e);n.a},"1de5":function(t,i,a){"use strict";t.exports=function(t,i){return i||(i={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),i.hash&&(t+=i.hash),/["'() \t\n]/.test(t)||i.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"43d9":function(t,i,a){"use strict";a("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,a("a9e3");var e={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)}}};i.default=e},"44ec":function(t,i,a){"use strict";var e=a("a310"),n=a.n(e);n.a},4540:function(t,i,a){var e=a("24fb");i=e(!1),i.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=i},"493d":function(t,i,a){"use strict";a.r(i);var e=a("e933"),n=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);i["default"]=n.a},"498b":function(t,i,a){"use strict";a("7a82");var e=a("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,a("14d9"),a("3c65");e(a("b5ef"));var n=a("8342"),o=a("c6c3"),s=a("d2c9"),l=a("26cb"),c=(e(a("b272")),e(a("f272"))),r=e(a("e537")),u=e(a("0b7d")),d=e(a("0e37")),f=a("4f1b"),p=(getApp(),{components:{authorize:c.default,productConSwiper:r.default,mentioned:u.default,bindmobile:d.default},data:function(){return{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}},created:function(){},computed:(0,f.configMap)({community_reply_status:0},(0,l.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:{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(i){t.userInfo=i.data,i.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(i){t.loadData=!1,t.followDetail=i.data,uni.hideLoading()})).catch((function(i){return t.followDetail=null,t.loadData=!1,uni.hideLoading(),t.$util.Tips({title:i})})))},getReplyList:function(){var t=this;t.loading||t.loaded||(t.loading=!0,t.loadTitle="",(0,s.replyLstApi)(t.id,t.where).then((function(i){t.loading=!1,t.replyData=i.data;var a=i.data.list,e=t.$util.SplitArray(a,t.commList);t.loaded=a.length<t.where.limit,t.loading=!1,t.loadTitle=t.loaded?"已全部加载":"加载更多",t.$set(t,"commList",e),t.$set(t.where,"page",t.where.page+1)})).catch((function(i){t.loading=!1,uni.showToast({title:i,icon:"none"})})))},submitComment:function(){!1===this.isLogin?(this.isAuto=!0,this.isShowAuth=!0):this.getUserInfo()},createReply:function(){var t=this,i=t.reply_id?t.reply_id:0;(0,s.replyCreateApi)(t.id,{content:t.content,reply_id:i}).then((function(i){200===i.status&&1==i.data.status&&(t.isChild?t.commList[t.index]["children"]?t.commList[t.index]["children"].push(i.data):t.commList[t.index]["children"]=[i.data]:t.commList.unshift(i.data),t.replyData.all++),t.$util.Tips({title:i.message}),t.loseFocus(),t.content=""})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},toReply:function(t,i){this.placeholder="回复:"+t.author.nickname,this.reply_id=t.reply_id,this.isChild=!0,this.index=i,this.focus=!0,this.content=""},loseFocus:function(){this.focus=!1,this.reply_id=0,this.placeholder="快来说点儿什么吧...",this.isChild=!1},starComment:function(t){var i=this;if(!1===i.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var a=t.relevance_id?0:1;(0,s.starCommentApi)(t.reply_id,{status:a}).then((function(a){200===a.status&&(t.relevance_id?(t.count_start--,i.replyData.start--,t.count_start=0==t.count_start?0:t.count_start,i.replyData.start=0==i.replyData.start?0:i.replyData.start,t.relevance_id=!1):(t.count_start++,t.relevance_id=!0,i.replyData.start++)),i.$util.Tips({title:a.message})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))}},likeToggle:function(t){var i=this;if(!1===this.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var a=t?0:1;(0,s.graphicStartApi)(this.followDetail.community_id,{status:a}).then((function(a){t?(i.followDetail.count_start--,i.followDetail.count_start=0==i.followDetail.count_start?0:i.followDetail.count_start,i.followDetail.relevance_id=!1):(i.followDetail.count_start++,i.followDetail.relevance_id=!0)}))}},followAuthor:function(){var t=this;if(!1===this.isLogin)this.isAuto=!0,this.isShowAuth=!0;else{var i=0==this.followDetail.is_fans?1:0;(0,s.followAuthorApi)(this.followDetail.uid,{status:i}).then((function(i){200===i.status&&(t.followDetail.is_fans=0==t.followDetail.is_fans?1:0),t.$util.Tips({title:i.message})}))}},deleteTopic:function(){var t=this;uni.showModal({content:"确定要删除该话题么?",success:function(i){i.confirm?(0,s.deletePlantApi)(t.id).then((function(i){200===i.status&&(t.$util.Tips({title:i.message}),setTimeout((function(){uni.redirectTo({url:"/pages/plantGrass/plant_user/index"})}),1e3))})):i.cancel}})},openMore:function(t){this.$refs.mentioned.showPopup()},close:function(){this.$refs.mentioned.closePopup(),this.$refs.bindmobile.close()}},onReachBottom:function(){this.getReplyList()},onPullDownRefresh:function(){}});i.default=p},"7a52":function(t,i,a){"use strict";var e=a("a68c"),n=a.n(e);n.a},"7e26":function(t,i,a){t.exports=a.p+"static/img/no_content.e66d9bc7.png"},"919f":function(t,i,a){"use strict";a.r(i);var e=a("498b"),n=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);i["default"]=n.a},a296:function(t,i,a){var e=a("24fb");i=e(!1),i.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=i},a310:function(t,i,a){var e=a("af1a");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("9b5c95e2",e,!0,{sourceMap:!1,shadowMode:!1})},a68c:function(t,i,a){var e=a("4540");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("de214a4a",e,!0,{sourceMap:!1,shadowMode:!1})},af1a:function(t,i,a){var e=a("24fb");i=e(!1),i.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-f256329a]{background:#fff}body.?%PAGE?%[data-v-f256329a]{background:#fff}.tab-cont[data-v-f256329a]{background:#fff;border-radius:%?16?% %?16?% 0 0}.approval_status[data-v-f256329a]{padding:%?20?%}.approval_status .status_count[data-v-f256329a]{padding:%?26?% %?30?% %?20?%;border-radius:%?10?%}.approval_status .status_count .title[data-v-f256329a]{margin-left:%?10?%;font-size:%?28?%;font-weight:700}.approval_status .status_count.status0[data-v-f256329a]{background:#fdf3f2}.approval_status .status_count.status0 .title[data-v-f256329a]{color:#e93323}.approval_status .status_count.status1[data-v-f256329a]{background:#fff4eb}.approval_status .status_count.status1 .title[data-v-f256329a]{color:#fc8327}.approval_status .status_count .iconfont[data-v-f256329a]{font-size:%?30?%}.approval_status .status_count .icon-shijian[data-v-f256329a]{color:#fc8327}.approval_status .status_count .icon-tishi[data-v-f256329a]{color:#e93323}.approval_status .status_count .status_info[data-v-f256329a]{font-size:%?22?%;color:#666;margin:%?10?% 0 0 %?36?%}.follow_count[data-v-f256329a]{padding:%?20?%;border-bottom:1px solid #f5f5f5}.follow_count .title[data-v-f256329a]{display:flex;align-items:center;justify-content:space-between}.follow_count .author[data-v-f256329a]{display:flex;align-items:center}.follow_count .author .picture[data-v-f256329a], .follow_count .author uni-image[data-v-f256329a]{width:%?78?%;height:%?78?%;border-radius:100%}.follow_count .author .name[data-v-f256329a]{margin-left:%?20?%;color:#333;font-size:%?32?%;font-weight:700;align-items:center}.follow_count .author .follow_btn[data-v-f256329a]{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-f256329a]{color:var(--view-theme);border:1px solid var(--view-theme)}.follow_count .author .follow_btn.focus .iconfont[data-v-f256329a]{font-size:%?15?%;margin-right:%?5?%}.follow_count .author .follow_btn.focused[data-v-f256329a]{background:#eee;border:1px solid #eee;color:#999}.follow_count .author .level_icon[data-v-f256329a]{width:%?34?%;height:%?32?%;margin:%?4?% 0 0 %?6?%;border:none}.follow_count .time[data-v-f256329a]{color:#282828;font-size:%?46?%}.follow_count .product[data-v-f256329a]{margin-top:%?20?%;border-radius:%?16?%}.follow_count .manageCount[data-v-f256329a]{position:relative}.follow_count .manageCount .manage[data-v-f256329a]{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-f256329a]::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-f256329a]{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-f256329a]:last-child{border-bottom:none}.follow_count .manageCount .manage .items .iconfont[data-v-f256329a]{margin:0 %?16?% 0}.pro_describle .create_time[data-v-f256329a]{color:#ccc;font-size:%?22?%;margin-left:%?10?%;margin-top:%?5?%}.pro_describle .mentioned[data-v-f256329a]{padding:%?20?% 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f5f5f5}.pro_describle .mentioned .title[data-v-f256329a]{color:#666;font-size:%?26?%}.pro_describle .product_more[data-v-f256329a]{max-width:%?360?%;display:flex;align-items:center}.pro_describle .product_more .more_image[data-v-f256329a]{width:%?58?%;height:%?58?%;border-radius:%?5?%;border:1px solid #bbb;margin-right:%?12?%}.pro_describle .product_more .iconfont[data-v-f256329a]{color:#ccc;margin-left:%?10?%}.pro_describle .product_info[data-v-f256329a]{line-height:%?45?%;margin:%?20?% 0}.pro_describle .product_info .text[data-v-f256329a]{font-size:%?28?%;color:#282828;text-align:justify;text-justify:newspaper;word-break:break-all}.pro_describle .product_info .unfold_btn[data-v-f256329a]{margin-left:%?30?%;font-size:%?30?%;color:#282828;font-weight:700}.pro_describle .product_cate[data-v-f256329a]{margin:%?20?% 0;display:inline-block}.pro_describle .product_cate > uni-view[data-v-f256329a]{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-f256329a]{font-size:%?28?%}.pro_describle .product_cate > uni-view .icon[data-v-f256329a]{font-size:%?35?%;font-weight:700;margin-right:%?10?%}.main_count[data-v-f256329a]{padding:%?30?% %?20?%}.main_count .list[data-v-f256329a]{width:%?710?%;height:%?280?%;margin-bottom:%?30?%;position:relative}.main_count .list .picture[data-v-f256329a]{width:%?710?%;height:%?280?%;border-radius:%?16?%}.commend_list[data-v-f256329a]{margin-top:%?30?%;padding:0 %?20?%;position:relative;padding-bottom:%?120?%}.commend_list .commen_count[data-v-f256329a]{font-size:%?26?%;color:#282828;margin:%?30?% 0}.commend_list .common_list[data-v-f256329a]{position:relative;padding-left:%?94?%}.commend_list .common_list .commen_one[data-v-f256329a]{position:absolute;top:0;left:0}.commend_list .common_list .commen_one .image[data-v-f256329a], .commend_list .common_list .commen_one uni-image[data-v-f256329a]{width:%?74?%;height:%?74?%;border-radius:100%}.commend_list .common_list .info_count[data-v-f256329a]{margin-bottom:%?20?%}.commend_list .common_list .info[data-v-f256329a]{position:relative;padding-right:%?90?%}.commend_list .common_list .name[data-v-f256329a], .commend_list .common_list .name_two[data-v-f256329a]{color:#999;font-size:%?26?%}.commend_list .common_list .desc[data-v-f256329a], .commend_list .common_list .desc_two[data-v-f256329a]{color:#282828;font-size:%?28?%;margin-top:%?10?%;display:inline-block}.commend_list .common_list .desc_two[data-v-f256329a]{font-size:%?26?%}.commend_list .common_list .desc_two .reply_user[data-v-f256329a]{font-size:%?24?%;color:#4a8ac9;margin:0 %?6?%}.commend_list .common_list .time[data-v-f256329a], .commend_list .common_list .time_two[data-v-f256329a]{color:#bbb;font-size:%?22?%;margin-top:%?15?%}.commend_list .common_list .like[data-v-f256329a], .commend_list .common_list .like_two[data-v-f256329a]{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-f256329a], .commend_list .common_list .like_two .icon-yidianzan[data-v-f256329a]{color:var(--view-theme)}.commend_list .common_list .reply_list[data-v-f256329a]{margin-top:%?20?%}.commend_list .common_list .reply_list .item[data-v-f256329a]{padding-right:%?140?%;position:relative}.commend_list .common_list .reply_list .item_count[data-v-f256329a]{position:relative;padding-left:%?56?%}.commend_list .common_list .reply_list .item_count .image[data-v-f256329a], .commend_list .common_list .reply_list .item_count un-image[data-v-f256329a]{width:%?36?%;height:%?36?%;border-radius:100%;position:absolute;top:0;left:0}.no_content[data-v-f256329a], .main[data-v-f256329a]{min-height:100vh;background:#fff;position:relative}.no_content .count[data-v-f256329a], .main .count[data-v-f256329a]{position:absolute;text-align:center;width:100%;top:50%;margin-top:%?-300?%}.no_content .count uni-image[data-v-f256329a], .no_content .count uni-image[data-v-f256329a], .main .count uni-image[data-v-f256329a], .main .count uni-image[data-v-f256329a]{width:%?424?%;height:%?305?%}.no_content .count uni-text[data-v-f256329a], .main .count uni-text[data-v-f256329a]{display:block;color:#999;font-size:%?26?%}.no_content .btn[data-v-f256329a], .main .btn[data-v-f256329a]{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?%}.release_bar[data-v-f256329a]{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}.release_bar .input_count[data-v-f256329a]{width:%?530?%;background:#f7f7f7;border-radius:%?30?%;padding:%?12?% %?30?%}.release_bar .input_count uni-input[data-v-f256329a]{font-size:%?26?%}.release_bar .input_bar[data-v-f256329a]{align-items:center;color:#282828;font-size:%?26?%}.release_bar .input_bar .iconfont[data-v-f256329a]{font-size:%?40?%;margin-right:%?6?%}.release_bar .input_bar .icon-shoucang1[data-v-f256329a]{color:var(--view-theme)}.release_bar .input_bar .item[data-v-f256329a]{align-items:center}.release_bar .input_bar .item[data-v-f256329a]:first-child{margin-right:%?25?%}.release_bar .send[data-v-f256329a]{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-f256329a]{margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-f256329a], .empty uni-image[data-v-f256329a]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-f256329a]{display:block;color:#999;font-size:%?26?%}',""]),t.exports=i},afa2:function(t,i,a){"use strict";a.r(i);var e=a("43d9"),n=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);i["default"]=n.a},b272:function(t,i,a){"use strict";a("7a82");var e=a("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=a("c6c3"),o=e(a("ff56")),s=function(t,i){t&&o.default.set("spread",t||0),t&&i&&(0,n.spread)(t).then((function(t){}))};i.default=s},b9d6:function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return n})),a.d(i,"a",(function(){}));var e=function(){var t=this.$createElement,i=this._self._c||t;return i("v-uni-view",{staticClass:"product-bg"},[i("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,a){return[i("v-uni-swiper-item",[i("v-uni-image",{staticClass:"slide-image",attrs:{src:t}})],1)]}))],2)],1)},n=[]},c15c:function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return n})),a.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",[t.isShowAuth&&t.code?a("v-uni-view",{staticClass:"mask",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?a("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[a("v-uni-view",{staticClass:"logo-auth"},[a("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),t.isWeixin?a("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?a("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):a("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),a("v-uni-view",{staticClass:"bottom flex"},[a("v-uni-text",{staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),a("v-uni-button",{staticClass:"item grant",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?a("v-uni-text",{staticClass:"text"},[t._v("去授权")]):a("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},n=[]},d2c9:function(t,i,a){"use strict";a("7a82");var e=a("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.boughtLstApi=function(t){return n.default.get("community/pay_product/lst",t)},i.browseLstApi=function(t){return n.default.get("community/hist_product/lst",t)},i.collectLstApi=function(t){return n.default.get("community/rela_product/lst",t)},i.createPlantApi=function(t){return n.default.post("community/create",t)},i.deletePlantApi=function(t){return n.default.post("community/delete/".concat(t))},i.focusArticleLst=function(t){return n.default.get("community/focuslst",t,{noAuth:!0})},i.followAuthorApi=function(t,i){return n.default.post("community/fans/".concat(t),i)},i.getTopicList=function(){return n.default.get("community/category/lst",{},{noAuth:!0})},i.getVideoCode=function(t,i){return n.default.get("community/qrcode/".concat(t),i,{noAuth:!0})},i.graphicLstApi=function(t){return n.default.get("community/lst",t,{noAuth:!0})},i.graphicProApi=function(t){return n.default.get("product/spu/get/".concat(t),{noAuth:!0})},i.graphicStartApi=function(t,i){return n.default.post("community/start/".concat(t),i)},i.hotSearchLst=function(){return n.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},i.myFansLst=function(t){return n.default.get("community/fans/lst",t)},i.myFocusLst=function(t){return n.default.get("community/focus/lst",t)},i.myVideoList=function(t,i){return n.default.get("community/user/community_video/".concat(t),i,{noAuth:!0})},i.orderAssociatePlantApi=function(t){return n.default.get("community/order/".concat(t),{},{noAuth:!0})},i.plantDetailApi=function(t){return n.default.get("community/show/".concat(t),{},{noAuth:!0})},i.replyCreateApi=function(t,i){return n.default.post("community/reply/create/".concat(t),i)},i.replyLstApi=function(t,i){return n.default.get("community/".concat(t,"/reply"),i,{noAuth:!0})},i.starArticleLst=function(t){return n.default.get("community/start/lst",t)},i.starCommentApi=function(t,i){return n.default.post("community/reply/start/".concat(t),i)},i.updatePlantApi=function(t,i){return n.default.post("community/update/".concat(t),i)},i.userArticleLst=function(t,i){return n.default.get("community/user/community/".concat(t),i)},i.userInfoApi=function(t){return n.default.get("community/user/info/".concat(t))},i.videoList=function(t){return n.default.get("community/video_lst",t,{noAuth:!0})};var n=e(a("b5ef"))},d630:function(t,i,a){var e=a("a296");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("8f383f98",e,!0,{sourceMap:!1,shadowMode:!1})},e537:function(t,i,a){"use strict";a.r(i);var e=a("b9d6"),n=a("afa2");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);a("7a52");var s=a("f0c5"),l=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"2f44f7fd",null,!1,e["a"],void 0);i["default"]=l.exports},e933:function(t,i,a){"use strict";a("7a82");var e=a("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e(a("5530")),o=e(a("ff56")),s=a("31bd"),l=a("5cac"),c=a("26cb"),r=e(a("dae1")),u=a("4f1b"),d=(e(a("8b6a")),a("713c")),f=getApp(),p={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,c.mapGetters)(["isLogin","userInfo","viewColor"])),(0,u.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,i=this;r.default.getUserProfile().then((function(a){var e=a.userInfo;e.code=t.code,e.spread=f.globalData.spid,e.spread_code=f.globalData.code,(0,s.commonAuth)({auth:{type:"routine",auth:e}}).then((function(a){if(200!=a.data.status)return uni.setStorageSync("auth_token",a.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var e=a.data.result.expires_time-o.default.time();i.$store.commit("UPDATE_USERINFO",a.data.result.user),i.$store.commit("LOGIN",{token:a.data.result.token,time:e}),i.$store.commit("SETUID",a.data.result.user.uid),o.default.set(l.EXPIRES_TIME,a.data.result.expires_time,e),o.default.set(l.USER_INFO,a.data.result.user,e),t.$emit("onLoadFun",a.data.result.user),a.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)}}};i.default=p},ef74:function(t,i,a){"use strict";a.d(i,"b",(function(){return n})),a.d(i,"c",(function(){return o})),a.d(i,"a",(function(){return e}));var e={uniPopup:a("59c7").default},n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.viewColor},[null!=t.followDetail&&t.followDetail?e("v-uni-view",{staticClass:"main",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showManage=!1}}},[1!=t.followDetail.status?e("v-uni-view",{staticClass:"approval_status"},[e("v-uni-view",{staticClass:"status_count",class:0==t.followDetail.status?"status1":"status0"},[e("v-uni-view",{staticClass:"status_title"},[e("v-uni-text",{staticClass:"iconfont",class:-1==t.followDetail.status||-2==t.followDetail.status?"icon-tishi":"icon-shijian"}),-1==t.followDetail.status?e("v-uni-text",{staticClass:"title"},[t._v("审核未通过")]):t._e(),-2==t.followDetail.status?e("v-uni-text",{staticClass:"title"},[t._v("已下架")]):t._e(),0==t.followDetail.status?e("v-uni-text",{staticClass:"title"},[t._v("正在审核")]):t._e()],1),-1==t.followDetail.status||-2==t.followDetail.status?e("v-uni-view",{staticClass:"status_info"},[t._v(t._s(t.followDetail.refusal))]):t._e(),0==t.followDetail.status?e("v-uni-view",{staticClass:"status_info"},[t._v("发布的内容审核通过后,将展示在首页!")]):t._e()],1)],1):t._e(),e("v-uni-view",{staticClass:"tab-cont"},[e("v-uni-view",{staticClass:"follow_count"},[e("v-uni-view",{staticClass:"list_count"},[t.followDetail.author?e("v-uni-view",{staticClass:"title"},[e("v-uni-view",{staticClass:"author"},[e("v-uni-navigator",{attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_user/index?id="+t.followDetail.uid}},[e("v-uni-image",{staticClass:"picture",attrs:{src:t.followDetail.author.avatar||"/static/images/f.png"}})],1),e("v-uni-view",{staticClass:"name acea-row"},[e("v-uni-text",[t._v(t._s(t.followDetail.author.nickname))]),t.followDetail.author.member?e("v-uni-image",{staticClass:"level_icon",attrs:{src:t.followDetail.author.member.brokerage_icon,alt:""}}):t._e()],1)],1),e("v-uni-view",{staticClass:"author"},[t.followDetail.is_author?e("v-uni-view",{staticClass:"manageCount"},[e("v-uni-view",{staticClass:"follow_btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showManage=!t.showManage}}},[t._v("管理")]),e("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showManage,expression:"showManage"}],staticClass:"manage"},[e("v-uni-navigator",{staticClass:"items",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_release/index?id="+t.id+"&type=1"}},[e("v-uni-text",{staticClass:"iconfont icon-bianji"}),e("v-uni-text",[t._v("编辑")])],1),e("v-uni-view",{staticClass:"items",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.deleteTopic.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-shanchu3"}),e("v-uni-text",[t._v("删除")])],1)],1)],1):e("v-uni-view",{on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.followAuthor.apply(void 0,arguments)}}},[t.followDetail.is_fans?e("v-uni-view",{staticClass:"follow_btn focused"},[t._v("已关注")]):e("v-uni-view",{staticClass:"follow_btn focus"},[e("v-uni-text",{staticClass:"iconfont icon-jiahao2"}),t._v("关注")],1)],1)],1)],1):t._e(),e("v-uni-view",{staticClass:"product"},[e("productConSwiper",{attrs:{imgUrls:t.followDetail.image}})],1),e("v-uni-view",{staticClass:"pro_describle"},[t.followDetail.relevance.length?e("v-uni-view",{staticClass:"mentioned",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openMore(t.followDetail)}}},[e("v-uni-text",{staticClass:"title"},[t._v("查看TA提到的宝贝("+t._s(t.followDetail.relevance.length)+")")]),e("v-uni-view",{staticClass:"product_more"},[e("v-uni-view",{staticClass:"item"},t._l(t.followDetail.relevance,(function(i,a){return a<=3?e("v-uni-image",{key:a,staticClass:"more_image",attrs:{src:i.spu&&i.spu.image||i.image}}):t._e()})),1),e("v-uni-text",{staticClass:"iconfont icon-gengduo3"})],1)],1):t._e(),e("v-uni-view",{staticClass:"product_info"},[e("v-uni-text",{staticClass:"text"},[t._v(t._s(t.followDetail.content))])],1),t.followDetail.topic?e("v-uni-navigator",{staticClass:"product_cate",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_search_list/index?id="+t.followDetail.topic.topic_id}},[e("v-uni-view",[e("v-uni-text",{staticClass:"icon"},[t._v("#")]),e("v-uni-text",{staticClass:"text"},[t._v(t._s(t.followDetail.topic.topic_name))])],1)],1):t._e(),e("v-uni-view",{staticClass:"create_time"},[t._v(t._s(t.followDetail.create_time))])],1)],1)],1),1==t.community_reply_status?e("v-uni-view",{staticClass:"commend_list",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.loseFocus.apply(void 0,arguments)}}},[e("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(i,a){return e("v-uni-view",{key:a,staticClass:"common_list"},[i.author?e("v-uni-view",{staticClass:"commen_one",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toReply(i,a)}}},[e("v-uni-image",{staticClass:"image",attrs:{src:i.author.avatar?i.author.avatar:"/static/images/f.png"}})],1):t._e(),e("v-uni-view",{staticClass:"info_count"},[e("v-uni-view",{staticClass:"info"},[e("v-uni-view",{staticClass:"message"},[i.author?e("v-uni-view",{staticClass:"name"},[t._v(t._s(i.author.nickname))]):t._e(),e("v-uni-view",{staticClass:"desc",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toReply(i,a)}}},[t._v(t._s(i.content))]),e("v-uni-view",{staticClass:"time"},[t._v(t._s(i.create_time))])],1),e("v-uni-view",{staticClass:"like",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.starComment(i)}}},[e("v-uni-view",{staticClass:"iconfont",class:i.relevance_id?"icon-yidianzan":"icon-dianzan1"}),t._v(t._s(i.count_start))],1)],1),i.children&&i.children.length>0?e("v-uni-view",{staticClass:"reply_count"},t._l(i.children,(function(i,n){return e("v-uni-view",{key:n,staticClass:"reply_list"},[e("v-uni-view",{staticClass:"item"},[e("v-uni-view",{staticClass:"item_count"},[i.author?e("v-uni-image",{staticClass:"image",attrs:{src:i.author.avatar?i.author.avatar:"/static/images/f.png"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toReply(i,a)}}}):t._e(),i.author?e("v-uni-view",{staticClass:"name_two"},[t._v(t._s(i.author.nickname))]):t._e(),e("v-uni-view",{staticClass:"desc_two",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toReply(i,a)}}},[i.reply?e("v-uni-text",{staticClass:"reply_user"},[t._v("回复 @"+t._s(i.reply.nickname))]):t._e(),t._v(t._s(i.content))],1),e("v-uni-view",{staticClass:"time_two"},[t._v(t._s(i.create_time))])],1),e("v-uni-view",{staticClass:"like_two",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.starComment(i)}}},[e("v-uni-view",{staticClass:"iconfont",class:i.relevance_id?"icon-yidianzan":"icon-dianzan1"}),t._v(t._s(i.count_start))],1)],1)],1)})),1):t._e()],1)],1)})),e("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:!t.loading}},[e("v-uni-text",{staticClass:"iconfont icon-jiazai loading"})],1)]:t._e(),0!=t.commList.length||t.loading?t._e():e("v-uni-view",{staticClass:"empty"},[e("v-uni-image",{attrs:{src:"/static/images/no_commen.png"}}),e("v-uni-text",[t._v("暂无评论,快去抢沙发吧~")])],1),1==t.followDetail.status?e("v-uni-view",{staticClass:"release_bar acea-row"},[e("v-uni-view",{staticClass:"input_count",class:{input_reply:t.content}},[e("v-uni-form",{on:{submit:function(i){arguments[0]=i=t.$handleEvent(i),t.submitComment.apply(void 0,arguments)}}},[e("v-uni-input",{attrs:{type:"text",placeholder:t.placeholder,"placeholder-style":"color: #999999; font-size: 26rpx;",focus:t.focus,cursorSpacing:"{20}"},on:{confirm:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.submitComment()}},model:{value:t.content,callback:function(i){t.content=i},expression:"content"}})],1)],1),t.content?e("v-uni-view",[e("v-uni-button",{staticClass:"send",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.submitComment.apply(void 0,arguments)}}},[t._v("发送")])],1):e("v-uni-view",{staticClass:"input_bar acea-row"},[e("v-uni-view",{staticClass:"item acea-row",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.likeToggle(t.followDetail.relevance_id)}}},[e("v-uni-text",{staticClass:"iconfont",class:t.followDetail.relevance_id?"icon-shoucang1":"icon-dianzan"}),e("v-uni-text",[t._v(t._s(t.followDetail.count_start))])],1),e("v-uni-view",{staticClass:"item acea-row"},[e("v-uni-text",{staticClass:"iconfont icon-pinglun"}),e("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():e("v-uni-view",{staticClass:"no_content"},[e("v-uni-view",{staticClass:"count"},[e("v-uni-image",{attrs:{src:a("7e26")}}),e("v-uni-text",[t._v("内容不存在,可能被删除了哦~")]),e("v-uni-navigator",{staticClass:"btn",attrs:{"open-type":t.open_grass?"switchTab":"navigate",url:"/pages/plant_grass/index"}},[t._v("返回首页")])],1)],1),t.followDetail?e("mentioned",{ref:"mentioned",attrs:{list:t.followDetail.relevance,uid:t.followDetail.uid},on:{close:function(i){arguments[0]=i=t.$handleEvent(i),t.close.apply(void 0,arguments)}}}):t._e(),e("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(i){arguments[0]=i=t.$handleEvent(i),t.onLoadFun.apply(void 0,arguments)},authColse:function(i){arguments[0]=i=t.$handleEvent(i),t.authColse.apply(void 0,arguments)}}}),e("uni-popup",{ref:"bindmobile",attrs:{type:"bottom"}},[e("bindmobile",{on:{close:function(i){arguments[0]=i=t.$handleEvent(i),t.close.apply(void 0,arguments)}}})],1)],1)},o=[]},f272:function(t,i,a){"use strict";a.r(i);var e=a("c15c"),n=a("493d");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);a("1c6c");var s=a("f0c5"),l=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"ac292046",null,!1,e["a"],void 0);i["default"]=l.exports}}]); |