1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-worker"],{"1bb3":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.org-title[data-v-7a29d73a]{position:fixed;z-index:1000;left:0;top:0;width:100%;height:%?90?%;line-height:%?90?%;padding:%?20?%;font-size:%?34?%;font-weight:500;color:#fff}.swiper[data-v-7a29d73a]{width:100%;height:%?579?%}.slide-image[data-v-7a29d73a]{width:%?750?%;height:%?579?%}.book-btn[data-v-7a29d73a]{width:100%;height:%?180?%;margin-bottom:%?20?%}.book-phone[data-v-7a29d73a]{width:100%;height:%?90?%;line-height:%?90?%;border-radius:%?45?%;color:#ff7576;font-size:%?34?%;border:%?1?% solid #ff7576;text-align:center;font-weight:700}.book-phone uni-image[data-v-7a29d73a]{width:%?30?%;height:%?30?%;margin-right:%?20?%}.worker-title[data-v-7a29d73a]{height:%?90?%;line-height:%?90?%;color:#333;font-size:%?32?%;font-weight:700}.worker-title-more[data-v-7a29d73a]{color:#999;font-size:%?28?%;font-weight:400}.worker-title-more uni-image[data-v-7a29d73a]{width:%?26?%;height:%?26?%}',""]),t.exports=e},"40ff":function(t,e,a){"use strict";a.r(e);var i=a("79da"),n=a("932b");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("aa2b");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"7a29d73a",null,!1,i["a"],void 0);e["default"]=s.exports},"44d8":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("ac1f"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0");var i=getApp(),n={data:function(){return{list:[],page:1,size:10,flag:0}},onLoad:function(){var t=this.getUrlCode("orgId");t?(uni.setStorageSync(i.globalData.storagePre+"orgId",t),i.globalData.userinfo.orgId=t):(t=uni.getStorageSync(i.globalData.storagePre+"orgId"),t?i.globalData.userinfo.orgId=t:uni.showToast({title:"参数错误",icon:"none",duration:2e3}))},onShow:function(){var t=this;i.ajaxReadyCallback=function(e){var a=e.data.apiname;console.log(e),"worker"==a&&(t.list=e.data.data,t.list.length<t.size?t.flag=1:t.page++)},i.globalData.userinfo.orgId&&(this.flag=0,this.page=1,this.getWorkerList())},onPullDownRefresh:function(){this.flag=0,this.page=1,this.getWorkerList()},onReachBottom:function(){this.getWorkerList()},methods:{getWorkerList:function(){1!=this.flag&&i.ajax({url:i.globalData.serverUrl+"worker/lists",type:"POST",apiname:"worker",data:{page:this.page,size:this.size}})},getUrlCode:function(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null}}};e.default=n},5462:function(t,e,a){var i=a("1bb3");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2219fbfe",i,!0,{sourceMap:!1,shadowMode:!1})},"79da":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"container"},[a("v-uni-view",t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"worker-box"},[a("v-uni-view",{staticClass:"worker-box-info"},[a("v-uni-view",{staticClass:"worker-box-avator"},[a("v-uni-image",{attrs:{src:e.headImage,mode:"aspectFit"}})],1),a("v-uni-view",{staticClass:"worker-box-body"},[a("v-uni-view",{staticClass:"worker-box-title"},[a("v-uni-text",[t._v(t._s(e.realName))])],1),a("v-uni-view",{staticClass:"worker-box-desc"},[1==e.gender?a("v-uni-text",[t._v("男")]):t._e(),2==e.gender?a("v-uni-text",[t._v("女")]):t._e(),t._v("| "+t._s(e.age)+"岁 | "+t._s(e.work)+"年护理经验")],1),a("v-uni-view",{staticClass:"worker-box-desc"},[a("v-uni-rich-text",{attrs:{nodes:e.content}})],1)],1)],1)],1)})),1)],1)],1)},n=[]},"932b":function(t,e,a){"use strict";a.r(e);var i=a("44d8"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},aa2b:function(t,e,a){"use strict";var i=a("5462"),n=a.n(i);n.a}}]);
|