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 ON_SHOW = "onShow"; const ON_HIDE = "onHide"; const ON_LOAD = "onLoad"; function formatAppLog(type, filename, ...args) { if (uni.__log__) { uni.__log__(type, filename, ...args); } else { console[type].apply(console, [...args, filename]); } } function resolveEasycom(component, easycom) { return typeof component === "string" ? easycom : component; } const createHook = (lifecycle) => (hook, target = vue.getCurrentInstance()) => { !vue.isInSSRComponentSetup && vue.injectHook(lifecycle, hook, target); }; const onShow = /* @__PURE__ */ createHook(ON_SHOW); const onHide = /* @__PURE__ */ createHook(ON_HIDE); const onLoad = /* @__PURE__ */ createHook(ON_LOAD); const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; const _sfc_main$l = { name: "ZyUpgrade", props: { theme: { //主题,目前支持green,pink,blue,yellow,red type: String, default: "green" }, updateurl: { //升级检测url,全路径 type: String, default: "" }, h5preview: { //H5界面下是否预览升级 type: Boolean, default: false }, oldversion: { //如果是H5,为了方便测试,可以传入一个旧版本号进来。 type: String, default: "" }, oldcode: { //如果是H5,为了方便测试,可以传一个旧版本的code进来。 type: Number, default: 0 }, appstoreflag: { //是否启用appstore升级,如果启用,由服务端返回appstore的地址 type: Boolean, default: false }, noticeflag: { //是否通知主界面无需更新 type: Boolean, default: false }, autocheckupdate: { //是否页面截入时就判断升级 type: Boolean, default: true } }, data() { return { update_flag: false, //点击升级按钮后,显示进度条 dshow: false, update_process: 0, downloadTask: [], updated2version: "", version_url: "", update_tips: "", forceupgrade: false, currentversion: this.oldversion, versionname: "", vesioncode: this.oldcode, wgt_flag: 0, wgt_url: "", size: 0, //开启gzip等情形下,获取不到安装包大小,可以服务端返回安装包大小 header: { Authorization: uni.getStorageSync("token") || "token" } }; }, mounted() { let app_flag = false; app_flag = true; if ((this.h5preview || app_flag) && this.autocheckupdate) { this.check_update(); } }, computed: { version() { let retversion = ""; retversion = this.currentversion + (this.currentversion != "" && this.updated2version != "" ? "->" : "") + this.updated2version; return retversion; } }, methods: { //检测升级 check_update() { let that = this; plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) { that.currentversion = widgetInfo.version; that.versionname = widgetInfo.name; that.versioncode = widgetInfo.versionCode; that.updatebusiness(that); }); }, updatebusiness: function(that) { uni.request({ url: `http://smartnu.blxinchuang.com/nursing-unit/api/pad/versionUpdate?platform=1&version=${that.currentversion}`, method: "GET", dataType: "json", success: (res) => { if (res.data.code == 100) { if (res.data.data.update_url) { that.dshow = true; that.update_tips = res.data.data.update_tips; that.forceupgrade = res.data.data.forceupdate == 1; that.version_url = res.data.data.update_url; that.updated2version = res.data.data.version; that.wgt_flag = res.data.data.wgt_flag; that.wgt_url = res.data.data.wgt_url; that.size = res.data.data.size; that.getnewbanben(); } } else { uni.showToast({ title: "请求升级出错:" + data.msg, icon: "none" }); } }, fail() { this.loading = false; } }); }, getnewbanben: function() { this.$emit("chuandinew", this.updated2version); }, //点击开始升级按钮,开始升级 upgrade_checked: function() { uni.removeStorageSync("token"); this.update_flag = true; this.updateversion(); }, //点击取消升级按钮,取消升级 upgrade_cancel: function() { this.dshow = false; }, //升级过程中,点击中断升级按钮,中断升级 upgrade_break: function() { this.downloadTask.abort(); this.update_flag = false; }, //升级下载apk安装包的具体处理业务逻辑 updateversion: function() { let platform = uni.getSystemInfoSync().platform; let that = this; if (platform == "ios" && this.appstoreflag && that.wgt_flag != 1) { that.dshow = false; plus.runtime.launchApplication({ action: that.version_url }, function(e) { uni.showToast({ title: "打开appstore失败", icon: "none" }); }); } else { let that2 = this; let downloadurl = that2.wgt_flag == 1 ? that2.wgt_url : that2.version_url; let targetUrl = "http://smartnu.blxinchuang.com/nursing-unit/sys/common/static/" + downloadurl; formatAppLog("log", "at component/zy-upgrade/zy-upgrade.vue:205", "下载地址:" + targetUrl); this.update_confirm = true; this.downloadTask = uni.downloadFile({ url: targetUrl, header: this.header, success: function(res) { if (res.statusCode == 200) { plus.runtime.install(res.tempFilePath, { force: false }, function() { plus.runtime.restart(); }, function(e) { formatAppLog("error", "at component/zy-upgrade/zy-upgrade.vue:220", "install fail...", JSON.stringify(e)); uni.showToast({ title: "升级失败", icon: "none" }); }); } else { uni.showToast({ title: "下载失败,网络错误", icon: "none" }); } }, fail: function(e) { uni.showToast({ title: "下载失败:" + e.errMsg, icon: "none" }); this.update_flag = false; }, complete: function() { } }); this.downloadTask.onProgressUpdate(function(res) { that2.update_process = res.progress; if (res.progress == Infinity) { let progress = res.totalBytesWritten / that2.size * 100; if (progress > 100) { progress = 100; } that2.update_process = progress; } }); } } } }; function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { class: vue.normalizeClass(["zy-modal", $data.dshow ? "show" : ""]) }, [ vue.createElementVNode("view", { class: "zy-dialog", style: { "background-color": "transparent" } }, [ vue.createElementVNode( "view", { class: vue.normalizeClass(["padding-top text-white", "zy-upgrade-topbg-" + $props.theme]) }, [ vue.createElementVNode("view", null, [ vue.createElementVNode("text", { class: "zy-upgrade-title" }, " 发现新版本 ") ]), vue.createElementVNode( "text", { class: "flex-wrap" }, vue.toDisplayString($options.version), 1 /* TEXT */ ) ], 2 /* CLASS */ ), vue.createElementVNode("view", { class: "padding-xl bg-white text-left" }, [ !$data.update_flag ? (vue.openBlock(), vue.createElementBlock("scroll-view", { key: 0, style: { "max-height": "200rpx" }, "scroll-y": "auto" }, [ vue.createElementVNode( "text", null, vue.toDisplayString($data.update_tips), 1 /* TEXT */ ) ])) : vue.createCommentVNode("v-if", true), $data.update_flag ? (vue.openBlock(), vue.createElementBlock("view", { key: 1, class: "zy-progress radius striped active" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass("bg-" + $props.theme), style: vue.normalizeStyle("width: " + $data.update_process + "%;") }, vue.toDisplayString($data.update_process), 7 /* TEXT, CLASS, STYLE */ ) ])) : vue.createCommentVNode("v-if", true) ]), vue.createElementVNode("view", { class: "zy-bar bg-white justify-end" }, [ !$data.update_flag ? (vue.openBlock(), vue.createElementBlock("view", { key: 0, class: "action" }, [ vue.createElementVNode( "button", { class: vue.normalizeClass(["zy-btn", "bg-" + $props.theme]), onClick: _cache[0] || (_cache[0] = (...args) => $options.upgrade_checked && $options.upgrade_checked(...args)) }, "确认升级", 2 /* CLASS */ ), !$data.forceupgrade ? (vue.openBlock(), vue.createElementBlock( "button", { key: 0, class: vue.normalizeClass(["zy-btn margin-left", "line-" + $props.theme]), onClick: _cache[1] || (_cache[1] = (...args) => $options.upgrade_cancel && $options.upgrade_cancel(...args)) }, "取消升级", 2 /* CLASS */ )) : vue.createCommentVNode("v-if", true) ])) : vue.createCommentVNode("v-if", true), $data.update_flag && !$data.forceupgrade ? (vue.openBlock(), vue.createElementBlock("view", { key: 1, class: "action text-center" }, [ vue.createElementVNode( "button", { class: vue.normalizeClass(["zy-btn", "bg-" + $props.theme]), onClick: _cache[2] || (_cache[2] = (...args) => $options.upgrade_break && $options.upgrade_break(...args)) }, "中断升级", 2 /* CLASS */ ) ])) : vue.createCommentVNode("v-if", true) ]) ]) ], 2 /* CLASS */ ); } const ZyUpdate = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$k], ["__scopeId", "data-v-bf1d6c35"], ["__file", "D:/hldy_app/component/zy-upgrade/zy-upgrade.vue"]]); const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({ __name: "index", setup(__props, { expose: __expose }) { __expose(); const darkFans = vue.ref(false); const zyupgrade = vue.ref(null); const menuArray = [ { name: "护理单元", url: "/pages/Nursing/index" }, { name: "仓库", url: "/pages/Warehousing/index" } ]; const jumpTo = (url2) => { uni.navigateTo({ url: url2 }); }; onLoad((options) => { }); onShow(() => { var _a; (_a = zyupgrade.value) == null ? void 0 : _a.check_update(); }); const __returned__ = { darkFans, zyupgrade, menuArray, jumpTo, ZyUpdate }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.createElementVNode("view", { class: "backgroundContainer" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.menuArray, (item, index2) => { return vue.createElementVNode("view", { key: index2 }, [ vue.createElementVNode("view", { class: "menuCard", onClick: ($event) => $setup.jumpTo(item.url) }, vue.toDisplayString(item.name), 9, ["onClick"]) ]); }), 64 /* STABLE_FRAGMENT */ )) ]), vue.createCommentVNode(" 自动更新组件 "), vue.createVNode( $setup["ZyUpdate"], { ref: "zyupgrade", noticeflag: true, theme: "blue", h5preview: false, oldversion: "1.0.0", appstoreflag: true, autocheckupdate: true }, null, 512 /* NEED_PATCH */ ) ], 64 /* STABLE_FRAGMENT */ ); } const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-1cf27b2a"], ["__file", "D:/hldy_app/pages/index/index.vue"]]); const _imports_0$7 = "/static/index/zuoyuan.png"; const _sfc_main$j = { __name: "Drawer", setup(__props, { expose: __expose }) { const isVisible = vue.ref(false); const openDrawer = () => { isVisible.value = true; }; const closeDrawer = () => { isVisible.value = false; }; __expose({ openDrawer, closeDrawer }); const __returned__ = { isVisible, openDrawer, closeDrawer, ref: vue.ref }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }; function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("view", null, [ vue.createCommentVNode(" 遮罩层 "), $setup.isVisible ? (vue.openBlock(), vue.createElementBlock("view", { key: 0, class: "overlay", onClick: $setup.closeDrawer })) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 抽屉 "), vue.createElementVNode( "view", { class: vue.normalizeClass(["drawer", { "drawer-open": $setup.isVisible }]) }, [ vue.createElementVNode("view", { class: "drawer-content" }, [ vue.createCommentVNode(" 抽屉中间的半圆 "), vue.createElementVNode("view", { class: "drawer-content-circle", onClick: $setup.closeDrawer }, [ vue.createElementVNode("image", { class: "drawer-img", src: _imports_0$7 }) ]), vue.createCommentVNode(" 抽屉内容 "), vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) ]) ], 2 /* CLASS */ ) ]); } const Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-40fcca19"], ["__file", "D:/hldy_app/component/public/Drawer.vue"]]); const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({ __name: "index", setup(__props, { expose: __expose }) { __expose(); const circles = [ { label: "指令" }, { label: "转单" }, { label: "完成" } ]; const handleBlur = (event) => { }; const showVideo = vue.ref(false); const videoRef = vue.ref(null); const clickitemNumber = vue.ref(-1); const postItems = vue.ref(0); const videoContext = uni.createVideoContext("myVideo"); const clickitem = (index2) => { clickitemNumber.value = index2; }; const closeVideo = () => { videoContext.pause(); showVideo.value = false; }; const lineWidth = vue.computed(() => { switch (circlesNumber.value) { case 0: return "0"; case 1: return "calc(100% - 600rpx)"; case 2: return "calc(100% - 120rpx)"; default: return "100%"; } }); const circlesNumber = vue.ref(0); const __returned__ = { circles, handleBlur, showVideo, videoRef, clickitemNumber, postItems, videoContext, clickitem, closeVideo, lineWidth, circlesNumber }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0$6 = "/static/index/teeth.png"; const _imports_1$5 = "/static/index/helpdo/zero.png"; const _imports_2$3 = "/static/index/helpdo/one.png"; const _imports_3$2 = "/static/index/helpdo/two.png"; const _imports_4 = "/static/index/helpdo/laba.png"; const _imports_5 = "/static/index/helpdo/three.png"; const _imports_6 = "/static/index/helpdo/video.png"; const _imports_7 = "/static/index/helpdo/xian.png"; const _imports_8 = "/static/index/helpdo/maike.png"; const _imports_9 = "/static/index/helpdo/people.png"; const _imports_10 = "/static/index/ceshi.mp4"; function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("view", { class: "draw-all" }, [ vue.createElementVNode("view", { class: "draw-title" }, [ vue.createElementVNode("view", { class: "draw-title-gun" }), vue.createElementVNode("view", { class: "draw-title-font" }, "转单执行") ]), vue.createElementVNode("view", { class: "draw-contain" }, [ vue.createElementVNode("view", { class: "downitems-father" }, [ vue.createElementVNode("view", { class: "downitems-left" }, [ vue.createElementVNode("view", { class: "downitems-left-mar" }, [ vue.createElementVNode("image", { class: "downitems-left-img", src: _imports_0$6 }), vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("image", { class: "downitems-father-img", src: _imports_1$5 }), vue.createElementVNode("view", { class: "downitems-father-font" }, "清洁照料") ]), vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("image", { class: "downitems-father-img", src: _imports_2$3 }), vue.createElementVNode("view", { class: "downitems-father-font" }, "四肢清洁") ]), vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("image", { class: "downitems-father-img", src: _imports_3$2 }), vue.createElementVNode("view", { class: "downitems-father-font-laba" }, "协助清洁(四肢)"), vue.createElementVNode("image", { class: "downitems-father-img-laba", src: _imports_4 }) ]), vue.createElementVNode("view", { class: "downitems-left-father" }, [ vue.createElementVNode("image", { class: "downitems-father-img", src: _imports_5 }), vue.createElementVNode("view", { class: "downitems-father-font-small" }, "准备清水,一次性面巾,香皂,清洁后涂身体保湿乳。") ]), vue.createElementVNode("view", { class: "downitems-kuai", onClick: _cache[0] || (_cache[0] = ($event) => $setup.showVideo = true) }, [ vue.createElementVNode("image", { class: "downitems-kuai-img", src: _imports_6 }) ]), vue.createElementVNode("view", { class: "downitems-says" }, " 视频讲解 ") ]) ]), vue.createElementVNode("image", { class: "downitems-shu", src: _imports_7 }), vue.createElementVNode("view", { class: "downitems-center" }, [ vue.createElementVNode("view", { class: "downitems-center-title" }, [ vue.createElementVNode("view", { class: "downitems-center-title-gun" }), vue.createElementVNode("view", { class: "downitems-center-title-font" }, "转单原因"), vue.createElementVNode("view", { class: "downitems-center-says" }, [ vue.createElementVNode("view", { class: "downitems-center-father" }, [ vue.createElementVNode("image", { class: "downitems-center-says-maike", src: _imports_8 }) ]), vue.createElementVNode("view", { class: "" }, "语音输入") ]) ]), vue.createElementVNode("view", { class: "downitems-textarea" }, [ vue.createElementVNode( "textarea", { class: "custom-textarea", onBlur: $setup.handleBlur, placeholder: "请输入" }, null, 32 /* NEED_HYDRATION */ ) ]), vue.createElementVNode("view", { class: "downitems-center-title" }, [ vue.createElementVNode("view", { class: "downitems-center-title-gun" }), vue.createElementVNode("view", { class: "downitems-center-title-font" }, "转单方式") ]), vue.createElementVNode("view", { class: "radio-circle-top-father" }, [ vue.createElementVNode("view", { class: "radio-circle-top" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass(!$setup.postItems ? `radio-circle-target` : `radio-circle`), onClick: _cache[1] || (_cache[1] = ($event) => $setup.postItems = 0) }, null, 2 /* CLASS */ ), vue.createElementVNode("view", { class: "radio-font", onClick: _cache[2] || (_cache[2] = ($event) => $setup.postItems = 0) }, "重新派单") ]), vue.createElementVNode("view", { class: "radio-circle-top" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($setup.postItems ? `radio-circle-target` : `radio-circle`), onClick: _cache[3] || (_cache[3] = ($event) => { $setup.postItems = 1; }) }, null, 2 /* CLASS */ ), vue.createElementVNode("view", { class: "radio-font", onClick: _cache[4] || (_cache[4] = ($event) => $setup.postItems = 1) }, "定向派单") ]) ]), vue.createElementVNode("view", { class: "downitems-button" }, " 确认 ") ]), vue.createElementVNode("image", { class: "downitems-shu", style: { "transform": "rotate(180deg)", "margin-left": "0rpx" }, src: _imports_7 }), vue.createElementVNode("view", { class: "downitems-right" }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "downitems-all" }, [ vue.createElementVNode("view", { class: "downitems-center-title" }, [ vue.createElementVNode("view", { class: "downitems-center-title-gun" }), vue.createElementVNode("view", { class: "downitems-center-title-font" }, "重新派单") ]), vue.createElementVNode("view", { class: "downitems-all-font" }, " 选择重新派单,平台自动将服务指令重新派发给其他员工,等待执行。 ") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, !$setup.postItems] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "downitems-all" }, [ vue.createElementVNode("view", { class: "downitems-center-title" }, [ vue.createElementVNode("view", { class: "downitems-center-title-gun" }), vue.createElementVNode("view", { class: "downitems-center-title-font" }, "定向派单") ]), vue.createElementVNode("view", { class: "downitems-all-font" }, " 选择定向转单,请选择要执行服务指令的员工。 "), vue.createElementVNode("view", { class: "downitems-card-all" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([0, 1, 2, 3, 4, 5, 6, 7], (item, index2) => { return vue.createElementVNode("view", { class: "downitems-card" }, [ vue.createElementVNode("view", { class: vue.normalizeClass($setup.clickitemNumber === index2 ? `downitems-card-one-target` : `downitems-card-one`), onClick: ($event) => $setup.clickitem(index2) }, [ vue.createElementVNode("view", { class: "downitems-card-father" }, [ vue.createElementVNode("image", { class: "downitems-card-img", src: _imports_9 }) ]), vue.createElementVNode("view", { class: "downitems-card-font" }, " 李金福 ") ], 10, ["onClick"]) ]); }), 64 /* STABLE_FRAGMENT */ )) ]) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.postItems] ]) ]) ]) ]), vue.createCommentVNode(" 弹窗遮罩层,点击背景可关闭弹窗 "), vue.withDirectives(vue.createElementVNode( "view", { class: "modal", onClick: $setup.closeVideo }, [ vue.createElementVNode("view", { class: "modal-content", onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createCommentVNode(" 视频组件,可替换 src 地址 "), vue.createElementVNode("video", { id: "myVideo", src: _imports_10, controls: "", style: { "width": "100%", "height": "100%" } }) ]) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.showVideo] ]) ]); } const transferExecution = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h], ["__scopeId", "data-v-166ac27f"], ["__file", "D:/hldy_app/component/rightItemsindex/transferExecution/index.vue"]]); const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({ __name: "index", props: { isshow: { type: Boolean, required: true }, darkFans: { type: Boolean, required: true } }, emits: ["darkchange"], setup(__props, { expose: __expose, emit: __emit }) { __expose(); const drawer = vue.ref(null); const props = __props; const isPopupVisible = vue.ref(false); const isPopupVisiblefiropen = vue.ref(false); const isPopupVisiblesec = vue.ref(false); const isPopupVisiblefiropensec = vue.ref(false); const isPopupVisiblethi = vue.ref(false); const isPopupVisiblefiropenthi = vue.ref(false); const currentTime = vue.ref(""); const fullDate = vue.ref(""); const weekDay = vue.ref(""); const undericonList = vue.ref([ { url: "/static/index/undericons/alarm.png", targetUrl: "/static/index/undericons/alarmdark.png", name: "服务考核" }, { url: "/static/index/undericons/linshitime.png", targetUrl: "/static/index/undericons/linshitimedark.png", name: "护理流程" }, { url: "/static/index/darkicon/zhaomingdark.png", targetUrl: "/static/index/roomicons/zhaomingtar.png", name: "电子医嘱" }, { url: "/static/index/darkicon/kontiaodark.png", targetUrl: "/static/index/roomicons/kongtiaotar.png", name: "进销存" }, { url: "/static/index/darkicon/nuanfengdark.png", targetUrl: "/static/index/roomicons/nuanfengtar.png", name: "实时监控" }, { url: "/static/index/darkicon/dianqidark.png", targetUrl: "/static/index/roomicons/dianqitar.png", name: "我的指令" } ]); const huliList = vue.ref([ { url: "/static/index/hulilist/zhuandan.png", name: "转单执行" }, { url: "/static/index/hulilist/xiezhu.png", name: "协助执行" }, { url: "/static/index/hulilist/zhongdian.png", name: "重点追踪" } ]); const huliListDark = vue.ref([ { url: "/static/index/darkicon/zhuandandark.png", name: "转单执行" }, { url: "/static/index/darkicon/xiezhudark.png", name: "协助执行" }, { url: "/static/index/darkicon/zhongdiandark.png", name: "重点追踪" } ]); const mediumList = vue.ref([ { url: "/static/index/medium/yaopin.png", name: "药品信息", number: 0 }, { url: "/static/index/medium/qingling.png", name: "请领指令", number: 60 }, { url: "/static/index/medium/peiyao.png", name: "配药指令", number: 100 }, { url: "/static/index/medium/xinxi.png", name: "信息反馈", number: 0 }, { url: "/static/index/medium/xinxi.png", name: "信息反馈2", number: 0 } ]); const mediumListdark = vue.ref([ { url: "/static/index/darkicon/yaopindark.png", name: "药品信息", number: 55 }, { url: "/static/index/darkicon/qinglingdark.png", name: "请领指令", number: 10 }, { url: "/static/index/darkicon/peiyaodark.png", name: "配药指令", number: 100 }, { url: "/static/index/darkicon/xinxidark.png", name: "信息反馈", number: 15 }, { url: "/static/index/darkicon/xinxidark.png", name: "信息反馈2", number: 20 } ]); const roomBtttonList = vue.ref([ { url: "/static/index/roomicons/zhaoming.png", targetUrl: "/static/index/roomicons/zhaomingtar.png", name: "照明" }, { url: "/static/index/roomicons/kongtiao.png", targetUrl: "/static/index/roomicons/kongtiaotar.png", name: "空调" }, { url: "/static/index/roomicons/nuanfeng.png", targetUrl: "/static/index/roomicons/nuanfengtar.png", name: "暖风" }, { url: "/static/index/roomicons/dianqi.png", targetUrl: "/static/index/roomicons/dianqitar.png", name: "电器" } ]); const roomBtttonListdark = vue.ref([ { url: "/static/index/darkicon/zhaomingdark.png", targetUrl: "/static/index/roomicons/zhaomingtar.png", name: "照明" }, { url: "/static/index/darkicon/kontiaodark.png", targetUrl: "/static/index/roomicons/kongtiaotar.png", name: "空调" }, { url: "/static/index/darkicon/nuanfengdark.png", targetUrl: "/static/index/roomicons/nuanfengtar.png", name: "暖风" }, { url: "/static/index/darkicon/dianqidark.png", targetUrl: "/static/index/roomicons/dianqitar.png", name: "电器" } ]); const menuIndex = vue.ref(0); const undermenuIndex = vue.ref(0); const underFans = vue.ref(false); const roomTar = vue.ref([]); const firstcurrentIndex = vue.ref(0); const firstcurrentIndexup = vue.ref(0); const secondcurrentIndexup = vue.ref(0); const secondcurrentIndex = vue.ref(0); const thirdcurrentIndex = vue.ref(0); const emit = __emit; const darkFanschange = () => { emit("darkchange", !props.darkFans); }; const changeMenu = (index2) => { menuIndex.value = index2; }; const changeMenuUnder = (index2) => { undermenuIndex.value = index2; }; const saveItem = (index2) => { if (roomTar.value.includes(index2)) { let array2 = []; roomTar.value.forEach((res) => { if (res !== index2) { array2.push(res); } }); roomTar.value = array2; } else { roomTar.value.push(index2); } }; const updateTime = () => { const now = /* @__PURE__ */ new Date(); const hours = now.getHours().toString().padStart(2, "0"); const minutes = now.getMinutes().toString().padStart(2, "0"); currentTime.value = `${hours}:${minutes}`; const year = now.getFullYear(); const month = (now.getMonth() + 1).toString().padStart(2, "0"); const day = now.getDate().toString().padStart(2, "0"); fullDate.value = `${year}年${month}月${day}日`; const weekDays = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]; const week = weekDays[now.getDay()]; weekDay.value = week; }; const onSwiperChange = (event) => { firstcurrentIndexup.value = event.detail.current; }; const onSwiperChangesec = (event) => { secondcurrentIndexup.value = event.detail.current; }; const jumpTonew = (path) => { const pages = getCurrentPages(); if (pages.length === 0) return; const currentPage = pages[pages.length - 1]; const currentPath = "/" + currentPage.route; if (currentPath !== path && path) { uni.redirectTo({ url: path }); } }; const showPopup = () => { isPopupVisible.value = !isPopupVisible.value; isPopupVisiblefiropen.value = true; isPopupVisiblesec.value = false; isPopupVisiblethi.value = false; setTimeout(() => { isPopupVisiblefiropen.value = false; }, 500); }; const showPopupsec = () => { isPopupVisiblesec.value = !isPopupVisiblesec.value; isPopupVisible.value = false; isPopupVisiblethi.value = false; isPopupVisiblefiropensec.value = true; setTimeout(() => { isPopupVisiblefiropensec.value = false; }, 500); }; const showPopupthi = () => { isPopupVisiblethi.value = !isPopupVisiblethi.value; isPopupVisiblefiropenthi.value = true; isPopupVisible.value = false; isPopupVisiblesec.value = false; setTimeout(() => { isPopupVisiblefiropenthi.value = false; }, 500); }; let timerId = null; const openhuliList = (index2) => { drawer.value.openDrawer(); }; vue.onMounted(() => { timerId = updateTime(); setInterval(updateTime, 1e3); }); vue.onBeforeUnmount(() => { clearInterval(timerId); }); const __returned__ = { drawer, props, isPopupVisible, isPopupVisiblefiropen, isPopupVisiblesec, isPopupVisiblefiropensec, isPopupVisiblethi, isPopupVisiblefiropenthi, currentTime, fullDate, weekDay, undericonList, huliList, huliListDark, mediumList, mediumListdark, roomBtttonList, roomBtttonListdark, menuIndex, undermenuIndex, underFans, roomTar, firstcurrentIndex, firstcurrentIndexup, secondcurrentIndexup, secondcurrentIndex, thirdcurrentIndex, emit, darkFanschange, changeMenu, changeMenuUnder, saveItem, updateTime, onSwiperChange, onSwiperChangesec, jumpTonew, showPopup, showPopupsec, showPopupthi, get timerId() { return timerId; }, set timerId(v) { timerId = v; }, openhuliList, Drawer, transferExecution }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0$5 = "/static/index/customer.png"; const _imports_1$4 = "/static/index/undericons/upguang.png"; function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { class: "right-container", style: vue.normalizeStyle($props.isshow ? { opacity: `1` } : { opacity: `0` }) }, [ vue.createElementVNode("view", { class: "right-container-title-nav" }, [ vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-title-no-dark` : `right-container-title-no`) }, " ID:12345678 ", 2 /* CLASS */ ), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-title-no-dark` : `right-container-title-no`) }, " 名称:未命名01 ", 2 /* CLASS */ ), vue.createElementVNode("view", { class: "right-icons" }, [ vue.createElementVNode("image", { class: "right-icons-img", src: `/static/index/undericons/man.png` }, null, 8, ["src"]), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `right-icons-font-dark` : `right-icons-font`) }, "王金福", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/face.png` : `/static/index/undericons/facelight.png` }, null, 8, ["src"]), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/hand.png` : `/static/index/undericons/handlight.png` }, null, 8, ["src"]), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/out.png` : `/static/index/undericons/outlight.png` }, null, 8, ["src"]) ]), vue.withDirectives(vue.createElementVNode( "view", { class: "right-container-title-class-anhei-button", onClick: _cache[0] || (_cache[0] = ($event) => $setup.darkFanschange()) }, [ vue.createElementVNode("text", { class: "right-container-title-class-anhei" }, " 切换到暗黑模式 ") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, !$props.darkFans] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "right-container-title-class-anhei-button", style: vue.normalizeStyle($props.darkFans ? { backgroundColor: "#fff" } : {}), onClick: _cache[1] || (_cache[1] = ($event) => $setup.darkFanschange()) }, [ vue.createElementVNode( "text", { class: "right-container-title-class-anhei", style: vue.normalizeStyle($props.darkFans ? { color: "black" } : {}) }, " 取消暗黑模式 ", 4 /* STYLE */ ) ], 4 /* STYLE */ ), [ [vue.vShow, $props.darkFans] ]) ]), vue.createElementVNode("view", { class: "right-container-fir" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass([$setup.isPopupVisible ? `right-container-big` : `right-container-small`, "right-container-fir-left-nav"]), style: vue.normalizeStyle($setup.isPopupVisiblefiropen || $setup.isPopupVisible ? { zIndex: 999 } : { zIndex: 998 }) }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `right-container-fir-left-card-dark` : `right-container-fir-left-card`) }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-hulilei", src: `/static/index/hulilei.png` }, null, 8, ["src"]), vue.createElementVNode("div", { class: "right-container-fir-left-card-hulilei-font", onClick: $setup.showPopup }, "护理类"), $props.darkFans ? (vue.openBlock(), vue.createElementBlock("image", { key: 0, class: "card-upfaguang", src: `/static/index/cardbgc/uplight.png` }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("view", { class: "right-container-fir-left-carousel" }, [ vue.createElementVNode("view", { class: "carousel" }, [ vue.createElementVNode("view", { class: "dots" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item, index2) => { return vue.createElementVNode( "span", { key: index2, class: vue.normalizeClass($props.darkFans ? `dot-dark` : `dot`), style: vue.normalizeStyle(index2 === $setup.firstcurrentIndexup ? { backgroundColor: `#01A0FE` } : {}) }, null, 6 /* CLASS, STYLE */ ); }), 64 /* STABLE_FRAGMENT */ )) ]) ]) ]), vue.createElementVNode("view", { class: "right-container-fir-left-card-main" }, [ vue.createElementVNode("swiper", { current: $setup.firstcurrentIndexup, class: "swiper savehundred", circular: "", "indicator-dots": false, vertical: true, interval: 4e3, duration: 500, onChange: $setup.onSwiperChange }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item, index2) => { return vue.createElementVNode("swiper-item", { class: "swiper-item-flex", key: index2 }, [ vue.createElementVNode("view", { class: "right-container-fir-left-card-flex" }, [ vue.createElementVNode("view", { class: "uni-margin-wrap-fir" }, [ vue.createElementVNode("swiper", { current: $setup.firstcurrentIndex, class: "swiper", circular: "", "indicator-dots": false, interval: 4e3, duration: 500 }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item2, index22) => { return vue.createElementVNode("swiper-item", { class: "swiper-item-flex", key: index22 }, [ vue.createElementVNode("view", { class: "right-container-fir-left-card-card" }, [ vue.createElementVNode("view", { class: "right-container-fir-left-card-zhixing" }, [ vue.createElementVNode("div", { class: "right-container-fir-left-card-zhixing-font" }, "待执行 ") ]), vue.createElementVNode("image", { class: "right-container-fir-left-card-img", src: `/static/index/teeth.png`, onClick: $setup.showPopup }, null, 8, ["src"]), vue.createElementVNode("view", { class: "right-container-fir-left-card-main-laba-video" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-main-laba", src: $props.darkFans ? `/static/index/darkicon/labadark.png` : `/static/index/laba.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-fir-left-card-main-font-dark` : `right-container-fir-left-card-main-font`) }, " 准备洁具(口腔) ", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "right-container-fir-left-card-main-video", src: $props.darkFans ? `/static/index/indexvideo.png` : `/static/index/indexvideo.png` }, null, 8, ["src"]) ]) ]), vue.createElementVNode("view", { class: "split-line" }), vue.createElementVNode("view", { class: "time-tra-fir" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-font-dark` : `time-font`) }, " 10:00 - 10:10 ", 2 /* CLASS */ ), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-text-dark` : `time-text`) }, " 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ", 2 /* CLASS */ ), vue.createElementVNode("view", { class: "time-people-two" }, [ vue.createElementVNode("view", { class: "time-people-fir" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 单人执行 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-people-sec" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " -- ", 2 /* CLASS */ ) ]) ]), vue.createElementVNode("view", { class: "time-button-view" }, [ vue.createElementVNode("view", { class: "time-button-start" }, " 开始服务 "), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-button-end-dark` : `time-button-end`) }, " 服务结束 ", 2 /* CLASS */ ) ]) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 8, ["current"]) ]), vue.createElementVNode( "view", { class: "split-line-white-right-left", style: vue.normalizeStyle($props.darkFans ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``) }, [ $props.darkFans ? (vue.openBlock(), vue.createElementBlock("image", { key: 0, class: "split-line-white-img", src: `/static/index/cardbgc/leftlight.png` }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true) ], 4 /* STYLE */ ) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 40, ["current"]), vue.createElementVNode("view", { class: "right-huli-sec" }, [ vue.createElementVNode("image", { class: "right-huli-shang", src: `/static/index/hulilist/shang.png` }, null, 8, ["src"]), !$props.darkFans ? (vue.openBlock(), vue.createElementBlock("scroll-view", { key: 0, "show-scrollbar": false, "scroll-y": "true", class: "right-huli-view" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.huliList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-huli-view-dis", onClick: ($event) => $setup.openhuliList(index2) }, [ vue.createElementVNode("image", { class: "right-huli-img", src: item.url }, null, 8, ["src"]), vue.createElementVNode( "text", { class: "right-huli-text" }, vue.toDisplayString(item.name), 1 /* TEXT */ ) ], 8, ["onClick"]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 暗黑模式 "), $props.darkFans ? (vue.openBlock(), vue.createElementBlock("scroll-view", { key: 1, "show-scrollbar": false, "scroll-y": "true", class: "right-huli-view" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.huliListDark, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-huli-view-dis" }, [ vue.createElementVNode("image", { class: "right-huli-img", src: item.url }, null, 8, ["src"]), vue.createElementVNode( "text", { class: "right-huli-text-dark" }, vue.toDisplayString(item.name), 1 /* TEXT */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("image", { class: "right-huli-xia", src: `/static/index/hulilist/xia.png` }, null, 8, ["src"]) ]) ]) ], 2 /* CLASS */ ) ], 6 /* CLASS, STYLE */ ), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `right-container-fir-right-dark` : `right-container-fir-right`) }, [ vue.createElementVNode("view", { class: "right-container-card" }, [ vue.createElementVNode("view", { class: "right-container-card-right" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3, 4], (item, index2) => { return vue.createElementVNode("view", { class: "", key: index2 }, [ vue.createElementVNode("image", { class: "right-container-card-right-img", src: _imports_0$5 }) ]); }), 64 /* STABLE_FRAGMENT */ )) ]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-title-dark` : `right-container-title`) }, vue.toDisplayString($setup.currentTime), 3 /* TEXT, CLASS */ ), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-date-dark` : `right-container-date`) }, vue.toDisplayString($setup.fullDate), 3 /* TEXT, CLASS */ ), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-day-dark` : `right-container-day`) }, vue.toDisplayString($setup.weekDay), 3 /* TEXT, CLASS */ ), vue.createElementVNode("view", { class: "right-container-tem" }, [ vue.createElementVNode("image", { class: "right-container-tem-img", src: $props.darkFans ? `/static/index/darkicon/wendudark.png` : `/static/index/roomicons/wendu.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-tem-text-dark` : `right-container-tem-text`) }, "23°C", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "right-container-tem-img", src: $props.darkFans ? `/static/index/roomicons/shidu.png` : `/static/index/darkicon/shidudark.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-tem-text-dark` : `right-container-tem-text`) }, "39%", 2 /* CLASS */ ) ]), vue.createCommentVNode(" 分割线 "), vue.createElementVNode("view", { class: "right-container-fenge" }), !$props.darkFans ? (vue.openBlock(), vue.createElementBlock("view", { key: 0, class: "right-container-button" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.roomBtttonList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-container-button-any" }, [ vue.withDirectives(vue.createElementVNode("image", { class: "right-container-button-ray", src: `/static/index/cardicons/ray2.png` }, null, 8, ["src"]), [ [vue.vShow, $setup.roomTar.includes(index2)] ]), vue.createElementVNode("image", { class: "right-container-button-img", src: $setup.roomTar.includes(index2) ? item.targetUrl : item.url, onClick: ($event) => $setup.saveItem(index2) }, null, 8, ["src", "onClick"]), vue.createElementVNode( "text", { class: "right-container-button-text", style: vue.normalizeStyle($setup.roomTar.includes(index2) ? { color: "#167ED7" } : {}) }, vue.toDisplayString(item.name), 5 /* TEXT, STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 暗黑模式 "), $props.darkFans ? (vue.openBlock(), vue.createElementBlock("view", { key: 1, class: "right-container-button" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.roomBtttonListdark, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-container-button-any" }, [ vue.withDirectives(vue.createElementVNode("image", { class: "right-container-button-ray", src: `/static/index/cardicons/ray2.png` }, null, 8, ["src"]), [ [vue.vShow, $setup.roomTar.includes(index2)] ]), vue.createElementVNode("image", { class: "right-container-button-img", src: $setup.roomTar.includes(index2) ? item.targetUrl : item.url, onClick: ($event) => $setup.saveItem(index2) }, null, 8, ["src", "onClick"]), vue.createElementVNode( "text", { class: "right-container-button-text", style: vue.normalizeStyle($setup.roomTar.includes(index2) ? { color: "#167ED7" } : { color: "#fff" }) }, vue.toDisplayString(item.name), 5 /* TEXT, STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true) ]) ], 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "right-container-sec" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($setup.isPopupVisiblesec ? `right-container-left-big` : `right-container-left-small`), style: vue.normalizeStyle($setup.isPopupVisiblefiropensec || $setup.isPopupVisiblesec ? { zIndex: 999 } : { zIndex: 0 }) }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `right-container-left-dark` : `right-container-left`) }, [ vue.createElementVNode("image", { class: "right-container-left-type", src: `/static/index/yiliao/yiliaolei.png` }, null, 8, ["src"]), vue.createElementVNode("div", { class: "right-container-left-font", onClick: $setup.showPopupsec }, "医疗类"), vue.createElementVNode("view", { class: "right-container-fir-left-carousel" }, [ vue.createElementVNode("view", { class: "carousel" }, [ vue.createElementVNode("view", { class: "dots" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item, index2) => { return vue.createElementVNode( "span", { key: index2, class: vue.normalizeClass($props.darkFans ? `dot-dark` : `dot`), style: vue.normalizeStyle(index2 === $setup.secondcurrentIndexup ? { backgroundColor: `#01A0FE` } : {}) }, null, 6 /* CLASS, STYLE */ ); }), 64 /* STABLE_FRAGMENT */ )) ]) ]) ]), $props.darkFans ? (vue.openBlock(), vue.createElementBlock("image", { key: 0, class: "card-upfaguang-down", src: `/static/index/cardbgc/uplight.png` }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("swiper", { current: $setup.secondcurrentIndexup, class: "swiper savehundred", circular: "", "indicator-dots": false, vertical: true, interval: 4e3, duration: 500, onChange: $setup.onSwiperChangesec }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item, index2) => { return vue.createElementVNode("swiper-item", { class: "swiper-item-flex", key: index2 }, [ vue.createElementVNode("div", { class: "right-container-fir-left-card-flex-sec" }, [ vue.createElementVNode("view", { class: "uni-margin-wrap" }, [ vue.createElementVNode("swiper", { current: $setup.secondcurrentIndex, class: "swiper", circular: "", "indicator-dots": false, autoplay: false, interval: 4e3, duration: 500 }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item2, index22) => { return vue.createElementVNode("swiper-item", { class: "swiper-item-flex", key: index22 }, [ vue.createElementVNode("div", { class: "right-container-left-font-spec" }, "进行中 "), vue.createElementVNode("view", { class: "time-tra-sec" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-font-dark` : `time-font`) }, " 10:00 - 10:10 ", 2 /* CLASS */ ), vue.createElementVNode("view", { class: "time-people-thi" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/doctorsaydark.png` : `/static/index/medium/doctorsay.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 医嘱类型:药品 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-people-thi" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/howtododark.png` : `/static/index/medium/howtodo.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 处置方式:肌肉注射 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-people-thi" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/useMed.png` : `/static/index/medium/yongyao.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 用药类型:抗生素类 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-people-thi" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/domanydark.png` : `/static/index/medium/domany.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 执行方式:周期一日执行一次 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-people-thi" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 单人执行 ", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 赵宇 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-button-view" }, [ vue.createElementVNode("view", { class: "time-button-start" }, " 开始服务 "), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-button-end-dark` : `time-button-end`) }, " 服务结束 ", 2 /* CLASS */ ) ]) ]), vue.createElementVNode("view", { class: "right-container-photo" }, [ vue.createElementVNode("image", { class: "right-container-photo-img", src: `/static/index/yiliao/project2.png`, onClick: $setup.showPopupsec }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-photo-text-dark` : `right-container-photo-text`) }, " 脑膜炎(1/2) ", 2 /* CLASS */ ) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 8, ["current"]) ]) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 40, ["current"]), vue.createElementVNode( "view", { class: "split-line-white-sec", style: vue.normalizeStyle($props.darkFans ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``) }, [ $props.darkFans ? (vue.openBlock(), vue.createElementBlock("image", { key: 0, class: "split-line-white-img", src: `/static/index/cardbgc/leftlight.png` }, null, 8, ["src"])) : vue.createCommentVNode("v-if", true) ], 4 /* STYLE */ ), vue.createElementVNode("view", { class: "right-huli-fir" }, [ vue.createElementVNode("image", { class: "right-huli-shang", src: `/static/index/hulilist/shang.png` }, null, 8, ["src"]), !$props.darkFans ? (vue.openBlock(), vue.createElementBlock("scroll-view", { key: 0, "show-scrollbar": false, "scroll-y": "true", class: "right-huli-view" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.mediumList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-huli-view-dis" }, [ vue.createElementVNode("image", { class: "right-huli-img", src: item.url }, null, 8, ["src"]), vue.createElementVNode( "text", { class: "right-huli-text" }, vue.toDisplayString(item.name), 1 /* TEXT */ ), vue.withDirectives(vue.createElementVNode( "div", { class: "progress-bar-container" }, [ vue.createElementVNode( "div", { style: vue.normalizeStyle({ width: `${item.number}%` }), class: "progress-bar" }, null, 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, item.number !== 0] ]) ]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true), $props.darkFans ? (vue.openBlock(), vue.createElementBlock("scroll-view", { key: 1, "show-scrollbar": false, "scroll-y": "true", class: "right-huli-view" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.mediumListdark, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "right-huli-view-dis" }, [ vue.createElementVNode("image", { class: "right-huli-img", src: item.url }, null, 8, ["src"]), vue.createElementVNode( "text", { class: "right-huli-text-dark" }, vue.toDisplayString(item.name), 1 /* TEXT */ ), vue.withDirectives(vue.createElementVNode( "div", { class: "progress-bar-container" }, [ vue.createElementVNode( "div", { style: vue.normalizeStyle({ width: `${item.number}%` }), class: "progress-bar" }, null, 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, item.number !== 0] ]) ]); }), 128 /* KEYED_FRAGMENT */ )) ])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("image", { class: "right-huli-xia", src: `/static/index/hulilist/xia.png` }, null, 8, ["src"]) ]) ], 2 /* CLASS */ ) ], 6 /* CLASS, STYLE */ ), vue.createElementVNode( "view", { style: vue.normalizeStyle($setup.isPopupVisiblefiropenthi || $setup.isPopupVisiblethi ? { zIndex: 999 } : { zIndex: 0 }), class: vue.normalizeClass([$setup.isPopupVisiblethi ? "right-container-right-big" : "right-container-right-small"]) }, [ vue.createElementVNode( "view", { class: vue.normalizeClass([$props.darkFans ? "right-container-right-father-dark" : "right-container-right-father"]) }, [ vue.createElementVNode("view", { class: "right-container-right-down-father" }, [ vue.createElementVNode("div", { class: "right-container-fir-left-card-flex-sec" }, [ vue.createElementVNode("image", { class: "right-container-fir-left-card-flex-sec-img", src: `/static/index/baojielei.png` }, null, 8, ["src"]), vue.createElementVNode("div", { class: "right-container-fir-left-card-flex-sec-font", onClick: $setup.showPopupthi }, "保洁类"), vue.createElementVNode("image", { class: "right-container-fir-left-card-flex-sec-imgright-fir", src: `/static/index/baojieleft.png` }, null, 8, ["src"]), vue.createElementVNode("image", { class: "right-container-fir-left-card-flex-sec-imgright-sec", src: `/static/index/baojieright.png` }, null, 8, ["src"]), vue.createElementVNode("view", { class: "uni-margin-wrap" }, [ vue.createElementVNode("swiper", { current: $setup.secondcurrentIndex, class: "swiper", circular: "", "indicator-dots": false, autoplay: false, interval: 4e3, duration: 500 }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3], (item, index2) => { return vue.createElementVNode("swiper-item", { class: "swiper-item-flex", key: index2 }, [ vue.createElementVNode("view", { class: "time-tra-thi" }, [ vue.createElementVNode("view", { class: "time-tra-thi-zhixing" }, [ vue.createElementVNode("div", { class: "time-tra-thi-zhixing-font" }, "待执行 ") ]), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-font-dark` : `time-font`) }, " 10:00 - 10:10 ", 2 /* CLASS */ ), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-text-dark` : `time-text`) }, " 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ", 2 /* CLASS */ ), vue.createElementVNode("view", { class: "time-people-two" }, [ vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 单人执行 ", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "time-people-img", src: $props.darkFans ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-people-font-dark` : `time-people-font`) }, " 王金福 / 李贵田 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "time-button-view" }, [ vue.createElementVNode("view", { class: "time-button-start" }, " 开始服务 "), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `time-button-end-dark` : `time-button-end`) }, " 服务结束 ", 2 /* CLASS */ ) ]) ]), vue.createElementVNode("view", { class: "time-tra-thi-photo" }, [ vue.createElementVNode("image", { class: "time-tra-thi-photo-img", src: `/static/index/project3.png`, onClick: $setup.showPopupthi }, null, 8, ["src"]), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `time-tra-thi-photo-font-dark` : `time-tra-thi-photo-font`) }, " 更换纸尿裤 ", 2 /* CLASS */ ) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 8, ["current"]) ]) ]) ]) ], 2 /* CLASS */ ) ], 6 /* CLASS, STYLE */ ), vue.createElementVNode("view", { class: "under-father" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.undericonList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { class: "under-father-view", key: index2, onClick: ($event) => $setup.changeMenuUnder(index2) }, [ vue.withDirectives(vue.createElementVNode( "image", { class: "under-father-light", src: _imports_1$4 }, null, 512 /* NEED_PATCH */ ), [ [vue.vShow, index2 === $setup.undermenuIndex] ]), vue.createElementVNode("image", { class: "under-father-img", src: index2 === $setup.undermenuIndex ? item.targetUrl : item.url }, null, 8, ["src"]), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `under-father-img-font-dark` : `under-father-img-font`) }, vue.toDisplayString(item.name), 3 /* TEXT, CLASS */ ) ], 8, ["onClick"]); }), 128 /* KEYED_FRAGMENT */ )) ]) ]), vue.createVNode( $setup["Drawer"], { ref: "drawer" }, { default: vue.withCtx(() => [ vue.createCommentVNode(" 转单执行 "), vue.createVNode($setup["transferExecution"]) ]), _: 1 /* STABLE */ }, 512 /* NEED_PATCH */ ) ], 4 /* STYLE */ ); } const rightItemsfirst = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g], ["__scopeId", "data-v-9f74ebdb"], ["__file", "D:/hldy_app/component/rightItemsindex/index.vue"]]); const base_url = "http://192.168.2.199:8081/nursing-unit_001"; const timeout$1 = 5e3; const index = (params) => { let url2 = params.url; let method = params.method || "get"; let data2 = params.data || {}; let header = { "Blade-Auth": uni.getStorageSync("token") || "", "Content-Type": "application/json;charset=UTF-8", "Authorization": "Basic c2FiZXI6c2FiZXJfc2VjcmV0", "Tenant-Id": uni.getStorageSync("tenantId") || "xxx", // avue配置相关 ...params.header }; return new Promise((resolve, reject) => { uni.request({ url: base_url + url2, method, header, data: data2, timeout: timeout$1, success(response) { const res = response; if (res.statusCode == 200) { resolve(res.data); } else { uni.clearStorageSync(); switch (res.statusCode) { case 401: uni.showModal({ title: "提示", content: "请登录", showCancel: false, success() { setTimeout(() => { uni.navigateTo({ url: "/pages/login/login" }); }, 1e3); } }); break; case 404: uni.showToast({ title: "请求地址不存在...", duration: 2e3 }); break; default: uni.showToast({ title: "请重试...", duration: 2e3 }); break; } } }, fail(err) { formatAppLog("log", "at request/index.js:71", err); if (err.errMsg.indexOf("request:fail") !== -1) { uni.showToast({ title: "网络异常", icon: "error", duration: 2e3 }); } else { uni.showToast({ title: "未知异常", duration: 2e3 }); } reject(err); }, complete() { uni.hideLoading(); uni.hideToast(); } }); }).catch(() => { }); }; const myArray = [ { "children": [ { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900421622979706886", "title": "协助喂药", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902604232524795905", "title": "鼻饲喂药", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902604428667228162", "title": "注射器/吸管喂药", "tagName": "头部,大体重" } ], "levle": "2", "title": "协助喂药", "key": "1900114812020310017", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902605892869394433", "title": "一级压疮防护", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902606105021485058", "title": "二级压疮防护", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902606339931869185", "title": "三级压疮防护", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902606614344208386", "title": "一级压疮防护", "tagName": "大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902606869953482753", "title": "二级压疮防护", "tagName": "大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902607023431454722", "title": "三级压疮防护", "tagName": "大体重" } ], "levle": "2", "title": "压疮防护", "key": "1900115034452639746", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900421622979706887", "title": "床椅转移", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900421622979706888", "title": "床椅转移", "tagName": "大体重" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902605073730211842", "title": "床椅转移", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902605223185846273", "title": "床椅转移", "tagName": "大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902605365393723393", "title": "协助床椅转移", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902605496071458818", "title": "协助床椅转移", "tagName": null } ], "levle": "2", "title": "床椅转移", "key": "1902248363784159233", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902607507626102786", "title": "轮椅防护", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902607677415723010", "title": "轮椅防护", "tagName": "大体重" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902607817589362689", "title": "轮椅防护", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902608061588803585", "title": "轮椅防护", "tagName": "大体重" } ], "levle": "2", "title": "轮椅防护", "key": "1902280900178886657", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902608564582322178", "title": "约束位按摩", "tagName": "手" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902608974609092610", "title": "约束位按摩", "tagName": "足" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902618507855237121", "title": "约束位按摩", "tagName": "全" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902618751548493825", "title": "防护网约束", "tagName": null } ], "levle": "2", "title": "约束防护", "key": "1902280933364219906", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902620309090701314", "title": "协助行走", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902620486044192769", "title": "放松按摩", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "30", "id": "1902625161569079298", "title": "心灵慰藉", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "10", "id": "1902625402468929537", "title": "狂躁", "tagName": null } ], "levle": "2", "title": "按摩保健", "key": "1902564031454744577", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902625872432304130", "title": "准备衣物", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902626005538541569", "title": "协助更换", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902626664711163905", "title": "肢体障碍", "tagName": "半侧" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902626800510144513", "title": "肢体障碍", "tagName": "全身" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902627064688381953", "title": "准备衣物", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902627280716009474", "title": "协助更换", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902627416598876161", "title": "肢体障碍", "tagName": "半侧" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902627522404388866", "title": "肢体障碍", "tagName": "全身" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902627711806574593", "title": "协助更换", "tagName": "大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902628058591629313", "title": "肢体障碍", "tagName": "半侧,大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902628650718302209", "title": "肢体障碍", "tagName": "大体重,全测" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902628837725540354", "title": "肢体障碍", "tagName": "大体重,全测" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902628966847188993", "title": "肢体障碍", "tagName": "大体重,半侧" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902629129879785474", "title": "协助更换", "tagName": "大体重" } ], "levle": "2", "title": "更换衣物", "key": "1902564088417587201", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902629344456183809", "title": "坐起", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902629492301205506", "title": "躺下", "tagName": null } ], "levle": "2", "title": "调整坐卧", "key": "1902564199830884354", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "55", "id": "1902630862769065985", "title": "遗体净身", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "55", "id": "1902631162275926017", "title": "遗体穿衣", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "30", "id": "1902631422431825921", "title": "遗体转移", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "30", "id": "1902631602463936514", "title": "床位消毒", "tagName": null } ], "levle": "2", "title": "殡仪服务", "key": "1902564263743688705", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902631830441136129", "title": "更换床上用品", "tagName": "全部" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902632063828987905", "title": "隔尿褥子更换", "tagName": null } ], "levle": "2", "title": "更换床上用品", "key": "1902564446648897538", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902632288270389250", "title": "临终护理", "tagName": null } ], "levle": "2", "title": "临终服务", "key": "1902564503783706625", "parentId": "1900112597427793921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "40", "id": "1902632678701371393", "title": "制氧机吸氧", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902632799853842433", "title": "制氧机维护", "tagName": null } ], "levle": "2", "title": "制氧机应用", "key": "1902564586101116930", "parentId": "1900112597427793921" } ], "levle": "1", "title": "1 日常照料", "key": "1900112597427793921" }, { "children": [ { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900376187661553665", "title": "准备洁具", "tagName": "口腔" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900420873478553602", "title": "棉球清洁", "tagName": "口腔" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900421622979706881", "title": "协助清洁", "tagName": "口腔" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1900421622979706885", "title": "义齿清洁", "tagName": "口腔" } ], "levle": "2", "title": "口腔清洁", "key": "1902597070889127938", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902636771540963329", "title": "准备洁具", "tagName": "头部" }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "20", "id": "1902637623425077250", "title": "协助洗头", "tagName": null }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "20", "id": "1902637985234128898", "title": "卧式洗头", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902638122949906433", "title": "擦头", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "10", "id": "1902638304739430401", "title": "刮头", "tagName": null } ], "levle": "2", "title": "头部清洁", "key": "1902597497344987137", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902641763073101826", "title": "准备洁具", "tagName": "面部" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902642254465175553", "title": "协助洁面", "tagName": null } ], "levle": "2", "title": "面部清洁", "key": "1902597651405967361", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902642508145070081", "title": "准备洁具", "tagName": "躯干" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902642672796667905", "title": "协助清洁", "tagName": "躯干" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902642822885642242", "title": "卧床清洁", "tagName": "躯干" } ], "levle": "2", "title": "躯干清洁", "key": "1902597718082818050", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902643318811758594", "title": "准备洁具", "tagName": "四肢" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902643483320750082", "title": "协助清洁", "tagName": "四肢" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902643630888947713", "title": "卧床清洁", "tagName": "四肢" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902643837525528578", "title": "肌张力高", "tagName": "清洁" } ], "levle": "2", "title": "四肢清洁", "key": "1902597811565465601", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902645148199391234", "title": "会阴清洁", "tagName": "男" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902645295457210369", "title": "会阴清洁", "tagName": "女" } ], "levle": "2", "title": "会阴清洁", "key": "1902597873964126209", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902645493185089537", "title": "肛周清洁", "tagName": null } ], "levle": "2", "title": "肛周清洁", "key": "1902597930020999170", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902645693211447298", "title": "洗手", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902647316134465538", "title": "泡手", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902647529817477122", "title": "准备洁具", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902647673212342274", "title": "协助洗手", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902647905878773762", "title": "强直屈曲洗手", "tagName": null } ], "levle": "2", "title": "手清洁", "key": "1902597991698239489", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902648101203316737", "title": "泡脚", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902648239091060737", "title": "卧式泡脚", "tagName": null } ], "levle": "2", "title": "足清洁", "key": "1902598178588037121", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902648426383511553", "title": "修睫毛", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902648548777496577", "title": "剃须", "tagName": null } ], "levle": "2", "title": "剃须", "key": "1902598258573414401", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902648962444922882", "title": "角质增生", "tagName": "修甲" }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902649132536532994", "title": "灰指甲", "tagName": "修甲" }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902649302149992449", "title": "正常", "tagName": "修甲" } ], "levle": "2", "title": "修甲", "key": "1902598354606198785", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "20", "id": "1902649683919736834", "title": "理发", "tagName": null }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "25", "id": "1902649860344745985", "title": "理发", "tagName": "颅骨缺损" } ], "levle": "2", "title": "理发", "key": "1902598400382832642", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "周期护理", "levle": "3", "serviceDuration": "5", "id": "1902650121280786434", "title": "床上沐浴", "tagName": null }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "55", "id": "1902650408884211713", "title": "深度清洁", "tagName": null }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "55", "id": "1902650763722330113", "title": "浴间洗浴", "tagName": null }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "30", "id": "1902651229122301954", "title": "床上沐浴", "tagName": "大体重" }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "55", "id": "1902651366317985794", "title": "深度清洁", "tagName": "大体重" }, { "cycleType": "周期护理", "levle": "3", "serviceDuration": "55", "id": "1902651555363655682", "title": "浴间洗浴", "tagName": "大体重" } ], "levle": "2", "title": "沐浴", "key": "1902598454782955522", "parentId": "1900112615777873921" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "10", "id": "1902651778777452545", "title": "内套管清洁", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "10", "id": "1902651924047171586", "title": "更换气切纱布", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "10", "id": "1902652055928672258", "title": "更换气切纱布", "tagName": null } ], "levle": "2", "title": "气切消毒", "key": "1902598509522817026", "parentId": "1900112615777873921" } ], "levle": "1", "title": "2 清洁照料", "key": "1900112615777873921" }, { "children": [ { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902898057679966209", "title": "准备餐具", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902898202668666881", "title": "协助进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902898339931459586", "title": "协助进餐", "tagName": "超时" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902898472584712194", "title": "鼻胃管进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902898590658564097", "title": "胃肠管进餐", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902898719952179201", "title": "准备餐具", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902898979948695554", "title": "协助进餐", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902899086840532993", "title": "协助进餐", "tagName": "超时" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902899214838108162", "title": "鼻胃管进餐", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902899325014085633", "title": "胃肠管进餐", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902899587028062210", "title": "食物加工", "tagName": null } ], "levle": "2", "title": "加餐饮食", "key": "1902596129720864770", "parentId": "1902280495747317762" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902281139677839362", "title": "准备餐具", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "10", "id": "1902281522340970498", "title": "鼻胃管进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902281654100836354", "title": "协助进餐", "tagName": "超时" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902281870434648066", "title": "协助进餐", "tagName": "正常" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902654960639381506", "title": "鼻肠管进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902655101874180097", "title": "轮椅进餐", "tagName": "大体重" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902892199009030145", "title": "轮椅进餐", "tagName": null } ], "levle": "2", "title": "正餐饮食", "key": "1902601263850950657", "parentId": "1902280495747317762" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902893231608926209", "title": "准备餐具", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902893551978254337", "title": "协助进餐", "tagName": "正常" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902893716466274306", "title": "协助进餐", "tagName": "超时" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902894369850757122", "title": "鼻胃管进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902894528533860354", "title": "鼻肠管进餐", "tagName": null } ], "levle": "2", "title": "辅餐饮食", "key": "1902601382595891202", "parentId": "1902280495747317762" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902894832176304129", "title": "准备餐具", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902894954117304322", "title": "协助进餐", "tagName": "正常" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902895077522116609", "title": "协助进餐", "tagName": "超时" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902895233407619073", "title": "鼻胃管进餐", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902895569912434689", "title": "鼻肠管进餐", "tagName": null } ], "levle": "2", "title": "果汁饮食", "key": "1902601427168759809", "parentId": "1902280495747317762" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902895878508351489", "title": "准备水杯", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902895984053817346", "title": "协助饮水", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902896136835534850", "title": "协助饮水", "tagName": "超时" }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902896508421509122", "title": "鼻胃管饮水", "tagName": null }, { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902896636553302017", "title": "鼻肠管饮水", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902896855802155010", "title": "准备水杯", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902897018344017921", "title": "协助饮水", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902897464936730626", "title": "协助饮水", "tagName": "超时" }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902897675813752834", "title": "鼻胃管饮水", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902897803417063426", "title": "鼻肠管饮水", "tagName": null } ], "levle": "2", "title": "饮水饮食", "key": "1902601487625457665", "parentId": "1902280495747317762" } ], "levle": "1", "title": "3 饮食照料", "key": "1902280495747317762" }, { "children": [ { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902653177363927041", "title": "巡视", "tagName": null } ], "levle": "2", "title": "巡视", "key": "1902564741860790273", "parentId": "1902560466095017986" }, { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902653325481578497", "title": "防坠床", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902653497066360833", "title": "被褥调整", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902653650917625857", "title": "睡姿调整", "tagName": null } ], "levle": "2", "title": "体位调整", "key": "1902564818838851585", "parentId": "1902560466095017986" } ], "levle": "1", "title": "4 睡眠照料", "key": "1902560466095017986" }, { "children": [ { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902904277308510210", "title": "更换尿袋", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902904458779267073", "title": "更换隔尿垫", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902905631242424322", "title": "使用尿盆", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902905824973131777", "title": "使用尿壶", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902906220483416065", "title": "协助入厕", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902906459051233281", "title": "坐便椅", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902906610562076674", "title": "留置尿袋", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902906783325458434", "title": "更换纸尿裤", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902908406344945665", "title": "热敷抚触排尿", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902908523827400705", "title": "协助坐便椅", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902909645401067522", "title": "更换尿片", "tagName": null } ], "levle": "2", "title": "小便", "key": "1902596314152800257", "parentId": "1902560510768549889" }, { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902909835331735554", "title": "床上排便", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910002671882242", "title": "协助坐便椅", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910156154048514", "title": "协助入厕", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910361008050178", "title": "人工取便", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910524623654913", "title": "造瘘袋", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910700176248834", "title": "坐便椅", "tagName": null } ], "levle": "2", "title": "大便", "key": "1902596399423000577", "parentId": "1902560510768549889" }, { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902910899565072385", "title": "口腔吸痰", "tagName": null }, { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902911047405899778", "title": "气切吸痰", "tagName": null } ], "levle": "2", "title": "吸痰", "key": "1902596461238652930", "parentId": "1902560510768549889" }, { "children": [ { "cycleType": "即时护理", "levle": "3", "serviceDuration": "5", "id": "1902911232974491650", "title": "呕吐", "tagName": null } ], "levle": "2", "title": "呕吐", "key": "1902596886771765250", "parentId": "1902560510768549889" }, { "children": [ { "cycleType": "日常护理", "levle": "3", "serviceDuration": "5", "id": "1902911378349068290", "title": "腹腔引流护理", "tagName": null } ], "levle": "2", "title": "引流", "key": "1902596940366581762", "parentId": "1902560510768549889" } ], "levle": "1", "title": "5 排泄照料", "key": "1902560510768549889" } ]; const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({ __name: "index", props: { isshow: { type: Boolean, required: true }, darkFans: { type: Boolean, required: true }, canmove: { type: Boolean, required: true }, liang: { type: Object } }, emits: ["darkchange", "savename", "saveruler", "closename", "changefangkuang"], setup(__props, { expose: __expose, emit: __emit }) { const props = __props; vue.watch( () => props.canmove, () => { bottomisShaking.value = false; } ); vue.watch( () => props.isshow, () => { bottomisShaking.value = false; shakyTable.value = false; } ); vue.onMounted(() => { }); const bottomItems = vue.ref([ { name: "纸尿裤", url: "/static/index/niao.png" }, { name: "呕吐", url: "/static/index/tu.png" }, { name: "吸痰", url: "/static/index/ou.png" }, { name: "大便", url: "/static/index/baba.png" }, { name: "纸尿裤", url: "/static/index/niao.png" }, { name: "呕吐", url: "/static/index/tu.png" }, { name: "吸痰", url: "/static/index/ou.png" }, { name: "大便", url: "/static/index/baba.png" }, { name: "纸尿裤", url: "/static/index/niao.png" }, { name: "呕吐", url: "/static/index/tu.png" }, { name: "吸痰", url: "/static/index/ou.png" }, { name: "大便", url: "/static/index/baba.png" }, { name: "纸尿裤", url: "/static/index/niao.png" }, { name: "呕吐", url: "/static/index/tu.png" }, { name: "吸痰", url: "/static/index/ou.png" }, { name: "大便", url: "/static/index/baba.png" } ]); const timeArray = [ `00`, `05`, `10`, `15`, `20`, `25`, `30`, `35`, `40`, `45`, `50`, `55` ]; const weekDays = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"]; const days = Array.from({ length: 31 }, (_, i) => (i + 1).toString().padStart(2, "0")); const isweek = vue.ref(true); const scrollLeft = vue.ref(0); const scrollTop = vue.ref(0); const downList = vue.ref(); const rightList = vue.ref([ // "三分段", // "四分段", ]); const bigArray = vue.ref([]); const isopen = vue.ref(false); const songisopen = vue.ref(false); const isopacity = vue.ref(false); const songisopacity = vue.ref(false); const deleteisopen = vue.ref(false); const deletename = vue.ref(""); const deleteisopacity = vue.ref(false); const currentNumber = vue.ref(1); const scrollKey = vue.ref(0); function pseudoRandom(index0, index1) { const seed = index0 * 55.9898 + index1 * 78.233; return Math.abs(Math.sin(seed) * 43758.5453) % 1; } function computeDelay(index0, index1) { const range2 = 2; return pseudoRandom(index0, index1) * range2; } const changecurrentNumber = (event) => { currentNumber.value = event.detail.current; vue.nextTick(() => { scrollTop.value = moveDownNumber.value; }); }; const dragOffset = vue.ref(0); const moveDownNumber = vue.ref(0); function handleScrolltime(e) { let num = e.detail.scrollTop; let formattedNum = parseFloat(num.toFixed(2)); moveDownNumber.value = formattedNum; } const changeBug = vue.ref(true); const nextItems = () => { currentNumber.value > 2 ? currentNumber.value = 0 : currentNumber.value++; }; const getClass = (item, index0, index1) => { if (!props.canmove && props.liang.index0 === index0 && props.liang.index1 === index1 && (redNameindex0.value.includes(index0 + currentNumber.value * 6) || redNameindex1.value != index1)) { return "title-time-border-red"; } else if (!props.canmove && props.liang.index0 === index0 && props.liang.index1 === index1) { return "title-time-border-blue"; } else if (item.cycleType === "日常") { if (flyNumber.value.index0 === index0 + currentNumber.value * 6 && flyNumber.value.index1 === index1 && shakyTable.value) { return "title-time-border-yellow-active-transparent"; } else if (shakyTable.value) { return "title-time-border-yellow-active"; } else { return "title-time-border-yellow"; } } else if (item.cycleType) { if (flyNumber.value.index0 === index0 + currentNumber.value * 6 && flyNumber.value.index1 === index1 && shakyTable.value) { return "title-time-border-pouple-active-transparent"; } else if (shakyTable.value) { return "title-time-border-pouple-active"; } else { return "title-time-border-pouple"; } } return "title-time-border"; }; const doctorsayList = vue.ref([ { url: "/static/index/doctorsay/light/clean.png", targetUrl: "/static/index/doctorsay/dark/clean.png", name: "清洁" }, { url: "/static/index/doctorsay/light/drink.png", targetUrl: "/static/index/doctorsay/dark/drink.png", name: "饮食" }, { url: "/static/index/doctorsay/light/bed.png", targetUrl: "/static/index/doctorsay/dark/bed.png", name: "睡眠" }, { url: "/static/index/doctorsay/light/shi.png", targetUrl: "/static/index/doctorsay/dark/shi.png", name: "排泻" }, { url: "/static/index/doctorsay/light/use.png", targetUrl: "/static/index/doctorsay/dark/use.png", name: "日常" } ]); const rightListIndex = vue.ref(1); const upmenuIndex = vue.ref(0); const downmenuIndex = vue.ref(999); const underFans = vue.ref(false); const roomTar = vue.ref([]); const emit = __emit; const darkFanschange = () => { emit("darkchange", !props.darkFans); }; const changLeft = (index2) => { upmenuIndex.value = index2; downList.value = bigArray.value[index2].children; downmenuIndex.value = 999; }; const rightListClick = (index2) => { rightListIndex.value = index2; }; const timer = vue.ref(null); const elementsInfo = vue.ref({}); const moveX = vue.ref(0); const moveY = vue.ref(0); const openX = vue.ref(0); const openY = vue.ref(0); const flyNumber = vue.ref({ index0: 999, index1: 999, typeName: "" }); const deletebottomindex = vue.ref(-1); const deletedownisopen = vue.ref(false); const deletedownisopacity = vue.ref(false); const deletebottom = (index2, name) => { bottomisShaking.value = false; deletebottomindex.value = index2; shakyTable.value = false; deletedownisopacity.value = false; deletedownisopen.value = true; deletename.value = name; setTimeout(() => { deletedownisopacity.value = true; }, 200); }; const deleteindex = vue.ref([-1, -1]); const deleteId = vue.ref(""); const deleteItems = (item, index0, index1) => { deleteindex.value = [-1, -1]; shakyTable.value = false; bottomisShaking.value = false; deleteisopacity.value = false; deleteisopen.value = true; deleteindex.value = [index0 + currentNumber.value * 6, index1]; deletename.value = item.directiveName; deleteId.value = item.id; setTimeout(() => { deleteisopacity.value = true; }, 200); }; const touchindex1 = vue.ref(-1); const shareShow = vue.ref(false); const shareToWeixin = () => { shareShow.value = true; deletedownisopacity.value = false; setTimeout(() => { deletedownisopacity.value = true; }, 100); }; const clickshare = () => { uni.share({ provider: "weixin", scene: "WXSceneSession", type: 0, href: "http://192.168.2.31:3101/daytoday", title: "护理日程分享", summary: "九泰护理日程测试", imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png", success: function(res) { formatAppLog("log", "at component/rightItemssecond/index.vue:713", "success:"); }, fail: function(err) { formatAppLog("log", "at component/rightItemssecond/index.vue:716", "fail:"); } }); }; const rulerTouchClick = (item, index0, index1, e) => { if (item.directiveName) { touchindex1.value = index1; const query = uni.createSelectorQuery(); query.selectAll(".super-card-time-card").boundingClientRect((data2) => { data2.forEach(async (res) => { if (res.left > 200 && res.left < 1067 && res.top < 570 && res.top > 140 && res.dataset.index0 == index0 && res.dataset.index1 == index1) { if (res.left > 200 && res.left < 500) { openX.value = Math.floor(res.left) + 520; } else { openX.value = Math.floor(res.left); } if (res.top > 140 && res.top < 300) { openY.value = Math.floor(res.top) + 250; } else { openY.value = Math.floor(res.top); } await vue.nextTick(); isopen.value = true; isopacity.value = false; setTimeout(() => { isopacity.value = true; }, 100); } }); }).exec(); } }; const shakyTable = vue.ref(false); const reldata = vue.ref([]); const rulerTouchStart = (item, index0, index1, e) => { scrollTop.value = moveDownNumber.value; redNameindex0.value = []; let index1Number = -1; moveX.value = Math.floor(e.touches[0].pageX); moveY.value = Math.floor(e.touches[0].pageY); timer.value = setTimeout(() => { if (item.directiveName) { timearr.value.forEach((element0, index02) => { element0.children.forEach((element1) => { if (element1.typeName === item.typeName && element1.directiveName) { redNameindex0.value.push(index02); } if (element1.directiveName) { index1Number = index02; } }); }); if (redNameindex0.value.length) { redNameindex1.value = index1; } else { redNameindex1.value = index1Number + 1; } flyNumber.value.typeName = item.typeName; flyNumber.value.index0 = index0 + currentNumber.value * 6; flyNumber.value.index1 = index1; indexsave.value = [-1, -1]; reldata.value = []; isTuoing.value = true; const query = uni.createSelectorQuery(); query.selectAll(".super-card-time-card").boundingClientRect((data2) => { data2.forEach(async (res) => { if (res.left > 200 && res.left < 1067 && res.top < 570 && res.top > 140) { shakyTable.value = true; reldata.value.push(res); } }); }).exec(); emit("saveruler", item, reldata.value); } }, 100); }; const rulerTouchMove = (e) => { const moveXa = Math.floor(e.touches[0].pageX); const moveYa = Math.floor(e.touches[0].pageY); if (Math.abs(moveXa - moveX.value) > 0 || Math.abs(moveYa - moveY.value) > 0) { if (timer.value) { clearTimeout(timer.value); timer.value = null; } } }; const rulerTouchEnd = () => { isTuoing.value = false; if (timer.value) { clearTimeout(timer.value); timer.value = null; } }; const deleteRuler = (index0, index1) => { timearr.value[index0].children[index1] = { directiveName: "" }; isopen.value = false; flyNumber.value.index0 = 999; flyNumber.value.index1 = 999; let emptyChildIndices = []; let emptyChildNumber = 0; timearr.value.forEach((res, rowIndex) => { emptyChildIndices = []; emptyChildNumber = res.children.length; res.children.forEach((child, index2) => { if (child.directiveName === null || child.directiveName === "" || child.directiveName === void 0) { const isEmptyInAllRows = timearr.value.every((otherRes) => { const otherChild = otherRes.children[index2]; return otherChild === void 0 || otherChild.directiveName === null || otherChild.directiveName === "" || otherChild.directiveName === void 0; }); if (isEmptyInAllRows) { emptyChildIndices.push(index2); } } }); }); if (emptyChildNumber > 4 && emptyChildIndices.length > 1) { timearr.value.forEach((res, rowIndex) => { res.children.splice(emptyChildIndices[0], 1); }); } else { timearr.value.forEach((res, rowIndex) => { res.children.splice(emptyChildIndices[0], 1); res.children.push({ directiveName: "" }); }); } deleteisopen.value = false; saveAll(); }; const longPressTimer = vue.ref(null); const isScrolling = vue.ref(false); let scrollTimeout = null; function handleScroll(e) { isScrolling.value = true; if (scrollTimeout) clearTimeout(scrollTimeout); scrollTimeout = setTimeout(() => { isScrolling.value = false; }, 400); } const isBack = vue.ref(false); const saveX = vue.ref(0); const saveY = vue.ref(0); const isTuoing = vue.ref(false); const redNameindex0 = vue.ref([]); const redNameindex1 = vue.ref(-1); const saveId = vue.ref(""); const saveTagName = vue.ref(""); const handleTouchStart = (item, index2, e) => { scrollTop.value = moveDownNumber.value; shakyTable.value = false; saveX.value = Math.floor(e.touches[0].pageX); saveY.value = Math.floor(e.touches[0].pageY); longPressTimer.value = setTimeout(() => { let noHave = false; timearr.value[0].children.forEach((element, index0) => { if (element.typeName === item.title) { scrollTop.value = 0; scrollTop.value = index0 * 104; noHave = true; } }); if (!noHave) { scrollTop.value = 0; scrollTop.value = 999; } }, 190); longPressTimer.value = setTimeout(() => { redNameindex0.value = []; if (isScrolling.value) return; let index1save = -1; let indexanthersave = -1; timearr.value.forEach((element0, index0) => { element0.children.forEach((element1, index1) => { if (element1.typeName === item.title && element1.directiveName) { redNameindex0.value.push(index0); index1save = index1; } if (element1.directiveName) { if (index1 > indexanthersave) { indexanthersave = index1; } } }); }); if (redNameindex0.value.length) { redNameindex1.value = index1save; } else { redNameindex1.value = indexanthersave + 1; } isBack.value = true; downmenuIndex.value = index2; indexsave.value = [-1, -1]; isTuoing.value = true; reldata.value = []; const query = uni.createSelectorQuery(); query.selectAll(".super-card-time-card").boundingClientRect((data2) => { data2.forEach((res) => { if (res.left > 200 && res.left < 1067 && res.top < 570 && res.top > 140) { reldata.value.push(res); } }); }).exec(); emit("savename", item.title, reldata.value); }, 200); }; function isblue() { if (!openOp.value && cardsumit.value.startTime || openOp.value === 1 && cardsumit.value.startTime && (cardsumit.value.weekTime || cardsumit.value.monthTime) || openOp.value === 2) { return true; } else { return false; } } const handleTouchMove = (e) => { const moveX2 = Math.floor(e.touches[0].pageX); const moveY2 = Math.floor(e.touches[0].pageY); if (Math.abs(moveX2 - saveX.value) > 0 || Math.abs(moveY2 - saveY.value) > 0) { if (longPressTimer.value) { clearTimeout(longPressTimer.value); longPressTimer.value = null; } } }; const handleTouchEnd = () => { isTuoing.value = false; if (longPressTimer.value) { clearTimeout(longPressTimer.value); longPressTimer.value = null; } }; const bottomTimer = vue.ref(null); const bottomisShaking = vue.ref(false); const bottomTouchStart = (e) => { saveX.value = Math.floor(e.touches[0].pageX); saveY.value = Math.floor(e.touches[0].pageY); bottomTimer.value = setTimeout(() => { bottomisShaking.value = true; }, 500); }; const bottomTouchMove = (e) => { const moveX2 = Math.floor(e.touches[0].pageX); const moveY2 = Math.floor(e.touches[0].pageY); if (Math.abs(moveX2 - saveX.value) > 0 || Math.abs(moveY2 - saveY.value) > 0) { if (bottomTimer.value) { clearTimeout(bottomTimer.value); bottomTimer.value = null; } } }; const bottomTouchEnd = () => { if (bottomTimer.value) { clearTimeout(bottomTimer.value); bottomTimer.value = null; } }; const openValue = vue.ref({ time: "", array: [] }); const cardsumit = vue.ref({ op: { name: "", index: [-1, -1, -1] }, startTime: "", monthTime: "", weekTime: "" }); const openOp = vue.ref(0); const clickOp = (index2, item) => { cardsumit.value.startTime = ""; cardsumit.value.monthTime = ""; cardsumit.value.weekTime = ""; saveId.value = item.id; saveTagName.value = item.tagName; if (cardsumit.value.op.index[2] === index2) { cardsumit.value.op.index[2] = -1; cardsumit.value.op.name = ""; openOp.value = -1; } else { cardsumit.value.op.index[2] = index2; cardsumit.value.op.name = item.relName; switch (item.cycleType) { case `日常护理`: openOp.value = 0; break; case `周期护理`: openOp.value = 1; break; case `即时护理`: openOp.value = 2; break; } } }; const clickTime = (index2) => { if (cardsumit.value.startTime == index2) { cardsumit.value.startTime = ""; } else { cardsumit.value.startTime = index2; } }; const clickweek = (index2) => { if (cardsumit.value.weekTime == index2) { cardsumit.value.weekTime = ""; } else { cardsumit.value.weekTime = index2; } }; const clickmonth = (index2) => { if (cardsumit.value.monthTime == index2) { cardsumit.value.monthTime = ""; } else { cardsumit.value.monthTime = index2; } }; const indexsave = vue.ref([-1, -1]); const rulerEnd = async (res) => { isBack.value = false; if (props.liang.index0 !== 999 && res) { if (redNameindex0.value.includes(props.liang.index0 + currentNumber.value * 6) || redNameindex1.value !== props.liang.index1) { return false; } cardsumit.value = { op: { name: "", index: [-1, -1, -1] }, startTime: "", monthTime: "", weekTime: "" }; songisopacity.value = false; songisopen.value = true; setTimeout(() => { songisopacity.value = true; }, 200); cardsumit.value.op.index[0] = upmenuIndex.value; cardsumit.value.op.index[1] = downmenuIndex.value; openValue.value.time = timearr.value[props.liang.index0 + currentNumber.value * 6].positioning; openValue.value.array = bigArray.value[upmenuIndex.value].children[downmenuIndex.value].children; openValue.value.array.forEach((element) => { element.relName = element.title + (element.tagName ? element.tagName.split(",").map((item) => `(${item})`).join("") : ""); }); indexsave.value = [props.liang.index0 + currentNumber.value * 6, props.liang.index1]; clickOp(0, openValue.value.array[0]); } }; const rulerMoveEnd = (object2) => { if (props.liang.index0 !== 999 && object2.cycleType) { if (redNameindex0.value.includes(props.liang.index0 + currentNumber.value * 6) || redNameindex1.value !== props.liang.index1) { return false; } indexsave.value = [props.liang.index0 + currentNumber.value * 6, props.liang.index1]; let savaIndex = -1; let emptyChildIndices = []; timearr.value.forEach((res, rowIndex) => { emptyChildIndices = []; res.children.forEach((child, index2) => { if (child.directiveName === null || child.directiveName === "" || child.directiveName === void 0) { const isEmptyInAllRows = timearr.value.every((otherRes) => { const otherChild = otherRes.children[index2]; return otherChild === void 0 || otherChild.directiveName === null || otherChild.directiveName === "" || otherChild.directiveName === void 0; }); if (isEmptyInAllRows) { emptyChildIndices.push(index2); } } }); res.children.forEach((item, index2) => { if (item.typeName == object2.typeName) { savaIndex = index2; } }); }); if (savaIndex === -1) { savaIndex = emptyChildIndices[0]; } let haveAnyItem = 0; let savetypeName = ""; timearr.value.forEach((element) => { if (element.children[0].value) { haveAnyItem++; savetypeName = element.children[0].typeName; } }); if (haveAnyItem > 1) { timearr.value[flyNumber.value.index0].children[flyNumber.value.index1] = { directiveName: "", typeName: savetypeName }; } else { timearr.value[flyNumber.value.index0].children[flyNumber.value.index1] = { directiveName: "" }; } timearr.value[indexsave.value[0]].children[savaIndex] = object2; let startTime = timearr.value[indexsave.value[0]].children[savaIndex].startTime; let endTime = timearr.value[indexsave.value[0]].children[savaIndex].endTime; let positioning = timearr.value[indexsave.value[0]].positioning; const rest = startTime.substring(startTime.indexOf(":")); const rest0 = endTime.substring(endTime.indexOf(":")); timearr.value[indexsave.value[0]].children[savaIndex].startTime = positioning + rest; timearr.value[indexsave.value[0]].children[savaIndex].endTime = positioning + rest0; const shouldAdd = timearr.value.some((obj) => { const children = obj.children; return children[children.length - 1].directiveName.trim() !== ""; }); if (shouldAdd) { timearr.value.forEach((obj) => { obj.children.push({ directiveName: "" }); }); scrollTop.value = 999; scrollTop.value = 9999; } saveAll(); } }; const scrollContainer = vue.ref(null); const movetoruler = async () => { songisopen.value = false; isweek.value = true; let savaIndex = -1; let emptyChildIndices = []; if (openOp.value === 2) { scrollLeft.value = 1; vue.nextTick(() => { scrollLeft.value = 0; bottomItems.value.unshift({ name: cardsumit.value.op.name, url: "/static/index/ou.png", target: `#00a8ff` }); setTimeout(() => { bottomItems.value[0].target = `#fff`; }, 1500); setTimeout(() => { bottomItems.value[0].target = ""; }, 3e3); }); return; } timearr.value.forEach((res, rowIndex) => { emptyChildIndices = []; res.children.forEach((child, index2) => { if (child.directiveName === null || child.directiveName === "" || child.directiveName === void 0) { const isEmptyInAllRows = timearr.value.every((otherRes) => { const otherChild = otherRes.children[index2]; return otherChild === void 0 || otherChild.directiveName === null || otherChild.directiveName === "" || otherChild.directiveName === void 0; }); if (isEmptyInAllRows) { emptyChildIndices.push(index2); } } }); res.children.forEach((item, index2) => { if (item.typeName == bigArray.value[cardsumit.value.op.index[0]].children[cardsumit.value.op.index[1]].title) { savaIndex = index2; } }); }); if (savaIndex === -1) { savaIndex = emptyChildIndices[0]; } let savetypeName = bigArray.value[cardsumit.value.op.index[0]].children[cardsumit.value.op.index[1]].title; await vue.nextTick(); timearr.value.forEach((element, index2) => { element.children[savaIndex].typeName = savetypeName; }); let cycleType = ""; if (!openOp.value) { cycleType = "日常"; } else if (openOp.value === 1) { cycleType = cardsumit.value.weekTime || cardsumit.value.monthTime + "号"; } const startHour = Number(openValue.value.time); const startMinute = Number(cardsumit.value.startTime); const endMinute = startMinute + 10; const endHour = startHour + Math.floor(endMinute / 60); const formattedStart = `${String(startHour)}:${String(startMinute).padStart(2, "0")}`; const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, "0")}`; if (savaIndex !== -1) { timearr.value[indexsave.value[0]].children[savaIndex].startTime = formattedStart; timearr.value[indexsave.value[0]].children[savaIndex].endTime = formattedEnd; } else { timearr.value[indexsave.value[0]].children[indexsave.value[1]].startTime = formattedStart; timearr.value[indexsave.value[0]].children[indexsave.value[1]].endTime = formattedEnd; } let param = { directiveId: saveId.value, directiveName: cardsumit.value.op.name, startTime: formattedStart, endTime: formattedEnd, positioning: indexsave.value[0].toString(), positioningLong: indexsave.value[1].toString(), tagName: saveTagName.value, cycleType, nuId: "1", customerId: "1", id: "", typeName: savetypeName }; timearr.value[indexsave.value[0]].children[savaIndex] = param; timearr.value.forEach((element) => { element.children.forEach((res) => { }); }); const shouldAdd = timearr.value.some((obj) => { const children = obj.children; return children[children.length - 1].directiveName.trim() !== ""; }); if (shouldAdd) { timearr.value.forEach((obj) => { obj.children.push({ directiveName: "" }); }); scrollTop.value = 999; vue.nextTick(); scrollTop.value = 9999; } saveAll(); }; const saveAll = () => { timearr.value.forEach((element0, index0) => { element0.children.forEach((element1, index1) => { let saveTypeName = ""; if (!element1.directiveName && !element1.id) { let array2 = {}; if (element1.typeName) { saveTypeName = element1.typeName; } array2 = JSON.parse(JSON.stringify(moBan.value)); saveTypeName ? array2.typeName = saveTypeName : ""; array2.positioning = index0; array2.positioningLong = index1; } else { element1.positioning = index0; element1.positioningLong = index1; } }); }); }; const routerPush = () => { uni.setStorage({ key: "myArray", data: timearr.value, success: function() { uni.navigateTo({ url: `/pages/timeMatrix/index?currentNumber=${currentNumber.value}` }); } // fail: function (err) { // __f__('error','at component/rightItemssecond/index.vue:1382','缓存失败:', err); // } }); }; const saveRulerTime = vue.ref({ index0: -1, index1: -1 }); const targetRuler = vue.ref({ index0: -1, index1: -1, current: -1, bordershow: true }); const whereEvent = (data2) => { scrollTop.value = 0; scrollTop.value = data2.index1 * 104; if (currentNumber.value === Math.floor(data2.index0 / 6)) { targetRuler.value.index0 = data2.index0 - currentNumber.value * 6; targetRuler.value.index1 = data2.index1; saveRulerTime.value.index0 = targetRuler.value.index0; saveRulerTime.value.index1 = targetRuler.value.index1; targetRuler.value.current = currentNumber.value; targetRuler.value.bordershow = false; setTimeout(() => { targetRuler.value.index0 = -1; targetRuler.value.index1 = -1; targetRuler.value.current = -1; }, 400); setTimeout(() => { targetRuler.value.bordershow = true; saveRulerTime.value.index0 = -1; saveRulerTime.value.index1 = -1; }, 1e3); } else { setTimeout(() => { currentNumber.value = Math.floor(data2.index0 / 6); }, 100); setTimeout(() => { targetRuler.value.index0 = data2.index0 - currentNumber.value * 6; targetRuler.value.index1 = data2.index1; saveRulerTime.value.index0 = targetRuler.value.index0; saveRulerTime.value.index1 = targetRuler.value.index1; targetRuler.value.current = currentNumber.value; targetRuler.value.bordershow = false; }, 800); setTimeout(() => { targetRuler.value.index0 = -1; targetRuler.value.index1 = -1; targetRuler.value.current = -1; }, 1400); setTimeout(() => { targetRuler.value.bordershow = true; saveRulerTime.value.index0 = -1; saveRulerTime.value.index1 = -1; }, 2200); } }; onShow(() => { bigArray.value = myArray; downList.value = bigArray.value[0].children; uni.$on("where", whereEvent); }); onHide(() => { uni.$off("where", whereEvent); }); __expose({ rulerEnd, rulerMoveEnd, nextItems }); const moveNumber = vue.ref({ index0: 999, index1: 999 }); const moBan = vue.ref({ directiveId: "", directiveName: "", startTime: "", endTime: "", positioning: "", positioningLong: "", tagName: "", cycleType: "", nuId: "1", customerId: "1", id: "", typeName: "" }); const timearr = vue.ref( Array.from({ length: 24 }, (_, hour) => ({ positioning: hour.toString(), children: Array.from({ length: 4 }, () => ({ directiveName: "" })) })) ); function splitString(str) { let result = []; let remainingStr = str; let regex = /([^((]*)[((]([^))]+)[))]/; while (regex.test(remainingStr)) { let match = remainingStr.match(regex); if (match) { if (match[1].trim()) { result.push(match[1].trim()); } if (match[2].trim()) { result.push(match[2].trim()); } remainingStr = remainingStr.replace(match[0], "").trim(); } } if (remainingStr.trim()) { result.push(remainingStr.trim()); } return result; } const __returned__ = { props, bottomItems, timeArray, weekDays, days, isweek, scrollLeft, scrollTop, downList, rightList, bigArray, isopen, songisopen, isopacity, songisopacity, deleteisopen, deletename, deleteisopacity, currentNumber, scrollKey, pseudoRandom, computeDelay, changecurrentNumber, dragOffset, moveDownNumber, handleScrolltime, changeBug, nextItems, getClass, doctorsayList, rightListIndex, upmenuIndex, downmenuIndex, underFans, roomTar, emit, darkFanschange, changLeft, rightListClick, timer, elementsInfo, moveX, moveY, openX, openY, flyNumber, deletebottomindex, deletedownisopen, deletedownisopacity, deletebottom, deleteindex, deleteId, deleteItems, touchindex1, shareShow, shareToWeixin, clickshare, rulerTouchClick, shakyTable, reldata, rulerTouchStart, rulerTouchMove, rulerTouchEnd, deleteRuler, longPressTimer, isScrolling, get scrollTimeout() { return scrollTimeout; }, set scrollTimeout(v) { scrollTimeout = v; }, handleScroll, isBack, saveX, saveY, isTuoing, redNameindex0, redNameindex1, saveId, saveTagName, handleTouchStart, isblue, handleTouchMove, handleTouchEnd, bottomTimer, bottomisShaking, bottomTouchStart, bottomTouchMove, bottomTouchEnd, openValue, cardsumit, openOp, clickOp, clickTime, clickweek, clickmonth, indexsave, rulerEnd, rulerMoveEnd, scrollContainer, movetoruler, saveAll, routerPush, saveRulerTime, targetRuler, whereEvent, moveNumber, moBan, timearr, splitString, get index() { return index; } }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0$4 = "/static/index/shexiang.png"; const _imports_1$3 = "/static/index/cheng.png"; const _imports_2$2 = "/static/index/deleteicon.png"; const _imports_3$1 = "/static/index/NU.png"; function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { var _a, _b, _c, _d; return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.createCommentVNode(" click是让抖动停止 "), vue.createElementVNode( "view", { class: "right-container", style: vue.normalizeStyle($props.isshow ? { opacity: `1` } : { opacity: `0` }), onClick: _cache[22] || (_cache[22] = ($event) => { $setup.bottomisShaking = false; $setup.shakyTable = false; }) }, [ vue.createElementVNode("view", { class: "right-container-title-nav" }, [ vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-title-no-dark` : `right-container-title-no`) }, " ID:12345678 ", 2 /* CLASS */ ), vue.createElementVNode( "text", { class: vue.normalizeClass($props.darkFans ? `right-container-title-no-dark` : `right-container-title-no`) }, " 名称:未命名01 ", 2 /* CLASS */ ), vue.createElementVNode("view", { class: "right-icons" }, [ vue.createElementVNode("image", { class: "right-icons-img", src: `/static/index/undericons/man.png` }, null, 8, ["src"]), vue.createElementVNode( "view", { class: vue.normalizeClass($props.darkFans ? `right-icons-font-dark` : `right-icons-font`) }, "王金福", 2 /* CLASS */ ), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/face.png` : `/static/index/undericons/facelight.png` }, null, 8, ["src"]), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/hand.png` : `/static/index/undericons/handlight.png` }, null, 8, ["src"]), vue.createElementVNode("image", { class: "right-icons-img-icon", src: $props.darkFans ? `/static/index/undericons/out.png` : `/static/index/undericons/outlight.png` }, null, 8, ["src"]) ]), vue.withDirectives(vue.createElementVNode( "view", { class: "right-container-title-class-anhei-button", onClick: _cache[0] || (_cache[0] = ($event) => $setup.darkFanschange()) }, [ vue.createElementVNode("text", { class: "right-container-title-class-anhei" }, " 切换到暗黑模式 ") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, !$props.darkFans] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "right-container-title-class-anhei-button", style: vue.normalizeStyle($props.darkFans ? { backgroundColor: "#fff" } : {}), onClick: _cache[1] || (_cache[1] = ($event) => $setup.darkFanschange()) }, [ vue.createElementVNode( "text", { class: "right-container-title-class-anhei", style: vue.normalizeStyle($props.darkFans ? { color: "black" } : {}) }, " 取消暗黑模式 ", 4 /* STYLE */ ) ], 4 /* STYLE */ ), [ [vue.vShow, $props.darkFans] ]) ]), vue.createElementVNode("view", { class: "doctorsay-container-view" }, [ vue.createElementVNode("view", { class: "doctorsay-container-items" }, [ vue.createElementVNode("view", { class: "doctorsay-container-up" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.doctorsayList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, onClick: ($event) => $setup.changLeft(index2) }, [ vue.createElementVNode( "view", { class: "doctorsay-container-card", style: vue.normalizeStyle(index2 === $setup.upmenuIndex ? { background: "linear-gradient(to right bottom, #00c9ff, #0076ff)" } : {}) }, [ vue.createElementVNode("image", { class: "doctorsay-container-card-img", src: index2 === $setup.upmenuIndex ? item.targetUrl : item.url }, null, 8, ["src"]), vue.createElementVNode( "view", { class: vue.normalizeClass(index2 === $setup.upmenuIndex ? `doctorsay-container-card-font-dark` : `doctorsay-container-card-font`) }, vue.toDisplayString(item.name), 3 /* TEXT, CLASS */ ) ], 4 /* STYLE */ ) ], 8, ["onClick"]); }), 128 /* KEYED_FRAGMENT */ )), vue.createElementVNode("view", null, [ vue.createElementVNode("view", { class: "doctorsay-container-card", style: { "background": "linear-gradient(135deg, #01e7be 0%, #0080dd 100%)" } }, [ vue.createElementVNode("image", { class: "doctorsay-container-card-img", src: _imports_0$4 }), vue.createElementVNode("view", { class: "doctorsay-container-card-font-dark" }, " 监控 ") ]) ]) ]), vue.createElementVNode("view", { class: "doctorsay-container-down" }, [ vue.createElementVNode("view", { class: "doctorsay-top" }, [ vue.createElementVNode("view", { class: "doctorsay-top-gun" }), vue.createElementVNode("view", { class: "doctorsay-top-font" }, "服务类型") ]), vue.createElementVNode("scroll-view", { "scroll-y": $props.canmove, class: "doctorsay-container-scroll", onScroll: $setup.handleScroll }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.downList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.createElementVNode("view", { class: "doctorsay-container-button", onTouchstart: ($event) => $setup.handleTouchStart(item, index2, $event), onTouchmove: $setup.handleTouchMove, onTouchend: $setup.handleTouchEnd }, [ vue.createElementVNode( "text", { class: vue.normalizeClass($setup.downmenuIndex === index2 ? `doctorsay-container-text-target` : `doctorsay-container-text`), style: vue.normalizeStyle({ backgroundColor: item.color ? item.color : "", ...$setup.isBack ? {} : { width: "250rpx", height: "75rpx", fontSize: "30rpx", borderRadius: "10rpx" } }) }, vue.toDisplayString(item.title), 7 /* TEXT, CLASS, STYLE */ ), vue.withDirectives(vue.createElementVNode("image", { class: "doctorsay-container-button-uplight", style: vue.normalizeStyle($setup.isBack ? {} : { top: "30rpx" }), src: `/static/index/cardicons/uplight.png` }, null, 12, ["src"]), [ [vue.vShow, $setup.downmenuIndex === index2] ]) ], 40, ["onTouchstart"]) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 40, ["scroll-y"]) ]) ]), vue.createElementVNode("view", { class: "doctorsay-container-container" }, [ vue.createElementVNode("view", { class: "doctorsay-container-title" }, [ vue.createElementVNode("view", { class: "doctorsay-container-left" }, [ vue.createElementVNode("view", { class: "doctorsay-container-left-gun" }), vue.createElementVNode("view", { class: "doctorsay-container-left-font" }, "时间矩阵"), vue.createElementVNode("view", { class: "doctorsay-container-share", onClick: $setup.shareToWeixin }, " 分享到微信 ") ]), vue.createElementVNode("view", { class: "doctorsay-container-right" }, [ vue.createElementVNode("view", { class: "doctorsay-container-right-kuai-cheng" }), vue.createElementVNode("view", { class: "doctorsay-container-kuai-font" }, "日常"), vue.createElementVNode("view", { class: "doctorsay-container-right-kuai-zi" }), vue.createElementVNode("view", { class: "doctorsay-container-kuai-font" }, "周期"), (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.rightList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { class: "doctorsay-container-button-father", key: index2 }, [ vue.createElementVNode("view", { class: vue.normalizeClass($setup.rightListIndex === index2 ? `doctorsay-container-button-target` : `doctorsay-container-button`), onClick: ($event) => $setup.rightListClick(index2) }, vue.toDisplayString(item), 11, ["onClick"]) ]); }), 128 /* KEYED_FRAGMENT */ )), vue.createElementVNode("view", { class: "doctorsay-container-juzhen", onClick: $setup.routerPush }, " 预览 ") ]) ]), vue.createElementVNode("view", { class: "super-card" }, [ vue.createElementVNode("view", { class: "super-card-container" }, [ vue.createCommentVNode(" 气泡 top: `${2 * scrollTop - 253}rpx` "), vue.createElementVNode("view", { class: "boom" }, [ vue.createElementVNode( "view", { style: vue.normalizeStyle({ marginTop: `-${2 * $setup.moveDownNumber}rpx` }) }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.timearr[0].children, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.withDirectives(vue.createElementVNode( "view", { class: vue.normalizeClass($setup.touchindex1 === index2 || $props.liang.index1 === index2 && !$props.canmove || $setup.flyNumber.index1 === index2 && $setup.shakyTable ? `boom-son-target` : `boom-son`) }, vue.toDisplayString(item.typeName), 3 /* TEXT, CLASS */ ), [ [vue.vShow, item.typeName] ]) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 4 /* STYLE */ ) ]), vue.createElementVNode("swiper", { "disable-touch": !$props.canmove || $setup.shakyTable, current: $setup.currentNumber, class: "scroll-x", circular: "", "indicator-dots": false, onChange: $setup.changecurrentNumber, interval: 4e3, duration: 500 }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 2, 3, 4], (item, index2) => { return vue.createElementVNode("swiper-item", { key: index2 }, [ vue.createElementVNode("view", { style: { "display": "flex", "box-shadow": "10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1)", "background": "linear-gradient(to right, #c4dbf4,#c9c2ef, #c6dcf3)" } }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.timearr.slice(index2 * 6, (index2 + 1) * 6), (item0, index0) => { return vue.openBlock(), vue.createElementBlock("view", { key: index0 }, [ vue.createElementVNode( "view", { class: "super-card-time", style: vue.normalizeStyle($setup.rightListIndex ? { width: "274rpx" } : { width: "206rpx" }) }, vue.toDisplayString((item0.positioning.length == 1 ? "0" + item0.positioning : item0.positioning) + ":00"), 5 /* TEXT, STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ]), vue.createElementVNode("view", { style: { "display": "flex", "height": "calc(100% - 80rpx)" } }, [ vue.createElementVNode("scroll-view", { style: vue.normalizeStyle([{ "height": "100%" }, $setup.rightListIndex ? { width: "6700rpx" } : { width: "5000rpx" }]), "scroll-top": $setup.scrollTop, "scroll-y": $props.canmove && !$setup.shakyTable, onScroll: $setup.handleScrolltime, "show-scrollbar": false }, [ vue.createElementVNode("view", { style: { "display": "flex", "height": "100%" } }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.timearr.slice(index2 * 6, (index2 + 1) * 6), (item0, index0) => { return vue.openBlock(), vue.createElementBlock("view", { key: index0 }, [ vue.createElementVNode( "view", { class: "super-card-time-und", style: vue.normalizeStyle($setup.rightListIndex ? { width: "274rpx" } : { width: "206rpx" }) }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList(item0.children, (item1, index1) => { return vue.openBlock(), vue.createElementBlock("view", { style: { "width": "100%" }, key: index1 }, [ vue.createElementVNode("view", { class: vue.normalizeClass($setup.targetRuler.current === $setup.currentNumber && $setup.targetRuler.index0 === index0 && $setup.targetRuler.index1 === index1 ? $setup.targetRuler.index1 ? `title-time-border-big` : `title-time-border-big-top` : `super-card-time-card`), style: vue.normalizeStyle([!$setup.targetRuler.bordershow && $setup.saveRulerTime.index0 === index0 && $setup.saveRulerTime.index1 === index1 ? { zIndex: 999 } : { borderTop: "1rpx solid transparent" }, { "position": "relative" }]), id: `a${index0}_${index1}`, onClick: ($event) => $setup.rulerTouchClick(item1, index0, index1, $event), onTouchstart: ($event) => $setup.rulerTouchStart(item1, index0, index1, $event), onTouchmove: $setup.rulerTouchMove, onTouchend: _cache[2] || (_cache[2] = ($event) => $setup.rulerTouchEnd()), "data-index0": index0, "data-index1": index1 }, [ item1.directiveName && $setup.shakyTable ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("view", { key: 0, class: "title-time-delete", onClick: vue.withModifiers(($event) => $setup.deleteItems(item1, index0, index1), ["stop"]) }, " - ", 8, ["onClick"])), [ [vue.vShow, $props.liang.index0 !== index0 || $props.liang.index1 !== index1 || $props.canmove] ]) : vue.createCommentVNode("v-if", true), vue.createElementVNode( "view", { class: vue.normalizeClass($setup.getClass(item1, index0, index1)), style: vue.normalizeStyle([{ "font-size": "30rpx", "overflow": "hidden" }, { animationDelay: `-${$setup.computeDelay(index0, index1).toFixed(2)}s` }]) }, [ item1.startTime ? vue.withDirectives((vue.openBlock(), vue.createElementBlock( "view", { key: 0, class: "title-time", style: { "margin-top": "5rpx" } }, [ vue.createElementVNode( "view", { class: "title-time-time", style: { "font-size": "30rpx" } }, vue.toDisplayString(item1.startTime + `-` + item1.endTime), 1 /* TEXT */ ), vue.createElementVNode("image", { class: "title-time-button", src: item1.cycleType == "日常" ? `/static/index/yellowbian.png` : `/static/index/puoplebian.png` }, null, 8, ["src"]), vue.createElementVNode( "view", { class: "title-time-font" }, vue.toDisplayString(item1.cycleType), 1 /* TEXT */ ) ], 512 /* NEED_PATCH */ )), [ [vue.vShow, $props.liang.index0 !== index0 || $props.liang.index1 !== index1 || $props.canmove] ]) : vue.createCommentVNode("v-if", true), vue.withDirectives(vue.createElementVNode( "view", { style: { "margin-top": "20rpx", "font-weight": "700" } }, vue.toDisplayString($setup.splitString(item1.directiveName)[0]), 513 /* TEXT, NEED_PATCH */ ), [ [vue.vShow, $props.liang.index0 !== index0 || $props.liang.index1 !== index1 || $props.canmove] ]), $setup.splitString(item1.directiveName)[1] ? vue.withDirectives((vue.openBlock(), vue.createElementBlock( "view", { key: 1, class: "down-icons", style: vue.normalizeStyle(item1.cycleType != "日常" ? { backgroundColor: `rgb(212,203,255)` } : {}) }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.splitString(item1.directiveName).slice(1), (item2, index22) => { return vue.openBlock(), vue.createElementBlock("view", { class: "", key: index22 }, [ vue.createElementVNode( "view", { class: "icon", style: vue.normalizeStyle(item1.cycleType != "日常" ? { backgroundColor: `rgb(123,97,255)` } : {}) }, vue.toDisplayString($setup.splitString(item1.directiveName)[index22 + 1]), 5 /* TEXT, STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 4 /* STYLE */ )), [ [vue.vShow, $props.liang.index0 !== index0 || $props.liang.index1 !== index1 || $props.canmove] ]) : vue.createCommentVNode("v-if", true) ], 6 /* CLASS, STYLE */ ) ], 46, ["id", "onClick", "onTouchstart", "data-index0", "data-index1"]) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 4 /* STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ]) ], 44, ["scroll-top", "scroll-y"]) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 40, ["disable-touch", "current"]) ]) ]), vue.createElementVNode("view", { class: "super-card-end" }, [ vue.createElementVNode("view", { class: "super-end-father" }, [ vue.createElementVNode("view", { class: "super-end-font-father" }, [ vue.createElementVNode("view", { class: "super-end-font-gun" }), vue.createElementVNode("view", { class: "super-end-font-font" }, "即时指令") ]), vue.createElementVNode("scroll-view", { "scroll-x": "", class: "super-end-items-all", "scroll-left": $setup.scrollLeft }, [ vue.createElementVNode("view", { class: "super-end-items" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.bottomItems, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.createElementVNode( "view", { onTouchstart: $setup.bottomTouchStart, onTouchmove: $setup.bottomTouchMove, onTouchend: $setup.bottomTouchEnd, style: vue.normalizeStyle(item.target ? { background: item.target, transition: `all 1.5s ease-in-out` } : { transition: `all 1.5s ease-in-out` }), class: "super-end-items-father" }, [ vue.withDirectives(vue.createElementVNode("view", { class: "super-end-items-father-close-father", onClick: vue.withModifiers(($event) => $setup.deletebottom(index2, item.name), ["stop"]) }, " - ", 8, ["onClick"]), [ [vue.vShow, $setup.bottomisShaking] ]), vue.createElementVNode( "view", { style: vue.normalizeStyle({ animationDelay: `-${index2 * 0.1}s` }), class: vue.normalizeClass($setup.bottomisShaking ? `super-end-items-img-father-active` : `super-end-items-img-father`) }, [ vue.createElementVNode("image", { class: "super-end-items-img", src: item.url }, null, 8, ["src"]) ], 6 /* CLASS, STYLE */ ), vue.createElementVNode( "view", { class: "super-end-items-font" }, vue.toDisplayString(item.name), 1 /* TEXT */ ) ], 36 /* STYLE, NEED_HYDRATION */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ]) ], 8, ["scroll-left"]) ]) ]) ]) ]), vue.createCommentVNode(" 长按的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-overlay", onClick: _cache[4] || (_cache[4] = ($event) => { $setup.isopen = false; $setup.flyNumber.index0 = 999; $setup.touchindex1 = -1; }) }, [ vue.createElementVNode( "view", { class: "popup-overlay-content", style: vue.normalizeStyle({ top: 2 * $setup.openY - 350 + "rpx", left: 2 * $setup.openX - 780 + "rpx", opacity: $setup.isopacity ? 1 : 0, backgroundColor: ((_b = (_a = $setup.timearr[$setup.flyNumber.index0]) == null ? void 0 : _a.children[$setup.flyNumber.index1]) == null ? void 0 : _b.type) === "日常" ? "#fffcf6" : "rgb(246, 244, 254)" }), onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createElementVNode("view", { class: "popup-overlay-content-left" }, [ vue.createElementVNode("image", { class: "popup-overlay-content-left-img", src: `/static/index/teeth.png` }, null, 8, ["src"]), vue.createElementVNode( "text", { class: "popup-overlay-content-left-font" }, vue.toDisplayString((_d = (_c = $setup.timearr[$setup.flyNumber.index0]) == null ? void 0 : _c.children[$setup.flyNumber.index1]) == null ? void 0 : _d.value), 1 /* TEXT */ ) ]), vue.createElementVNode("view", { class: "popup-overlay-content-right" }, [ vue.createElementVNode("view", { class: "time-font" }, " 10:00 - 10:10 "), vue.createElementVNode("view", { class: "time-text" }, " 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ") ]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.isopen] ]), vue.createCommentVNode(" 拉动松手的弹出层 "), $setup.songisopen ? (vue.openBlock(), vue.createElementBlock("view", { key: 0, class: "popup-song", onClick: _cache[11] || (_cache[11] = ($event) => $setup.songisopen = false) }, [ vue.createElementVNode( "view", { class: "popup-song-contain", style: vue.normalizeStyle({ opacity: $setup.songisopacity ? 1 : 0 }), onClick: _cache[10] || (_cache[10] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createElementVNode("view", { class: "popup-song-father" }, [ vue.createElementVNode("image", { class: "shu-up-img", src: _imports_1$3 }), vue.createElementVNode("view", { class: "shu-up-font" }, [ vue.createElementVNode( "view", { class: "" }, " 服务时段:" + vue.toDisplayString($setup.openValue.time + ":00"), 1 /* TEXT */ ), vue.createElementVNode("view", { style: { "margin-left": "30rpx" } }, " 护理时长:10分钟 ") ]), vue.createElementVNode("view", { class: "shu-container-left" }, [ vue.createElementVNode("view", { class: "shu-container-left-gun" }), vue.createElementVNode("view", { class: "shu-container-left-font" }, "服务指令") ]), vue.createElementVNode("view", { class: "arrayindex" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.openValue.array, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.createElementVNode("view", { style: { "position": "relative", "box-shadow": "10rpx 10rpx 20rpx rgba(105, 129, 178, 0.4)" }, class: vue.normalizeClass($setup.cardsumit.op.index[2] === index2 ? `arrayindex-one-target` : `arrayindex-one`), onClick: ($event) => $setup.clickOp(index2, item) }, [ vue.withDirectives(vue.createElementVNode("image", { class: "ri-img", src: $setup.cardsumit.op.index[2] !== index2 ? `/static/index/ridark.png` : `/static/index/ri.png` }, null, 8, ["src"]), [ [vue.vShow, item.cycleType === "日常护理"] ]), vue.withDirectives(vue.createElementVNode("image", { class: "ri-img", src: $setup.cardsumit.op.index[2] == index2 ? `/static/index/zhoudark.png` : `/static/index/zhou.png` }, null, 8, ["src"]), [ [vue.vShow, item.cycleType === "周期护理"] ]), vue.withDirectives(vue.createElementVNode("image", { class: "ri-img", src: $setup.cardsumit.op.index[2] == index2 ? `/static/index/jidark.png` : `/static/index/ji.png` }, null, 8, ["src"]), [ [vue.vShow, item.cycleType === "即时护理"] ]), vue.createTextVNode( " " + vue.toDisplayString(item.relName), 1 /* TEXT */ ) ], 10, ["onClick"]) ]); }), 128 /* KEYED_FRAGMENT */ )) ]), vue.withDirectives(vue.createElementVNode( "view", { class: "shu-container-left", style: { "margin-top": "50rpx" } }, [ vue.createElementVNode("view", { class: "shu-container-left-gun" }), vue.createElementVNode("view", { class: "shu-container-left-font" }, "开始分钟") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.openOp != 2] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "time-father" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.timeArray, (item, index2) => { return vue.createElementVNode("view", { key: index2 }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "time-one-hui" }, vue.toDisplayString(item), 513 /* TEXT, NEED_PATCH */ ), [ [vue.vShow, Number(item) >= 50] ]), vue.withDirectives(vue.createElementVNode("view", { class: vue.normalizeClass($setup.cardsumit.startTime === item ? `time-one-target` : `time-one`), onClick: ($event) => $setup.clickTime(item) }, vue.toDisplayString(item), 11, ["onClick"]), [ [vue.vShow, Number(item) < 50] ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.openOp != 2] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "shu-container-left", style: { "margin-top": "50rpx" } }, [ vue.createElementVNode("view", { class: "shu-container-left-gun" }), vue.createElementVNode("view", { class: "shu-container-left-font" }, "周期类型") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.openOp == 1] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "radio-father" }, [ vue.createElementVNode( "view", { class: vue.normalizeClass($setup.isweek ? `radio-circle-target` : `radio-circle`), onClick: _cache[5] || (_cache[5] = ($event) => { $setup.isweek = true; $setup.cardsumit.monthTime = ""; }) }, null, 2 /* CLASS */ ), vue.createElementVNode("view", { class: "radio-font", onClick: _cache[6] || (_cache[6] = ($event) => { $setup.isweek = true; $setup.cardsumit.monthTime = ""; }) }, "每周"), vue.createElementVNode( "view", { class: vue.normalizeClass(!$setup.isweek ? `radio-circle-target` : `radio-circle`), onClick: _cache[7] || (_cache[7] = ($event) => { $setup.isweek = false; $setup.cardsumit.weekTime = ""; }) }, null, 2 /* CLASS */ ), vue.createElementVNode("view", { class: "radio-font", onClick: _cache[8] || (_cache[8] = ($event) => { $setup.isweek = false; $setup.cardsumit.weekTime = ""; }) }, "每月") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.openOp == 1] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "week-father" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.weekDays, (item, index2) => { return vue.createElementVNode("view", { key: index2 }, [ vue.createElementVNode("view", { class: vue.normalizeClass($setup.cardsumit.weekTime === item ? `week-one-target` : `week-one`), onClick: ($event) => $setup.clickweek(item) }, vue.toDisplayString(item), 11, ["onClick"]) ]); }), 64 /* STABLE_FRAGMENT */ )) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.isweek && $setup.openOp == 1] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "month-father" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.days, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.createElementVNode("view", { class: vue.normalizeClass($setup.cardsumit.monthTime === item ? `month-one-target` : `month-one`), onClick: ($event) => $setup.clickmonth(item) }, vue.toDisplayString(item), 11, ["onClick"]) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, !$setup.isweek && $setup.openOp == 1] ]), vue.createElementVNode("view", { class: "button-father" }, [ vue.createElementVNode("view", { style: { "display": "flex" } }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "button-father-right", onClick: $setup.movetoruler }, " 确定 ", 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.isblue()] ]), vue.withDirectives(vue.createElementVNode( "view", { class: "button-father-wrong" }, " 确定 ", 512 /* NEED_PATCH */ ), [ [vue.vShow, !$setup.isblue()] ]), vue.createElementVNode("view", { class: "button-father-wrong", onClick: _cache[9] || (_cache[9] = ($event) => $setup.songisopen = false), style: { "margin-left": "20rpx" } }, " 取消 ") ]) ]) ]) ], 4 /* STYLE */ ) ])) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 删除表格的的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-delete", onClick: _cache[15] || (_cache[15] = ($event) => $setup.deleteisopen = false) }, [ vue.createElementVNode( "view", { class: "popup-delete-content", style: vue.normalizeStyle({ opacity: $setup.deleteisopacity ? 1 : 0 }), onClick: _cache[14] || (_cache[14] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createElementVNode("image", { class: "popup-delete-img", src: _imports_2$2 }), vue.createElementVNode( "view", { class: "popup-delete-text" }, " 确定要删除 " + vue.toDisplayString($setup.deletename) + " 吗? ", 1 /* TEXT */ ), vue.createElementVNode("view", { class: "popup-delete-button" }, [ vue.createElementVNode("view", { class: "popup-delete-button-right", onClick: _cache[12] || (_cache[12] = ($event) => $setup.deleteisopen = false) }, " 取消 "), vue.createElementVNode("view", { class: "popup-delete-button-left", onClick: _cache[13] || (_cache[13] = ($event) => $setup.deleteRuler($setup.deleteindex[0], $setup.deleteindex[1])) }, " 确定 ") ]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.deleteisopen] ]), vue.createCommentVNode(" 删除下方菜单的的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-delete", onClick: _cache[19] || (_cache[19] = ($event) => $setup.deletedownisopen = false) }, [ vue.createElementVNode( "view", { class: "popup-delete-content", style: vue.normalizeStyle({ opacity: $setup.deletedownisopacity ? 1 : 0 }), onClick: _cache[18] || (_cache[18] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createElementVNode("image", { class: "popup-delete-img", src: _imports_2$2 }), vue.createElementVNode( "view", { class: "popup-delete-text" }, " 确定要删除 " + vue.toDisplayString($setup.deletename) + " 吗? ", 1 /* TEXT */ ), vue.createElementVNode("view", { class: "popup-delete-button" }, [ vue.createElementVNode("view", { class: "popup-delete-button-right", onClick: _cache[16] || (_cache[16] = ($event) => $setup.deletedownisopen = false) }, " 取消 "), vue.createElementVNode("view", { class: "popup-delete-button-left", onClick: _cache[17] || (_cache[17] = ($event) => { $setup.bottomItems.splice($setup.deletebottomindex, 1); $setup.deletedownisopen = false; }) }, " 确定 ") ]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.deletedownisopen] ]), vue.createCommentVNode(" 分享的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-share", onClick: _cache[21] || (_cache[21] = ($event) => $setup.shareShow = false) }, [ vue.createElementVNode( "view", { class: "popup-share-content", style: vue.normalizeStyle({ opacity: $setup.deletedownisopacity ? 1 : 0 }), onClick: _cache[20] || (_cache[20] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createElementVNode("view", { class: "popup-share-title" }, [ vue.createTextVNode(" 护理日程分享 "), vue.createElementVNode("image", { class: "popup-share-img", src: _imports_3$1 }) ]), vue.createElementVNode("view", { class: "popup-share-upcontent" }, [ vue.createElementVNode("view", { class: "popup-share-font" }, "久泰护理日程分享测试") ]), vue.createElementVNode("view", { class: "popup-share-gray" }), vue.createElementVNode("view", { class: "popup-share-downcontent" }, [ vue.createElementVNode("view", { class: "popup-share-downcontent-left" }, [ vue.createElementVNode("image", { class: "popup-downcontent-img", src: _imports_3$1 }), vue.createElementVNode("view", { class: "popup-downcontent-font" }, "久泰护理") ]), vue.createElementVNode("view", { class: "popup-share-downcontent-button", onClick: $setup.clickshare }, " 分享 ") ]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.shareShow] ]) ], 4 /* STYLE */ ) ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */ ); } const rightItemssecond = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f], ["__scopeId", "data-v-337bb5da"], ["__file", "D:/hldy_app/component/rightItemssecond/index.vue"]]); const _sfc_main$f = /* @__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/give.png", targetUrl: "/static/index/lefticontarget/givedark.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 menuIndexshow = vue.ref(false); const menuIndexshowsecond = vue.ref(false); const darkFans = vue.ref(false); const roomTar = vue.ref([]); const firstcurrentIndex = vue.ref(0); const firstcurrentIndexup = vue.ref(0); const secondcurrentIndexup = vue.ref(0); const secondcurrentIndex = vue.ref(0); const thirdcurrentIndex = vue.ref(0); const darkchange = (res) => { darkFans.value = res; }; const changeMenu = (index2) => { if (index2 === 3) { menuIndexshow.value = false; menuIndexshowsecond.value = false; uni.navigateTo({ url: `/pages/somethingmove/index?darkFans=${darkFans.value}`, animationType: "slide-in-right", animationDuration: 400 // 设置动画时长为300毫秒, // 动画持续时间,单位为毫秒 }); return; } else if (index2 === 5) { uni.navigateBack(); return; } menuIndex.value = index2; menuIndexshow.value = false; menuIndexshowsecond.value = false; setTimeout(() => { switch (index2) { case 0: menuIndexshow.value = true; break; case 1: menuIndexshowsecond.value = true; break; } }, 50); }; const clientX = vue.ref(0); const clientY = vue.ref(0); const savename = vue.ref(""); const canmove = vue.ref(true); const indexNumber = vue.ref({ index0: 999, index1: 999 }); const canTrigger = vue.ref(true); const getxyrel = (event) => { var _a; const touch = event.touches[0]; clientX.value = 2 * (Math.floor(touch.clientX) - 100); clientY.value = 2 * (Math.floor(touch.clientY) - 55); const translateX = Math.floor(touch.clientX) - 50; const translateY = Math.floor(touch.clientY) - 25; const clickedItem = fangkuaiValue.value.find((item) => { return translateX >= Math.floor(item.left) && translateX <= Math.floor(item.right) && translateY >= Math.floor(item.top) && translateY <= Math.floor(item.bottom); }); if (clickedItem) { const { index0, index1 } = clickedItem.dataset; indexNumber.value.index0 = index0; indexNumber.value.index1 = index1; if (clientX.value > 2050 && canTrigger.value) { (_a = ruler.value) == null ? void 0 : _a.nextItems(); canTrigger.value = false; setTimeout(() => { canTrigger.value = true; }, 1e3); } } else { indexNumber.value.index0 = 999; indexNumber.value.index1 = 999; } }; const getxy = throttle2(getxyrel, 10); const fangkuaiValue = vue.ref([]); const openname = (res, fangkuai) => { savename.value = res; canmove.value = false; fangkuaiValue.value = fangkuai; }; const changefangkuang = (fangkuang) => { fangkuaiValue.value = fangkuang; formatAppLog("log", "at pages/Nursing/index.vue:178", "!!!!", fangkuaiValue.value); }; const saveruler = vue.ref({ directiveName: "", cycleType: "", positioningLong: "0", typeName: "", startTime: "", id: "", endTime: "", tagName: null }); const openruler = (res, fangkuai) => { saveruler.value = res; canmove.value = false; fangkuaiValue.value = fangkuai; }; const closename = () => { savename.value = ""; canmove.value = true; }; const ruler = vue.ref(null); const cleanall = () => { var _a, _b; clientX.value = 9999; clientY.value = 9999; canmove.value = true; indexNumber.value = { index0: 999, index1: 999 }; if (savename.value) { (_a = ruler.value) == null ? void 0 : _a.rulerEnd(savename.value); } else if (saveruler.value.typeName) { (_b = ruler.value) == null ? void 0 : _b.rulerMoveEnd(saveruler.value); } savename.value = ""; saveruler.value = { directiveName: "", cycleType: "", positioningLong: "0", typeName: "", startTime: "", id: "", endTime: "", tagName: null }; }; function throttle2(fn, delay) { let lastExecutionTime = 0; return function(...args) { const now = Date.now(); if (now - lastExecutionTime >= delay) { lastExecutionTime = now; fn.apply(this, args); } }; } function splitString(str) { let result = []; let remainingStr = str; let regex = /([^((]*)[((]([^))]+)[))]/; while (regex.test(remainingStr)) { let match = remainingStr.match(regex); if (match) { if (match[1].trim()) { result.push(match[1].trim()); } if (match[2].trim()) { result.push(match[2].trim()); } remainingStr = remainingStr.replace(match[0], "").trim(); } } if (remainingStr.trim()) { result.push(remainingStr.trim()); } return result; } onShow(() => { setTimeout(() => { changeMenu(menuIndex.value); }, 50); }); const __returned__ = { iconList, menuIndex, menuIndexshow, menuIndexshowsecond, darkFans, roomTar, firstcurrentIndex, firstcurrentIndexup, secondcurrentIndexup, secondcurrentIndex, thirdcurrentIndex, darkchange, changeMenu, clientX, clientY, savename, canmove, indexNumber, canTrigger, getxyrel, getxy, fangkuaiValue, openname, changefangkuang, saveruler, openruler, closename, ruler, cleanall, throttle: throttle2, splitString, rightItemsfirst, rightItemssecond }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0$3 = "/static/index/oldman.png"; function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { class: vue.normalizeClass($setup.darkFans ? `darkbackgroundContainer` : `backgroundContainer`), onTouchmove: _cache[0] || (_cache[0] = (...args) => $setup.getxy && $setup.getxy(...args)), onTouchend: $setup.cleanall }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "move-font", style: vue.normalizeStyle({ top: `${$setup.clientY}rpx`, left: `${$setup.clientX}rpx` }) }, vue.toDisplayString($setup.savename), 5 /* TEXT, STYLE */ ), [ [vue.vShow, $setup.savename && $setup.clientX] ]), $setup.saveruler.cycleType ? (vue.openBlock(), vue.createElementBlock( "view", { key: 0, class: vue.normalizeClass($setup.saveruler.cycleType == "日常" ? `title-time-border-yellow` : `title-time-border-pouple`), style: vue.normalizeStyle([{ top: `${$setup.clientY}rpx`, left: `${$setup.clientX}rpx` }, { "font-size": "30rpx", "overflow": "hidden" }]) }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "title-time", style: { "margin-top": "5rpx" } }, [ vue.createElementVNode( "view", { class: "title-time-time", style: { "font-size": "30rpx" } }, vue.toDisplayString($setup.saveruler.startTime + `-` + $setup.saveruler.endTime), 1 /* TEXT */ ), vue.createElementVNode("image", { class: "title-time-button", src: $setup.saveruler.cycleType == "日常" ? `/static/index/yellowbian.png` : `/static/index/puoplebian.png` }, null, 8, ["src"]), vue.createElementVNode( "view", { class: "title-time-font" }, vue.toDisplayString($setup.saveruler.cycleType), 1 /* TEXT */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.saveruler.startTime] ]), vue.createElementVNode( "view", { style: { "margin-top": "20rpx", "font-weight": "700" } }, vue.toDisplayString($setup.splitString($setup.saveruler.directiveName)[0]), 1 /* TEXT */ ), vue.withDirectives(vue.createElementVNode( "view", { class: "down-icons", style: vue.normalizeStyle($setup.saveruler.cycleType != "日常" ? { backgroundColor: `rgb(212,203,255)` } : {}) }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.splitString($setup.saveruler.directiveName).slice(1), (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { class: "", key: index2 }, [ vue.createElementVNode( "view", { class: "icon", style: vue.normalizeStyle($setup.saveruler.cycleType != "日常" ? { backgroundColor: `rgb(123,97,255)` } : {}) }, vue.toDisplayString($setup.splitString($setup.saveruler.directiveName)[1]), 5 /* TEXT, STYLE */ ) ]); }), 128 /* KEYED_FRAGMENT */ )) ], 4 /* STYLE */ ), [ [vue.vShow, $setup.splitString($setup.saveruler.directiveName)[1]] ]) ], 6 /* CLASS, STYLE */ )) : vue.createCommentVNode("v-if", true), vue.createElementVNode("view", { class: "left-container" }, [ vue.createElementVNode("view", { class: "left-head" }, [ vue.createElementVNode("image", { class: "left-head-img", src: _imports_0$3 }), vue.createElementVNode( "text", { class: vue.normalizeClass($setup.darkFans ? `left-head-font-dark` : `left-head-font`) }, " 王金凤 ", 2 /* CLASS */ ) ]), vue.createElementVNode("view", { class: "left-img-container" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.iconList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2, class: "blue-circle-pos" }, [ 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, index2 === $setup.menuIndex] ]), vue.createElementVNode("image", { class: "left-img", src: index2 === $setup.menuIndex ? item.targetUrl : item.url, onClick: ($event) => $setup.changeMenu(index2) }, null, 8, ["src", "onClick"]) ]); }), 128 /* KEYED_FRAGMENT */ )) ]) ]), vue.createCommentVNode(" 主页 "), vue.withDirectives(vue.createVNode($setup["rightItemsfirst"], { isshow: $setup.menuIndexshow, darkFans: $setup.darkFans, onDarkchange: $setup.darkchange }, null, 8, ["isshow", "darkFans"]), [ [vue.vShow, !$setup.menuIndex] ]), vue.createCommentVNode(" 超凶表格 "), vue.withDirectives(vue.createVNode($setup["rightItemssecond"], { ref: "ruler", liang: $setup.indexNumber, isshow: $setup.menuIndexshowsecond, canmove: $setup.canmove, darkFans: $setup.darkFans, onDarkchange: $setup.darkchange, onSavename: $setup.openname, onSaveruler: $setup.openruler, onChangefangkuang: $setup.changefangkuang, onCleanname: $setup.closename }, null, 8, ["liang", "isshow", "canmove", "darkFans"]), [ [vue.vShow, $setup.menuIndex == 1] ]) ], 34 /* CLASS, NEED_HYDRATION */ ); } const PagesNursingIndex = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e], ["__scopeId", "data-v-b6cc7861"], ["__file", "D:/hldy_app/pages/Nursing/index.vue"]]); const _imports_0$2 = "/static/index/caigouqingdan.png"; const ballWidth = 60; const ballHeight = 60; const longPressThreshold = 300; const _sfc_main$e = { __name: "ball", props: { isShow: { type: Boolean, required: true } }, emits: ["clickBall"], setup(__props, { expose: __expose, emit: __emit }) { __expose(); const props = __props; const emit = __emit; const ballLeft = vue.ref(1090); const ballTop = vue.ref(120); const isDragging = vue.ref(false); let startTouchX = 0; let startTouchY = 0; let initialLeft = 0; let initialTop = 0; let longPressTimer = null; let windowWidth = 0; let windowHeight = 0; vue.onMounted(() => { const res = uni.getSystemInfoSync(); windowWidth = res.windowWidth; windowHeight = res.windowHeight; }); function handleTouchStart(e) { const touch = e.touches[0]; startTouchX = touch.clientX; startTouchY = touch.clientY; initialLeft = ballLeft.value; initialTop = ballTop.value; longPressTimer = setTimeout(() => { isDragging.value = true; }, longPressThreshold); } function handleTouchMove(e) { if (!isDragging.value) { const touch = e.touches[0]; const deltaX = Math.abs(touch.clientX - startTouchX); const deltaY = Math.abs(touch.clientY - startTouchY); if (deltaX > 5 || deltaY > 5) { clearTimeout(longPressTimer); isDragging.value = true; } } if (isDragging.value) { const touch = e.touches[0]; let newLeft = initialLeft + (touch.clientX - startTouchX); let newTop = initialTop + (touch.clientY - startTouchY); newLeft = Math.max(0, Math.min(newLeft, windowWidth - ballWidth)); newTop = Math.max(0, Math.min(newTop, windowHeight - ballHeight)); ballLeft.value = newLeft; ballTop.value = newTop; } } function handleTouchEnd(e) { clearTimeout(longPressTimer); if (isDragging.value) { isDragging.value = false; } else { triggerClick(); } } function triggerClick() { emit("clickBall"); } const __returned__ = { props, emit, ballWidth, ballHeight, longPressThreshold, ballLeft, ballTop, isDragging, get startTouchX() { return startTouchX; }, set startTouchX(v) { startTouchX = v; }, get startTouchY() { return startTouchY; }, set startTouchY(v) { startTouchY = v; }, get initialLeft() { return initialLeft; }, set initialLeft(v) { initialLeft = v; }, get initialTop() { return initialTop; }, set initialTop(v) { initialTop = v; }, get longPressTimer() { return longPressTimer; }, set longPressTimer(v) { longPressTimer = v; }, get windowWidth() { return windowWidth; }, set windowWidth(v) { windowWidth = v; }, get windowHeight() { return windowHeight; }, set windowHeight(v) { windowHeight = v; }, handleTouchStart, handleTouchMove, handleTouchEnd, triggerClick, ref: vue.ref, onMounted: vue.onMounted }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }; function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.createCommentVNode(" 使用 view 作为悬浮球容器,通过绑定 style 进行定位 "), vue.withDirectives(vue.createElementVNode( "view", { class: "floating-ball", style: vue.normalizeStyle({ left: $setup.ballLeft + "px", top: $setup.ballTop + "px" }), onTouchstart: $setup.handleTouchStart, onTouchmove: $setup.handleTouchMove, onTouchend: $setup.handleTouchEnd, onTouchcancel: $setup.handleTouchEnd }, [ vue.createElementVNode("image", { class: "floating-ball-img", src: _imports_0$2 }) ], 36 /* STYLE, NEED_HYDRATION */ ), [ [vue.vShow, $props.isShow] ]) ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */ ); } const ball = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d], ["__scopeId", "data-v-1da59535"], ["__file", "D:/hldy_app/component/storeroom/ball.vue"]]); const _imports_0$1 = "/static/index/saveUp.png"; const _imports_1$2 = "/static/index/saveDown.png"; const _imports_2$1 = "/static/index/saveNumber.png"; const _sfc_main$d = {}; function _sfc_render$c(_ctx, _cache) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.createElementVNode("view", { class: "popup-detail-left" }, [ vue.createElementVNode("view", { class: "popup-detail-left-white" }, [ vue.createElementVNode("image", { class: "popup-detail-left-white-img", src: `/static/index/project3.png` }, null, 8, ["src"]) ]), vue.createElementVNode("view", { class: "popup-detail-left-bottom" }, [ vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_0$1 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "1000"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存上限") ]), vue.createElementVNode("view", { class: "popup-small-shu" }), vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_1$2 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "10"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存下限") ]), vue.createElementVNode("view", { class: "popup-small-shu" }), vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_2$1 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "50"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存数量") ]) ]) ]), vue.createElementVNode("view", { class: "popup-detail-right" }, [ vue.createElementVNode("view", { class: "popup-detail-title" }, [ vue.createElementVNode("view", { class: "popup-detail-weight" }, " 纸尿裤-拉拉裤 "), vue.createElementVNode("view", { class: "popup-detail-gray" }, " ZHYP044 ") ]), vue.createElementVNode("view", { class: "popup-weight" }, " 物料分类 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类别: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 生活用品 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类型: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 照护用品 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类别: "), vue.createElementVNode("view", { class: "popup-font-right" }, " - ") ]) ]), vue.createElementVNode("view", { class: "popup-weight" }, " 物料信息 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料品牌: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 洁奴 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 采购单位: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 片 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 参考单价: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 1.175 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 采购单价: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 2 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain", style: { "width": "100%" } }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 规格型号: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 800mm*690mm ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain", style: { "width": "100%" } }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 供 应 商 : "), vue.createElementVNode("view", { class: "popup-font-right" }, " 山东恒发卫生用品有限公司 ") ]) ]), vue.createElementVNode("view", { class: "popup-weight" }, " 优惠信息 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 医保报销: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 是 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 机构优惠: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 否 ") ]) ]), vue.createElementVNode("view", { class: "swiper-left-buttons-big" }, [ vue.createElementVNode("view", { class: "swiper-left-button-blue" }, " 请购 "), vue.createElementVNode("view", { class: "swiper-left-button" }, " 出入库 ") ]) ]) ], 64 /* STABLE_FRAGMENT */ ); } const info = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$c], ["__scopeId", "data-v-00c1a064"], ["__file", "D:/hldy_app/component/storeroom/info.vue"]]); const _sfc_main$c = {}; function _sfc_render$b(_ctx, _cache) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.createElementVNode("view", { class: "popup-detail-left" }, [ vue.createElementVNode("view", { class: "popup-detail-left-white" }, [ vue.createElementVNode("image", { class: "popup-detail-left-white-img", src: `/static/index/project3.png` }, null, 8, ["src"]) ]), vue.createElementVNode("view", { class: "popup-detail-left-bottom" }, [ vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_0$1 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "1000"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存上限") ]), vue.createElementVNode("view", { class: "popup-small-shu" }), vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_1$2 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "10"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存下限") ]), vue.createElementVNode("view", { class: "popup-small-shu" }), vue.createElementVNode("view", { class: "popup-small-card" }, [ vue.createElementVNode("view", { class: "popup-small-circle" }, [ vue.createElementVNode("image", { class: "popup-small-circle-img", src: _imports_2$1 }) ]), vue.createElementVNode("view", { class: "popup-small-number" }, "50"), vue.createElementVNode("view", { class: "popup-small-font" }, "库存数量") ]) ]) ]), vue.createElementVNode("view", { class: "popup-detail-right" }, [ vue.createElementVNode("view", { class: "popup-detail-title" }, [ vue.createElementVNode("view", { class: "popup-detail-weight" }, " 纸尿裤-拉拉裤 "), vue.createElementVNode("view", { class: "popup-detail-gray" }, " ZHYP044 ") ]), vue.createElementVNode("view", { class: "popup-weight" }, " 物料分类 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类别: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 生活用品 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类型: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 照护用品 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料类别: "), vue.createElementVNode("view", { class: "popup-font-right" }, " - ") ]) ]), vue.createElementVNode("view", { class: "popup-weight" }, " 物料信息 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 物料品牌: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 洁奴 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 采购单位: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 片 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 参考单价: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 1.175 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 采购单价: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 2 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain", style: { "width": "100%" } }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 规格型号: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 800mm*690mm ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain", style: { "width": "100%" } }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 供 应 商 : "), vue.createElementVNode("view", { class: "popup-font-right" }, " 山东恒发卫生用品有限公司 ") ]) ]), vue.createElementVNode("view", { class: "popup-weight" }, " 优惠信息 "), vue.createElementVNode("view", { class: "popup-right-father" }, [ vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 医保报销: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 是 ") ]), vue.createElementVNode("view", { class: "popup-right-font-contain" }, [ vue.createElementVNode("view", { class: "popup-font-left" }, " 机构优惠: "), vue.createElementVNode("view", { class: "popup-font-right" }, " 否 ") ]) ]), vue.createElementVNode("view", { class: "swiper-left-buttons-big" }, [ vue.createElementVNode("view", { class: "swiper-left-button-blue" }, " 请购 "), vue.createElementVNode("view", { class: "swiper-left-button" }, " 出入库 ") ]) ]) ], 64 /* STABLE_FRAGMENT */ ); } const plsbuy = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b], ["__scopeId", "data-v-63b6096e"], ["__file", "D:/hldy_app/component/storeroom/plsbuy.vue"]]); const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({ __name: "index", setup(__props, { expose: __expose }) { __expose(); const note = vue.ref(""); const __returned__ = { note }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("view", { class: "draw-all" }, [ vue.createElementVNode("view", { class: "draw-title" }, [ vue.createElementVNode("view", { class: "draw-flex" }, [ vue.createElementVNode("view", { class: "draw-title-gun" }), vue.createElementVNode("view", { class: "draw-title-font" }, "请购清单") ]), vue.createElementVNode("view", { class: "draw-blue" }, " 请购单号:A0120250301001 ") ]), vue.createElementVNode("view", { class: "draw-contain" }, [ vue.createElementVNode("view", { class: "scroll-view" }, [ vue.createElementVNode("scroll-view", { "scroll-y": "", style: { "height": "93%", "margin-top": "2%" }, "show-scrollbar": false }, [ vue.createElementVNode("view", { class: "swiper-flex" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], (item, index2) => { return vue.createElementVNode("view", { key: index2 }, [ vue.createElementVNode("view", { class: "swiper-card" }, [ vue.createCommentVNode(" 卡片内容 "), vue.createElementVNode("view", { class: "swiper-card-top" }, [ vue.createElementVNode("image", { class: "swiper-card-top-img", src: `/static/index/project3.png` }, null, 8, ["src"]), vue.createElementVNode("view", { class: "swiper-card-top-card" }, [ vue.createElementVNode("view", { class: "swiper-card-top-card-weight" }, [ vue.createElementVNode("view", { class: "weight-left" }, " 纸尿裤-拉拉裤 "), vue.createElementVNode("view", { class: "weight-right", style: { "width": "40%" } }, " 采购数量:50 ") ]), vue.createElementVNode("view", { class: "swiper-card-top-card-noral" }, [ vue.createElementVNode("view", { class: "swiper-all-flex" }, [ vue.createElementVNode("view", { class: "swiper-gray" }, " 规格型号: "), vue.createElementVNode("view", { class: "swiper-black" }, " 800mm*690mm ") ]) ]), vue.createElementVNode("view", { class: "swiper-card-top-card-noral" }, [ vue.createElementVNode("view", { class: "swiper-all-flex" }, [ vue.createElementVNode("view", { class: "swiper-gray" }, " 采购单位: "), vue.createElementVNode("view", { class: "swiper-black" }, " 片 ") ]), vue.createElementVNode("view", { class: "swiper-all-flex", style: { "width": "40%" } }, [ vue.createElementVNode("view", { class: "swiper-gray" }, " 库存数量: "), vue.createElementVNode("view", { class: "swiper-black" }, " 50 ") ]) ]), vue.createElementVNode("view", { class: "swiper-card-top-card-noral" }, [ vue.createElementVNode("view", { class: "swiper-all-flex" }, [ vue.createElementVNode("view", { class: "swiper-gray" }, " 库存下限: "), vue.createElementVNode("view", { class: "swiper-black" }, " 10 ") ]), vue.createElementVNode("view", { class: "swiper-all-flex", style: { "width": "40%" } }, [ vue.createElementVNode("view", { class: "swiper-gray" }, " 库存上限: "), vue.createElementVNode("view", { class: "swiper-black" }, " 1000 ") ]) ]) ]) ]), vue.createElementVNode("view", { class: "swiper-card-down" }, [ vue.createElementVNode("view", { class: "down-left" }, [ vue.createElementVNode("view", { class: "down-left-weight" }, " 供应商: "), vue.createElementVNode("view", { class: "down-left-font" }, " 长春市永佳利商贸有限公司1 ") ]), vue.createElementVNode("image", { class: "delete-img", src: `/static/index/deleteIt.png` }, null, 8, ["src"]) ]) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ]) ]) ]), vue.createElementVNode("view", { class: "down-note" }, [ vue.withDirectives(vue.createElementVNode( "textarea", { class: "down-note-title-input", "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.note = $event), maxlength: "300", "placeholder-style": "color:#999", placeholder: "请输入备注" }, null, 512 /* NEED_PATCH */ ), [ [vue.vModelText, $setup.note] ]), vue.createElementVNode( "text", { class: "char-count" }, vue.toDisplayString($setup.note.length) + "/300", 1 /* TEXT */ ) ]), vue.createElementVNode("view", { class: "down-button" }, [ vue.createElementVNode("view", { class: "swiper-left-button-orange" }, " 清空 "), vue.createElementVNode("view", { class: "swiper-left-button-blue" }, " 保存 "), vue.createElementVNode("view", { class: "swiper-left-button-blue" }, " 提交 ") ]) ]) ]); } const shoppingCar = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a], ["__scopeId", "data-v-4e05069f"], ["__file", "D:/hldy_app/component/storeroom/shoppingCar/index.vue"]]); const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({ __name: "index", props: { isShow: { type: Boolean, required: true } }, setup(__props, { expose: __expose }) { __expose(); const props = __props; const transition = vue.ref(true); const drawer = vue.ref(null); vue.watch( () => props.isShow, (newVal, oldVal) => { if (!oldVal && newVal) { transition.value = false; setTimeout(() => { transition.value = true; }, 50); } } ); const detailisopen = vue.ref(false); const detailisopacity = vue.ref(false); const plsBuyIsopen = vue.ref(false); const plsBuyisopacity = vue.ref(false); const isWarning = vue.ref(false); const buttonList = vue.ref([ // { url: '/static/index/Warehousing/zuoce.png', name: '请购单' }, { url: "/static/index/Warehousing/sousuo.png", name: "查询" }, { url: "/static/index/Warehousing/chongzhi.png", name: "重置" } ]); const opendetail = () => { detailisopen.value = true; detailisopacity.value = false; setTimeout(() => { detailisopacity.value = true; }, 200); }; const openBuy = () => { plsBuyIsopen.value = true; plsBuyisopacity.value = false; setTimeout(() => { plsBuyisopacity.value = true; }, 200); }; const clickBall = () => { drawer.value.openDrawer(); }; const __returned__ = { props, transition, drawer, detailisopen, detailisopacity, plsBuyIsopen, plsBuyisopacity, isWarning, buttonList, opendetail, openBuy, clickBall, ball, info, plsbuy, Drawer, shoppingCar }; Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); return __returned__; } }); const _imports_0 = "/static/index/Warehousing/firstbutton.png"; const _imports_1$1 = "/static/index/Warehousing/secondbutton.png"; const _imports_2 = "/static/index/Warehousing/thirdbutton.png"; const _imports_3 = "/static/index/Warehousing/fourthbutton.png"; function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ vue.withDirectives(vue.createElementVNode( "view", { class: "index-content-other", style: vue.normalizeStyle($setup.transition ? { opacity: `1` } : { opacity: `0` }) }, [ vue.createElementVNode("view", { class: "index-content-right" }, [ vue.createCommentVNode(" 解决margin重叠问题 "), vue.createElementVNode("view", { class: "index-right-height" }), vue.createElementVNode("view", { class: "index-right-title" }, [ vue.createElementVNode("view", { class: "index-right-name" }, " 货品名称 "), vue.createElementVNode("input", { class: "index-right-input", placeholder: "请输入货品名称" }), vue.createElementVNode("view", { class: "index-right-name" }, " 货品编码 "), vue.createElementVNode("input", { class: "index-right-input", placeholder: "请输入货品编码" }), vue.createElementVNode("view", { class: "index-right-name" }, " 拼音检索 "), vue.createElementVNode("input", { class: "index-right-input", placeholder: "请输入货品拼音" }), vue.createElementVNode("view", { class: "index-right-button-all" }, [ vue.createElementVNode("view", { class: "first-bgc" }, [ vue.createElementVNode("image", { class: "bgc-img", src: _imports_0 }) ]), vue.createElementVNode("view", { class: "second-bgc" }, [ vue.createElementVNode("image", { class: "bgc-img", src: _imports_1$1 }) ]), vue.createElementVNode( "view", { class: vue.normalizeClass(!$setup.isWarning ? `third-bgc` : `bgc-white`), onClick: _cache[0] || (_cache[0] = ($event) => $setup.isWarning = !$setup.isWarning) }, [ vue.withDirectives(vue.createElementVNode( "view", { class: "red-pao" }, vue.toDisplayString(`99+`), 512 /* NEED_PATCH */ ), [ [vue.vShow, !$setup.isWarning] ]), vue.createElementVNode("image", { class: "bgc-img", src: _imports_2 }) ], 2 /* CLASS */ ), vue.createElementVNode("view", { class: "fourth-bgc" }, [ vue.createElementVNode("image", { class: "fourth-bgc-img", src: _imports_3 }), vue.createElementVNode("view", { class: "fourth-bgc-font" }, " 请购单 ") ]), (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, vue.renderList($setup.buttonList, (item, index2) => { return vue.openBlock(), vue.createElementBlock("view", { key: index2 }, [ vue.createElementVNode("view", { class: "index-right-button" }, [ vue.createElementVNode("image", { class: "index-right-button-img", src: item.url }, null, 8, ["src"]), vue.createElementVNode( "view", { class: "index-right-button-font" }, vue.toDisplayString(item.name), 1 /* TEXT */ ) ]) ]); }), 128 /* KEYED_FRAGMENT */ )) ]) ]), vue.createElementVNode("view", { class: "swiper-contain" }, [ vue.createElementVNode("scroll-view", { "scroll-y": "", style: { "height": "98%" }, "show-scrollbar": false }, [ vue.createElementVNode("view", { class: "swiper-flex" }, [ (vue.openBlock(), vue.createElementBlock( vue.Fragment, null, vue.renderList([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], (item, index2) => { return vue.createElementVNode("view", { key: index2 }, [ vue.createElementVNode("view", { class: "swiper-card" }, [ vue.createElementVNode("view", { class: "swiper-card-left" }, [ vue.createElementVNode("view", { class: "swiper-card-left-white" }, [ vue.createElementVNode("image", { class: "swiper-card-left-white-img", src: `/static/index/project3.png`, onClick: $setup.opendetail }, null, 8, ["src"]) ]) ]), vue.createElementVNode("view", { class: "swiper-card-right" }, [ vue.createElementVNode("view", { class: "swiper-right-title" }, [ vue.createElementVNode("view", { class: "swiper-title-font" }, "纸尿裤-拉拉裤"), vue.createElementVNode("view", { class: "swiper-title-font-button" }, " 护理类 ") ]), vue.createElementVNode("view", { class: "swiper-heng" }), vue.createElementVNode("view", { class: "swiper-font" }, " 规格型号:800mm*690mm "), vue.createElementVNode("view", { class: "swiper-double" }, [ vue.createElementVNode("view", { class: "swiper-littlefont" }, " 采购单位:片 "), vue.withDirectives(vue.createElementVNode( "view", { class: "swiper-littlefont", style: { "margin-left": "10rpx" } }, [ vue.createTextVNode(" 库存 "), vue.createElementVNode("view", { style: { "color": "rgb(18,169,51)" } }, "↑"), vue.createTextVNode(" :1000 ") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.isWarning] ]) ]), vue.createElementVNode("view", { class: "swiper-double" }, [ vue.createElementVNode("view", { class: "swiper-littlefont" }, [ vue.createTextVNode(" 库存数量: "), vue.createElementVNode("view", { class: "blackfont" }, " 50 ") ]), vue.withDirectives(vue.createElementVNode( "view", { class: "swiper-littlefont", style: { "margin-left": "10rpx" } }, [ vue.createTextVNode(" 库存 "), vue.createElementVNode("view", { style: { "color": "rgb(248,122,85)" } }, "↓"), vue.createTextVNode(" :5 ") ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.isWarning] ]) ]), vue.createElementVNode("view", { class: "swiper-left-buttons" }, [ vue.createElementVNode("view", { class: "swiper-left-button-blue", onClick: $setup.openBuy }, " 请购 "), vue.createElementVNode("view", { class: "swiper-left-button" }, " 出入库 ") ]) ]) ]) ]); }), 64 /* STABLE_FRAGMENT */ )) ]) ]) ]) ]), vue.createElementVNode("view", { class: "index-content-down" }, " 长春市朝阳区久泰开运养老服务有限公司 ") ], 4 /* STYLE */ ), [ [vue.vShow, $props.isShow] ]), vue.createCommentVNode(" 详情的的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-detail", onClick: _cache[2] || (_cache[2] = ($event) => $setup.detailisopen = false) }, [ vue.createElementVNode( "view", { class: "popup-detail-content", style: vue.normalizeStyle({ opacity: $setup.detailisopacity ? 1 : 0 }), onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createVNode($setup["info"]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.detailisopen && $props.isShow] ]), vue.createCommentVNode(" 请购的的弹出层 "), vue.withDirectives(vue.createElementVNode( "view", { class: "popup-detail", onClick: _cache[4] || (_cache[4] = ($event) => $setup.plsBuyIsopen = false) }, [ vue.createElementVNode( "view", { class: "popup-detail-content", style: vue.normalizeStyle({ opacity: $setup.plsBuyisopacity ? 1 : 0 }), onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => { }, ["stop"])) }, [ vue.createVNode($setup["plsbuy"]) ], 4 /* STYLE */ ) ], 512 /* NEED_PATCH */ ), [ [vue.vShow, $setup.plsBuyIsopen && $props.isShow] ]), vue.createVNode( $setup["Drawer"], { ref: "drawer" }, { default: vue.withCtx(() => [ vue.createVNode($setup["shoppingCar"]) ]), _: 1 /* STABLE */ }, 512 /* NEED_PATCH */ ), vue.createVNode($setup["ball"], { isShow: $props.isShow && !$setup.detailisopen && !$setup.plsBuyIsopen, onClick: $setup.clickBall }, null, 8, ["isShow"]) ], 64 /* STABLE_FRAGMENT */ ); } const storeroomindex = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$9], ["__scopeId", "data-v-8856eb47"], ["__file", "D:/hldy_app/component/storeroom/index.vue"]]); const _sfc_main$9 = { name: "u-icon", emits: ["click", "touchstart"], props: { // 图标类名 name: { type: String, default: "" }, // 图标颜色,可接受主题色 color: { type: [String, null], default: "" }, // 字体大小,单位rpx size: { type: [Number, String], default: "inherit" }, // 是否显示粗体 bold: { type: Boolean, default: false }, // 点击图标的时候传递事件出去的index(用于区分点击了哪一个) index: { type: [Number, String], default: "" }, // 触摸图标时的类名 hoverClass: { type: String, default: "" }, // 自定义扩展前缀,方便用户扩展自己的图标库 customPrefix: { type: String, default: "uicon" }, // 图标右边或者下面的文字 label: { type: [String, Number], default: "" }, // label的位置,只能右边或者下边 labelPos: { type: String, default: "right" }, // label的大小 labelSize: { type: [String, Number], default: "28" }, // label的颜色 labelColor: { type: String, default: "#606266" }, // label与图标的距离(横向排列) marginLeft: { type: [String, Number], default: "6" }, // label与图标的距离(竖向排列) marginTop: { type: [String, Number], default: "6" }, // label与图标的距离(竖向排列) marginRight: { type: [String, Number], default: "6" }, // label与图标的距离(竖向排列) marginBottom: { type: [String, Number], default: "6" }, // 图片的mode imgMode: { type: String, default: "widthFix" }, // 自定义样式 customStyle: { type: Object, default() { return {}; } }, // 用于显示图片小图标时,图片的宽度 width: { type: [String, Number], default: "" }, // 用于显示图片小图标时,图片的高度 height: { type: [String, Number], default: "" }, // 用于解决某些情况下,让图标垂直居中的用途 top: { type: [String, Number], default: 0 }, // 是否为DecimalIcon showDecimalIcon: { type: Boolean, default: false }, // 背景颜色,可接受主题色,仅Decimal时有效 inactiveColor: { type: String, default: "#ececec" }, // 显示的百分比,仅Decimal时有效 percent: { type: [Number, String], default: "50" } }, computed: { customClass() { let classes = []; let { customPrefix, name } = this; let index2 = name.indexOf("-icon-"); if (index2 > -1) { customPrefix = name.substring(0, index2 + 5); classes.push(name); } else { classes.push(`${customPrefix}-${name}`); } if (customPrefix === "uicon") { classes.push("u-iconfont"); } else { classes.push(customPrefix); } if (this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor)) { classes.push("u-icon__icon--" + this.inactiveColor); } else if (this.color && this.$u.config.type.includes(this.color)) classes.push("u-icon__icon--" + this.color); return classes; }, iconStyle() { let style = {}; style = { fontSize: this.size == "inherit" ? "inherit" : this.$u.addUnit(this.size), fontWeight: this.bold ? "bold" : "normal", // 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 top: this.$u.addUnit(this.top) }; if (this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor)) { style.color = this.inactiveColor; } else if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color; return style; }, // 判断传入的name属性,是否图片路径,只要带有"/"均认为是图片形式 isImg() { return this.name.indexOf("/") !== -1; }, imgStyle() { let style = {}; style.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size); style.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size); return style; }, decimalIconStyle() { let style = {}; style = { fontSize: this.size == "inherit" ? "inherit" : this.$u.addUnit(this.size), fontWeight: this.bold ? "bold" : "normal", // 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中 top: this.$u.addUnit(this.top), width: this.percent + "%" }; if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color; return style; }, decimalIconClass() { let classes = []; classes.push(this.customPrefix + "-" + this.name); if (this.customPrefix == "uicon") { classes.push("u-iconfont"); } else { classes.push(this.customPrefix); } if (this.color && this.$u.config.type.includes(this.color)) classes.push("u-icon__icon--" + this.color); else classes.push("u-icon__icon--primary"); return classes; } }, methods: { click() { this.$emit("click", this.index); }, touchstart() { this.$emit("touchstart", this.index); } } }; function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { style: vue.normalizeStyle([$props.customStyle]), class: vue.normalizeClass(["u-icon", ["u-icon--" + $props.labelPos]]), onClick: _cache[1] || (_cache[1] = (...args) => $options.click && $options.click(...args)) }, [ $options.isImg ? (vue.openBlock(), vue.createElementBlock("image", { key: 0, class: "u-icon__img", src: $props.name, mode: $props.imgMode, style: vue.normalizeStyle([$options.imgStyle]) }, null, 12, ["src", "mode"])) : (vue.openBlock(), vue.createElementBlock("view", { key: 1, class: vue.normalizeClass(["u-icon__icon", $options.customClass]), style: vue.normalizeStyle([$options.iconStyle]), "hover-class": $props.hoverClass, onTouchstart: _cache[0] || (_cache[0] = (...args) => $options.touchstart && $options.touchstart(...args)) }, [ $props.showDecimalIcon ? (vue.openBlock(), vue.createElementBlock("text", { key: 0, style: vue.normalizeStyle([$options.decimalIconStyle]), class: vue.normalizeClass([$options.decimalIconClass, "u-icon__decimal"]), "hover-class": $props.hoverClass }, null, 14, ["hover-class"])) : vue.createCommentVNode("v-if", true) ], 46, ["hover-class"])), vue.createCommentVNode(' 这里进行空字符串判断,如果仅仅是v-if="label",可能会出现传递0的时候,结果也无法显示,微信小程序不传值默认为null,故需要增加null的判断 '), $props.label !== "" && $props.label !== null ? (vue.openBlock(), vue.createElementBlock( "text", { key: 2, class: "u-icon__label", style: vue.normalizeStyle({ color: $props.labelColor, fontSize: _ctx.$u.addUnit($props.labelSize), marginLeft: $props.labelPos == "right" ? _ctx.$u.addUnit($props.marginLeft) : 0, marginTop: $props.labelPos == "bottom" ? _ctx.$u.addUnit($props.marginTop) : 0, marginRight: $props.labelPos == "left" ? _ctx.$u.addUnit($props.marginRight) : 0, marginBottom: $props.labelPos == "top" ? _ctx.$u.addUnit($props.marginBottom) : 0 }) }, vue.toDisplayString($props.label), 5 /* TEXT, STYLE */ )) : vue.createCommentVNode("v-if", true) ], 6 /* CLASS, STYLE */ ); } const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$8], ["__scopeId", "data-v-5de67484"], ["__file", "D:/hldy_app/uni_modules/vk-uview-ui/components/u-icon/u-icon.vue"]]); const _sfc_main$8 = { name: "u-button", emits: ["click", "getphonenumber", "getuserinfo", "error", "opensetting", "launchapp", "chooseavatar"], props: { // 是否细边框 hairLine: { type: Boolean, default: true }, // 按钮的预置样式,default,primary,error,warning,success type: { type: String, default: "default" }, // 按钮尺寸,default,medium,mini size: { type: String, default: "default" }, // 按钮形状,circle(两边为半圆),square(带圆角) shape: { type: String, default: "square" }, // 按钮是否镂空 plain: { type: Boolean, default: false }, // 是否禁止状态 disabled: { type: Boolean, default: false }, // 是否加载中 loading: { type: Boolean, default: false }, // 开放能力,具体请看uniapp稳定关于button组件部分说明 // https://uniapp.dcloud.io/component/button openType: { type: String, default: "" }, // 用于