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
5.1 KiB
1 lines
5.1 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["dynamic-pages-technician-follow"],{"37ae":function(t,n,i){"use strict";i.r(n);var a=i("74fc"),e=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(s);n["default"]=e.a},"74fc":function(t,n,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,i("c223");var e=a(i("2634")),s=a(i("2fdc")),o=i("8f59"),r={data:function(){return{loading:!0,param:{page:1},list:{data:[]}}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.initIndex()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){var t=arguments,n=this;return(0,s.default)((0,e.default)().mark((function i(){var a;return(0,e.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!n.$jweixin.isWechat()){i.next=5;break}return i.next=4,n.$jweixin.initJssdk();case 4:n.$jweixin.wxReady((function(){n.$jweixin.hideOptionMenu()}));case 5:n.getList();case 6:case"end":return i.stop()}}),i)})))()},handerTabChange:function(t){this.activeIndex=t,this.param.status=t,this.getList()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,s.default)((0,e.default)().mark((function n(){var i,a,s;return(0,e.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$util.showLoading(),i=t.list,a=t.param,n.next=4,t.$api.dynamic.followList(a);case 4:s=n.sent,1==t.param.page||(s.data=i.data.concat(s.data)),t.list=s,t.loading=!1,t.$util.hideAll();case 8:case"end":return n.stop()}}),n)})))()}}};n.default=r},"7fcd":function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return e})),i.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"dynamic-technician-follow"},[t._l(t.list.data,(function(n,a){return i("v-uni-view",{key:a,staticClass:"list-item flex-center ml-lg mr-lg pt-lg pb-lg",class:[{"b-1px-t":0!==a}]},[i("v-uni-image",{staticClass:"avatar radius",attrs:{mode:"aspectFill",src:n.avatarUrl}}),i("v-uni-view",{staticClass:"flex-1 flex-between ml-md"},[i("v-uni-view",[i("v-uni-view",{staticClass:"f-paragraph c-title text-bold max-470 ellipsis"},[t._v(t._s(n.nickName))]),i("v-uni-view",{staticClass:"text f-caption"},[t._v("开始关注了你")])],1),i("v-uni-view",{staticClass:"time f-icontext"},[t._v(t._s(n.friend_time))])],1)],1)})),t.loading?i("load-more",{attrs:{noMore:t.list.current_page>=t.list.last_page&&t.list.data.length>0,loading:t.loading}}):t._e(),!t.loading&&t.list.data.length<=0&&1==t.list.current_page?i("abnor"):t._e(),i("v-uni-view",{staticClass:"space-footer"})],2)},e=[]},8706:function(t,n,i){"use strict";i.r(n);var a=i("7fcd"),e=i("37ae");for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(s);i("a92f");var o=i("828b"),r=Object(o["a"])(e["default"],a["b"],a["c"],!1,null,"7d6cc498",null,!1,a["a"],void 0);n["default"]=r.exports},9394:function(t,n,i){var a=i("c86c");n=a(!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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-7d6cc498]{background:#fff}body.?%PAGE?%[data-v-7d6cc498]{background:#fff}.dynamic-technician-follow .list-item .avatar[data-v-7d6cc498]{width:%?72?%;height:%?72?%}.dynamic-technician-follow .list-item .text[data-v-7d6cc498]{color:#adadad;margin-top:%?6?%}.dynamic-technician-follow .list-item .time[data-v-7d6cc498]{color:#9b9b9b}',""]),t.exports=n},a92f:function(t,n,i){"use strict";var a=i("b318"),e=i.n(a);e.a},b318:function(t,n,i){var a=i("9394");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var e=i("967d").default;e("5c18ed64",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |