杨总惠通宝
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.
 
 
 
 
 
 
htb_backend/public/static/js/pages-plantGrass-plant_user...

1 lines
8.4 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_user_fans-index"],{"0043":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"user_store_attention"},[t.list.length>0?t._l(t.list,(function(n,e){return i("v-uni-view",{key:e,staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHomepage(n)}}},[i("v-uni-image",{attrs:{src:n.fans&&n.fans.avatar||"/static/images/f.png",mode:""}}),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"line1"},[i("v-uni-text",{staticClass:"name line1"},[t._v(t._s(n.fans&&n.fans.nickname||"用户已注销"))])],1),n.fans&&n.fans.count_fans?i("v-uni-view",{staticClass:"des"},[t._v("粉丝"+t._s(n.fans.count_fans<1e4?n.fans.count_fans:(n.fans.count_fans/1e4).toFixed(2)+"万"))]):i("v-uni-view",{staticClass:"des"},[t._v("粉丝0")]),i("v-uni-view",{staticClass:"btn",class:n.is_start?"":"focusBtn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.focusToggle(n)}}},[n.is_start?t._e():i("v-uni-text",{staticClass:"iconfont icon-jiahao2"}),t._v(t._s(n.is_start?"已关注":"关注"))],1)],1)],1)})):t._e(),i("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:!t.loading}},[i("v-uni-text",{staticClass:"iconfont icon-jiazai loading"})],1),0!=t.list.length||t.loading?t._e():i("v-uni-view",{staticClass:"no_content"},[i("v-uni-view",{staticClass:"count"},[i("v-uni-image",{attrs:{src:e("0b15")}}),i("v-uni-text",[t._v("你还没有粉丝哦~")])],1)],1)],2)},o=[]},"04dc":function(t,n,e){"use strict";var i=e("5c94"),o=e.n(i);o.a},"0b15":function(t,n,e){t.exports=e.p+"static/img/no_fans.7185a2cb.png"},"271d":function(t,n,e){"use strict";e.r(n);var i=e("3f23"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},"3f23":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("99af");var i=e("d2c9"),o=(getApp(),{data:function(){return{list:[],isScroll:!0,page:1,limit:20,loading:!1}},onLoad:function(){this.getList()},onReady:function(){},mounted:function(){},methods:{getList:function(){var t=this;this.isScroll&&!this.loading&&(this.loading=!0,(0,i.myFansLst)({page:this.page,limit:this.limit}).then((function(n){t.loading=!1,t.isScroll=n.data.list.length>=t.limit,t.list=t.list.concat(n.data.list),t.page+=1})))},focusToggle:function(t){var n=this,e=t.is_start?0:1;(0,i.followAuthorApi)(t.left_id,{status:e}).then((function(e){200===e.status&&(t.is_start=!t.is_start),n.$util.Tips({title:e.message})}))}},onReachBottom:function(){this.getList()}});n.default=o},"5c94":function(t,n,e){var i=e("c245");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=e("4f06").default;o("91577766",i,!0,{sourceMap:!1,shadowMode:!1})},c245:function(t,n,e){var i=e("24fb");n=i(!1),n.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/* 文章场景相关 */.user_store_attention .item[data-v-5d28e918]{position:relative;display:flex;padding:%?30?% %?20?%;background-color:#fff;align-items:center}.user_store_attention .item[data-v-5d28e918]::after{content:" ";position:absolute;bottom:0;left:%?30?%;right:0;height:1px;background:#f0f0f0}.user_store_attention .item uni-image[data-v-5d28e918]{width:%?120?%;height:%?120?%;border-radius:50%}.user_store_attention .item .info[data-v-5d28e918]{flex:1;display:flex;flex-direction:column;justify-content:space-between;margin-left:%?20?%;position:relative}.user_store_attention .item .info .name[data-v-5d28e918]{width:%?410?%;font-size:%?30?%;color:#282828}.user_store_attention .item .info .des[data-v-5d28e918]{color:#999;font-size:%?24?%;margin-top:%?10?%}.user_store_attention .item .info .btn[data-v-5d28e918]{display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:50%;width:%?126?%;height:%?50?%;-webkit-transform:translateY(-50%);transform:translateY(-50%);border:1px solid #999;color:#999;border-radius:%?33?%;font-size:%?26?%}.user_store_attention .item .info .btn.focusBtn[data-v-5d28e918]{color:#e93323;border-color:#e93323}.user_store_attention .item .info .btn.focusBtn .iconfont[data-v-5d28e918]{font-size:%?20?%;margin-right:%?10?%}.no_content[data-v-5d28e918], .main[data-v-5d28e918]{min-height:100vh;background:#fff;position:relative}.no_content .count[data-v-5d28e918], .main .count[data-v-5d28e918]{position:absolute;text-align:center;width:100%;top:50%;margin-top:%?-300?%}.no_content .count uni-image[data-v-5d28e918], .no_content .count uni-image[data-v-5d28e918], .main .count uni-image[data-v-5d28e918], .main .count uni-image[data-v-5d28e918]{width:%?424?%;height:%?305?%}.no_content .count uni-text[data-v-5d28e918], .main .count uni-text[data-v-5d28e918]{display:block;color:#999;font-size:%?26?%}',""]),t.exports=n},d2c9:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.boughtLstApi=function(t){return o.default.get("community/pay_product/lst",t)},n.browseLstApi=function(t){return o.default.get("community/hist_product/lst",t)},n.collectLstApi=function(t){return o.default.get("community/rela_product/lst",t)},n.createPlantApi=function(t){return o.default.post("community/create",t)},n.deletePlantApi=function(t){return o.default.post("community/delete/".concat(t))},n.focusArticleLst=function(t){return o.default.get("community/focuslst",t,{noAuth:!0})},n.followAuthorApi=function(t,n){return o.default.post("community/fans/".concat(t),n)},n.getTopicList=function(){return o.default.get("community/category/lst",{},{noAuth:!0})},n.getVideoCode=function(t,n){return o.default.get("community/qrcode/".concat(t),n,{noAuth:!0})},n.graphicLstApi=function(t){return o.default.get("community/lst",t,{noAuth:!0})},n.graphicProApi=function(t){return o.default.get("product/spu/get/".concat(t),{noAuth:!0})},n.graphicStartApi=function(t,n){return o.default.post("community/start/".concat(t),n)},n.hotSearchLst=function(){return o.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},n.myFansLst=function(t){return o.default.get("community/fans/lst",t)},n.myFocusLst=function(t){return o.default.get("community/focus/lst",t)},n.myVideoList=function(t,n){return o.default.get("community/user/community_video/".concat(t),n,{noAuth:!0})},n.orderAssociatePlantApi=function(t){return o.default.get("community/order/".concat(t),{},{noAuth:!0})},n.plantDetailApi=function(t){return o.default.get("community/show/".concat(t),{},{noAuth:!0})},n.replyCreateApi=function(t,n){return o.default.post("community/reply/create/".concat(t),n)},n.replyLstApi=function(t,n){return o.default.get("community/".concat(t,"/reply"),n,{noAuth:!0})},n.starArticleLst=function(t){return o.default.get("community/start/lst",t)},n.starCommentApi=function(t,n){return o.default.post("community/reply/start/".concat(t),n)},n.updatePlantApi=function(t,n){return o.default.post("community/update/".concat(t),n)},n.userArticleLst=function(t,n){return o.default.get("community/user/community/".concat(t),n)},n.userInfoApi=function(t){return o.default.get("community/user/info/".concat(t))},n.videoList=function(t){return o.default.get("community/video_lst",t,{noAuth:!0})};var o=i(e("b5ef"))},fdf4:function(t,n,e){"use strict";e.r(n);var i=e("0043"),o=e("271d");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("04dc");var s=e("f0c5"),u=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"5d28e918",null,!1,i["a"],void 0);n["default"]=u.exports}}]);