3730 lines
174 KiB
JavaScript
3730 lines
174 KiB
JavaScript
if (typeof Promise !== "undefined" && !Promise.prototype.finally) {
|
||
Promise.prototype.finally = function(callback) {
|
||
const promise = this.constructor;
|
||
return this.then(
|
||
(value) => promise.resolve(callback()).then(() => value),
|
||
(reason) => promise.resolve(callback()).then(() => {
|
||
throw reason;
|
||
})
|
||
);
|
||
};
|
||
}
|
||
;
|
||
if (typeof uni !== "undefined" && uni && uni.requireGlobal) {
|
||
const global = uni.requireGlobal();
|
||
ArrayBuffer = global.ArrayBuffer;
|
||
Int8Array = global.Int8Array;
|
||
Uint8Array = global.Uint8Array;
|
||
Uint8ClampedArray = global.Uint8ClampedArray;
|
||
Int16Array = global.Int16Array;
|
||
Uint16Array = global.Uint16Array;
|
||
Int32Array = global.Int32Array;
|
||
Uint32Array = global.Uint32Array;
|
||
Float32Array = global.Float32Array;
|
||
Float64Array = global.Float64Array;
|
||
BigInt64Array = global.BigInt64Array;
|
||
BigUint64Array = global.BigUint64Array;
|
||
}
|
||
;
|
||
if (uni.restoreGlobal) {
|
||
uni.restoreGlobal(Vue, weex, plus, setTimeout, clearTimeout, setInterval, clearInterval);
|
||
}
|
||
(function(vue) {
|
||
"use strict";
|
||
const _sfc_main$5 = /* @__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 props = __props;
|
||
const isPopupVisible = vue.ref(false);
|
||
const widthCom = vue.ref(1320);
|
||
const heightCom = vue.ref(540);
|
||
const topCom = vue.ref(145);
|
||
const leftCom = vue.ref(233);
|
||
const isPopupVisiblefiropen = vue.ref(false);
|
||
const isPopupVisiblesec = vue.ref(false);
|
||
const widthComsec = vue.ref(1150);
|
||
const heightComsec = vue.ref(630);
|
||
const topComsec = vue.ref(630);
|
||
const leftComsec = vue.ref(233);
|
||
const isPopupVisiblefiropensec = vue.ref(false);
|
||
const isPopupVisiblethi = vue.ref(false);
|
||
const widthComthi = vue.ref(880);
|
||
const heightComthi = vue.ref(630);
|
||
const topComthi = vue.ref(730);
|
||
const leftComthi = vue.ref(1420);
|
||
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 = (index) => {
|
||
menuIndex.value = index;
|
||
};
|
||
const changeMenuUnder = (index) => {
|
||
undermenuIndex.value = index;
|
||
};
|
||
const saveItem = (index) => {
|
||
if (roomTar.value.includes(index)) {
|
||
let array = [];
|
||
roomTar.value.forEach((res) => {
|
||
if (res !== index) {
|
||
array.push(res);
|
||
}
|
||
});
|
||
roomTar.value = array;
|
||
} else {
|
||
roomTar.value.push(index);
|
||
}
|
||
};
|
||
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 = true;
|
||
setTimeout(() => {
|
||
widthCom.value = 1900;
|
||
heightCom.value = 1080;
|
||
topCom.value = 145;
|
||
leftCom.value = 233;
|
||
isPopupVisiblefiropen.value = true;
|
||
}, 10);
|
||
};
|
||
const closePopup = () => {
|
||
widthCom.value = 1320;
|
||
heightCom.value = 540;
|
||
topCom.value = 145;
|
||
leftCom.value = 233;
|
||
isPopupVisiblefiropen.value = false;
|
||
setTimeout(() => {
|
||
isPopupVisible.value = false;
|
||
}, 300);
|
||
};
|
||
const showPopupsec = () => {
|
||
isPopupVisiblesec.value = true;
|
||
setTimeout(() => {
|
||
widthComsec.value = 1900;
|
||
heightComsec.value = 1080;
|
||
topComsec.value = 320;
|
||
leftComsec.value = 233;
|
||
isPopupVisiblefiropensec.value = true;
|
||
}, 10);
|
||
};
|
||
const closePopupsec = () => {
|
||
widthComsec.value = 1150;
|
||
heightComsec.value = 630;
|
||
topComsec.value = 730;
|
||
leftComsec.value = 233;
|
||
isPopupVisiblefiropensec.value = false;
|
||
setTimeout(() => {
|
||
isPopupVisiblesec.value = false;
|
||
}, 300);
|
||
};
|
||
const showPopupthi = () => {
|
||
isPopupVisiblethi.value = true;
|
||
setTimeout(() => {
|
||
widthComthi.value = 1900;
|
||
heightComthi.value = 1080;
|
||
topComthi.value = 320;
|
||
leftComthi.value = 380;
|
||
isPopupVisiblefiropenthi.value = true;
|
||
}, 10);
|
||
};
|
||
const closePopupthi = () => {
|
||
widthComthi.value = 880;
|
||
heightComthi.value = 630;
|
||
topComthi.value = 730;
|
||
leftComthi.value = 1420;
|
||
isPopupVisiblefiropenthi.value = false;
|
||
setTimeout(() => {
|
||
isPopupVisiblethi.value = false;
|
||
}, 300);
|
||
};
|
||
let timerId = null;
|
||
vue.onMounted(() => {
|
||
timerId = updateTime();
|
||
setInterval(updateTime, 1e3);
|
||
});
|
||
vue.onBeforeUnmount(() => {
|
||
clearInterval(timerId);
|
||
});
|
||
const __returned__ = { props, isPopupVisible, widthCom, heightCom, topCom, leftCom, isPopupVisiblefiropen, isPopupVisiblesec, widthComsec, heightComsec, topComsec, leftComsec, isPopupVisiblefiropensec, isPopupVisiblethi, widthComthi, heightComthi, topComthi, leftComthi, 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, closePopup, showPopupsec, closePopupsec, showPopupthi, closePopupthi, get timerId() {
|
||
return timerId;
|
||
}, set timerId(v) {
|
||
timerId = v;
|
||
} };
|
||
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
||
return __returned__;
|
||
}
|
||
});
|
||
const _imports_0$2 = "/static/index/customer.png";
|
||
const _imports_0$1 = "/static/index/undericons/upguang.png";
|
||
const _export_sfc = (sfc, props) => {
|
||
const target = sfc.__vccOpts || sfc;
|
||
for (const [key, val] of props) {
|
||
target[key] = val;
|
||
}
|
||
return target;
|
||
};
|
||
function _sfc_render$4(_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: "right-container-fir-left-nav" }, [
|
||
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, index) => {
|
||
return vue.createElementVNode(
|
||
"span",
|
||
{
|
||
key: index,
|
||
class: vue.normalizeClass($props.darkFans ? `dot-dark` : `dot`),
|
||
style: vue.normalizeStyle(index === $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, index) => {
|
||
return vue.createElementVNode("swiper-item", {
|
||
class: "swiper-item-flex",
|
||
key: index
|
||
}, [
|
||
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, index2) => {
|
||
return vue.createElementVNode("swiper-item", {
|
||
class: "swiper-item-flex",
|
||
key: index2
|
||
}, [
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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 */
|
||
)
|
||
]);
|
||
}),
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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 */
|
||
)
|
||
]),
|
||
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, index) => {
|
||
return vue.createElementVNode("view", {
|
||
class: "",
|
||
key: index
|
||
}, [
|
||
vue.createElementVNode("image", {
|
||
class: "right-container-card-right-img",
|
||
src: _imports_0$2
|
||
})
|
||
]);
|
||
}),
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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(index)]
|
||
]),
|
||
vue.createElementVNode("image", {
|
||
class: "right-container-button-img",
|
||
src: $setup.roomTar.includes(index) ? item.targetUrl : item.url,
|
||
onClick: ($event) => $setup.saveItem(index)
|
||
}, null, 8, ["src", "onClick"]),
|
||
vue.createElementVNode(
|
||
"text",
|
||
{
|
||
class: "right-container-button-text",
|
||
style: vue.normalizeStyle($setup.roomTar.includes(index) ? { 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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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(index)]
|
||
]),
|
||
vue.createElementVNode("image", {
|
||
class: "right-container-button-img",
|
||
src: $setup.roomTar.includes(index) ? item.targetUrl : item.url,
|
||
onClick: ($event) => $setup.saveItem(index)
|
||
}, null, 8, ["src", "onClick"]),
|
||
vue.createElementVNode(
|
||
"text",
|
||
{
|
||
class: "right-container-button-text",
|
||
style: vue.normalizeStyle($setup.roomTar.includes(index) ? { 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($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, index) => {
|
||
return vue.createElementVNode(
|
||
"span",
|
||
{
|
||
key: index,
|
||
class: vue.normalizeClass($props.darkFans ? `dot-dark` : `dot`),
|
||
style: vue.normalizeStyle(index === $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, index) => {
|
||
return vue.createElementVNode("swiper-item", {
|
||
class: "swiper-item-flex",
|
||
key: index
|
||
}, [
|
||
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, index2) => {
|
||
return vue.createElementVNode("swiper-item", {
|
||
class: "swiper-item-flex",
|
||
key: index2
|
||
}, [
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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 */
|
||
),
|
||
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, index) => {
|
||
return vue.createElementVNode("swiper-item", {
|
||
class: "swiper-item-flex",
|
||
key: index
|
||
}, [
|
||
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 */
|
||
),
|
||
vue.createElementVNode("view", { class: "under-father" }, [
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.undericonList, (item, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
class: "under-father-view",
|
||
key: index,
|
||
onClick: ($event) => $setup.changeMenuUnder(index)
|
||
}, [
|
||
vue.withDirectives(vue.createElementVNode(
|
||
"image",
|
||
{
|
||
class: "under-father-light",
|
||
src: _imports_0$1
|
||
},
|
||
null,
|
||
512
|
||
/* NEED_PATCH */
|
||
), [
|
||
[vue.vShow, index === $setup.undermenuIndex]
|
||
]),
|
||
vue.createElementVNode("image", {
|
||
class: "under-father-img",
|
||
src: index === $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.createCommentVNode(" 弹出层左上角 "),
|
||
$setup.isPopupVisible ? (vue.openBlock(), vue.createElementBlock(
|
||
"view",
|
||
{
|
||
key: 0,
|
||
class: "popup-overlay",
|
||
onClick: $setup.closePopup,
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropen ? { backgroundColor: `rgba(89, 109, 154, 0.5)` } : `{}`)
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "popup-overlay-content",
|
||
onClick: _cache[2] || (_cache[2] = vue.withModifiers(() => {
|
||
}, ["stop"])),
|
||
style: vue.normalizeStyle({ width: $setup.widthCom + "rpx", height: $setup.heightCom + "rpx", top: $setup.topCom + "rpx", left: $setup.leftCom + "rpx" })
|
||
},
|
||
[
|
||
vue.createElementVNode("view", { class: "right-container-fir-left-nav-open" }, [
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: vue.normalizeClass($props.darkFans ? `right-container-fir-left-card-dark` : `right-container-fir-left-card`)
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
style: vue.normalizeStyle([{ "width": "1350rpx", "display": "flex", "justify-content": "center", "align-items": "center", "transition": "all 0.4s ease-in-out", "transform-origin": "left top" }, $setup.isPopupVisiblefiropen ? { transform: `scale(1.4)`, marginLeft: `0`, marginTop: `0` } : { transform: `scale(1)`, marginLeft: `0rpx`, marginTop: `-89rpx` }])
|
||
},
|
||
[
|
||
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.closePopup
|
||
}, "护理类"),
|
||
$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-card-main" }, [
|
||
vue.createElementVNode("view", { class: "swiper savehundred" }, [
|
||
(vue.openBlock(), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList([1], (item, index) => {
|
||
return vue.createElementVNode("view", {
|
||
class: "swiper-item-flex",
|
||
key: index
|
||
}, [
|
||
vue.createElementVNode("view", {
|
||
class: "right-container-fir-left-card-flex",
|
||
style: { "transition": "all 0.4s ease-in-out" }
|
||
}, [
|
||
vue.createElementVNode("view", { class: "uni-margin-wrap-fir" }, [
|
||
vue.createElementVNode("view", { class: "swiper" }, [
|
||
(vue.openBlock(), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList([1], (item2, index2) => {
|
||
return vue.createElementVNode("view", {
|
||
class: "swiper-item-flex",
|
||
key: index2
|
||
}, [
|
||
vue.createElementVNode("view", {
|
||
class: "right-container-fir-left-card-card",
|
||
style: { "margin-top": "100rpx" }
|
||
}, [
|
||
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.closePopup
|
||
}, 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: "time-tra-fir",
|
||
style: { "transition": "all 0.4s ease-in-out" }
|
||
}, [
|
||
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 */
|
||
))
|
||
])
|
||
]),
|
||
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 */
|
||
))
|
||
]),
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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 */
|
||
)
|
||
]);
|
||
}),
|
||
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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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"])
|
||
])
|
||
])
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
2
|
||
/* CLASS */
|
||
)
|
||
])
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)) : vue.createCommentVNode("v-if", true),
|
||
vue.createCommentVNode(" 弹出层左上角结束 "),
|
||
vue.createCommentVNode(" 弹出层左下角 "),
|
||
$setup.isPopupVisiblesec ? (vue.openBlock(), vue.createElementBlock(
|
||
"view",
|
||
{
|
||
key: 1,
|
||
class: "popup-overlay",
|
||
onClick: $setup.closePopupsec,
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropensec ? { backgroundColor: `rgba(89, 109, 154, 0.5)` } : `{}`)
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "popup-overlay-content",
|
||
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
||
}, ["stop"])),
|
||
style: vue.normalizeStyle({ width: $setup.widthComsec + "rpx", height: $setup.heightComsec + "rpx", top: $setup.topComsec + "rpx", left: $setup.leftComsec + "rpx" })
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: vue.normalizeClass($props.darkFans ? `right-container-left-dark` : `right-container-left`)
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
style: vue.normalizeStyle([{ "display": "flex", "justify-content": "center", "align-items": "center", "transition": "all 0.4s ease-in-out", "transform-origin": "left bottom" }, $setup.isPopupVisiblefiropensec ? { transform: `scale(1.5)`, marginLeft: `-630rpx`, marginTop: `650rpx` } : { transform: `scale(1)`, marginLeft: `100rpx`, marginTop: `150rpx` }])
|
||
},
|
||
[
|
||
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.closePopupsec
|
||
}, "医疗类"),
|
||
$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("view", {
|
||
class: "swiper savehundred",
|
||
style: { "width": "1000rpx" }
|
||
}, [
|
||
(vue.openBlock(), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList([1], (item, index) => {
|
||
return vue.createElementVNode("view", {
|
||
class: "swiper-item-flex",
|
||
key: index
|
||
}, [
|
||
vue.createElementVNode("div", { class: "right-container-fir-left-card-flex-sec" }, [
|
||
vue.createElementVNode("view", { class: "uni-margin-wrap" }, [
|
||
vue.createElementVNode("view", { class: "swiper" }, [
|
||
(vue.openBlock(), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList([1], (item2, index2) => {
|
||
return vue.createElementVNode("view", {
|
||
class: "swiper-item-flex",
|
||
key: index2,
|
||
style: { "transition": "all 0.4s ease-in-out" }
|
||
}, [
|
||
vue.createElementVNode(
|
||
"div",
|
||
{
|
||
class: "right-container-left-font-spec",
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropensec ? { top: `120rpx` } : { top: `120rpx` })
|
||
},
|
||
" 进行中 ",
|
||
4
|
||
/* STYLE */
|
||
),
|
||
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: vue.normalizeClass(`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: vue.normalizeClass(`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: vue.normalizeClass(`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: vue.normalizeClass(`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: vue.normalizeClass(`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: vue.normalizeClass(`right-container-photo`),
|
||
onClick: $setup.showPopupsec
|
||
}, [
|
||
vue.createElementVNode("image", {
|
||
class: "right-container-photo-img",
|
||
src: `/static/index/yiliao/project2.png`
|
||
}, 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 */
|
||
))
|
||
])
|
||
])
|
||
])
|
||
]);
|
||
}),
|
||
64
|
||
/* STABLE_FRAGMENT */
|
||
))
|
||
]),
|
||
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",
|
||
style: { "width": "250rpx", "height": "700rpx", "margin-top": "-150rpx" }
|
||
}, [
|
||
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",
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropensec ? { height: `700rpx` } : {})
|
||
},
|
||
[
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.mediumList, (item, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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 */
|
||
))
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)) : 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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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"])
|
||
])
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
2
|
||
/* CLASS */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)) : vue.createCommentVNode("v-if", true),
|
||
vue.createCommentVNode(" 弹出层左下角结束 "),
|
||
vue.createCommentVNode(" 弹出层右下角 "),
|
||
$setup.isPopupVisiblethi ? (vue.openBlock(), vue.createElementBlock(
|
||
"view",
|
||
{
|
||
key: 2,
|
||
class: "popup-overlay",
|
||
onClick: $setup.closePopupthi,
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropenthi ? { backgroundColor: `rgba(89, 109, 154, 0.5)` } : `{}`)
|
||
},
|
||
[
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "popup-overlay-content",
|
||
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
||
}, ["stop"])),
|
||
style: vue.normalizeStyle({ width: $setup.widthComthi + "rpx", height: $setup.heightComthi + "rpx", top: $setup.topComthi + "rpx", left: $setup.leftComthi + "rpx" })
|
||
},
|
||
[
|
||
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",
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropenthi ? { transform: `scale(1.8)`, marginLeft: `750rpx`, marginTop: `200rpx` } : { transform: `scale(1)` })
|
||
},
|
||
[
|
||
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.closePopupthi
|
||
}, "保洁类 "),
|
||
vue.createElementVNode("view", { class: "uni-margin-wrap" }, [
|
||
vue.createElementVNode("div", {
|
||
class: "swiper",
|
||
circular: "",
|
||
"indicator-dots": false,
|
||
"disable-touch": ""
|
||
}, [
|
||
(vue.openBlock(), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList([1], (item, index) => {
|
||
return vue.createElementVNode("div", {
|
||
class: "swiper-item-flex",
|
||
key: index,
|
||
style: { "transition": "all 0.4s ease-in-out" }
|
||
}, [
|
||
vue.createElementVNode("view", { class: "time-tra-thi-open" }, [
|
||
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: vue.normalizeClass(`time-tra-thi-photo`),
|
||
style: vue.normalizeStyle($setup.isPopupVisiblefiropenthi ? { marginLeft: `100rpx` } : {})
|
||
},
|
||
[
|
||
vue.createElementVNode("image", {
|
||
class: "time-tra-thi-photo-img",
|
||
style: { "margin-top": "150rpx", "margin-left": "-80rpx" },
|
||
src: `/static/index/project3.png`,
|
||
onClick: $setup.closePopupthi
|
||
}, null, 8, ["src"]),
|
||
vue.createElementVNode(
|
||
"text",
|
||
{
|
||
class: vue.normalizeClass($props.darkFans ? `time-tra-thi-photo-font-dark` : `time-tra-thi-photo-font`)
|
||
},
|
||
" 更换纸尿裤 ",
|
||
2
|
||
/* CLASS */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
]);
|
||
}),
|
||
64
|
||
/* STABLE_FRAGMENT */
|
||
))
|
||
])
|
||
])
|
||
])
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
2
|
||
/* CLASS */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)) : vue.createCommentVNode("v-if", true),
|
||
vue.createCommentVNode(" 右下角结束 ")
|
||
],
|
||
4
|
||
/* STYLE */
|
||
);
|
||
}
|
||
const rightItemsfirst = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$4], ["__scopeId", "data-v-9f74ebdb"], ["__file", "D:/hldy_app/component/rightItemsindex/index.vue"]]);
|
||
const _sfc_main$4 = /* @__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"],
|
||
setup(__props, { expose: __expose, emit: __emit }) {
|
||
const props = __props;
|
||
vue.onMounted(() => {
|
||
downList.value = bigArray[0].data;
|
||
});
|
||
const scrollTop = vue.ref(0);
|
||
const downList = vue.ref();
|
||
const rightList = vue.ref([
|
||
"三分段",
|
||
"四分段"
|
||
]);
|
||
const getClass = (item, index0, index1) => {
|
||
if (!props.canmove && props.liang.index0 === index0 && props.liang.index1 === index1) {
|
||
return "super-card-time-card-blue";
|
||
} else if (item.value) {
|
||
return "super-card-time-card-yellow";
|
||
}
|
||
return "super-card-time-card";
|
||
};
|
||
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 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(0);
|
||
const undermenuIndex = vue.ref(0);
|
||
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 = (index) => {
|
||
upmenuIndex.value = index;
|
||
downList.value = bigArray[index].data;
|
||
downmenuIndex.value = 999;
|
||
};
|
||
const changeMenuUnder = (index) => {
|
||
undermenuIndex.value = index;
|
||
};
|
||
const rightListClick = (index) => {
|
||
rightListIndex.value = index;
|
||
};
|
||
const timer = vue.ref(null);
|
||
const elementsInfo = vue.ref({});
|
||
const rulerTouchStart = (item, index0, index1) => {
|
||
timer.value = setTimeout(() => {
|
||
if (item.value) {
|
||
uni.showModal({
|
||
title: "警告",
|
||
content: "确认删除该方格吗?",
|
||
success: function(res) {
|
||
if (res.confirm) {
|
||
timearr.value[index0].children[index1].value = "";
|
||
} else if (res.cancel)
|
||
;
|
||
}
|
||
});
|
||
}
|
||
}, 1500);
|
||
};
|
||
const rulerTouchEnd = () => {
|
||
if (timer.value) {
|
||
clearTimeout(timer.value);
|
||
timer.value = null;
|
||
}
|
||
};
|
||
const handleTouchStart = (item, index) => {
|
||
downmenuIndex.value = index;
|
||
const reldata = [];
|
||
const query = uni.createSelectorQuery();
|
||
query.selectAll(".super-card-time-card").boundingClientRect((data) => {
|
||
data.forEach((res) => {
|
||
if (res.left > 200 && res.left < 1067 && res.top < 500 && res.top > 190) {
|
||
reldata.push(res);
|
||
}
|
||
});
|
||
}).exec();
|
||
query.selectAll(".super-card-time-card-yellow").boundingClientRect((data) => {
|
||
data.forEach((res) => {
|
||
if (res.left > 200 && res.left < 1067 && res.top < 500 && res.top > 190) {
|
||
reldata.push(res);
|
||
}
|
||
});
|
||
}).exec();
|
||
emit("savename", item, reldata);
|
||
};
|
||
const rulerEnd = async (res) => {
|
||
if (props.liang.index0 !== 999 && res) {
|
||
timearr.value[props.liang.index0].children[props.liang.index1].value = res;
|
||
const shouldAdd = timearr.value.some((obj) => {
|
||
const children = obj.children;
|
||
return children[children.length - 1].value.trim() !== "";
|
||
});
|
||
if (shouldAdd) {
|
||
timearr.value.forEach((obj) => {
|
||
obj.children.push({ value: "" });
|
||
});
|
||
scrollTop.value = 999;
|
||
await vue.nextTick();
|
||
scrollTop.value = 9999;
|
||
}
|
||
}
|
||
};
|
||
__expose({
|
||
rulerEnd
|
||
});
|
||
const moveNumber = vue.ref({
|
||
index0: 999,
|
||
index1: 999
|
||
});
|
||
const timearr = vue.ref([
|
||
{
|
||
time: "00",
|
||
children: [
|
||
{ value: "A" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "B" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "01",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "C" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "D" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "02",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "E" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "03",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "04",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "F" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "05",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "G" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "06",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "07",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "H" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "08",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "09",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "10",
|
||
children: [
|
||
{ value: "ccc" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "11",
|
||
children: [
|
||
{ value: "aaa" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "12",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "J" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "13",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "K" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "14",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "15",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "L" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "16",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "17",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "xxx" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "18",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "19",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "20",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "21",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "22",
|
||
children: [
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
},
|
||
{
|
||
time: "23",
|
||
children: [
|
||
{ value: "1" },
|
||
{ value: "" },
|
||
{ value: "3" },
|
||
{ value: "" },
|
||
{ value: "" },
|
||
{ value: "e" },
|
||
{ value: "" },
|
||
{ value: "" }
|
||
]
|
||
}
|
||
]);
|
||
const bigArray = [
|
||
{
|
||
"type": "清洁照料",
|
||
"data": [
|
||
{
|
||
"type": "口腔清洁",
|
||
"data": [
|
||
{ "type": "准备洁具(口腔)", "data": "为老人提供口腔清洁器具,牙膏牙刷及水杯.看护完成" },
|
||
{ "type": "协助清洁(口腔)", "data": "准备水杯.牙刷牙膏.纸巾.协助完成清洁." },
|
||
{ "type": "义齿清洁(口腔)", "data": "准备凉开水浸泡.取下流水冲洗.盐水棉球擦拭口腔.漱口.水.协助清洁" },
|
||
{ "type": "棉球清洁(口腔)", "data": "准备好盐水棉球.镊子.止血钳.压舌板.垫巾.手电筒.完成清洁" }
|
||
]
|
||
},
|
||
{
|
||
"type": "头部清洁",
|
||
"data": [
|
||
{ "type": "准备洁具(头部)", "data": "准备温水.一次性面巾.洗发水.清洗头部." },
|
||
{ "type": "协助洗头", "data": "准备温水.毛巾.洗发水.清洗头部.擦干头部." },
|
||
{ "type": "卧式洗头", "data": "" },
|
||
{ "type": "擦头", "data": "" },
|
||
{ "type": "刮头", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "面部清洁",
|
||
"data": [
|
||
{ "type": "准备洁具(面部)", "data": "" },
|
||
{ "type": "协助洁面", "data": "准备温水.一次性面巾.洁面乳.清洁面部.涂抹面霜.棉签擦拭耳朵.鼻孔." }
|
||
]
|
||
},
|
||
{
|
||
"type": "躯干清洁",
|
||
"data": [
|
||
{ "type": "准备洁具(躯干)", "data": "准备温水.一次性面巾.香皂.换洗衣物.清洁皮肤.完成后涂抹身体保湿乳." },
|
||
{ "type": "协助清洁(躯干)", "data": "" },
|
||
{ "type": "卧床清洁(躯干)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "四肢清洁",
|
||
"data": [
|
||
{ "type": "准备洁具(四肢)", "data": "" },
|
||
{ "type": "协助清洁(四肢)", "data": "准备温水.一次性面巾.香皂.清洁后涂抹身体保湿乳." },
|
||
{ "type": "卧床清洁(四肢)", "data": "" },
|
||
{ "type": "肌张力高(清洁)", "data": "准备温水.一次性面巾.香皂.清洁后涂抹身体保湿乳." }
|
||
]
|
||
},
|
||
{
|
||
"type": "会阴清洁",
|
||
"data": [
|
||
{ "type": "会阴清洁(男)", "data": "准备手套.盐水棉球.碘伏棉球.干棉球.环形完成清洁" },
|
||
{ "type": "会阴清洁(女)", "data": "准备手套.碘伏棉球.盐水棉球.干棉球.纵向完成擦拭" }
|
||
]
|
||
},
|
||
{
|
||
"type": "肛周清洁",
|
||
"data": [
|
||
{ "type": "肛周清洁", "data": "准备手套.碘伏棉球.盐水棉球.干棉球完成清洁" }
|
||
]
|
||
},
|
||
{
|
||
"type": "手清洁",
|
||
"data": [
|
||
{ "type": "洗手", "data": "" },
|
||
{ "type": "泡手", "data": "准备温水水盆.洗手液.一次性面巾.清洁后涂抹润手霜" },
|
||
{ "type": "准备洁具", "data": "" },
|
||
{ "type": "协助洗手", "data": "" },
|
||
{ "type": "强直屈曲洗手", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "足清洁",
|
||
"data": [
|
||
{ "type": "泡脚", "data": "准备温水水盆.毛巾完成清洁后涂抹保湿乳" },
|
||
{ "type": "卧式泡脚", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "剃须",
|
||
"data": [
|
||
{ "type": "修睫毛", "data": "" },
|
||
{ "type": "剃须", "data": "准备剃须液.剃须刀.一次性面巾.温水.协助剃须" }
|
||
]
|
||
},
|
||
{
|
||
"type": "修甲",
|
||
"data": [
|
||
{ "type": "角质增生(修甲)", "data": "准备指甲刀.纸巾.进行修剪" },
|
||
{ "type": "灰指甲(修甲)", "data": "准备专用指甲刀.纸巾.盐水棉球.进行修剪" },
|
||
{ "type": "正常(修甲)", "data": "准备指甲刀.纸巾.进行修剪" }
|
||
]
|
||
},
|
||
{
|
||
"type": "理发",
|
||
"data": [
|
||
{ "type": "理发", "data": "准备围巾.推子理发后.温水清洗." },
|
||
{ "type": "理发(颅骨缺损)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "沐浴",
|
||
"data": [
|
||
{ "type": "床上沐浴", "data": "准备温水.一次性毛巾.香皂.洗发水.身体保湿乳协助清洗." },
|
||
{ "type": "深度清洁", "data": "准备温水.一次性面巾.洗发水.香皂.棉签.指甲刀.身体保湿乳.盐水棉球.完成清洁" },
|
||
{ "type": "浴间洗浴", "data": "准备平车.换洗衣物.浴巾.洗发水.澡巾.香皂.被子.完成清洁" },
|
||
{ "type": "床上沐浴(大体重)", "data": "" },
|
||
{ "type": "深度清洁(大体重)", "data": "" },
|
||
{ "type": "浴间洗浴(大体重)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "气切消毒",
|
||
"data": [
|
||
{ "type": "内套管清洁", "data": "" },
|
||
{ "type": "更换气切纱布", "data": "" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "饮食照料",
|
||
"data": [
|
||
{
|
||
"type": "正餐饮食",
|
||
"data": [
|
||
{ "type": "准备餐具", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(正常)", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(超时)", "data": "按需床头摇起" },
|
||
{ "type": "鼻胃管进餐", "data": "床头摇起45度角" },
|
||
{ "type": "鼻肠管进餐", "data": "床头摇起45度角" },
|
||
{ "type": "轮椅进餐", "data": "" },
|
||
{ "type": "轮椅进餐(大体重)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "辅餐饮食",
|
||
"data": [
|
||
{ "type": "准备餐具", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(正常)", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(超时)", "data": "按需床头摇起" },
|
||
{ "type": "鼻胃管进餐", "data": "床头摇起45度角" },
|
||
{ "type": "鼻肠管进餐", "data": "床头摇起45度角" }
|
||
]
|
||
},
|
||
{
|
||
"type": "果汁饮食",
|
||
"data": [
|
||
{ "type": "准备餐具", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(正常)", "data": "按需床头摇起" },
|
||
{ "type": "协助进餐(超时)", "data": "按需床头摇起" },
|
||
{ "type": "鼻胃管进餐", "data": "床头摇起45度角" },
|
||
{ "type": "鼻肠管进餐", "data": "床头摇起45度角" }
|
||
]
|
||
},
|
||
{
|
||
"type": "饮水饮食",
|
||
"data": [
|
||
{ "type": "吸管喂药", "data": "" },
|
||
{ "type": "准备水杯", "data": "" },
|
||
{ "type": "协助饮水", "data": "" },
|
||
{ "type": "协助饮水(超时)", "data": "" },
|
||
{ "type": "鼻胃管饮水", "data": "床头摇起45度角" },
|
||
{ "type": "鼻肠管饮水", "data": "床头摇起45度角" },
|
||
{ "type": "准备水杯", "data": "按需床头摇起" },
|
||
{ "type": "协助饮水", "data": "按需床头摇起" },
|
||
{ "type": "协助饮水(超时)", "data": "按需床头摇起" },
|
||
{ "type": "鼻胃管饮水", "data": "" },
|
||
{ "type": "鼻肠管饮水", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "加餐饮食",
|
||
"data": [
|
||
{ "type": "准备餐具", "data": "" },
|
||
{ "type": "协助进餐", "data": "" },
|
||
{ "type": "协助进餐(超时)", "data": "" },
|
||
{ "type": "鼻胃管进餐", "data": "" },
|
||
{ "type": "胃肠管进餐", "data": "" },
|
||
{ "type": "准备餐具", "data": "" },
|
||
{ "type": "协助进餐", "data": "" },
|
||
{ "type": "协助进餐(超时)", "data": "" },
|
||
{ "type": "鼻胃管进餐", "data": "" },
|
||
{ "type": "胃肠管进餐", "data": "" },
|
||
{ "type": "食物加工", "data": "" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "睡眠照料",
|
||
"data": [
|
||
{
|
||
"type": "巡视",
|
||
"data": [
|
||
{ "type": "巡视", "data": "巡视中.避免说话.走路轻." },
|
||
{ "type": "体位调整", "data": "巡视过程中发现老人体位不正确或踢蹬被褥,进行体位调整和盖被褥" }
|
||
]
|
||
},
|
||
{
|
||
"type": "体位调整",
|
||
"data": [
|
||
{ "type": "防坠床", "data": "" },
|
||
{ "type": "被褥调整", "data": "老人踢蹬被褥,调成被褥" },
|
||
{ "type": "睡姿调整", "data": "" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "排泄照料",
|
||
"data": [
|
||
{
|
||
"type": "小便",
|
||
"data": [
|
||
{ "type": "更换尿袋", "data": "准备尿袋一次性面巾.温水.进行操作" },
|
||
{ "type": "更换隔尿垫", "data": "准备尿片.尿裤.温水.一次性面巾.进行操作" },
|
||
{ "type": "使用尿盆", "data": "准备尿盆.温水.一次性面巾进行操作" },
|
||
{ "type": "使用尿壶", "data": "准备尿壶.温水.一次性面巾.协助操作" },
|
||
{ "type": "协助入厕", "data": "准备轮椅.推至卫生间.协助如厕" },
|
||
{ "type": "坐便椅", "data": "准备坐便椅.手纸.床椅转移.协助如厕" },
|
||
{ "type": "留置尿袋", "data": "准备尿液指定容器夹闭尿管.将.尿液倒出后.关闭开关." },
|
||
{ "type": "更换纸尿裤", "data": "" },
|
||
{ "type": "热敷抚触排尿", "data": "" },
|
||
{ "type": "协助坐便椅", "data": "" },
|
||
{ "type": "更换尿片", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "大便",
|
||
"data": [
|
||
{ "type": "床上排便", "data": "准备尿片.尿裤.温水.一次性面巾.手纸.进行操作" },
|
||
{ "type": "协助坐便椅", "data": "准备坐便椅.手纸." },
|
||
{ "type": "协助入厕", "data": "准备轮椅" },
|
||
{ "type": "人工取便", "data": "准备排便手套.开塞露.温水.一次性面巾.手纸.尿片.尿裤." },
|
||
{ "type": "造瘘袋", "data": "准备手套.便器.温水." },
|
||
{ "type": "坐便椅", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "吸痰",
|
||
"data": [
|
||
{ "type": "口腔吸痰", "data": "准备吸痰器.吸痰管.泡管液.冲管水.盐水棉球.纱布.完成吸痰" },
|
||
{ "type": "气切吸痰", "data": "准备吸痰器.吸痰管.冲管水.泡管液.纱布块.完成操作" }
|
||
]
|
||
},
|
||
{
|
||
"type": "呕吐",
|
||
"data": [
|
||
{ "type": "呕吐", "data": "准备换洗衣物.被褥.吸痰器.吸痰管.冲管水.漱口水.纱布.完成操作." }
|
||
]
|
||
},
|
||
{
|
||
"type": "引流",
|
||
"data": [
|
||
{ "type": "腹腔引流护理", "data": "" }
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "日常照料",
|
||
"data": [
|
||
{
|
||
"type": "协助喂药",
|
||
"data": [
|
||
{ "type": "协助喂药", "data": "准备好服用药物.温水.看护服用" },
|
||
{ "type": "鼻饲喂药", "data": "床头摇起45度角,准备温水.灌注器.药物.匀速灌注." },
|
||
{ "type": "注射器/吸管喂药", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "床椅转移",
|
||
"data": [
|
||
{ "type": "床椅转移", "data": "准备轮椅.换好衣物手纸.水杯.食物.进行转移" },
|
||
{ "type": "床椅转移(大体重)", "data": "" },
|
||
{ "type": "床椅转移", "data": "" },
|
||
{ "type": "床椅转移(大体重)", "data": "" },
|
||
{ "type": "协助床椅转移", "data": "" },
|
||
{ "type": "协助床椅转移", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "压疮防护",
|
||
"data": [
|
||
{ "type": "一级压疮防护", "data": "准备好体位垫.整理好衣物.进行翻身.扣背" },
|
||
{ "type": "二级压疮防护", "data": "翻身扣背垫枕开始操作" },
|
||
{ "type": "三级压疮防护", "data": "带压疮翻身扣背垫枕.进行操作" },
|
||
{ "type": "一级压疮防护(大体重)", "data": "" },
|
||
{ "type": "二级压疮防护(大体重)", "data": "" },
|
||
{ "type": "三级压疮防护(大体重)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "轮椅防护",
|
||
"data": [
|
||
{ "type": "轮椅防护", "data": "准备好安全带.坐垫.1小内将长者抬起.放松肌肉." },
|
||
{ "type": "轮椅防护(大体重)", "data": "" },
|
||
{ "type": "轮椅防护", "data": "" },
|
||
{ "type": "床椅转移(大体重)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "约束防护",
|
||
"data": [
|
||
{ "type": "约束位按摩(手)", "data": "约束位置用约束手套或束缚带.2小时.解开.放松." },
|
||
{ "type": "约束位按摩(足)", "data": "使用约束带.约束位置2小时按摩.用温水清洁." },
|
||
{ "type": "约束位按摩(全)", "data": "约束位置2小时放松.清洗." },
|
||
{ "type": "防护网约束", "data": "通过防护网对老人进行约束看护" }
|
||
]
|
||
},
|
||
{
|
||
"type": "按摩保健",
|
||
"data": [
|
||
{ "type": "协助行走", "data": "准备舒适鞋子.水杯.手纸.协助行走" },
|
||
{ "type": "放松按摩", "data": "手法放松.舒筋活血." },
|
||
{ "type": "心灵慰藉", "data": "陪同倾听.肢体放松.互动.安抚." },
|
||
{ "type": "躁狂", "data": "针对躁狂老人的狂燥期,发出喊叫,敲打等动作的忍受服务" }
|
||
]
|
||
},
|
||
{
|
||
"type": "更换衣物",
|
||
"data": [
|
||
{ "type": "准备衣物", "data": "准备舒适衣裤" },
|
||
{ "type": "协助更换", "data": "" },
|
||
{ "type": "肢体障碍(半侧)", "data": "" },
|
||
{ "type": "肢体障碍(全身)", "data": "" },
|
||
{ "type": "准备衣物", "data": "" },
|
||
{ "type": "协助更换", "data": "" },
|
||
{ "type": "肢体障碍(半侧)", "data": "" },
|
||
{ "type": "肢体障碍(全身)", "data": "" },
|
||
{ "type": "协助更换(大体重)", "data": "" },
|
||
{ "type": "肢体障碍(半侧)(大体重)", "data": "" },
|
||
{ "type": "肢体障碍(全测)(大体重)", "data": "" },
|
||
{ "type": "肢体障碍(半测)(大体重)", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "调整坐卧",
|
||
"data": [
|
||
{ "type": "坐起", "data": "为老人调整床位60度角" },
|
||
{ "type": "躺下", "data": "为老人调整床位180度角" }
|
||
]
|
||
},
|
||
{
|
||
"type": "殡仪服务",
|
||
"data": [
|
||
{ "type": "遗体净身", "data": "" },
|
||
{ "type": "遗体穿衣", "data": "" },
|
||
{ "type": "遗体转移", "data": "" },
|
||
{ "type": "床位消毒", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "换床上用品",
|
||
"data": [
|
||
{ "type": "更换床上用品(全部)", "data": "" },
|
||
{ "type": "隔尿褥子更换", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "临终服务",
|
||
"data": [
|
||
{ "type": "临终护理", "data": "" }
|
||
]
|
||
},
|
||
{
|
||
"type": "制氧机应用",
|
||
"data": [
|
||
{ "type": "制氧机吸氧", "data": "制氧机吸氧" },
|
||
{ "type": "制氧机维护", "data": "制氧机维护,清洁维护,更换湿化瓶" }
|
||
]
|
||
}
|
||
]
|
||
}
|
||
];
|
||
const __returned__ = { props, scrollTop, downList, rightList, getClass, undericonList, doctorsayList, rightListIndex, undermenuIndex, upmenuIndex, downmenuIndex, underFans, roomTar, emit, darkFanschange, changLeft, changeMenuUnder, rightListClick, timer, elementsInfo, rulerTouchStart, rulerTouchEnd, handleTouchStart, rulerEnd, moveNumber, timearr, bigArray };
|
||
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
||
return __returned__;
|
||
}
|
||
});
|
||
function _sfc_render$3(_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: "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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
onClick: ($event) => $setup.changLeft(index)
|
||
}, [
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "doctorsay-container-card",
|
||
style: vue.normalizeStyle(index === $setup.upmenuIndex ? { backgroundColor: `#0184db` } : {})
|
||
},
|
||
[
|
||
vue.createElementVNode("image", {
|
||
class: "doctorsay-container-card-img",
|
||
src: index === $setup.upmenuIndex ? item.targetUrl : item.url
|
||
}, null, 8, ["src"]),
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: vue.normalizeClass(index === $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", { class: "doctorsay-container-down" }, [
|
||
vue.createElementVNode("view", { class: "doctorsay-top" }),
|
||
vue.createElementVNode("scroll-view", {
|
||
"scroll-y": $props.canmove,
|
||
class: "doctorsay-container-scroll"
|
||
}, [
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.downList, (item, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", { key: index }, [
|
||
vue.createElementVNode("view", { class: "doctorsay-container-button" }, [
|
||
vue.createElementVNode("text", {
|
||
onTouchstart: vue.withModifiers(($event) => $setup.handleTouchStart(item.type, index), ["stop", "prevent"]),
|
||
class: vue.normalizeClass($setup.downmenuIndex === index ? `doctorsay-container-text-target` : `doctorsay-container-text`)
|
||
}, vue.toDisplayString(item.type), 43, ["onTouchstart"]),
|
||
vue.withDirectives(vue.createElementVNode("image", {
|
||
class: "doctorsay-container-button-uplight",
|
||
src: `/static/index/cardicons/uplight.png`
|
||
}, null, 8, ["src"]), [
|
||
[vue.vShow, $setup.downmenuIndex === index]
|
||
])
|
||
]),
|
||
vue.createCommentVNode(' <view class="doctorsay-container-button-gun" v-show="downmenuIndex===index"></view> ')
|
||
]);
|
||
}),
|
||
128
|
||
/* KEYED_FRAGMENT */
|
||
))
|
||
], 8, ["scroll-y"]),
|
||
vue.createElementVNode("view", { class: "doctorsay-top" })
|
||
])
|
||
]),
|
||
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-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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
class: "doctorsay-container-button-father",
|
||
key: index
|
||
}, [
|
||
vue.createElementVNode("view", {
|
||
class: vue.normalizeClass($setup.rightListIndex === index ? `doctorsay-container-button-target` : `doctorsay-container-button`),
|
||
onClick: ($event) => $setup.rightListClick(index)
|
||
}, vue.toDisplayString(item), 11, ["onClick"])
|
||
]);
|
||
}),
|
||
128
|
||
/* KEYED_FRAGMENT */
|
||
))
|
||
])
|
||
]),
|
||
vue.createElementVNode("view", { class: "super-card" }, [
|
||
vue.createElementVNode("view", { class: "super-card-container" }, [
|
||
vue.createElementVNode("scroll-view", {
|
||
class: "scroll-x",
|
||
"scroll-left": $setup.rightListIndex ? 1240 : 930,
|
||
"scroll-x": "",
|
||
"show-scrollbar": false
|
||
}, [
|
||
vue.createElementVNode("view", { style: { "display": "flex" } }, [
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.timearr, (item0, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", { key: index }, [
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "super-card-time",
|
||
style: vue.normalizeStyle($setup.rightListIndex ? { width: "275rpx" } : { width: "206rpx" })
|
||
},
|
||
vue.toDisplayString(item0.time),
|
||
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": "",
|
||
"show-scrollbar": false
|
||
}, [
|
||
vue.createElementVNode("view", { style: { "display": "flex", "height": "100%" } }, [
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.timearr, (item0, index0) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", { key: index0 }, [
|
||
vue.createElementVNode(
|
||
"view",
|
||
{
|
||
class: "super-card-time-und",
|
||
style: vue.normalizeStyle($setup.rightListIndex ? { width: "275rpx" } : { 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.getClass(item1, index0, index1)),
|
||
onTouchstart: ($event) => $setup.rulerTouchStart(item1, index0, index1),
|
||
onTouchend: _cache[2] || (_cache[2] = ($event) => $setup.rulerTouchEnd()),
|
||
"data-index0": index0,
|
||
"data-index1": index1
|
||
}, vue.toDisplayString(item1.value), 43, ["onTouchstart", "data-index0", "data-index1"])
|
||
]);
|
||
}),
|
||
128
|
||
/* KEYED_FRAGMENT */
|
||
))
|
||
],
|
||
4
|
||
/* STYLE */
|
||
)
|
||
]);
|
||
}),
|
||
128
|
||
/* KEYED_FRAGMENT */
|
||
))
|
||
])
|
||
], 12, ["scroll-top"])
|
||
])
|
||
], 8, ["scroll-left"])
|
||
])
|
||
]),
|
||
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("view", { class: "right-container-sec" }, [
|
||
vue.createElementVNode("view", { class: "under-father" }, [
|
||
(vue.openBlock(true), vue.createElementBlock(
|
||
vue.Fragment,
|
||
null,
|
||
vue.renderList($setup.undericonList, (item, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
class: "under-father-view",
|
||
key: index,
|
||
onClick: ($event) => $setup.changeMenuUnder(index)
|
||
}, [
|
||
vue.withDirectives(vue.createElementVNode(
|
||
"image",
|
||
{
|
||
class: "under-father-light",
|
||
src: _imports_0$1
|
||
},
|
||
null,
|
||
512
|
||
/* NEED_PATCH */
|
||
), [
|
||
[vue.vShow, index === $setup.undermenuIndex]
|
||
]),
|
||
vue.createElementVNode("image", {
|
||
class: "under-father-img",
|
||
src: index === $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.createCommentVNode(" 弹出层 "),
|
||
vue.createCommentVNode(' <view v-show="isPopupVisible" class="popup-overlay" @click="isPopupVisible=false">\r\n <view class="popup-overlay-content" @click.stop>\r\n 确认删除吗\r\n </view>\r\n </view> ')
|
||
],
|
||
4
|
||
/* STYLE */
|
||
);
|
||
}
|
||
const rightItemssecond = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$3], ["__scopeId", "data-v-337bb5da"], ["__file", "D:/hldy_app/component/rightItemssecond/index.vue"]]);
|
||
const ON_SHOW = "onShow";
|
||
const ON_LOAD = "onLoad";
|
||
function formatAppLog(type, filename, ...args) {
|
||
if (uni.__log__) {
|
||
uni.__log__(type, filename, ...args);
|
||
} else {
|
||
console[type].apply(console, [...args, filename]);
|
||
}
|
||
}
|
||
const createHook = (lifecycle) => (hook, target = vue.getCurrentInstance()) => {
|
||
!vue.isInSSRComponentSetup && vue.injectHook(lifecycle, hook, target);
|
||
};
|
||
const onShow = /* @__PURE__ */ createHook(ON_SHOW);
|
||
const onLoad = /* @__PURE__ */ createHook(ON_LOAD);
|
||
const _sfc_main$3 = /* @__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(1);
|
||
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 = (index) => {
|
||
if (index === 3) {
|
||
menuIndexshow.value = false;
|
||
menuIndexshowsecond.value = false;
|
||
uni.navigateTo({
|
||
url: `/pages/somethingmove/index?darkFans=${darkFans.value}`,
|
||
animationType: "slide-in-right",
|
||
animationDuration: 400
|
||
// 设置动画时长为300毫秒, // 动画持续时间,单位为毫秒
|
||
});
|
||
return;
|
||
}
|
||
menuIndex.value = index;
|
||
menuIndexshow.value = false;
|
||
menuIndexshowsecond.value = false;
|
||
setTimeout(() => {
|
||
switch (index) {
|
||
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 getxyrel = (event) => {
|
||
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 >= item.left && translateX <= item.right && translateY >= item.top && translateY <= item.bottom;
|
||
});
|
||
if (clickedItem) {
|
||
const { index0, index1 } = clickedItem.dataset;
|
||
indexNumber.value.index0 = index0;
|
||
indexNumber.value.index1 = index1;
|
||
} else {
|
||
indexNumber.value.index0 = 999;
|
||
indexNumber.value.index1 = 999;
|
||
}
|
||
};
|
||
const getxy = throttle(getxyrel, 10);
|
||
const fangkuaiValue = vue.ref([]);
|
||
const openname = (res, fangkuai) => {
|
||
savename.value = res;
|
||
canmove.value = false;
|
||
fangkuaiValue.value = fangkuai;
|
||
};
|
||
const ruler = vue.ref(null);
|
||
const cleanall = () => {
|
||
var _a;
|
||
clientX.value = 9999;
|
||
clientY.value = 9999;
|
||
canmove.value = true;
|
||
indexNumber.value = {
|
||
index0: 999,
|
||
index1: 999
|
||
};
|
||
(_a = ruler.value) == null ? void 0 : _a.rulerEnd(savename.value);
|
||
savename.value = "";
|
||
};
|
||
function throttle(fn, delay) {
|
||
let lastExecutionTime = 0;
|
||
return function(...args) {
|
||
const now = Date.now();
|
||
if (now - lastExecutionTime >= delay) {
|
||
lastExecutionTime = now;
|
||
fn.apply(this, args);
|
||
}
|
||
};
|
||
}
|
||
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, getxyrel, getxy, fangkuaiValue, openname, ruler, cleanall, throttle, rightItemsfirst, rightItemssecond };
|
||
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
||
return __returned__;
|
||
}
|
||
});
|
||
const _imports_0 = "/static/index/oldman.png";
|
||
function _sfc_render$2(_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]
|
||
]),
|
||
vue.createElementVNode("view", { class: "left-container" }, [
|
||
vue.createElementVNode("view", { class: "left-head" }, [
|
||
vue.createElementVNode("image", {
|
||
class: "left-head-img",
|
||
src: _imports_0
|
||
}),
|
||
vue.createElementVNode(
|
||
"text",
|
||
{
|
||
class: 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, index) => {
|
||
return vue.openBlock(), vue.createElementBlock("view", {
|
||
key: index,
|
||
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, index === $setup.menuIndex]
|
||
]),
|
||
vue.createElementVNode("image", {
|
||
class: "left-img",
|
||
src: index === $setup.menuIndex ? item.targetUrl : item.url,
|
||
onClick: ($event) => $setup.changeMenu(index)
|
||
}, 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
|
||
}, null, 8, ["liang", "isshow", "canmove", "darkFans"]), [
|
||
[vue.vShow, $setup.menuIndex == 1]
|
||
])
|
||
],
|
||
34
|
||
/* CLASS, NEED_HYDRATION */
|
||
);
|
||
}
|
||
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-1cf27b2a"], ["__file", "D:/hldy_app/pages/index/index.vue"]]);
|
||
const _sfc_main$2 = {
|
||
data() {
|
||
return {
|
||
startX: 0,
|
||
startY: 0,
|
||
isDragging: false
|
||
};
|
||
},
|
||
methods: {
|
||
// 手指触摸开始
|
||
onTouchStart(e) {
|
||
this.startX = e.touches[0].clientX;
|
||
this.startY = e.touches[0].clientY;
|
||
this.isDragging = false;
|
||
},
|
||
// 手指滑动
|
||
onTouchMove(e) {
|
||
const moveX = e.touches[0].clientX - this.startX;
|
||
const moveY = e.touches[0].clientY - this.startY;
|
||
if (Math.abs(moveX) > Math.abs(moveY)) {
|
||
this.isDragging = true;
|
||
} else {
|
||
this.isDragging = true;
|
||
}
|
||
if (this.isDragging) {
|
||
e.preventDefault();
|
||
}
|
||
},
|
||
// 手指抬起
|
||
onTouchEnd() {
|
||
this.isDragging = false;
|
||
}
|
||
}
|
||
};
|
||
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
||
return vue.openBlock(), vue.createElementBlock(
|
||
"view",
|
||
{
|
||
class: "container",
|
||
onTouchstart: _cache[0] || (_cache[0] = (...args) => $options.onTouchStart && $options.onTouchStart(...args)),
|
||
onTouchmove: _cache[1] || (_cache[1] = (...args) => $options.onTouchMove && $options.onTouchMove(...args)),
|
||
onTouchend: _cache[2] || (_cache[2] = (...args) => $options.onTouchEnd && $options.onTouchEnd(...args))
|
||
},
|
||
[
|
||
vue.createElementVNode("swiper", {
|
||
class: "swiper",
|
||
"indicator-dots": "true",
|
||
autoplay: "true",
|
||
interval: "3000",
|
||
duration: "500"
|
||
}, [
|
||
vue.createElementVNode("swiper-item", null, " 1 "),
|
||
vue.createElementVNode("swiper-item", null, " 2 "),
|
||
vue.createElementVNode("swiper-item", null, " 3 ")
|
||
])
|
||
],
|
||
32
|
||
/* NEED_HYDRATION */
|
||
);
|
||
}
|
||
const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-e4e4508d"], ["__file", "D:/hldy_app/pages/login/login.vue"]]);
|
||
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
||
__name: "index",
|
||
setup(__props, { expose: __expose }) {
|
||
__expose();
|
||
const darkFans = vue.ref(false);
|
||
onLoad((options) => {
|
||
if (options.darkFans === `false`) {
|
||
darkFans.value = false;
|
||
} else {
|
||
darkFans.value = true;
|
||
}
|
||
});
|
||
const goback = () => {
|
||
uni.navigateBack();
|
||
};
|
||
const __returned__ = { darkFans, goback };
|
||
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
||
return __returned__;
|
||
}
|
||
});
|
||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||
return vue.openBlock(), vue.createElementBlock(
|
||
"view",
|
||
{
|
||
class: vue.normalizeClass($setup.darkFans ? `darkbackgroundContainer` : `backgroundContainer`),
|
||
onClick: $setup.goback
|
||
},
|
||
" 1111111 ",
|
||
2
|
||
/* CLASS */
|
||
);
|
||
}
|
||
const PagesSomethingmoveIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-ac282b9d"], ["__file", "D:/hldy_app/pages/somethingmove/index.vue"]]);
|
||
__definePage("pages/index/index", PagesIndexIndex);
|
||
__definePage("pages/login/login", PagesLoginLogin);
|
||
__definePage("pages/somethingmove/index", PagesSomethingmoveIndex);
|
||
const _sfc_main = {
|
||
onLaunch: function() {
|
||
formatAppLog("log", "at App.vue:4", "App Launch");
|
||
},
|
||
onShow: function() {
|
||
formatAppLog("log", "at App.vue:7", "App Show");
|
||
},
|
||
onHide: function() {
|
||
formatAppLog("log", "at App.vue:10", "App Hide");
|
||
}
|
||
};
|
||
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/hldy_app/App.vue"]]);
|
||
function createApp() {
|
||
const app = vue.createVueApp(App);
|
||
return {
|
||
app
|
||
};
|
||
}
|
||
const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp();
|
||
uni.Vuex = __Vuex__;
|
||
uni.Pinia = __Pinia__;
|
||
__app__.provide("__globalStyles", __uniConfig.styles);
|
||
__app__._component.mpType = "app";
|
||
__app__._component.render = () => {
|
||
};
|
||
__app__.mount("#app");
|
||
})(Vue);
|