circle-page-index2-index2.cfe3df79.js 33 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["circle-page-index2-index2"],{"143e":function(t,e,i){"use strict";var n=i("3ac1"),a=i.n(n);a.a},"1fbf":function(t,e,i){"use strict";i.r(e);var n=i("6197"),a=i("84ae");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("47c3");var s=i("828b"),l=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ef46d0a4",null,!1,n["a"],void 0);e["default"]=l.exports},"3ac1":function(t,e,i){var n=i("e87f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("1995032c",n,!0,{sourceMap:!1,shadowMode:!1})},"3b14":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.shieldApi=e.postTolikelApi=e.postNewBlogApi=e.postCommentlikelApi=e.postBlogerFollowlApi=e.postBlogCommentApi=e.handoffAddress=e.getOpens=e.getNoReadNum=e.getMarketListApi=e.getMarketDetailApi=e.getMarketCateApi=e.getMarketBannerApi=e.getListData=e.getCircleData=e.getBlogMsgApi=e.getBlogInfoApi=e.getBlogCreatStatusApi=e.getBlogCommentApi=e.delBlogApi=e.complaint=e.commentDel=void 0;var a=n(i("b128")),o=n(i("9b1b")),s=n(i("7653"));e.shieldApi=function(t){return s.default.post("api/user.blog.blog_tie_complaint/shield",(0,o.default)({},t))};e.getMarketListApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogTie/list",(0,o.default)({},e))};e.getMarketDetailApi=function(t){return s.default.get("api/user.blog.BlogTie/detail",(0,o.default)({},t))};e.getBlogCommentApi=function(t){return s.default.get("api/user.blog.BlogComment/commentlist",(0,o.default)({},t))};e.postBlogerFollowlApi=function(t){return s.default.post("api/user.blog.BlogBloger/tofollow",(0,o.default)({},t))};e.getOpens=function(){return s.default.get("api/user.blog.BlogTie/getOpen")};e.postTolikelApi=function(t){return s.default.post("api/user.blog.BlogTie/tolike",(0,o.default)({},t))};e.postBlogCommentApi=function(t){return s.default.post("api/user.blog.BlogComment/tocomment",(0,o.default)({},t))};e.commentDel=function(t){return s.default.post("api/user.blog.BlogComment/commentDel",(0,o.default)({},t))};e.postNewBlogApi=function(t){return s.default.post("api/user.blog.BlogTie/publish",(0,o.default)({},t))};e.getMarketCateApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogTieCate/list",(0,o.default)({},e))};e.getMarketBannerApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogBanner/list",(0,o.default)({},e))};e.getBlogInfoApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogBloger/bloger_detail",(0,o.default)({},e))};e.getBlogMsgApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogMessage/Message",(0,o.default)({},e))};e.getNoReadNum=function(){return s.default.get("api/user.blog.BlogMessage/getNoReadNum")};e.getBlogCreatStatusApi=function(t){var e=Object.assign({},((0,a.default)(t),t));return s.default.get("api/user.blog.BlogTie/getOpen",(0,o.default)({},e))};e.delBlogApi=function(t){return s.default.post("api/user.blog.BlogTie/tieDelete",{id:t})};e.complaint=function(t){return s.default.post("api/user.blog.blog_tie_complaint/complaint",t)};e.getListData=function(t){return s.default.get("api/user.blog.BlogTie/list",t)};e.getCircleData=function(){return s.default.get("api/user.blog.circle/index")};e.handoffAddress=function(t){return s.default.get("api/user.blog.circle/getNavCircleLists",t)};e.postCommentlikelApi=function(t){return s.default.post("api/user.blog.blog_comment/tolikecomment",(0,o.default)({},t))}},"45b3":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-popup[data-v-ef46d0a4]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden}.tn-popup__content[data-v-ef46d0a4]{display:block;position:absolute;transition:all .25s linear}.tn-popup__content--visible[data-v-ef46d0a4]{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.tn-popup__content--visible.tn-popup--center[data-v-ef46d0a4]{-webkit-transform:scale(1);transform:scale(1);opacity:1}.tn-popup__content__center_box[data-v-ef46d0a4]{min-width:%?100?%;min-height:%?100?%;display:block;position:relative}.tn-popup__content__scroll-view[data-v-ef46d0a4]{width:100%;height:100%}.tn-popup__content__center--animation-zoom[data-v-ef46d0a4]{-webkit-transform:scale(1.15);transform:scale(1.15)}.tn-popup__scroll_view[data-v-ef46d0a4]{width:100%;height:100%}.tn-popup--left[data-v-ef46d0a4]{top:0;bottom:0;left:0;background-color:#fff}.tn-popup--right[data-v-ef46d0a4]{top:0;bottom:0;right:0;background-color:#fff}.tn-popup--top[data-v-ef46d0a4]{left:0;right:0;top:0;background-color:#fff}.tn-popup--bottom[data-v-ef46d0a4]{left:0;right:0;bottom:0;background-color:#fff}.tn-popup--center[data-v-ef46d0a4]{display:flex;flex-direction:column;bottom:0;top:0;left:0;right:0;justify-content:center;align-items:center;opacity:0}.tn-popup__close[data-v-ef46d0a4]{position:absolute}.tn-popup__close--top-left[data-v-ef46d0a4]{top:%?30?%;left:%?30?%}.tn-popup__close--top-right[data-v-ef46d0a4]{top:%?30?%;right:%?30?%}.tn-popup__close--bottom-left[data-v-ef46d0a4]{bottom:%?30?%;left:%?30?%}.tn-popup__close--bottom-right[data-v-ef46d0a4]{bottom:%?30?%;right:%?30?%}.tn-popup__mask[data-v-ef46d0a4]{width:100%;height:100%;position:fixed;top:0;left:0;right:0;border:0;background-color:rgba(0,0,0,.4);transition:.25s linear;transition-property:opacity;opacity:0}.tn-popup__mask--show[data-v-ef46d0a4]{opacity:1}',""]),t.exports=e},"47c3":function(t,e,i){"use strict";var n=i("a547"),a=i.n(n);a.a},6197:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.visibleSync?i("v-uni-view",{staticClass:"tn-popup-class tn-popup",style:[t.customStyle,t.popupStyle,{zIndex:t.elZIndex-1}],attrs:{"hover-stop-propagation":!0}},[i("v-uni-view",{staticClass:"tn-popup__mask",class:[{"tn-popup__mask--show":t.showPopup&&t.mask}],style:{zIndex:t.elZIndex-2},attrs:{"hover-stop-propagation":!0},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"tn-popup__content",class:["center"!==t.mode?t.backgroundColorClass:"",t.safeAreaInsetBottom?"tn-safe-area-inset-bottom":"","tn-popup--"+t.mode,t.showPopup?"tn-popup__content--visible":"",t.zoom&&"center"===t.mode?"tn-popup__content__center--animation-zoom":""],style:[t.contentStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:[function(e){arguments[0]=e=t.$handleEvent(e),t.modeCenterClose.apply(void 0,arguments)},function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}]}},["center"===t.mode?i("v-uni-view",{staticClass:"tn-popup__content__center_box",class:[t.backgroundColorClass],style:[t.centerStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t.closeBtn?i("v-uni-view",{staticClass:"tn-popup__close",class:["tn-icon-"+t.closeBtnIcon,"tn-popup__close--"+t.closeBtnPosition],style:[t.closeBtnStyle,{zIndex:t.elZIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),i("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view"},[t._t("default")],2)],1):i("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2),"center"!==t.mode&&t.closeBtn?i("v-uni-view",{staticClass:"tn-popup__close",class:["tn-popup__close--"+t.closeBtnPosition],style:{zIndex:t.elZIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[i("v-uni-view",{class:["tn-icon-"+t.closeBtnIcon],style:[t.closeBtnStyle]})],1):t._e()],1)],1):t._e()},a=[]},"65c2":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223");var a=n(i("74ff")),o={mixins:[a.default],name:"tn-popup",props:{value:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},width:{type:String,default:""},height:{type:String,default:""},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},borderRadius:{type:Number,default:0},zIndex:{type:Number,default:0},closeBtn:{type:Boolean,default:!1},boxBg:{type:String,default:"#ffffff"},closeBtnIcon:{type:String,default:"close"},closeBtnPosition:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#AAAAAA"},closeIconSize:{type:Number,default:30},negativeTop:{type:Number,default:0},marginTop:{type:Number,default:0},popup:{type:Boolean,default:!0}},computed:{popupStyle:function(){var t={};return"top"!==this.mode&&"left"!==this.mode&&"right"!==this.mode||!this.marginTop||(t.marginTop=this.$tn.string.getLengthUnitValue(this.marginTop,"px")),t},contentStyle:function(){var t={};if("left"===this.mode||"right"===this.mode?t={width:this.width?this.$tn.string.getLengthUnitValue(this.width):this.$tn.string.getLengthUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"===this.mode?"-100%":"100%",", 0px, 0px)")}:"top"!==this.mode&&"bottom"!==this.mode||(t={width:"100%",height:this.height?this.$tn.string.getLengthUnitValue(this.height):this.$tn.string.getLengthUnitValue(this.length),transform:"translate3D(0px, ".concat("top"===this.mode?"-100%":"100%",", 0px)")}),t.zIndex=this.elZIndex,this.borderRadius){switch(this.mode){case"left":t.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":t.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":t.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":t.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break}t.overflow="hidden"}return this.backgroundColorStyle&&"center"!==this.mode&&(t.backgroundColor=this.backgroundColorStyle),t},centerStyle:function(){var t={};return t.width=this.width?this.$tn.string.getLengthUnitValue(this.width):this.$tn.string.getLengthUnitValue(this.length),t.height=this.height?this.$tn.string.getLengthUnitValue(this.height):"auto",t.zIndex=this.elZIndex,t.backgroundColor=this.boxBg,this.negativeTop&&(t.marginTop="-".concat(this.$tn.string.getLengthUnitValue(this.negativeTop))),this.borderRadius&&(t.borderRadius="".concat(this.borderRadius,"rpx"),t.overflow="hidden"),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},closeBtnStyle:function(){var t={};return this.closeIconColor&&(t.color=this.closeIconColor),this.closeIconSize&&(t.fontSize=this.closeIconSize+"rpx"),t},elZIndex:function(){return this.zIndex?this.zIndex:this.$tn.zIndex.popup}},data:function(){return{timer:null,visibleSync:!1,showPopup:!1,closeFromInner:!1}},watch:{value:function(t){if(t){if(this.visibleSync)return void(this.visibleSync=!1);this.open()}else this.closeFromInner||this.close();this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{maskClick:function(){this.maskCloseable&&this.close()},open:function(){this.change("visibleSync","showPopup",!0)},close:function(){this.closeFromInner=!0,this.change("showPopup","visibleSync",!1)},modeCenterClose:function(){"center"==this.mode&&this.maskCloseable&&this.close()},change:function(t,e,i){var n=this;!0===this.popup&&this.$emit("input",i),this[t]=i,this.timer=i?setTimeout((function(){n[e]=i,n.$emit(i?"open":"close"),clearTimeout(n.timer)}),10):setTimeout((function(){n[e]=i,n.$emit(i?"open":"close"),clearTimeout(n.timer)}),250)}}};e.default=o},7463:function(t,e,i){"use strict";i.r(e);var n=i("e93e"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"74ff":function(t,e,i){i("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$tn.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$tn.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$tn.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$tn.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$tn.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},7931:function(t,e,i){"use strict";i.r(e);var n=i("7d34"),a=i("7463");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("143e");var s=i("828b"),l=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"773c2e1c",null,!1,n["a"],void 0);e["default"]=l.exports},"7d34":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={tnNoticeBar:i("ee42").default,tnTabs:i("37fc").default,tnPopup:i("1fbf").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"custom-navbar":!0,wrapperBeginNavbar:!1,leftSlot:!0,navbarBack:!1,transparentNavbar:t.showNavBg,navbarBgColor:"#fff"},on:{getNavBarInfoHeight:function(e){arguments[0]=e=t.$handleEvent(e),t.getNavBarInfoHeight.apply(void 0,arguments)}},scopedSlots:t._u([{key:"left",fn:function(){return[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("v-uni-view",{staticClass:"tn-margin-right",staticStyle:{display:"inline-block"}},[i("v-uni-text",{staticClass:"tn-icon-left",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navBack()}}})],1),i("v-uni-text",{staticClass:"tn-icon-sequence tn-margin-right-sm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.qiehuan.apply(void 0,arguments)}}}),i("v-uni-text",{staticClass:"tn-icon-search tn-margin-right-sm",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/circle-page/search-detail/search-detail?id="+t.circleData.category[0].id)}}}),i("v-uni-text",{staticClass:"tn-icon-my tn-margin-right-sm",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/circle-page/blogger/index?self=1")}}}),i("v-uni-text",{staticClass:"tn-icon-message",staticStyle:{position:"relative"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/circle-page/news/index?uid="+t.uid)}}},[t.msgData.total&&t.msgData.total>0?i("v-uni-text",{staticClass:"msgNum"},[t._v(t._s(t.msgData.total<99?t.msgData.total:"99"))]):t._e()],1)],1)]},proxy:!0}])},[i("v-uni-view",{staticClass:"boxs"},[i("v-uni-image",{staticStyle:{width:"100%",height:"200rpx",position:"absolute","z-index":"-1",left:"0",top:"0"},attrs:{src:t.circleData.bg_image,mode:"widthFix"}}),i("v-uni-view",{staticClass:"bg-mbl"},[i("v-uni-view",{staticClass:"tn-padding",staticStyle:{padding:"30rpx 30rpx 2rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex tn-flex-center top-mod"},[i("v-uni-image",{staticClass:"avctImg",attrs:{src:t.circleData.image,mode:"widthFix"}}),i("v-uni-view",{staticClass:"center"},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-xl"},[t._v(t._s(t.circleData.title))]),i("v-uni-view",{staticClass:"tn-margin-top-sm tn-text-sm"},[i("v-uni-text",[t._v(t._s(t.circleData.tie_num)+"动态")]),i("v-uni-text",{staticClass:"tn-icon-title"}),i("v-uni-text",[t._v(t._s(t.circleData.uid_num)+"人")])],1)],1)],1),i("v-uni-view",{staticClass:"notice",staticStyle:{width:"90%"}},[i("v-uni-view",{staticClass:"text",style:{whiteSpace:t.showDescription?"":"nowrap"}},[t._v(t._s(t.circleData.description))]),i("v-uni-text",{staticClass:"tn-icon-right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showDescription=!t.showDescription}}})],1),i("v-uni-view",{staticClass:"scrol_Mod"},[i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap"},attrs:{"scroll-x":"true"}},t._l(t.circleData.nav,(function(e,n){return i("v-uni-view",{key:n,staticClass:"mod-item"},[i("v-uni-view",{staticClass:"tn-padding-xs tn-flex tn-flex-column tn-flex-center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toPage(e.url)}}},[i("v-uni-image",{staticStyle:{width:"70rpx",height:"70rpx"},attrs:{src:e.image,mode:"widthFix"}}),i("v-uni-view",{staticClass:"tn-text-sm tn-text-center tn-margin-top-xs"},[i("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v(t._s(e.title))])],1)],1)],1)})),1)],1)],1),i("v-uni-view",{staticClass:"centent-mod"},[t.hotlist.length>0?i("v-uni-view",{staticClass:"headlines"},[i("v-uni-view",{staticClass:"itm-mod",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/circle-page/today-up/today-up?id="+t.circleData.category[0].id)}}},[i("v-uni-view",{staticClass:"sort-img"},[i("v-uni-image",{staticClass:"img",attrs:{src:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/circle/crown.png",mode:"widthFix"}}),i("v-uni-text",{staticClass:"sort"},[t._v(t._s(t.showIndex+1))])],1),i("v-uni-view",{staticClass:"text"},[i("tn-notice-bar",{attrs:{textSize:26,list:t.hotlist,mode:"vertical",leftIcon:!1,rightIcon:!0},on:{updateIndex:function(e){arguments[0]=e=t.$handleEvent(e),t.updateIndex.apply(void 0,arguments)}}})],1),i("v-uni-image",{staticClass:"icon",attrs:{src:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/circle/jinrishangtou.png",mode:"widthFix"}})],1)],1):t._e(),i("v-uni-view",{staticClass:"tabs tn-padding-right",style:{position:t.tabsBoxFixed?"fixed":"static",top:t.navHeight+"px",zIndex:t.tabsBoxFixed?999:1,backgroundColor:t.tabsBoxFixed?"#ffff":""}},[i("v-uni-view",{staticStyle:{width:"calc(100% - 228rpx)"}},[i("tn-tabs",{attrs:{list:t.circleData.category,gutter:19,bold:!0,current:t.currentTab,name:"title",activeColor:"#000",inactiveColor:"gray",activeItemStyle:{fontSize:"38rpx"},inactiveItemStyle:{fontSize:"30rpx"},bardiyStyle:{backgroundColor:"#f5e63e",borderRadius:"20rpx",width:"30%"},diyIfBar:!0,showBar:!1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTabs.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticStyle:{width:"228rpx",display:"flex","align-items":"center","font-size":"28rpx","text-align":"center"}},t._l(t.tabs2,(function(e,n){return i("v-uni-view",{key:n,staticClass:"tn-margin-left-sm",class:n==t.current?"tn-color-black":"tn-color-gray",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.seleTab2(n)}}},[i("v-uni-text",[t._v(t._s(e.name))])],1)})),1)],1),t.classTabs.length>0?i("v-uni-view",{staticClass:"classTab"},[i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap"},attrs:{"scroll-x":"true"}},t._l(t.classTabs,(function(e,n){return i("v-uni-view",{key:n,staticClass:"mod-item",class:t.currentTab2===n?"seleItem":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seleTabs(e.id,n)}}},[i("v-uni-view",{staticClass:"tn-padding-xs"},[i("v-uni-text",{staticClass:"tn-text-ellipsis"},[t._v(t._s(e.title))])],1)],1)})),1)],1):t._e(),t.listData.length>0?i("v-uni-view",{staticClass:"tn-padding tn-padding-top-xs"},t._l(t.listData,(function(e,n){return i("v-uni-view",{key:n,staticClass:"list-item",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/circle-page/detail/index?id="+e.id)}}},[i("v-uni-view",{staticClass:"tn-flex tn-color-black",staticStyle:{"justify-content":"space-between"}},[i("v-uni-view",{staticClass:"tn-flex tn-flex-center"},[i("v-uni-image",{staticStyle:{width:"80rpx",height:"80rpx","border-radius":"50%"},attrs:{src:e.member.avatar,mode:"aspectFill"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toPageBlog("/circle-page/blogger/index?id="+e.uid)}}}),i("v-uni-view",{staticClass:"tn-margin-left-sm"},[i("v-uni-view",{staticClass:"tn-text-bold"},[i("v-uni-text",[t._v(t._s(e.member.nickname))])],1),i("span",[t._v(t._s(t.timestampFormat(e.time)))])],1)],1)],1),i("v-uni-view",{staticClass:"tn-color-black"},[i("v-uni-view",{staticClass:"tn-margin-top-sm tn-margin-bottom-sm",staticStyle:{"font-size":"30rpx"}},[i("v-uni-text",{staticStyle:{color:"#ffca28","background-color":"#fff","padding-right":"14rpx"}},[t._v("#"+t._s(e.cate_name)+"#")]),i("pre",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(e.details))])],1),e.imgs.length>0?i("v-uni-view",{},[i("image-group",{attrs:{preview:!1,data:e.imgs}})],1):t._e()],1),i("v-uni-view",{staticClass:"commt"},[i("v-uni-view",{staticClass:"tn-color-gray"},[i("v-uni-text",[t._v(t._s(e.like_num)+"点赞")]),i("v-uni-text",{staticClass:"tn-margin-left-sm"},[t._v(t._s(e.comment_num)+"评论")]),i("v-uni-text",{staticClass:"tn-margin-left-sm"},[t._v(t._s(e.views)+"浏览")])],1),i("v-uni-view",{staticClass:"iconItem tn-flex tn-flex-center"})],1)],1)})),1):i("v-uni-view",{staticClass:"notData"},[t._v("暂无动态")])],1)],1),[i("v-uni-view",{staticClass:"side-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.openCre.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"btn-bg"},[i("v-uni-image",{staticClass:"button-shop shadow",attrs:{src:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/fabu_huangse.png"}})],1)],1)],i("tn-popup",{attrs:{mode:"bottom",borderRadius:25},model:{value:t.showCreate,callback:function(e){t.showCreate=e},expression:"showCreate"}},[i("v-uni-view",{staticClass:"tn-padding",staticStyle:{"margin-bottom":"20rpx"}},t._l(t.circleData.category,(function(e,n){return i("v-uni-view",{key:n,staticClass:"createList",style:{marginTop:0!=n?"30rpx":""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seleFb(e.id)}}},[e.image?i("v-uni-image",{staticClass:"img",attrs:{src:e.image,mode:"widthFix"}}):t._e(),i("v-uni-view",{staticClass:"cente"},[i("v-uni-text",{staticClass:"tn-text-bold"},[t._v(t._s(e.title))]),i("v-uni-view",{staticStyle:{color:"#969696",height:"50rpx","line-height":"50rpx"}},[t._v(t._s(e.description))])],1),i("v-uni-text",{staticClass:"tn-icon-right"})],1)})),1)],1),i("tn-popup",{attrs:{mode:"bottom",borderRadius:25},model:{value:t.showSeleTrg,callback:function(e){t.showSeleTrg=e},expression:"showSeleTrg"}},[i("v-uni-view",{staticClass:"tn-padding",staticStyle:{"margin-bottom":"20rpx"}},t._l(t.toggle_regions,(function(e,n){return i("v-uni-view",{key:n,staticClass:"createList",style:{marginTop:0!=n?"30rpx":""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectCircle(e.lat,e.lng)}}},[e.image?i("v-uni-image",{staticClass:"img",attrs:{src:e.image,mode:"widthFix"}}):t._e(),i("v-uni-view",{staticClass:"cente"},[i("v-uni-text",{staticClass:"tn-text-bold"},[t._v(t._s(e.title))]),i("v-uni-view",{staticStyle:{color:"#969696",height:"50rpx","line-height":"50rpx"}},[t._v(t._s(e.description))])],1),i("v-uni-text",{staticClass:"tn-icon-right"})],1)})),1)],1)],2)],1)},o=[]},"84ae":function(t,e,i){"use strict";i.r(e);var n=i("65c2"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},a547:function(t,e,i){var n=i("45b3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("02fcab87",n,!0,{sourceMap:!1,shadowMode:!1})},b128:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(null==t)throw new TypeError("Cannot destructure "+t)},i("7a76"),i("c9b5")},e87f:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.txt-item .tips[data-v-773c2e1c]{background-color:hsla(0,0%,94.5%,.8);padding:%?5?% %?20?%;border-radius:20px}.txt-item .tips .tips-txt[data-v-773c2e1c]{color:#7fffd4;font-weight:700;padding-right:%?10?%}.txt-item .tips-message[data-v-773c2e1c]{flex:1;align-self:flex-start;margin-top:%?20?%}.boxs[data-v-773c2e1c]{position:relative}.boxs .bg-mbl[data-v-773c2e1c]{box-shadow:inset 0 0 6px hsla(0,0%,100%,.2);padding-top:%?160?%;color:#fff}.boxs .top-mod[data-v-773c2e1c]{justify-content:flex-start}.boxs .top-mod .center[data-v-773c2e1c]{margin-left:%?20?%;margin-right:%?20?%;flex:1}.boxs .top-mod .avctImg[data-v-773c2e1c]{width:%?130?%;height:%?130?%;border-radius:%?20?%}.boxs .notice[data-v-773c2e1c]{margin-top:%?20?%;display:flex;align-items:center}.boxs .notice .text[data-v-773c2e1c]{overflow:hidden;text-overflow:ellipsis;margin-left:%?10?%}.boxs .scrol_Mod[data-v-773c2e1c]{margin:%?20?% 0}.boxs .scrol_Mod .mod-item[data-v-773c2e1c]{display:inline-block;width:%?135?%;height:%?125?%;margin-right:%?20?%;border-radius:%?20?%;background-color:hsla(0,0%,51%,.25)}.boxs .list-item[data-v-773c2e1c]{padding-bottom:%?30?%;margin-bottom:%?30?%;border-bottom:1px solid #ededed}.boxs .centent-mod[data-v-773c2e1c]{background-color:#fff;border-radius:%?20?% %?20?% 0 0;overflow:hidden}.boxs .centent-mod .headlines[data-v-773c2e1c]{padding:%?30?%}.boxs .centent-mod .headlines .itm-mod[data-v-773c2e1c]{display:flex;align-items:center;justify-content:space-between;border-radius:%?50?% 0 %?50?% 0;color:#000;padding:%?10?% %?20?%;background-color:#fcf9b3;position:relative}.boxs .centent-mod .headlines .itm-mod .sort-img[data-v-773c2e1c]{position:relative}.boxs .centent-mod .headlines .itm-mod .sort-img .sort[data-v-773c2e1c]{position:absolute;top:50%;left:45%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-weight:700;color:#be954a}.boxs .centent-mod .headlines .itm-mod .img[data-v-773c2e1c]{width:%?60?%;height:%?60?%;margin-right:%?10?%}.boxs .centent-mod .headlines .itm-mod .icon[data-v-773c2e1c]{position:absolute;width:%?90?%;height:%?100?%;top:%?-6.5?%;right:%?-2?%}.boxs .centent-mod .headlines .itm-mod .text[data-v-773c2e1c]{flex:1;font-size:%?32?%}.boxs .centent-mod .tabs[data-v-773c2e1c]{width:100%;display:flex;justify-content:space-between;font-size:%?40?%}.boxs .centent-mod .classTab[data-v-773c2e1c]{padding:%?20?% %?30?%}.boxs .centent-mod .classTab .mod-item[data-v-773c2e1c]{display:inline-block;border:1px solid #fff;margin-right:%?20?%;border-radius:%?15?%;padding:%?0?% %?5?%;color:#c5c5c5;font-size:%?26?%;background-color:#f3f3f3}.boxs .centent-mod .classTab .seleItem[data-v-773c2e1c]{border:1px solid #3bc2f9!important;color:#3bc2f9!important;background-color:#dcf1f9!important}.boxs .centent-mod .notData[data-v-773c2e1c]{width:100%;height:30vh;display:flex;align-items:center;justify-content:center;color:#000}.btn[data-v-773c2e1c]{padding:0;background-color:initial;line-height:1}.btn[data-v-773c2e1c]::after{content:none}.commt[data-v-773c2e1c]{margin-top:%?20?%;display:flex;align-items:center;justify-content:space-between}.iconItem .icon[data-v-773c2e1c]{width:%?50?%;height:%?50?%}\n/* 悬浮按钮 */.side-btn[data-v-773c2e1c]{bottom:%?300?%;right:%?75?%;position:fixed;z-index:9999;-webkit-animation:suspension-data-v-773c2e1c 3s ease-in-out infinite;animation:suspension-data-v-773c2e1c 3s ease-in-out infinite}.side-btn .btn-bg[data-v-773c2e1c]{position:absolute;width:%?90?%;height:%?90?%;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.side-btn .btn-bg uni-image[data-v-773c2e1c]{width:100%;height:100%}@-webkit-keyframes suspension-data-v-773c2e1c{0%,\n 100%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-.8rem);transform:translateY(-.8rem)}}@keyframes suspension-data-v-773c2e1c{0%,\n 100%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-.8rem);transform:translateY(-.8rem)}}.createList[data-v-773c2e1c]{display:flex;align-items:center;justify-content:space-between;border-radius:%?25?%;background-color:#f9f9f9;padding:%?20?% %?30?%}.createList .img[data-v-773c2e1c]{width:%?80?%;height:%?80?%;margin-right:%?20?%}.createList .cente[data-v-773c2e1c]{flex:1}.msgNum[data-v-773c2e1c]{position:absolute;top:%?-10?%;right:%?-10?%;font-size:%?16?%;color:red;width:%?32?%;height:%?32?%;background-color:red;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.8);transform:scale(.8)}',""]),t.exports=e},e93e:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("b7c7"));i("e966"),i("c223"),i("aa9c"),i("f7a5");var o=i("419c"),s=i("262c"),l=i("3b14"),c=n(i("c433")),r={components:{ImageGroup:c.default},props:{},options:{styleIsolation:"shared"},data:function(){return{showDescription:!1,navHeight:0,tabsBoxFixed:!1,showIndex:0,circleData:{},hotlist:[],tabs2:[{name:"关注",id:"my_follow"},{name:"热门",id:"hot"},{name:"附近",id:"distince"}],currentTab:0,currentTab2:"",current:-1,classTabs:["分类1"],listData:[],pages:1,showCreate:!1,showNavBg:!0,uid:"",msgData:{total:""},showSeleTrg:!1,toggle_regions:[]}},mounted:function(){this.getCircle(),this.getMsg()},onPageScroll:function(t){if(t.scrollTop>50)this.showNavBg=!1;else{if(this.showNavBg)return;this.showNavBg=!0}t.scrollTop>320?this.tabsBoxFixed=!0:this.tabsBoxFixed=!1},onReachBottom:function(){this.pages++,this.getList()},onShow:function(){var t=this;uni.$on("delBlog",(function(e){console.log("监听到帖子删除"),t.pages=1,t.listData=[],t.getList(),uni.$off("delBlog")}))},activated:function(){this.getMsg()},onPullDownRefresh:function(){},methods:{qiehuan:function(){var t=this;(0,l.handoffAddress)().then((function(e){console.log(e),t.toggle_regions=e,t.showSeleTrg=!0}))},selectCircle:function(t,e){uni.setStorageSync("circle_lat",t),uni.setStorageSync("circle_lng",e),this.showSeleTrg=!1,this.getCircle()},toPage:function(t){(0,o.navPage)(t)},timestampFormat:function(t){function e(t){return(1==String(t).length?"0":"")+t}var i=parseInt((new Date).getTime()/1e3),n=i-t,a=new Date(1e3*i),o=new Date(1e3*t),s=o.getFullYear(),l=o.getMonth()+1,c=o.getDate(),r=o.getHours(),u=o.getMinutes();o.getSeconds();if(n<60)return"刚刚";if(n<3600)return Math.floor(n/60)+"分钟前";if(a.getFullYear()==s&&a.getMonth()+1==l&&a.getDate()==c)return"今天"+e(r)+":"+e(u);var d=new Date(1e3*(i-86400));return d.getFullYear()==s&&d.getMonth()+1==l&&d.getDate()==c?"昨天"+e(r)+":"+e(u):a.getFullYear()==s?e(l)+"-"+e(c)+" "+e(r)+":"+e(u):s+"-"+e(l)+"-"+e(c)+" "+e(r)+":"+e(u)},getNavBarInfoHeight:function(t){this.navHeight=t,console.log(t,"===========")},updateIndex:function(t){this.showIndex=t},toPageBlog:function(t){(0,o.navPage)(t)},openCre:function(){this.showCreate=!0},seleFb:function(t){this.navPage("/circle-page/create/index?id="+t),this.showCreate=!1},getCircle:function(){var t=this,e={lat:"",lng:""},i=uni.getStorageSync("circle_lat"),n=uni.getStorageSync("circle_lng");i&&n?(e.lat=i,e.lng=n):(e.lat=(0,s.getLocationInfoFromCache)().lat,e.lng=(0,s.getLocationInfoFromCache)().lng),console.log(e),(0,l.getCircleData)({lat:e.lat,lng:e.lng}).then((function(e){var i,n;t.circleData=e.data,t.classTabs=null===(i=e.data)||void 0===i||null===(n=i.category[t.currentTab])||void 0===n?void 0:n.child,t.getList(),t.gethotList(),t.getMsg()})).catch((function(t){console.log(t)}))},getList:function(t){var e=this,i=t||this.circleData.category[this.currentTab].id,n="time";-1!=this.current&&(n=this.tabs2[this.current].id),(0,l.getListData)({cate_id:i,page:this.pages,limit:20,search_condition:n}).then((function(t){e.listData=[].concat((0,a.default)(e.listData),(0,a.default)(t.list))})).catch((function(t){console.log(t)}))},getMsg:function(){var t=this;console.log("消息");var e=uni.getStorageSync("sp_user-info");e&&(this.uid=e.data.uid,(0,l.getNoReadNum)().then((function(e){t.msgData=e,console.log("消息",t.msgData)})))},gethotList:function(t){var e=this,i=t||this.circleData.category[this.currentTab].id;(0,l.getListData)({cate_id:i,page:this.pages,limit:10,search_condition:"hot"}).then((function(t){for(var i=[],n=0;n<t.list.length;n++)i.push(t.list[n].details);i.length>10?e.hotlist=i.slice(0,10):e.hotlist=i})).catch((function(t){console.log(t)}))},seleTab2:function(t){t==this.current?this.current=-1:this.current=t,this.pages=1,this.listData=[],this.getList()},changeTabs:function(t){this.currentTab=t,this.classTabs=this.circleData.category[t].child,this.pages=1,this.listData=[],this.getList()},seleTabs:function(t,e){this.pages=1,this.listData=[],this.currentTab2===e?(this.currentTab2="",this.getList()):(this.currentTab2=e,this.getList(t))},navPage:o.navPage,navBack:o.navBack}};e.default=r}}]);