You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.4 KiB
1 line
8.4 KiB
1 year ago
|
(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-
|