1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"15ff":function(t,e,a){t.exports=a.p+"static/img/phone-book-bg.3895d945.png"},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"2ba5":function(t,e,a){"use strict";a.r(e);var n=a("9173"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"2e28":function(t,e,a){"use strict";var n=a("e1de"),i=a.n(n);i.a},"37e6":function(t,e,a){var n=a("24fb"),i=a("1de5"),o=a("8132"),r=a("15ff");e=n(!1);var l=i(o),s=i(r);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-6c3f1a5a]{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-6c3f1a5a]{width:100%;height:%?510?%}.slide-image[data-v-6c3f1a5a]{width:%?750?%;height:%?510?%}.book-btn[data-v-6c3f1a5a]{width:100%;height:%?180?%;margin-bottom:%?20?%}.book-phone[data-v-6c3f1a5a]{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-6c3f1a5a]{width:%?30?%;height:%?30?%;margin-right:%?20?%}.worker-title[data-v-6c3f1a5a]{width:100%;line-height:%?90?%;color:#333;font-size:%?32?%;font-weight:700}.worker-title-more[data-v-6c3f1a5a]{color:#999;font-size:%?28?%;font-weight:400}.worker-title-more uni-image[data-v-6c3f1a5a]{width:%?26?%;height:%?26?%}.book-box[data-v-6c3f1a5a]{width:100%;height:%?228?%}.book-box .left-box[data-v-6c3f1a5a]{width:%?334?%;height:%?228?%;background-image:url('+l+");background-size:100% 100%;background-repeat:no-repeat;padding-top:%?57?%;display:inline-block;float:left}.book-box .left-box .left-title[data-v-6c3f1a5a]{width:100%;height:%?60?%;display:flex;justify-content:center;align-items:center}.book-box .left-box .left-title img[data-v-6c3f1a5a]{width:%?44?%;height:%?44?%}.book-box .left-box .left-title .name[data-v-6c3f1a5a]{margin-left:%?24?%;color:#fff;font-size:%?38?%;font-weight:700}.book-box .left-box .left-title2[data-v-6c3f1a5a]{width:%?224?%;height:%?35?%;font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#fff;padding-left:%?110?%}.book-box .right-box[data-v-6c3f1a5a]{width:%?334?%;height:%?228?%;background-image:url("+s+");background-size:100% 100%;background-repeat:no-repeat;padding-top:%?57?%;margin-left:%?22?%;display:inline-block;float:right}.book-box .right-box .left-title[data-v-6c3f1a5a]{width:100%;height:%?60?%;display:flex;justify-content:center;align-items:center}.book-box .right-box .left-title img[data-v-6c3f1a5a]{width:%?44?%;height:%?44?%}.book-box .right-box .left-title .name[data-v-6c3f1a5a]{margin-left:%?24?%;color:#fff;font-size:%?38?%;font-weight:700}.book-box .right-box .left-title2[data-v-6c3f1a5a]{width:%?224?%;height:%?35?%;font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#fff;padding-left:%?110?%}.container[data-v-6c3f1a5a]{position:absolute;top:%?460?%}",""]),t.exports=e},"681f":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAACXElEQVRYR+2Zv48NURTHP18kwgqxaFSbVVIoFH5G8AdISLQWyWqpNAqFRqdFYlersNELsthVaES0otJYEYkfkeDKebmzuW+89+7MnTcx72VuOTnne77znTP3nnuOGLGlEePLP4Sdc+uAGeAssBvYGnmpFeCUpGeD7Jxzh4EFYHsE7zPwFrgHzEv6Fdp3EXbO7QAeAgdKKj8n6XyE8F3gXEncZeCkpI+Z3yphr6yptL8k6A/gPvA+4jcFnAE2lMR/CRzJlA4JzwK3PJgDngOvgO+RAF2frAAZS7lBayOwD7AUyvhdlHTbnELCL4CDHsmUflwgeJ0mx01ZH2BJ0qE84a/AhDe4CXypk00B7M3AZW/3TdKmPGFLg2xdB34XAK3TZC1wdfVnkzrZEKZES7ii/K3CFQWMurcKRyWqaDB+ClvVtQ34CdwAwm2uolhJ7rblXgHWA58kdaq8cB8+5stKe/YuKcTwnaa9cFZmPukinMVyzl0bftx0REldfHoV8GND2HJoMl2rgZ5WeH3oZZGq8E7gArCmJsIG+wB4k8dPJbwHOF0jWYNeBDo/VrhSCZuyJwpcIFPfyVLiEWDXraEQTiVS2S9V4cqBUwH6EnbONfHg2AX8AayN8DR/0jX5aF6RZD2T9oqUmqq9/MavvGxvzRXzo02JigJG3cdP4aY1A7cAl/x36NkMbHK7dVHS0fxJ1+SG9qykO3nC1hkfnZGBsa95KDPn2wjR7SEw6D+UyYz8cMamPTb22ht05fsFKjr2sva/3dtiYy/7+V/7sZeVlf3HXmVe/X/Zjtwk9C/k6hs8uTVBNwAAAABJRU5ErkJggg=="},"6de6":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAEdElEQVRoQ+3ae2jdVBwH8O9Jwq3TMm/Eoa0OX6ioIExQERXEzcocitZ5J06Eru35pS2OIYoTESKIONEil/Xe5AQq1veloPO1zfc/4l8KQ0H/EEH/sFXQMhArts1PDkS4Hubozc2jDPP3SfL95Dxyck4ETrBDnGAe/A9a6zWauoZ837f6+/tVHMefep730lqBpgIxs4iiKGLmYQCxEMKTUkZrAZUKFIZhAIDaAAxgNxHtLxuVCqSU2sXMCoBtAB4moqfLRKUC6cBhGN4D4AUAjgHwiejxslCpQTpwEASDQohXAVTaAUKIfVLKvWWgugIlNbUNwCyAkwxAXUq5Rwih+1dhR9cgnVQptYWZDwA42Uiu5ubmxnzfj4sSZQLSYaMouj6O43cArDea30y1Wt1Vq9VWikBlBkqa39UADgGotodn5pYQ4l4iWsoblSlIh202m5ssy3ofwOlG+Ldc172rVqv9lScqc1DSpy5j5g8BnGmE17V3JxH9kRcqF5AO22g0LrZtW6PONsJ/sry8fNvExMTveaByAyUDxXlxHH8M4FxjoPiMmbcR0dGsUbmCdNipqamNjuPomrrICP+FbdsDIyMjv2WJyh2UjH59ADTqUiP8kTiOB8bGxn7JClUISIednp7esLS0dBjAJiP8N47jbBkeHv4pC1RhoGSgcB3HOcTMVxnhvwOwmYh+7BZVKEiHrdfr63t6et4FcJ0R/oeVlZUbx8fHv+8GVThIh52ZmTllcXFRz/02G+F1s9M19W1aVCkgHXZycnJdb2/vLDPfYoT/GcBNRPRVGlRpIB221WpVFhYWXgdwuxH+VwADRPRlp6hSQTqs7/tOX1/fiwDuNsIfZeatnud93gmqdFDynroAwNfmR6IQ4oCU0qy94/pKBzUajfNt29bTo3PakzLzYSHEYKcT2VJBQRBcKIT4CMBG47EfrFQqg0NDQ3920tx02dJAyWxcY84yQr/tuu72tN9NpYCiKLokjmON0XO89uNN13V3pMWUUkNKKf3xpzFntEuEELPVanVnN5jCQVEUXR7HsZ51bzAGgNb8/PxO3/eXO+0zZvnCmtxx1hpecV33vqxWhQoBhWF4BYAPAJxmNLPMl7hyBymlrmRmvQr0r6UtAM+7rjuaVc3886ByBQVBcI0Q4iCAU40+ExER5bFMnBuo2Wxea1nWe8dYSQ1GR0fH88DkNsoly8Ia02uMQvullLvzwuQCajabN1iWpb9IzYX756SUD+SJyRz0X7sQzPyM53kPdfuOWc35mfUhpdTNzPwGgHXGjZ8iokdWEyaLMpmAlFJbE0yP8Z55Qkr5WBZBV3uNrkFBENyq52HmtqT+GC1jr7UrkFLqDmZ+7RiYR4noydU+1SzLpQYFQbBdCPGyiWHmvZ7n7csyZCfXSgUKgmCHEEL/DmNu6T9IRM92EiDrsqlAYRjqP0Ym2sLone49RFTPOmCn10sFSv71aTCzB0Bj7ieiqU5vnkf5VCAdRKOUUhpxhIjCPMKluWZqUJqbFXHO310Df0Rm3py0AAAAAElFTkSuQmCC"},"71e9":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.orgName?n("v-uni-view",{staticClass:"org-title"},[t._v(t._s(t.orgName))]):t._e(),t.banner.length>0?n("v-uni-swiper",{staticClass:"swiper",attrs:{"indicator-dots":!0,"indicator-color":"#FF7576",autoplay:!0,interval:3e3,duration:200}},t._l(t.banner,(function(t,e){return n("v-uni-swiper-item",{key:e},[n("v-uni-image",{staticClass:"slide-image",attrs:{mode:"scaleToFill",src:t.path}})],1)})),1):t._e(),n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"book-box"},[n("v-uni-view",{staticClass:"left-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goAdd.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"left-title"},[n("img",{attrs:{src:a("681f"),alt:""}}),n("v-uni-text",{staticClass:"name"},[t._v("线上预约")])],1),n("v-uni-view",{staticClass:"left-title2"},[t._v("高效率响应")])],1),n("v-uni-view",{staticClass:"right-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.callPhone.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"left-title"},[n("img",{attrs:{src:a("c823"),alt:""}}),n("v-uni-text",{staticClass:"name"},[t._v("电话预约")])],1),n("v-uni-view",{staticClass:"left-title2"},[t._v("一键快捷操作")])],1)],1),n("v-uni-view",[n("v-uni-view",{staticClass:"worker-title"},[t._v("护工推荐"),n("span",{staticClass:"pull-right worker-title-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goWorker()}}},[t._v("查看更多"),n("v-uni-image",{attrs:{src:a("6de6")}})],1)]),t._l(t.list,(function(e,a){return n("v-uni-view",{key:a,staticClass:"worker-box"},[n("v-uni-view",{staticClass:"worker-box-info"},[n("v-uni-view",{staticClass:"worker-box-avator"},[n("v-uni-image",{attrs:{src:e.img,mode:"aspectFit"}})],1),n("v-uni-view",{staticClass:"worker-box-body"},[n("v-uni-view",{staticClass:"worker-box-title"},[n("v-uni-text",[t._v(t._s(e.name))])],1),n("v-uni-view",{staticClass:"worker-box-desc"},[1==e.gender?n("v-uni-text",[t._v("男")]):t._e(),2==e.gender?n("v-uni-text",[t._v("女")]):t._e(),t._v("| "+t._s(e.age)+"岁 | "+t._s(e.worker)+"年护理经验")],1),n("v-uni-view",{staticClass:"worker-box-desc"},[n("v-uni-rich-text",{attrs:{nodes:e.content}})],1)],1)],1)],1)}))],2)],1)],1)},i=[]},8132:function(t,e,a){t.exports=a.p+"static/img/on-line-bg.8e4f8574.png"},9173: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 n=getApp(),i={data:function(){return{list:[],banner:[],phone:"",orgName:""}},onLoad:function(){var t=this.getUrlCode("orgId");t?(uni.setStorageSync(n.globalData.storagePre+"orgId",t),n.globalData.userinfo.orgId=t):(t=uni.getStorageSync(n.globalData.storagePre+"orgId"),t?n.globalData.userinfo.orgId=t:uni.showToast({title:"参数错误,未获取到orgId",icon:"none",duration:2e3}))},onShow:function(){var t=this;n.ajaxReadyCallback=function(e){var a=e.data.apiname;console.log(e),"banner"==a?t.banner=e.data.data:"config"==a?t.phone=e.data.data.val:"worker"==a?t.list=e.data.data:"org"==a&&(t.orgName=e.data.data.name)},n.globalData.userinfo.orgId&&(this.getOrg(),this.getConfig(),this.getBanner(),this.getWorkerHot())},onPullDownRefresh:function(){},onReachBottom:function(){},methods:{callPhone:function(){this.phone?uni.makePhoneCall({phoneNumber:this.phone}):uni.showToast({title:"未设置联系电话",icon:"none",duration:2e3})},goAdd:function(){uni.navigateTo({url:"/pages/index/add"})},goWorker:function(){uni.navigateTo({url:"/pages/index/worker"})},getOrg:function(){n.ajax({url:n.globalData.serverUrl+"common/getOrg",type:"POST",apiname:"org"})},getConfig:function(){n.ajax({url:n.globalData.serverUrl+"common/getConfig",type:"POST",apiname:"config",data:{name:"org_phone"}})},getBanner:function(){n.ajax({url:n.globalData.serverUrl+"common/banner",type:"POST",apiname:"banner"})},getWorkerHot:function(){n.ajax({url:n.globalData.serverUrl+"worker/hot",type:"POST",apiname:"worker"})},getUrlCode:function(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null}}};e.default=i},c823:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAGnUlEQVRYR9WZd4x9RRXHP4emIoItQYoCIiCKKAERUCmCFCEg8gdFQFEMBhURQoDQNEoJAQlF6SgoCBJqKDFIlIRmiAIaKyJFKQYMRUAJ5ZDPZuZl9v7ue3d3WX4JJ9nse3fuzHznzCnfc17wOpN4neFl1oAz8+3AR4APAqsB7wFW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)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("2e28");var r=a("f0c5"),l=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"6c3f1a5a",null,!1,n["a"],void 0);e["default"]=l.exports},e1de:function(t,e,a){var n=a("37e6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("f2da11a4",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|