glhcp/server/public/mobile/static/js/bundle_b-pages-community_de...

1 line
58 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle_b-pages-community_detail-community_detail"],{"02e8":function(t,e,n){"use strict";n.r(e);var i=n("3a64"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"0451":function(t,e,n){"use strict";n.r(e);var i=n("b0d1"),o=n("02e8");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("a2b5");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"66c08d25",null,!1,i["a"],s);e["default"]=c.exports},"0a92":function(t,e,n){"use strict";n("d81d"),n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;getApp();var i={data:function(){return{currentSwiper:0,urls:[],showPlay:!0,showControls:!1}},props:{imgUrls:{type:Array,default:function(){return[]}},circular:{type:Boolean,default:!0},interval:{type:Number,default:3e3},duration:{type:Number,default:500},video:{type:String},autoplay:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0}},watch:{imgUrls:{handler:function(t){this.urls=t.map((function(t){return{url:t.uri||t.image}}))},immediate:!0}},methods:{swiperChange:function(t){this.currentSwiper=t.detail.current},previewImage:function(t){uni.previewImage({current:t,urls:this.imgUrls.map((function(t){return t.uri}))})}},computed:{poster:function(){return this.urls[0]?this.urls[0].url:""},swiperLength:function(){var t=this.urls.length;return this.video?++t:t}}};e.default=i},"0b3a":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uPopup:n("a821").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{mode:"bottom","border-radius":t.borderRadius,popup:!1,maskCloseAble:t.maskCloseAble,length:"auto",safeAreaInsetBottom:t.safeAreaInsetBottom,"z-index":t.uZIndex},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.popupClose.apply(void 0,arguments)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[t.tips.text?n("v-uni-view",{staticClass:"u-tips u-border-bottom",style:[t.tipsStyle]},[t._v(t._s(t.tips.text))]):t._e(),t._l(t.list,(function(e,i){return[n("v-uni-view",{key:i+"_0",staticClass:"u-action-sheet-item u-line-1",class:[i<t.list.length-1?"u-border-bottom":""],style:[t.itemStyle(i)],attrs:{"hover-stay-time":150},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.itemClick(i)}}},[n("v-uni-text",[t._v(t._s(e.text))]),e.subText?n("v-uni-text",{staticClass:"u-action-sheet-item__subtext u-line-1"},[t._v(t._s(e.subText))]):t._e()],1)]})),t.cancelBtn?n("v-uni-view",{staticClass:"u-gab"}):t._e(),t.cancelBtn?n("v-uni-view",{staticClass:"u-actionsheet-cancel u-action-sheet-item",attrs:{"hover-class":"u-hover-class","hover-stay-time":150},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v(t._s(t.cancelText))]):t._e()],2)},a=[]},"0c60":function(t,e,n){"use strict";var i=n("9fc7"),o=n.n(i);o.a},"115d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uImage:n("7171").default,uIcon:n("4569").default,uLoading:n("778d").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"comment"},[n("v-uni-view",{staticClass:"comment--item"},[n("v-uni-view",{staticClass:"flex col-top row-between"},[n("v-uni-navigator",{attrs:{"hover-class":"none","open-type":"navigate",url:"/bundle_b/pages/community_user/community_user?id="+t.commentInfo.user_id}},[n("u-image",{attrs:{src:t.commentInfo.avatar,width:"88",height:"88",borderRadius:"50%"}})],1),n("v-uni-view",{staticClass:"m-l-16 flex-1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onComment(t.commentInfo.id,t.commentInfo.nickname)}}},[n("v-uni-view",{staticClass:"lighter sm flex"},[t._v(t._s(t.commentInfo.nickname)),t.commentInfo.is_author?n("v-uni-text",{staticClass:"lighter xxs author"},[t._v("作者")]):t._e()],1),n("v-uni-view",{staticClass:"m-t-10 nr normal content"},[t._v(t._s(t.commentInfo.comment))]),n("v-uni-view",{staticClass:"muted xs m-t-10"},[t._v(t._s(t.commentInfo.create_time))])],1),n("v-uni-view",{staticClass:"good text-center m-l-30",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCommentLike(t.commentInfo.id,t.commentInfo.is_like,t.commentInfo)}}},[n("v-uni-image",{attrs:{src:t.commentInfo.is_like?"/static/images/icon_good_s.png":"/static/images/icon_good.png"}}),n("v-uni-view",{staticClass:"xxs muted"},[t._v(t._s(t.commentInfo.like))])],1)],1)],1),t.commentInfo.child.length?n("v-uni-view",[t._l(t.commentInfo.child,(function(e,i){return[n("v-uni-view",{key:e.id+"_0",staticClass:"comment--item sons m-t-20"},[n("v-uni-view",{staticClass:"flex col-top row-between"},[n("v-uni-navigator",{attrs:{"hover-class":"none","open-type":"navigate",url:"/bundle_b/pages/community_user/community_user?id="+e.user_id}},[n("u-image",{attrs:{src:e.avatar,width:"88",height:"88",borderRadius:"50%"}})],1),n("v-uni-view",{staticClass:"m-l-16 flex-1",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onComment(e.id,e.nickname)}}},[n("v-uni-view",{staticClass:"lighter sm flex"},[t._v(t._s(e.nickname)),e.is_author?n("v-uni-text",{staticClass:"lighter xxs author"},[t._v("作者")]):t._e()],1),n("v-uni-view",{staticClass:"m-t-10 nr normal content"},[0==e.is_second?n("v-uni-text",[t._v("回复"),n("v-uni-text",{staticClass:"primary m-l-6 m-r-6"},[t._v("@"+t._s(e.reply_nickname))])],1):t._e(),t._v(t._s(e.comment))],1),n("v-uni-view",{staticClass:"muted xs m-t-10"},[t._v(t._s(e.create_time))])],1),n("v-uni-view",{staticClass:"good text-center m-l-30",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleCommentLike(e.id,e.is_like,e)}}},[n("v-uni-image",{attrs:{src:e.is_like?"/static/images/icon_good_s.png":"/static/images/icon_good.png"}}),n("v-uni-view",{staticClass:"xxs muted"},[t._v(t._s(e.like))])],1)],1)],1)]})),0!=t.commentInfo.more&&t.commentInfo.more+2>t.commentInfo.child.length&&t.more&&!t.commentInfo.loading?n("v-uni-view",{staticClass:"sons primary xs m-t-10 flex",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleLoadingMore.apply(void 0,arguments)}}},[t._v("展开更多回复"),n("u-icon",{attrs:{name:"arrow-down",size:"22",color:t.colorConfig.primary}})],1):t._e(),t.commentInfo.loading?n("v-uni-view",{staticClass:"sons primary xs"},[n("u-loading",{attrs:{color:t.colorConfig.primary,size:30,mode:"circle"}}),n("v-uni-text",{staticClass:"m-l-20"},[t._v("加载中")])],1):t._e()],2):t._e(),n("v-uni-view",{staticClass:"border-b"})],1)},a=[]},"18bf":function(t,e,n){"use strict";n.r(e);var i=n("5ec8"),o=n("23ba");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("44b3");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"6dd6b5aa",null,!1,i["a"],s);e["default"]=c.exports},"1d1a":function(t,e,n){"use strict";n.r(e);var i=n("a80a"),o=n("8079");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("0c60");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"6f6c11bf",null,!1,i["a"],s);e["default"]=c.exports},"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"23ba":function(t,e,n){"use strict";n.r(e);var i=n("733c"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"259e":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=i},"2da8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},props:{type:{type:String,default:"fixed"},backgroundColor:{type:String,default:"#fff"}},methods:{}};e.default=i},"2e28":function(t,e,n){"use strict";var i=n("3070"),o=n.n(i);o.a},3070:function(t,e,n){var i=n("7588");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("287e0be3",i,!0,{sourceMap:!1,shadowMode:!1})},"3a64":function(t,e,n){"use strict";var i=n("4ea4");n("c740"),n("4160"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("5530")),a=n("c980"),s=n("357b"),r={data:function(){return{globalLike:!1,communityId:"",communityInfo:{user:{avatar:"",nickname:"",id:null},goods_data:[],shop_data:[],topic:{id:!1,name:""}},isFirstLoading:!0,isCommentLoading:!0,showManage:!1,manageList:[{text:"编辑",color:"#333333",fontSize:32},{text:"删除",color:"#333333",fontSize:32}],showFollowTips:!1,showGoodsPopup:!1,showShopPopup:!1,showTips:!1,showCommentPopup:!1,showCommentChildPopup:!1,childPid:"",childIndex:"",childPlaceholder:"",toScrollArr:[],commentData:[],page:1,pageSize:10,more:0,loading:!1}},onLoad:function(){var t=this;this.$nextTick((function(){uni.pageScrollTo({scrollTop:0,duration:0}),(0,s.getRect)("#comment").then((function(e){t.toScrollArr[0]=e.top}))}));var e=this.$Route.query;if(e&&e.scene){var n=strToParams(decodeURIComponent(e.scene));e.id=n.id}this.communityId=e.id||""},onShow:function(){this.initCommunityDetail()},onReachBottom:function(){console.log("触底"),this.more&&(this.loading=!0,this.getCommentData())},onShareAppMessage:function(){return{title:"".concat(this.communityInfo.user.nickname,"TA的内容超级棒"),path:"/bundle_b/pages/community_detail/community_detail?id="+this.communityId,imageUrl:this.communityInfo.image}},methods:{initCommunityDetail:function(){var t=this;(0,a.getCommunityDetail)({id:this.communityId}).then((function(e){1==e.code?(t.communityInfo=e.data,setTimeout((function(){t.isFirstLoading&&t.getCommentData(),t.isFirstLoading=!1}),600)):(t.$toast({title:e.msg}),setTimeout((function(){return t.$Router.back()}),2e3))}))},handleShare:function(){this.showTips=!0,this.$store.commit("setCommunity",(0,o.default)((0,o.default)({},this.communityInfo),{},{url:"bundle_b/pages/community_detail/community_detail"})),this.$store.dispatch("communityShare")},changeComment:function(t){this.communityInfo.total_comment+=1,t.hasOwnProperty("child")||(t.child=[]),this.commentData.unshift(t)},onReply:function(t){this.childIndex=this.commentData.findIndex((function(e){return e.id==t.parentId})),this.childPid=t.commentId,this.childPlaceholder="回复@"+t.commentUserName,this.showCommentChildPopup=!0},changeCommentChild:function(t){this.commentData[this.childIndex].child.push(t)},getCommentData:function(){var t=this;(0,a.getCommunityCommentLists)({article_id:this.communityId,page_no:this.page,page_size:this.pageSize}).then((function(e){setTimeout((function(){return t.isCommentLoading=!1}),500),1==e.code?(e.data.list.forEach((function(e){e.loading=!1,t.commentData.push(e)})),1===e.data.more&&(t.page+=1),t.more=e.data.more,t.loading=!1):t.$toast({title:e.msg})}))},handleComment:function(){this.showCommentPopup=!0},handleManage:function(t){var e=this;switch(t){case 0:this.$Router.push({path:"/bundle_b/pages/published_works/published_works",query:{id:this.communityId}});break;case 1:(0,a.apiCommunityDel)({id:this.communityId}).then((function(t){1==t.code&&(e.$toast({title:"删除成功"}),setTimeout((function(){return e.$Router.back()}),1e3))}));break}},handleFollow:function(t){var e=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");(0,a.apiCommunityFollow)({follow_id:this.communityInfo.user.id,status:t}).then((function(t){e.$toast({title:t.msg}),e.initCommunityDetail()}))},handleLike:function(t){var e=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");this.communityInfo.is_like=!t,(0,a.apiCommunityCommentLike)({id:this.communityId,status:t?0:1,type:1}).then((function(n){1===n.code?(t?e.communityInfo.like-=1:e.communityInfo.like+=1,uni.$emit("changeItem",{like:e.communityInfo.like,is_like:e.communityInfo.is_like,id:e.communityId})):(e.communityInfo.is_like=t,e.$toast({title:n.msg}))}))},toComment:function(){uni.pageScrollTo({scrollTop:this.toScrollArr[0],duration:200})}}};e.default=r},"3e5b":function(t,e,n){"use strict";n.r(e);var i=n("ae88"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"44b3":function(t,e,n){"use strict";var i=n("8550"),o=n.n(i);o.a},"45b3":function(t,e,n){"use strict";n.r(e);var i=n("0b3a"),o=n("acfa");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("2e28");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0e9c9880",null,!1,i["a"],s);e["default"]=c.exports},"46bc":function(t,e,n){"use strict";n.r(e);var i=n("a0a7"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"481f":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".swiper-wrap[data-v-7b684644]{width:100%;height:%?750?%;position:relative}.swiper-wrap .swiper[data-v-7b684644]{width:100%;height:100%;position:relative}.swiper-wrap .swiper .slide-image[data-v-7b684644]{width:100%;height:100%}.swiper-wrap .dots[data-v-7b684644]{position:absolute;right:%?24?%;bottom:%?24?%;display:flex;height:%?34?%;padding:0 %?15?%}.swiper-wrap .video-wrap[data-v-7b684644]{width:100%;height:100%;position:relative;overflow:hidden}.swiper-wrap .my-video[data-v-7b684644]{width:100%;height:100%}.swiper-wrap .icon-play[data-v-7b684644]{width:%?90?%;height:%?90?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:999}",""]),t.exports=e},"4b3d":function(t,e,n){"use strict";var i=n("7853"),o=n.n(i);o.a},"4e62":function(t,e,n){var i=n("481f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("3275b0f4",i,!0,{sourceMap:!1,shadowMode:!1})},"501d":function(t,e,n){"use strict";n.r(e);var i=n("6e68"),o=n("df4a");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("dbc5");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"7b684644",null,!1,i["a"],s);e["default"]=c.exports},5176:function(t,e,n){"use strict";n.r(e);var i=n("5c92"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"55f7":function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.shop[data-v-34e80a7f]{padding:%?20?%;border-top:1px solid #f6f6f6}.shop .shop-info[data-v-34e80a7f]{height:%?160?%;line-height:%?160?%}',""]),t.exports=e},"58e8":function(t,e,n){"use strict";n.r(e);var i=n("6ece"),o=n("3e5b");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("6ab9");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"34e80a7f",null,!1,i["a"],s);e["default"]=c.exports},"5c2f":function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.u-image[data-v-5c6487b9]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-5c6487b9]{width:100%;height:100%}.u-image__loading[data-v-5c6487b9], .u-image__error[data-v-5c6487b9]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:%?46?%}',""]),t.exports=e},"5c92":function(t,e,n){"use strict";n("a9e3"),n("e25e"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={computed:{posterUrl:function(){return this.poster?this.poster:this.url+"?x-oss-process=video/snapshot,t_"+parseInt(1e3*this.currentTime)+",f_jpg,w_800,m_fast"}},created:function(){this.videoId=Date.now()+Math.ceil(1e7*Math.random())+""},mounted:function(){this.VideoContext=uni.createVideoContext(this.videoId,this)},methods:{fullscreenchange:function(t){this.state=t.detail.fullScreen},timeupdate:function(t){this.duration=t.detail.duration,this.currentTime=t.detail.currentTime}},watch:{state:function(t,e){var n=this;t?(this.VideoContext.play(),setTimeout((function(){n.VideoContext.requestFullScreen({direction:n.direction})}),10)):this.VideoContext.pause()}},data:function(){return{VideoContext:{},state:!1,currentTime:0,duration:0,videoId:""}},props:{poster:{type:[String,Boolean],default:function(){return""}},url:{type:String,default:function(){return""}},direction:{type:Number,default:function(){return 0}},width:{type:String,default:function(){return"750rpx"}},height:{type:String,default:function(){return"450rpx"}}}};e.default=i},"5ec8":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uPopup:n("a821").default,uImage:n("7171").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{mode:"bottom",height:"900",closeable:!0,"border-radius":"14"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("v-uni-view",{staticClass:"xl p-24 text-center bold"},[t._v("TA提到的商品")]),t._l(t.lists,(function(e,i){return n("v-uni-navigator",{key:i,attrs:{"hover-class":"none",url:"/pages/goods_details/goods_details?id="+e.id}},[n("v-uni-view",{staticClass:"goods flex"},[n("u-image",{attrs:{width:"160",height:"160",src:e.image}}),n("v-uni-view",{staticClass:"m-l-20 goods-info"},[n("v-uni-view",{staticClass:"line-2 nr normal"},[t._v(t._s(e.name))]),n("v-uni-view",{staticClass:"primary xl p-t-30"},[t._v("¥"+t._s(e.goods_price))])],1)],1)],1)}))],2)},a=[]},"660b":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uIcon:n("4569").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():n("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)},attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?n("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius),backgroundColor:this.bgColor}},[t.$slots.loading?t._t("loading"):n("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})],2):t._e(),t.showError&&t.isError&&!t.loading?n("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)}},[t.$slots.error?t._t("error"):n("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})],2):t._e()],1)},a=[]},"6ab9":function(t,e,n){"use strict";var i=n("cf36"),o=n.n(i);o.a},"6e68":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={jVideo:n("7ac1").default,uImage:n("7171").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"swiper-wrap"},[n("v-uni-swiper",{ref:"swiper",staticClass:"swiper",attrs:{autoplay:t.autoplay,circular:t.circular,interval:t.interval,duration:t.duration},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},[t.video?n("v-uni-swiper-item",[n("v-uni-view",{staticClass:"video-wrap"},[n("j-video",{attrs:{url:t.video,height:"750rpx",width:"750rpx",poster:t.poster}})],1)],1):t._e(),t._l(t.urls,(function(e,i){return[n("v-uni-swiper-item",{key:i+"_0",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage(i)}}},[n("u-image",{attrs:{width:"100%",height:"750rpx",src:e.url,borderRadius:t.borderRadius}})],1)]}))],2),n("v-uni-view",{staticClass:"dots black sm bg-white br60"},[t._v(t._s(t.currentSwiper+1)+"/"+t._s(t.swiperLength))])],1)},a=[]},"6ece":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uPopup:n("a821").default,uImage:n("7171").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{mode:"bottom",height:"900",closeable:!0,"border-radius":"14"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("v-uni-view",{staticClass:"xl p-24 text-center bold"},[t._v("TA提到的店铺")]),t._l(t.lists,(function(e,i){return n("v-uni-navigator",{key:i,attrs:{"hover-class":"none",url:"/pages/store_index/store_index?id="+e.id}},[n("v-uni-view",{staticClass:"shop flex"},[n("u-image",{attrs:{width:"160",height:"160",src:e.logo}}),n("v-uni-view",{staticClass:"m-l-20 shop-info"},[n("v-uni-view",{staticClass:"line-2 nr normal"},[t._v(t._s(e.name))])],1)],1)],1)}))],2)},a=[]},7171:function(t,e,n){"use strict";n.r(e);var i=n("660b"),o=n("cb4c");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("7208");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"5c6487b9",null,!1,i["a"],s);e["default"]=c.exports},7208:function(t,e,n){"use strict";var i=n("774a"),o=n.n(i);o.a},"733c":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("c980"),o={name:"community-goods",props:{value:{type:Boolean},communityId:{type:[String,Number],default:""}},data:function(){return{lists:[]}},computed:{show:{get:function(){return this.value},set:function(t){t&&this.initRecommendGoods(),this.$emit("input",t)}}},methods:{initRecommendGoods:function(){var t=this;(0,i.getCommunityGoodsLists)({id:this.communityId}).then((function(e){t.lists=e.data}))}}};e.default=o},7588:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.u-tips[data-v-0e9c9880]{font-size:%?26?%;text-align:center;padding:%?34?% 0;line-height:1;color:#909399}.u-action-sheet-item[data-v-0e9c9880]{display:flex;flex-direction:row;line-height:1;justify-content:center;align-items:center;font-size:%?32?%;padding:%?34?% 0;flex-direction:column}.u-action-sheet-item__subtext[data-v-0e9c9880]{font-size:%?24?%;color:#909399;margin-top:%?20?%}.u-gab[data-v-0e9c9880]{height:%?12?%;background-color:#eaeaec}.u-actionsheet-cancel[data-v-0e9c9880]{color:#303133}',""]),t.exports=e},"774a":function(t,e,n){var i=n("5c2f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("28f9c44e",i,!0,{sourceMap:!1,shadowMode:!1})},7853:function(t,e,n){var i=n("9825");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("7aedf082",i,!0,{sourceMap:!1,shadowMode:!1})},"7ac1":function(t,e,n){"use strict";n.r(e);var i=n("d197"),o=n("5176");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("c450");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"41322535",null,!1,i["a"],s);e["default"]=c.exports},8079:function(t,e,n){"use strict";n.r(e);var i=n("f9b6"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},8478:function(t,e,n){"use strict";n.r(e);var i=n("888a"),o=n("d2f9");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("d9f2");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"4e10ea18",null,!1,i["a"],s);e["default"]=c.exports},8550:function(t,e,n){var i=n("c7ec");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("1a013542",i,!0,{sourceMap:!1,shadowMode:!1})},"888a":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uLoading:n("778d").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{class:"loading "+("flex"==t.type?"flex":""),style:{backgroundColor:t.backgroundColor}},[n("u-loading",{attrs:{mode:"flower",size:60}})],1)},a=[]},9825:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.comment[data-v-65f1dc08]{transition:all .5s;padding:%?24?% %?24?% 0 %?24?%}.comment .border-b[data-v-65f1dc08]{margin-left:%?104?%;padding-bottom:%?18?%;border-bottom:1px solid #e5e5e5}.comment .sons[data-v-65f1dc08]{margin-left:%?104?%}.comment--item[data-v-65f1dc08]{transition:all .5s}.comment--item .author[data-v-65f1dc08]{padding:0 %?16?%;margin-left:%?10?%;background-color:#eee;border-radius:%?18?%}.comment--item .content[data-v-65f1dc08]{white-space:pre-line}.comment--item .good uni-image[data-v-65f1dc08]{width:%?26?%;height:%?26?%}',""]),t.exports=e},"9a22":function(t,e,n){"use strict";n.r(e);var i=n("115d"),o=n("46bc");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("4b3d");var s,r=n("f0c5"),c=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"65f1dc08",null,!1,i["a"],s);e["default"]=c.exports},"9c7e":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-action-sheet",props:{maskCloseAble:{type:Boolean,default:!0},list:{type:Array,default:function(){return[]}},tips:{type:Object,default:function(){return{text:"",color:"",fontSize:"26"}}},cancelBtn:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},value:{type:Boolean,default:!1},borderRadius:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:0},cancelText:{type:String,default:"取消"}},computed:{tipsStyle:function(){var t={};return this.tips.color&&(t.color=this.tips.color),this.tips.fontSize&&(t.fontSize=this.tips.fontSize+"rpx"),t},itemStyle:function(){var t=this;return function(e){var n={};return t.list[e].color&&(n.color=t.list[e].color),t.list[e].fontSize&&(n.fontSize=t.list[e].fontSize+"rpx"),t.list[e].disabled&&(n.color="#c0c4cc"),n}},uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},methods:{close:function(){this.popupClose(),this.$emit("close")},popupClose:function(){this.$emit("input",!1)},itemClick:function(t){this.list[t].disabled||(this.$emit("click",t),this.$emit("input",!1))}}};e.default=i},"9fc7":function(t,e,n){var i=n("b0d3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("76eeb756",i,!0,{sourceMap:!1,shadowMode:!1})},a0a7:function(t,e,n){"use strict";var i=n("4ea4");n("13d5"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("2909")),a=n("c980"),s=n("357b"),r={name:"community-comment-list",props:{comment:{type:Object}},data:function(){return{more:1,page:1,pageSize:5,commentInfo:{}}},watch:{comment:{handler:function(t){var e;this.commentInfo.hasOwnProperty("child")?((e=this.commentInfo.child).push.apply(e,(0,o.default)(JSON.parse(JSON.stringify(t.child)))),this.commentInfo.child=this.removeDiffrent(this.commentInfo.child,"id")):this.commentInfo=t},deep:!0,immediate:!0}},mounted:function(){this.handleCommentLike=(0,s.debounce)(this.handleCommentLike,100)},methods:{onComment:function(t,e){if(!this.isLogin)return this.$Router.push("/pages/login/login");this.$emit("reply",{commentId:t,parentId:this.commentInfo.id,commentUserName:e})},handleCommentLike:function(t,e,n){var i=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");switch(e){case 0:this.$set(n,"like",n.like+=1),this.$set(n,"is_like",1);break;case 1:this.$set(n,"like",n.like-=1),this.$set(n,"is_like",0);break}(0,a.apiCommunityCommentLike)({id:t,status:e?0:1,type:2}).then((function(t){if(1!==t.code){switch(e){case 0:i.$set(n,"like",n.like-=1),i.$set(n,"is_like",1);break;case 1:i.$set(n,"like",n.like+=1),i.$set(n,"is_like",0);break}i.$toast({title:t.msg})}}))},handleLoadingMore:function(){var t=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");this.commentInfo.loading=!0,(0,a.getCommunityCommentChildLists)({comment_id:this.commentInfo.id,page_no:this.page,page_size:this.pageSize}).then((function(e){var n;1===e.code?(t.more=e.data.more,(n=t.commentInfo.child).push.apply(n,(0,o.default)(e.data.list)),t.commentInfo.child=t.removeDiffrent(t.commentInfo.child,"id"),1===e.data.more&&(t.page+=1)):t.$toast({title:e.msg});t.commentInfo.loading=!1}))},removeDiffrent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",n={};return t.reduce((function(t,i){return!n[i[e]]&&(n[i[e]]=t.push(i)),t}),[])}}};e.default=r},a28e:function(t,e,n){var i=n("24fb"),o=n("1de5"),a=n("ead3");e=i(!1);var s=o(a);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/* 行为相关颜色 */.bb[data-v-66c08d25]{border-bottom:1px solid #e5e5e5}.content-box[data-v-66c08d25]{margin-bottom:%?20?%;background-color:#fff}.content-box .audit[data-v-66c08d25]{padding:%?20?% %?24?%;background-color:rgba(255,44,60,.1)}.content-box .audit uni-image[data-v-66c08d25]{width:%?60?%;height:%?60?%}.content-box .header[data-v-66c08d25]{font-size:%?28?%;padding:%?20?% %?24?%}.content-box .header .share-img[data-v-66c08d25]{width:%?60?%;height:%?60?%}.content-box .header .follow-btn[data-v-66c08d25]{width:%?118?%;height:%?48?%;line-height:%?44?%;color:#fff;padding:0;background:linear-gradient(90deg,#f95f2f,#ff2c3c)}.content-box .header .follow-btn uni-image[data-v-66c08d25]{width:%?30?%;height:%?30?%;vertical-align:middle}.content-box .header .followed-btn[data-v-66c08d25]{width:%?118?%;height:%?48?%;line-height:%?44?%;color:#fff;padding:0;background-color:#ccc}.content-box .header .manage-btn[data-v-66c08d25]{width:%?92?%;height:%?48?%;line-height:%?44?%;padding:0;border:1px solid #ff2c3c;color:#ff2c3c}.content-box .swiper-container[data-v-66c08d25]{padding:0 %?20?%}.content-box .goods-box[data-v-66c08d25]{padding:%?15?% %?24?%}.content-box .goods-box .tips[data-v-66c08d25]{padding:0 %?10?%;color:#ff2c3c;border-radius:%?20?%;border:1px solid #ff2c3c}.content-box .content[data-v-66c08d25]{padding:%?24?%}.content-box .content .text[data-v-66c08d25]{white-space:pre-line;line-height:%?48?%;font-size:%?28?%;color:#333}.content-box .content .tags[data-v-66c08d25]{padding:%?24?% 0}.content-box .content .tags uni-text[data-v-66c08d25]{margin-right:%?20?%;border-radius:%?26?%;padding:%?8?% %?24?%;color:#ff2c3c;background:rgba(255,44,60,.1)}.comment-box[data-v-66c08d25]{overflow:hidden;padding-bottom:%?140?%}.comment-box .comment-title[data-v-66c08d25]{color:#101010;padding:%?28?% %?24?%;font-size:%?30?%}.footer[data-v-66c08d25]{width:100%;height:%?92?%;z-index:99;position:fixed;left:0;bottom:0;box-sizing:initial;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 %?-4?% %?10?% rgba(0,0,0,.1)}.footer .content-wrapper[data-v-66c08d25]{width:100%;padding:0 %?30?%;color:#666;font-size:%?28?%}.footer .content-wrapper .input[data-v-66c08d25]{width:100%;border-radius:%?30?%;background:#f8f8f8;padding:%?10?% %?30?%}.footer .content-wrapper uni-image[data-v-66c08d25]{width:%?44?%;height:%?44?%;margin-right:%?6?%}.footer .content-wrapper .likes-box[data-v-66c08d25]{position:relative}.footer .content-wrapper .likes-box .likes[data-v-66c08d25]{z-index:999;left:%?-10?%;width:%?120?%;height:%?120?%;margin-right:%?6?%;position:absolute;background:url('+s+") no-repeat;background-position:0;background-size:cover}.footer .content-wrapper .likes-box .leave[data-v-66c08d25]{background-position:0}.footer .content-wrapper .likes-box .entry[data-v-66c08d25]{background-position:100%;transition:background .6s steps(28)}.share-tips .share-arrow[data-v-66c08d25]{width:%?140?%;height:%?250?%;float:right;margin:%?15?% %?31?% 0 0}",""]),t.exports=e},a2b5:function(t,e,n){"use strict";var i=n("cc1d"),o=n.n(i);o.a},a80a:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uMask:n("6940").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-mask",{attrs:{show:t.show,duration:"0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1}}},[n("v-uni-view",{staticClass:"comment-popup bg-white",style:{bottom:t.isFocus?t.height+"px":"0"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)}}},[n("v-uni-view",{staticClass:"comment-popup-header flex row-between"},[n("v-uni-view",{staticClass:"lg normal",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1}}},[t._v("取消")]),n("v-uni-view",{staticClass:"lg bold"},[t._v("评论")]),n("v-uni-view",{staticClass:"primary lg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleComment.apply(void 0,arguments)}}},[t._v("确定")])],1),n("v-uni-view",{staticClass:"comment-popup-content"},[n("v-uni-textarea",{staticClass:"comment-popup-textarea",attrs:{cols:"30",rows:"10",focus:t.show,placeholder:t.commentPlaceholder,"disable-default-padding":!0,"show-confirm-bar":!1,fixed:!0,"adjust-position":!1},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFocus.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)],1)],1)},a=[]},acfa:function(t,e,n){"use strict";n.r(e);var i=n("9c7e"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},ae88:function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("c980"),o={name:"community-shop",props:{value:{type:Boolean},communityId:{type:[String,Number],default:""}},data:function(){return{lists:[]}},computed:{show:{get:function(){return this.value},set:function(t){t&&this.initRecommendShop(),this.$emit("input",t)}}},methods:{initRecommendShop:function(){var t=this;(0,i.getCommunityShopLists)({id:this.communityId}).then((function(e){t.lists=e.data}))}}};e.default=o},b0d1:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uImage:n("7171").default,productSwiper:n("501d").default,uIcon:n("4569").default,uLoading:n("778d").default,communityCommentList:n("9a22").default,uActionSheet:n("45b3").default,uModal:n("211d").default,communityGoods:n("18bf").default,communityShop:n("58e8").default,communityComment:n("1d1a").default,loadingView:n("8478").default,uPopup:n("a821").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"content-box"},[2==t.communityInfo.status?n("v-uni-view",{staticClass:"audit flex"},[n("v-uni-image",{attrs:{src:"/bundle_b/static/icon_audit_fail.png"}}),n("v-uni-view",{staticClass:"m-l-16 primary"},[n("v-uni-view",{staticClass:"bold md "},[t._v("审核失败")]),n("v-uni-view",{staticClass:"xs m-t-6"},[t._v(t._s(t.communityInfo.audit_remark_desc))])],1)],1):t._e(),0==t.communityInfo.status?n("v-uni-view",{staticClass:"audit flex"},[n("v-uni-image",{attrs:{src:"/bundle_b/static/icon_under_review.png"}}),n("v-uni-view",{staticClass:"m-l-16 primary"},[n("v-uni-view",{staticClass:"bold md "},[t._v("审核中")]),n("v-uni-view",{staticClass:"xs m-t-6"},[t._v(t._s(t.communityInfo.audit_remark_desc))])],1)],1):t._e(),n("v-uni-view",{staticClass:"header flex row-between"},[n("router-link",{attrs:{to:"/bundle_b/pages/community_user/community_user?id="+t.communityInfo.user.id}},[n("v-uni-view",{staticClass:"flex"},[n("u-image",{attrs:{width:"70",height:"70",src:t.communityInfo.user.avatar,borderRadius:"50%"}}),n("v-uni-text",{staticClass:"normal bold m-l-16"},[t._v(t._s(t.communityInfo.user.nickname))])],1)],1),n("v-uni-view",{staticClass:"flex"},[0==t.communityInfo.is_author&&0==t.communityInfo.is_follow?n("v-uni-button",{staticClass:"follow-btn br60",attrs:{size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFollow(1)}}},[n("v-uni-image",{attrs:{src:"/bundle_b/static/icon_follow.png"}}),n("v-uni-text",{staticClass:"m-l-6 xs"},[t._v("关注")])],1):t._e(),0==t.communityInfo.is_author&&1==t.communityInfo.is_follow?n("v-uni-button",{staticClass:"followed-btn br60 sm",attrs:{size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showFollowTips=!0}}},[t._v("已关注")]):t._e(),t.communityInfo.is_author?n("v-uni-button",{staticClass:"manage-btn br60",attrs:{size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showManage=!0}}},[t._v("管理")]):t._e(),n("v-uni-button",{staticClass:"flex-col col--center",attrs:{"open-type":"share","hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleShare.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"share-img m-l-12",attrs:{src:"/bundle_b/static/icon_forward.png"}})],1)],1)],1),n("v-uni-view",{staticClass:"swiper-container"},[n("product-swiper",{attrs:{imgUrls:t.communityInfo.images,autoplay:!1,borderRadius:"14"}})],1),t.communityInfo.goods_data.length?n("v-uni-view",{staticClass:"goods-box bb flex row-between",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showGoodsPopup=!0}}},[n("v-uni-text",{staticClass:"nr lighter"},[t._v("查看TA提到的宝贝("+t._s(t.communityInfo.goods_data.length)+")")]),n("v-uni-view",{staticClass:"goods flex"},[t._l(t.communityInfo.goods_data,(function(e,i){return[i<=2?n("u-image",{key:i+"_0",staticClass:"m-l-6",attrs:{src:e.image,width:"58",height:"58"}}):t._e()]})),n("u-icon",{staticClass:"m-l-10",attrs:{name:"arrow-right"}})],2)],1):t._e(),t.communityInfo.shop_data.length?n("v-uni-view",{staticClass:"goods-box bb flex row-between",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showShopPopup=!0}}},[n("v-uni-text",{staticClass:"nr lighter"},[t._v("查看TA提到的店铺("+t._s(t.communityInfo.shop_data.length)+")")]),n("v-uni-view",{staticClass:"goods flex"},[t._l(t.communityInfo.shop_data,(function(e,i){return[i<=2?n("u-image",{key:i+"_0",staticClass:"m-l-6",attrs:{src:e.logo,width:"58",height:"58"}}):t._e()]})),n("u-icon",{staticClass:"m-l-10",attrs:{name:"arrow-right"}})],2)],1):t._e(),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"text"},[t._v(t._s(t.communityInfo.content))]),t.communityInfo.topic?n("v-uni-view",{staticClass:"tags"},[n("v-uni-navigator",{attrs:{"hover-class":"none",url:"/bundle_b/pages/community_topic/community_topic?id="+t.communityInfo.topic.id+"&name="+t.communityInfo.topic.name}},[n("v-uni-text",[t._v("# "+t._s(t.communityInfo.topic.name))])],1)],1):t._e(),n("v-uni-view",{staticClass:"xs muted"},[t._v(t._s(t.communityInfo.create_time||"2022-05-20 05:13:14"))])],1)],1),n("v-uni-view",{staticClass:"comment-box m-t-20 bg-white"},[n("v-uni-view",{staticClass:"comment-title bb",attrs:{id:"comment"}},[t._v("评价 ("+t._s(t.communityInfo.total_comment||"0")+"条)")]),t.isCommentLoading?[n("v-uni-view",{staticClass:"text-center flex row-center p-50"},[n("u-loading",{attrs:{color:t.colorConfig.primary,size:40,mode:"circle"}}),n("v-uni-text",{staticClass:"m-l-20"},[t._v("加载中")])],1)]:[t.commentData.length?[t._l(t.commentData,(function(e,i){return[n("community-comment-list",{key:e.id+"_0",attrs:{comment:e},on:{reply:function(e){arguments[0]=e=t.$handleEvent(e),t.onReply.apply(void 0,arguments)}}})]})),1===t.more&&t.loading?n("v-uni-view",{staticClass:"flex row-center primary nd p-50"},[n("u-loading",{attrs:{color:t.colorConfig.primary,size:40,mode:"circle"}}),n("v-uni-text",{staticClass:"m-l-20"},[t._v("加载中")])],1):n("v-uni-view",{staticClass:"text-center muted nd p-50"},[n("v-uni-text",[t._v("没有更多了~")])],1)]:n("v-uni-view",{staticClass:"text-center p-50"},[n("v-uni-view",{staticClass:"flex row-center"},[n("u-image",{attrs:{src:"/static/images/news_null.png",width:"300",height:"300"}})],1),n("v-uni-view",{staticClass:"muted m-t-40"},[t._v("还没有人评论呢, 快来抢沙发~")])],1)]],2),n("v-uni-view",{staticClass:"footer flex bg-white"},[n("v-uni-view",{staticClass:"content-wrapper flex row-between"},[n("v-uni-view",{staticClass:"flex-1 flex",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleComment.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"input nr muted"},[t._v("发表你的想法吧")])],1),n("v-uni-view",{staticClass:"flex likes-box"},[n("v-uni-view",{staticClass:"likes",class:t.communityInfo.is_like?"entry":"leave",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleLike(t.communityInfo.is_like)}}}),n("v-uni-image",{staticClass:"m-l-30"}),n("v-uni-text",[t._v(t._s(t.communityInfo.like||"0"))])],1),n("v-uni-view",{staticClass:"flex",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toComment.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"m-l-30",attrs:{src:"/static/images/icon_evaluate.png"}}),n("v-uni-text",[t._v(t._s(t.communityInfo.total_comment||"0"))])],1)],1)],1),n("u-action-sheet",{attrs:{list:t.manageList,"safe-area-inset-bottom":!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleManage.apply(void 0,arguments)}},model:{value:t.showManage,callback:function(e){t.showManage=e},expression:"showManage"}}),n("u-modal",{attrs:{"show-cancel-button":!0,"comfirm-text":"取消关注",cancelText:"再想想","confirm-color":t.colorConfig.primary,"show-title":!1},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFollow(0)}},model:{value:t.showFollowTips,callback:function(e){t.showFollowTips=e},expression:"showFollowTips"}},[n("v-uni-view",{staticClass:"flex-col col-center tips-dialog",staticStyle:{"padding-top":"40rpx"}},[n("v-uni-image",{staticClass:"icon-lg",attrs:{src:"/static/images/icon_warning.png"}}),n("v-uni-view",{staticStyle:{margin:"30rpx 0"}},[t._v("确认取消关注?")])],1)],1),n("community-goods",{attrs:{communityId:t.communityInfo.id},model:{value:t.showGoodsPopup,callback:function(e){t.showGoodsPopup=e},expression:"showGoodsPopup"}}),n("community-shop",{attrs:{communityId:t.communityInfo.id},model:{value:t.showShopPopup,callback:function(e){t.showShopPopup=e},expression:"showShopPopup"}}),n("community-comment",{attrs:{communityId:t.communityId},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeComment.apply(void 0,arguments)}},model:{value:t.showCommentPopup,callback:function(e){t.showCommentPopup=e},expression:"showCommentPopup"}}),n("community-comment",{attrs:{communityId:t.communityId,pid:t.childPid,placeholder:t.childPlaceholder},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCommentChild.apply(void 0,arguments)}},model:{value:t.showCommentChildPopup,callback:function(e){t.showCommentChildPopup=e},expression:"showCommentChildPopup"}}),t.isFirstLoading?n("loading-view"):t._e(),n("u-popup",{staticClass:"share-tips",attrs:{"custom-style":{background:"none"},mode:"top"},model:{value:t.showTips,callback:function(e){t.showTips=e},expression:"showTips"}},[n("v-uni-view",{staticStyle:{overflow:"hidden"}},[n("v-uni-image",{staticClass:"share-arrow",attrs:{src:"/static/images/share_arrow.png"}}),n("v-uni-view",{staticClass:"white",staticStyle:{"text-align":"center","margin-top":"280rpx"}},[n("v-uni-view",{staticClass:"bold lg"},[t._v("立即分享给好友吧")]),n("v-uni-view",{staticClass:"sm m-t-10"},[t._v("点击屏幕右上角将本页面分享给好友")])],1)],1)],1)],1)},a=[]},b0d3:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.comment-popup[data-v-6f6c11bf]{width:100%;height:%?340?%;border-radius:%?20?% %?20?% 0 0;position:absolute;z-index:9999;bottom:0;left:0;padding-bottom:env(safe-area-inset-bottom)}.comment-popup .comment-popup-header uni-view[data-v-6f6c11bf]{padding:%?28?% %?30?%}.comment-popup .comment-popup-content[data-v-6f6c11bf]{height:%?240?%;padding:%?20?%}.comment-popup .comment-popup-content .comment-popup-textarea[data-v-6f6c11bf]{width:100%;box-sizing:border-box;height:%?200?%;background:#f8f8f8;border-radius:%?14?%;padding:%?20?%}',""]),t.exports=e},b524:function(t,e,n){var i=n("da0e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("2f5fedd3",i,!0,{sourceMap:!1,shadowMode:!1})},c450:function(t,e,n){"use strict";var i=n("b524"),o=n.n(i);o.a},c7ec:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.goods[data-v-6dd6b5aa]{padding:%?20?%;border-top:1px solid #f6f6f6}.goods .goods-info[data-v-6dd6b5aa]{height:%?160?%}',""]),t.exports=e},c980:function(t,e,n){"use strict";var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCommunityGoods=a,e.getCommunityShop=s,e.getCommunityRecommendTopic=r,e.getCommunityTopicLists=c,e.apiCommunityAdd=u,e.apiCommunityEdit=l,e.getCommunityUserCenter=d,e.getCommunityCate=m,e.getCommunityArticleLists=f,e.apiCommunityFollow=p,e.getCommunitySetting=h,e.apiCommunitySetSetting=v,e.getCommunityFollow=g,e.getCommunityWorksLists=b,e.getCommunityLikeLists=w,e.getCommunityTopicArticle=y,e.getCommunityDetail=_,e.getCommunityGoodsLists=C,e.getCommunityShopLists=x,e.apiCommunityDel=k,e.apiCommunityCommentAdd=I,e.getCommunityCommentLists=$,e.getCommunityCommentChildLists=S,e.apiCommunityCommentLike=E,e.getCommunitySearchHistory=L,e.apiCommunityClearSearchHistory=T;var o=i(n("b175"));function a(t){return o.default.get("community/goods",{params:t})}function s(t){return o.default.get("community/shop",{params:t})}function r(){return o.default.get("community/recommendTopic")}function c(t){return o.default.get("community/topicLists",{params:t})}function u(t){return o.default.post("community/addArticle",t)}function l(t){return o.default.post("community/editArticle",t)}function d(t){return o.default.get("community_user/center",{params:t})}function m(){return o.default.get("community/cate")}function f(t){return o.default.get("community/articleLists",{params:t})}function p(t){return o.default.post("community/follow",t)}function h(){return o.default.get("community_user/getSetting")}function v(t){return o.default.post("community_user/setSetting",t)}function g(t){return o.default.get("community/followArticle",{params:t})}function b(t){return o.default.get("community/worksLists",{params:t})}function w(t){return o.default.get("community/likeLists",{params:t})}function y(t){return o.default.get("community/topicArticle",{params:t})}function _(t){return o.default.get("community/detail",{params:t})}function C(t){return o.default.get("community/relationGoods",{params:t})}function x(t){return o.default.get("community/relationShop",{params:t})}function k(t){return o.default.post("community/delArticle",t)}function I(t){return o.default.post("community_comment/add",t)}function $(t){return o.default.get("community_comment/lists",{params:t})}function S(t){return o.default.get("community_comment/commentChild",{params:t})}function E(t){return o.default.post("community/giveLike",t)}function L(){return o.default.get("community_search/lists")}function T(){return o.default.post("community_search/clear")}},cb4c:function(t,e,n){"use strict";n.r(e);var i=n("259e"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},cc1d:function(t,e,n){var i=n("a28e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("eab0ecb8",i,!0,{sourceMap:!1,shadowMode:!1})},cf36:function(t,e,n){var i=n("55f7");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("47e18958",i,!0,{sourceMap:!1,shadowMode:!1})},d197:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"root",style:{width:t.width,height:t.height}},[n("v-uni-image",{staticClass:"posterImg",style:{width:t.width,height:t.height},attrs:{src:t.posterUrl}}),n("v-uni-view",{staticClass:"box",style:{width:t.width,height:t.height},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.state=!t.state}}},[n("v-uni-image",{staticClass:"playIcon",attrs:{src:"/static/images/icon_play.png",mode:"widthFix"}})],1),n("v-uni-video",{staticClass:"video",style:{height:t.height,width:t.state?"750rpx":"1rpx"},attrs:{id:t.videoId,src:t.url},on:{pause:function(e){arguments[0]=e=t.$handleEvent(e),t.state=0},timeupdate:function(e){arguments[0]=e=t.$handleEvent(e),t.timeupdate.apply(void 0,arguments)},fullscreenchange:function(e){arguments[0]=e=t.$handleEvent(e),t.fullscreenchange.apply(void 0,arguments)}}})],1)},a=[]},d2f9:function(t,e,n){"use strict";n.r(e);var i=n("2da8"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},d9f2:function(t,e,n){"use strict";var i=n("e712"),o=n.n(i);o.a},da0e:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.root[data-v-41322535]{position:relative;width:%?750?%;height:300px;overflow:hidden}.posterImg[data-v-41322535], .video[data-v-41322535], .box[data-v-41322535]{display:flex;width:%?750?%;height:300px;position:absolute}.video[data-v-41322535]{margin-left:-2000px}.box[data-v-41322535]{justify-content:center;align-items:center}.playIcon[data-v-41322535]{width:%?100?%;height:%?100?%}',""]),t.exports=e},dbc5:function(t,e,n){"use strict";var i=n("4e62"),o=n.n(i);o.a},df4a:function(t,e,n){"use strict";n.r(e);var i=n("0a92"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},e712:function(t,e,n){var i=n("f4a2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("c635eb4a",i,!0,{sourceMap:!1,shadowMode:!1})},ead3:function(t,e,n){t.exports=n.p+"static/img/likes.2ea8d3ae.png"},f4a2:function(t,e,n){var i=n("24fb");e=i(!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/* 行为相关颜色 */.loading[data-v-4e10ea18]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;display:flex;justify-content:center;align-items:center}.loading.flex[data-v-4e10ea18]{position:static;flex:1;width:100%}.loading .loading-img[data-v-4e10ea18]{width:%?100?%;height:%?100?%}',""]),t.exports=e},f9b6:function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("c980"),o=n("357b"),a={name:"community-comment",props:{value:{type:Boolean},communityId:{type:[Number,String]},pid:{type:[String,Number]},placeholder:{type:[String,Number],default:"发表你的想法吧..."}},data:function(){return{isFocus:!1,height:"",content:""}},computed:{commentPlaceholder:function(){return this.placeholder},show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},mounted:function(){this.handleComment=(0,o.trottle)(this.handleComment,500,this)},methods:{handleFocus:function(t){this.isFocus=!0,"pages/community/community"==(0,o.currentPage)().route?this.height=t.detail.height-54:this.height=t.detail.height},handleBlur:function(){this.isFocus=!1},handleComment:function(){var t=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");(0,i.apiCommunityCommentAdd)({article_id:this.communityId,pid:this.pid,comment:this.content}).then((function(e){t.$toast({title:e.msg}),1==e.code&&(t.show=!1,t.$emit("change",e.data),t.content="")}))}}};e.default=a}}]);