1355 lines
67 KiB
JavaScript
1355 lines
67 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$2 = /* @__PURE__ */ vue.defineComponent({
|
|
__name: "index",
|
|
setup(__props, { expose: __expose }) {
|
|
__expose();
|
|
const currentTime = vue.ref("");
|
|
const fullDate = vue.ref("");
|
|
const weekDay = vue.ref("");
|
|
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 undericonList = vue.ref([
|
|
{ url: "/static/index/undericons/alarm.png", targetUrl: "/static/index/undericons/alarmdark.png" },
|
|
{ url: "/static/index/undericons/linshitime.png", targetUrl: "/static/index/undericons/linshitimedark.png" }
|
|
]);
|
|
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 darkFans = vue.ref(false);
|
|
const underFans = vue.ref(false);
|
|
const roomTar = vue.ref([]);
|
|
const firstcurrentIndex = vue.ref(0);
|
|
const firstcurrentIndexup = vue.ref(0);
|
|
const secondcurrentIndex = vue.ref(0);
|
|
const thirdcurrentIndex = vue.ref(0);
|
|
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 gotoLogin = () => {
|
|
};
|
|
vue.onMounted(() => {
|
|
updateTime();
|
|
setInterval(updateTime, 1e3);
|
|
});
|
|
vue.onBeforeUnmount(() => {
|
|
clearInterval(updateTime);
|
|
});
|
|
const __returned__ = { currentTime, fullDate, weekDay, iconList, undericonList, huliList, huliListDark, mediumList, mediumListdark, roomBtttonList, roomBtttonListdark, menuIndex, undermenuIndex, darkFans, underFans, roomTar, firstcurrentIndex, firstcurrentIndexup, secondcurrentIndex, thirdcurrentIndex, changeMenu, changeMenuUnder, saveItem, updateTime, onSwiperChange, gotoLogin };
|
|
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
return __returned__;
|
|
}
|
|
});
|
|
const _imports_0 = "/static/index/oldman.png";
|
|
const _imports_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$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return vue.openBlock(), vue.createElementBlock(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `darkbackgroundContainer` : `backgroundContainer`)
|
|
},
|
|
[
|
|
vue.createElementVNode("view", { class: "left-container" }, [
|
|
vue.createElementVNode("view", {
|
|
class: "left-head",
|
|
onClick: $setup.gotoLogin
|
|
}, [
|
|
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.createElementVNode("view", { class: "right-container" }, [
|
|
vue.createElementVNode("view", { class: "right-container-title-nav" }, [
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-title-no-dark` : `right-container-title-no`)
|
|
},
|
|
" N00123456 ",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-title-class-dark` : `right-container-title-class`)
|
|
},
|
|
" 护理单元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($setup.darkFans ? `right-icons-font-dark` : `right-icons-font`)
|
|
},
|
|
"王金福",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("image", {
|
|
class: "right-icons-img-icon",
|
|
src: $setup.darkFans ? `/static/index/undericons/face.png` : `/static/index/undericons/facelight.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("image", {
|
|
class: "right-icons-img-icon",
|
|
src: $setup.darkFans ? `/static/index/undericons/hand.png` : `/static/index/undericons/handlight.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("image", {
|
|
class: "right-icons-img-icon",
|
|
src: $setup.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.darkFans = !$setup.darkFans)
|
|
},
|
|
[
|
|
vue.createElementVNode("text", { class: "right-container-title-class-anhei" }, " 切换到暗黑模式 ")
|
|
],
|
|
512
|
|
/* NEED_PATCH */
|
|
), [
|
|
[vue.vShow, !$setup.darkFans]
|
|
]),
|
|
vue.withDirectives(vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: "right-container-title-class-anhei-button",
|
|
style: vue.normalizeStyle($setup.darkFans ? { backgroundColor: "#fff" } : {}),
|
|
onClick: _cache[1] || (_cache[1] = ($event) => $setup.darkFans = !$setup.darkFans)
|
|
},
|
|
[
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: "right-container-title-class-anhei",
|
|
style: vue.normalizeStyle($setup.darkFans ? { color: "black" } : {})
|
|
},
|
|
" 取消暗黑模式 ",
|
|
4
|
|
/* STYLE */
|
|
)
|
|
],
|
|
4
|
|
/* STYLE */
|
|
), [
|
|
[vue.vShow, $setup.darkFans]
|
|
])
|
|
]),
|
|
vue.createElementVNode("view", { class: "right-container-fir" }, [
|
|
vue.createElementVNode("view", { class: "right-container-fir-left-nav" }, [
|
|
vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.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" }, "护理类"),
|
|
$setup.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($setup.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("image", {
|
|
class: "right-container-fir-left-card-main-left-up",
|
|
src: `/static/index/arrow2.png`,
|
|
onClick: _cache[2] || (_cache[2] = ($event) => $setup.firstcurrentIndex === 0 ? $setup.firstcurrentIndex = 2 : $setup.firstcurrentIndex = $setup.firstcurrentIndex - 1)
|
|
}, null, 8, ["src"]),
|
|
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("image", {
|
|
class: "right-container-fir-left-card-zhixing-img",
|
|
src: `/static/index/daizhixing.png`
|
|
}, null, 8, ["src"]),
|
|
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`
|
|
}, 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: $setup.darkFans ? `/static/index/darkicon/labadark.png` : `/static/index/laba.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.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($setup.darkFans ? `time-font-dark` : `time-font`)
|
|
},
|
|
" 10:00 - 10:10 ",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `time-text-dark` : `time-text`)
|
|
},
|
|
" 为老人提供口腔清洁器具,牙膏、牙刷及水杯,看护完成 ",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("view", { class: "time-people-fir" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "time-people-img",
|
|
src: $setup.darkFans ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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($setup.darkFans ? `time-button-end-dark` : `time-button-end`)
|
|
},
|
|
" 服务结束 ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
])
|
|
])
|
|
]);
|
|
}),
|
|
64
|
|
/* STABLE_FRAGMENT */
|
|
))
|
|
], 8, ["current"])
|
|
]),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-fir-left-card-main-right",
|
|
src: `/static/index/arrow.png`,
|
|
onClick: _cache[3] || (_cache[3] = ($event) => $setup.firstcurrentIndex === 2 ? $setup.firstcurrentIndex = 0 : $setup.firstcurrentIndex = $setup.firstcurrentIndex + 1)
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("view", { class: "split-line-white-right-left" }, [
|
|
$setup.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)
|
|
])
|
|
])
|
|
]);
|
|
}),
|
|
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"]),
|
|
!$setup.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(" 暗黑模式 "),
|
|
$setup.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($setup.darkFans ? `right-container-fir-right-dark` : `right-container-fir-right`)
|
|
},
|
|
[
|
|
vue.createElementVNode("view", { class: "right-container-card" }, [
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-title-dark` : `right-container-title`)
|
|
},
|
|
vue.toDisplayString($setup.currentTime),
|
|
3
|
|
/* TEXT, CLASS */
|
|
),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-date-dark` : `right-container-date`)
|
|
},
|
|
vue.toDisplayString($setup.fullDate),
|
|
3
|
|
/* TEXT, CLASS */
|
|
),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/darkicon/wendudark.png` : `/static/index/roomicons/wendu.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-tem-text-dark` : `right-container-tem-text`)
|
|
},
|
|
"23°C",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-tem-img",
|
|
src: $setup.darkFans ? `/static/index/roomicons/shidu.png` : `/static/index/darkicon/shidudark.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-tem-text-dark` : `right-container-tem-text`)
|
|
},
|
|
"39%",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
]),
|
|
vue.createCommentVNode(" 分割线 "),
|
|
vue.createElementVNode("view", { class: "right-container-fenge" }),
|
|
!$setup.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(" 暗黑模式 "),
|
|
$setup.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($setup.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" }, "医疗类"),
|
|
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($setup.darkFans ? `dot-dark` : `dot`),
|
|
style: vue.normalizeStyle(index === $setup.firstcurrentIndexup ? { backgroundColor: `#01A0FE` } : {})
|
|
},
|
|
null,
|
|
6
|
|
/* CLASS, STYLE */
|
|
);
|
|
}),
|
|
64
|
|
/* STABLE_FRAGMENT */
|
|
))
|
|
])
|
|
])
|
|
]),
|
|
$setup.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.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("div", { class: "right-container-fir-left-card-flex" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-fir-left-card-main-left",
|
|
src: `/static/index/arrow2.png`,
|
|
onClick: _cache[4] || (_cache[4] = ($event) => $setup.secondcurrentIndex === 0 ? $setup.secondcurrentIndex = 2 : $setup.secondcurrentIndex = $setup.secondcurrentIndex - 1)
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("view", { class: "uni-margin-wrap" }, [
|
|
vue.createElementVNode("swiper", {
|
|
current: $setup.secondcurrentIndex,
|
|
class: "swiper",
|
|
circular: "",
|
|
"indicator-dots": false,
|
|
autoplay: true,
|
|
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: "time-tra-sec" }, [
|
|
vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/medium/doctorsaydark.png` : `/static/index/medium/doctorsay.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/medium/howtododark.png` : `/static/index/medium/howtodo.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/medium/useMed.png` : `/static/index/medium/yongyao.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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: $setup.darkFans ? `/static/index/medium/domanydark.png` : `/static/index/medium/domany.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.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($setup.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`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-photo-text-dark` : `right-container-photo-text`)
|
|
},
|
|
" 脑膜炎(1/2) ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
])
|
|
]);
|
|
}),
|
|
64
|
|
/* STABLE_FRAGMENT */
|
|
))
|
|
], 8, ["current"])
|
|
]),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-fir-left-card-main-right",
|
|
src: `/static/index/arrow.png`,
|
|
onClick: _cache[5] || (_cache[5] = ($event) => $setup.secondcurrentIndex === 2 ? $setup.secondcurrentIndex = 0 : $setup.secondcurrentIndex = $setup.secondcurrentIndex + 1)
|
|
}, null, 8, ["src"])
|
|
])
|
|
]);
|
|
}),
|
|
64
|
|
/* STABLE_FRAGMENT */
|
|
))
|
|
], 40, ["current"]),
|
|
vue.createElementVNode("view", { class: "split-line-white-sec" }, [
|
|
$setup.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)
|
|
]),
|
|
vue.createElementVNode("view", { class: "right-huli" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "right-huli-shang",
|
|
src: `/static/index/hulilist/shang.png`
|
|
}, null, 8, ["src"]),
|
|
!$setup.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),
|
|
$setup.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: "right-container-right-father",
|
|
style: vue.normalizeStyle($setup.darkFans ? { backgroundColor: "rgb(22, 48, 76)" } : "")
|
|
},
|
|
[
|
|
vue.createElementVNode("view", { class: "right-container-right-title" }, [
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-right-text-dark` : `right-container-right-text`)
|
|
},
|
|
"服务指令",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-right-img",
|
|
src: $setup.darkFans ? `/static/index/darkicon/diandark.png` : `/static/index/medium/whitedian.png`
|
|
}, null, 8, ["src"])
|
|
]),
|
|
vue.createElementVNode("view", { class: "right-container-right-down-father" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-right-down-left",
|
|
src: `/static/index/arrow2.png`,
|
|
onClick: _cache[6] || (_cache[6] = ($event) => $setup.thirdcurrentIndex === 0 ? $setup.thirdcurrentIndex = 2 : $setup.thirdcurrentIndex = $setup.thirdcurrentIndex - 1)
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("view", { class: "uni-margin-wrap" }, [
|
|
vue.createElementVNode("swiper", {
|
|
current: $setup.thirdcurrentIndex,
|
|
class: "swiper",
|
|
circular: "",
|
|
"indicator-dots": false,
|
|
autoplay: true,
|
|
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: vue.normalizeClass($setup.darkFans ? `right-container-right-down-card-dark` : `right-container-right-down-card`)
|
|
},
|
|
[
|
|
vue.createElementVNode("view", { class: "right-container-right-down-card-card" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-right-down-card-card-type",
|
|
src: $setup.darkFans ? `/static/index/darkicon/baojieleidark.png` : `/static/index/label.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"div",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-right-down-card-card-font-dark` : `right-container-right-down-card-card-font`)
|
|
},
|
|
" 保洁类",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-right-down-card-img",
|
|
src: `/static/index/project3.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode("view", { class: "" }, [
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `right-container-right-down-card-font-dark` : `right-container-right-down-card-font`)
|
|
},
|
|
" 更换纸尿裤 ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
])
|
|
]),
|
|
vue.createElementVNode("view", { class: "right-container-right-down-card-line" }),
|
|
vue.createElementVNode("view", { class: "time-tra-next" }, [
|
|
vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `time-font-dark` : `time-font`)
|
|
},
|
|
" 10:00 - 10:10 ",
|
|
2
|
|
/* CLASS */
|
|
),
|
|
vue.createElementVNode("view", { class: "time-people" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "time-people-img",
|
|
src: $setup.darkFans ? `/static/index/darkicon/zhixingrenyuanddark.png` : `/static/index/cardicons/zhifa.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `time-people-font-dark` : `time-people-font`)
|
|
},
|
|
" 协作执行 ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
]),
|
|
vue.createElementVNode("view", { class: "time-people" }, [
|
|
vue.createElementVNode("image", {
|
|
class: "time-people-img",
|
|
src: $setup.darkFans ? `/static/index/darkicon/zhixingfangshidark.png` : `/static/index/cardicons/zhixing.png`
|
|
}, null, 8, ["src"]),
|
|
vue.createElementVNode(
|
|
"text",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `time-people-font-dark` : `time-people-font`)
|
|
},
|
|
" 王金福 / 李贵田 ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
]),
|
|
vue.createElementVNode("view", { class: "time-button-view-fin" }, [
|
|
vue.createElementVNode("view", { class: "time-button-start" }, " 开始服务 "),
|
|
vue.createElementVNode(
|
|
"view",
|
|
{
|
|
class: vue.normalizeClass($setup.darkFans ? `time-button-end-dark` : `time-button-end`)
|
|
},
|
|
" 服务结束 ",
|
|
2
|
|
/* CLASS */
|
|
)
|
|
])
|
|
])
|
|
],
|
|
2
|
|
/* CLASS */
|
|
)
|
|
]);
|
|
}),
|
|
64
|
|
/* STABLE_FRAGMENT */
|
|
))
|
|
], 8, ["current"])
|
|
]),
|
|
vue.createElementVNode("image", {
|
|
class: "right-container-right-down-right",
|
|
src: `/static/index/arrow.png`,
|
|
onClick: _cache[7] || (_cache[7] = ($event) => $setup.thirdcurrentIndex === 2 ? $setup.thirdcurrentIndex = 0 : $setup.thirdcurrentIndex = $setup.thirdcurrentIndex + 1)
|
|
}, null, 8, ["src"])
|
|
])
|
|
],
|
|
4
|
|
/* STYLE */
|
|
),
|
|
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_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"])
|
|
], 8, ["onClick"]);
|
|
}),
|
|
128
|
|
/* KEYED_FRAGMENT */
|
|
))
|
|
])
|
|
])
|
|
])
|
|
],
|
|
2
|
|
/* CLASS */
|
|
);
|
|
}
|
|
const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-1cf27b2a"], ["__file", "D:/hldy_app/pages/index/index.vue"]]);
|
|
const _sfc_main$1 = {
|
|
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(_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$1, [["render", _sfc_render], ["__scopeId", "data-v-e4e4508d"], ["__file", "D:/hldy_app/pages/login/login.vue"]]);
|
|
__definePage("pages/index/index", PagesIndexIndex);
|
|
__definePage("pages/login/login", PagesLoginLogin);
|
|
function formatAppLog(type, filename, ...args) {
|
|
if (uni.__log__) {
|
|
uni.__log__(type, filename, ...args);
|
|
} else {
|
|
console[type].apply(console, [...args, filename]);
|
|
}
|
|
}
|
|
const _sfc_main = {
|
|
onLaunch: function() {
|
|
formatAppLog("log", "at App.vue:4", "App Launch");
|
|
},
|
|
onShow: function() {
|
|
formatAppLog("log", "at App.vue:7", "App Show");
|
|
},
|
|
onHide: function() {
|
|
formatAppLog("log", "at App.vue:10", "App Hide");
|
|
}
|
|
};
|
|
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/hldy_app/App.vue"]]);
|
|
function createApp() {
|
|
const app = vue.createVueApp(App);
|
|
return {
|
|
app
|
|
};
|
|
}
|
|
const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp();
|
|
uni.Vuex = __Vuex__;
|
|
uni.Pinia = __Pinia__;
|
|
__app__.provide("__globalStyles", __uniConfig.styles);
|
|
__app__._component.mpType = "app";
|
|
__app__._component.render = () => {
|
|
};
|
|
__app__.mount("#app");
|
|
})(Vue);
|