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.2 KiB
1 lines
5.2 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["dynamic-pages-technician-thumbs"],{"0159":function(t,a,n){var i=n("9fcd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=n("4f06").default;e("28e1740e",i,!0,{sourceMap:!1,shadowMode:!1})},"4a70":function(t,a,n){"use strict";n.d(a,"b",(function(){return i})),n.d(a,"c",(function(){return e})),n.d(a,"a",(function(){}));var i=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("v-uni-view",{staticClass:"dynamic-technician-thumbs"},[t._l(t.list.data,(function(a,i){return n("v-uni-view",{key:i,staticClass:"list-item flex-center ml-lg mr-lg pt-lg pb-lg",class:[{"b-1px-t":0!==i}]},[n("v-uni-image",{staticClass:"avatar radius",attrs:{mode:"aspectFill",src:a.avatarUrl}}),n("v-uni-view",{staticClass:"flex-1 flex-between ml-md"},[n("v-uni-view",[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold max-470 ellipsis"},[t._v(t._s(a.nickName))]),n("v-uni-view",{staticClass:"text flex-y-center f-caption"},[t._v("赞了你的动态"),n("v-uni-view",{staticClass:"ml-md"},[t._v(t._s(a.friend_time))])],1)],1),n("v-uni-image",{staticClass:"cover radius-16",attrs:{mode:"aspectFill",src:a.cover}})],1)],1)})),t.loading?n("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?n("abnor"):t._e(),n("v-uni-view",{staticClass:"space-footer"})],2)},e=[]},"67b0":function(t,a,n){"use strict";n.r(a);var i=n("4a70"),e=n("b769");for(var s in e)["default"].indexOf(s)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(s);n("81e5");var r=n("f0c5"),o=Object(r["a"])(e["default"],i["b"],i["c"],!1,null,"abde56aa",null,!1,i["a"],void 0);a["default"]=o.exports},"81e5":function(t,a,n){"use strict";var i=n("0159"),e=n.n(i);e.a},"9fcd":function(t,a,n){var i=n("24fb");a=i(!1),a.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-abde56aa]{background:#fff}body.?%PAGE?%[data-v-abde56aa]{background:#fff}.dynamic-technician-thumbs .list-item .avatar[data-v-abde56aa]{width:%?72?%;height:%?72?%}.dynamic-technician-thumbs .list-item .cover[data-v-abde56aa]{width:%?107?%;height:%?107?%}.dynamic-technician-thumbs .list-item .text[data-v-abde56aa]{color:#adadad;margin-top:%?6?%}',""]),t.exports=a},b769:function(t,a,n){"use strict";n.r(a);var i=n("f761"),e=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(a,t,(function(){return i[t]}))}(s);a["default"]=e.a},f761:function(t,a,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,n("99af");var e=i(n("c7eb")),s=i(n("1da1")),r=n("26cb"),o={data:function(){return{loading:!0,param:{page:1},list:{data:[]}}},computed:(0,r.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,a=this;return(0,s.default)((0,e.default)().mark((function n(){var i;return(0,e.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.length>0&&void 0!==t[0]&&t[0],i||!a.$jweixin.isWechat()){n.next=5;break}return n.next=4,a.$jweixin.initJssdk();case 4:a.$jweixin.wxReady((function(){a.$jweixin.hideOptionMenu()}));case 5:a.getList();case 6:case"end":return n.stop()}}),n)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,s.default)((0,e.default)().mark((function a(){var n,i,s;return(0,e.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.$util.showLoading(),n=t.list,i=t.param,a.next=4,t.$api.dynamic.thumbsList(i);case 4:s=a.sent,1==t.param.page||(s.data=n.data.concat(s.data)),t.list=s,t.loading=!1,t.$util.hideAll();case 8:case"end":return a.stop()}}),a)})))()}}};a.default=o}}]); |