You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.5 KiB
1 lines
8.5 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_user_attention-index"],{"0878":function(t,n,e){"use strict";e.r(n);var i=e("d3ae"),o=e("2b69");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("7445");var u=e("f0c5"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"bd1ec680",null,!1,i["a"],void 0);n["default"]=c.exports},"2b69":function(t,n,e){"use strict";e.r(n);var i=e("3938"),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},3315:function(t,n,e){var i=e("c942");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=e("4f06").default;o("5ca79995",i,!0,{sourceMap:!1,shadowMode:!1})},3938: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,loading:!1,page:1,limit:20}},onLoad:function(){this.getList()},mounted:function(){},methods:{getList:function(){var t=this;this.isScroll&&!this.loading&&(this.loading=!0,(0,i.myFocusLst)({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_fans?1:0;(0,i.followAuthorApi)(t.right_id,{status:e}).then((function(e){200===e.status&&(t.is_fans=!t.is_fans),n.$util.Tips({title:e.message})}))},goHomepage:function(t){uni.navigateTo({url:"/pages/plantGrass/plant_user/index?id="+t.focus.uid})}},onReachBottom:function(){this.getList()}});n.default=o},7445:function(t,n,e){"use strict";var i=e("3315"),o=e.n(i);o.a},c942: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-bd1ec680]{position:relative;display:flex;padding:%?30?% %?20?%;background-color:#fff;align-items:center}.user_store_attention .item[data-v-bd1ec680]::after{content:" ";position:absolute;bottom:0;left:%?30?%;right:0;height:1px;background:#f0f0f0}.user_store_attention .item uni-image[data-v-bd1ec680]{width:%?120?%;height:%?120?%;border-radius:50%}.user_store_attention .item .info[data-v-bd1ec680]{flex:1;display:flex;flex-direction:column;justify-content:space-between;margin-left:%?20?%;position:relative}.user_store_attention .item .info .name[data-v-bd1ec680]{width:%?410?%;font-size:%?30?%;color:#282828}.user_store_attention .item .info .des[data-v-bd1ec680]{color:#999;font-size:%?24?%;margin-top:%?10?%}.user_store_attention .item .info .btn[data-v-bd1ec680]{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-bd1ec680]{color:#e93323;border-color:#e93323}.user_store_attention .item .info .btn.focusBtn .iconfont[data-v-bd1ec680]{font-size:%?20?%;margin-right:%?10?%}.no_content[data-v-bd1ec680], .main[data-v-bd1ec680]{min-height:100vh;background:#fff;position:relative}.no_content .count[data-v-bd1ec680], .main .count[data-v-bd1ec680]{position:absolute;text-align:center;width:100%;top:50%;margin-top:%?-300?%}.no_content .count uni-image[data-v-bd1ec680], .no_content .count uni-image[data-v-bd1ec680], .main .count uni-image[data-v-bd1ec680], .main .count uni-image[data-v-bd1ec680]{width:%?424?%;height:%?305?%}.no_content .count uni-text[data-v-bd1ec680], .main .count uni-text[data-v-bd1ec680]{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"))},d3ae: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.focus&&n.focus.avatar||"/static/images/f.png",mode:""}}),n.focus?i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"line1"},[i("v-uni-text",{staticClass:"name line1"},[t._v(t._s(n.focus&&n.focus.nickname||"用户已注销"))])],1),n.focus.count_fans?i("v-uni-view",{staticClass:"des"},[t._v("粉丝"+t._s(n.focus.count_fans<1e4?n.focus.count_fans:(n.focus.count_fans/1e4).toFixed(2)+"万"))]):i("v-uni-view",{staticClass:"des"},[t._v("粉丝0")]),i("v-uni-view",{staticClass:"btn",class:n.is_fans?"focusBtn":"",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.focusToggle(n)}}},[n.is_fans?i("v-uni-text",{staticClass:"iconfont icon-jiahao2"}):t._e(),t._v(t._s(n.is_fans?"关注":"已关注"))],1)],1):t._e()],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("e705")}}),i("v-uni-text",[t._v("暂未关注任何人哦~")])],1)],1)],2)},o=[]},e705:function(t,n,e){t.exports=e.p+"static/img/no_attention.02296c4e.png"}}]); |