if (typeof Promise !== "undefined" && !Promise.prototype.finally) { Promise.prototype.finally = function(callback) { const promise = this.constructor; return this.then( (value) => promise.resolve(callback()).then(() => value), (reason) => promise.resolve(callback()).then(() => { throw reason; }) ); }; } ; if (typeof uni !== "undefined" && uni && uni.requireGlobal) { const global = uni.requireGlobal(); ArrayBuffer = global.ArrayBuffer; Int8Array = global.Int8Array; Uint8Array = global.Uint8Array; Uint8ClampedArray = global.Uint8ClampedArray; Int16Array = global.Int16Array; Uint16Array = global.Uint16Array; Int32Array = global.Int32Array; Uint32Array = global.Uint32Array; Float32Array = global.Float32Array; Float64Array = global.Float64Array; BigInt64Array = global.BigInt64Array; BigUint64Array = global.BigUint64Array; } ; if (uni.restoreGlobal) { uni.restoreGlobal(Vue, weex, plus, setTimeout, clearTimeout, setInterval, clearInterval); } (function(vue) { "use strict"; const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({ __name: "index", setup(__props, { expose: __expose }) { __expose(); const iconList = vue.ref([ { url: "/static/index/lefticon/index.png", targetUrl: "/static/index/lefticontarget/blueindex.png" }, { url: "/static/index/lefticon/nurse.png", targetUrl: "/static/index/lefticontarget/bluenurse.png" }, { url: "/static/index/lefticon/doctor.png", targetUrl: "/static/index/lefticontarget/bluedoctor.png" }, { url: "/static/index/lefticon/wifi.png", targetUrl: "/static/index/lefticontarget/bluewifi.png" }, { url: "/static/index/lefticon/back.png", targetUrl: "/static/index/lefticontarget/blueback.png" } ]); const menuIndex = vue.ref(0); const changeMenu = (index) => { menuIndex.value = index; }; vue.onMounted(() => { }); const __returned__ = { iconList, menuIndex, changeMenu }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0 = "/static/index/oldman.png"; const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_font = vue.resolveComponent("font"); return vue.openBlock(), vue.createElementBlock("view", { class: "background-container" }, [ vue.createElementVNode("view", { class: "left-container" }, [ vue.createElementVNode("view", { class: "left-head" }, [ vue.createElementVNode("image", { class: "left-head-img", src: _imports_0 }), vue.createElementVNode("text", { class: "left-head-font" }, " 王金凤 ") ]), vue.createElementVNode("view", { class: "left-img-container" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.iconList, (item, index) => { return vue.openBlock(), vue.createElementBlock("view", { key: index, onClick: ($event) => $setup.changeMenu(index), class: "blue-circle-pos" }, [ vue.createCommentVNode(" uniapp x 不支持这种写法,只能用笨方法写 "), vue.withDirectives(vue.createElementVNode( "view", { class: "blue-circle" }, [ vue.createElementVNode("image", { class: "blue-circle-size", src: `/static/index/ray.png` }, null, 8, ["src"]) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, index === $setup.menuIndex] ]), vue.createElementVNode("image", { class: "left-img", src: index === $setup.menuIndex ? item.targetUrl : item.url }, null, 8, ["src"]) ], 8, ["onClick"]); }), 128 /* KEYED_FRAGMENT */ )) ]) ]), vue.createElementVNode("view", { class: "right-container" }, [ vue.createElementVNode("view", { class: "right-container-title" }, [ vue.createElementVNode("text", { class: "right-container-title-no" }, " N00123456 "), vue.createElementVNode("text", { class: "right-container-title-class" }, " 护理单元01 ") ]), vue.createElementVNode("view", { class: "right-container-fir" }, [ vue.createElementVNode("view", { class: "right-container-fir-left" }, [ vue.createElementVNode("view", { class: "right-container-fir-left-card" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-hulilei", src: `/static/index/hulilei.png` }, null, 8, ["src"]), vue.createVNode(_component_font, { class: "right-container-fir-left-card-hulilei-font" }, { default: vue.withCtx(() => [ vue.createTextVNode("护理类") ]), _: 1 /* STABLE */ }), vue.createElementVNode("view", { class: "right-container-fir-left-card-main" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-main-left", src: `/static/index/lefticon.png` }, null, 8, ["src"]), vue.createElementVNode("view", { class: "right-container-fir-left-card-card" }, [ vue.createCommentVNode(' \r\n \r\n \r\n '), vue.createElementVNode("view", { class: "right-container-fir-left-card-zhixing" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-zhixing-img", src: `/static/index/daizhixing.png` }, null, 8, ["src"]), vue.createVNode(_component_font, { class: "right-container-fir-left-card-zhixing-font" }, { default: vue.withCtx(() => [ vue.createTextVNode("待执行") ]), _: 1 /* STABLE */ }) ]), vue.createElementVNode("image", { class: "right-container-fir-left-card-img", src: `/static/index/project.png` }, null, 8, ["src"]), vue.createElementVNode("view", { class: "" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-main-laba", src: `/static/index/laba.png` }, null, 8, ["src"]), vue.createElementVNode("text", { class: "right-container-fir-left-card-main-font" }, " 准备洁具(口腔) ") ]) ]), vue.createElementVNode("view", { class: "split-line" }), vue.createElementVNode("view", { class: "time-font" }, " 10:00 - 10:10 ") ]) ]) ]), vue.createElementVNode("view", { class: "right-container-fir-right" }) ]) ]) ]); } const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-1cf27b2a"], ["__file", "D:/hldy_app/pages/index/index.vue"]]); __definePage("pages/index/index", PagesIndexIndex); function formatAppLog(type, filename, ...args) { if (uni.__log__) { uni.__log__(type, filename, ...args); } else { console[type].apply(console, [...args, filename]); } } const _sfc_main = { onLaunch: function() { formatAppLog("log", "at App.vue:4", "App Launch"); }, onShow: function() { formatAppLog("log", "at App.vue:7", "App Show"); }, onHide: function() { formatAppLog("log", "at App.vue:10", "App Hide"); } }; const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/hldy_app/App.vue"]]); function createApp() { const app = vue.createVueApp(App); return { app }; } const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp(); uni.Vuex = __Vuex__; uni.Pinia = __Pinia__; __app__.provide("__globalStyles", __uniConfig.styles); __app__._component.mpType = "app"; __app__._component.render = () => { }; __app__.mount("#app"); })(Vue);