830 lines
36 KiB
JavaScript
830 lines
36 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
__name: "index",
|
|
setup(__props) {
|
|
const isPopupVisible = common_vendor.ref(false);
|
|
const widthCom = common_vendor.ref(1320);
|
|
const heightCom = common_vendor.ref(540);
|
|
const topCom = common_vendor.ref(145);
|
|
const leftCom = common_vendor.ref(233);
|
|
const isPopupVisiblefiropen = common_vendor.ref(false);
|
|
const isPopupVisiblesec = common_vendor.ref(false);
|
|
const widthComsec = common_vendor.ref(1150);
|
|
const heightComsec = common_vendor.ref(630);
|
|
const topComsec = common_vendor.ref(730);
|
|
const leftComsec = common_vendor.ref(233);
|
|
const isPopupVisiblefiropensec = common_vendor.ref(false);
|
|
const isPopupVisiblethi = common_vendor.ref(false);
|
|
const widthComthi = common_vendor.ref(880);
|
|
const heightComthi = common_vendor.ref(630);
|
|
const topComthi = common_vendor.ref(730);
|
|
const leftComthi = common_vendor.ref(1420);
|
|
const isPopupVisiblefiropenthi = common_vendor.ref(false);
|
|
const currentTime = common_vendor.ref("");
|
|
const fullDate = common_vendor.ref("");
|
|
const weekDay = common_vendor.ref("");
|
|
const iconList = common_vendor.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 = common_vendor.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" },
|
|
{ url: "/static/index/darkicon/zhaomingdark.png", targetUrl: "/static/index/roomicons/zhaomingtar.png" },
|
|
{ url: "/static/index/darkicon/kontiaodark.png", targetUrl: "/static/index/roomicons/kongtiaotar.png" },
|
|
{ url: "/static/index/darkicon/nuanfengdark.png", targetUrl: "/static/index/roomicons/nuanfengtar.png" },
|
|
{ url: "/static/index/darkicon/dianqidark.png", targetUrl: "/static/index/roomicons/dianqitar.png" }
|
|
]);
|
|
const huliList = common_vendor.ref([
|
|
{ url: "/static/index/hulilist/zhuandan.png", name: "转单执行" },
|
|
{ url: "/static/index/hulilist/xiezhu.png", name: "协助执行" },
|
|
{ url: "/static/index/hulilist/zhongdian.png", name: "重点追踪" }
|
|
]);
|
|
const huliListDark = common_vendor.ref([
|
|
{ url: "/static/index/darkicon/zhuandandark.png", name: "转单执行" },
|
|
{ url: "/static/index/darkicon/xiezhudark.png", name: "协助执行" },
|
|
{ url: "/static/index/darkicon/zhongdiandark.png", name: "重点追踪" }
|
|
]);
|
|
const mediumList = common_vendor.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 = common_vendor.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 = common_vendor.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 = common_vendor.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 = common_vendor.ref(0);
|
|
const undermenuIndex = common_vendor.ref(0);
|
|
const darkFans = common_vendor.ref(false);
|
|
common_vendor.ref(false);
|
|
const roomTar = common_vendor.ref([]);
|
|
const firstcurrentIndex = common_vendor.ref(0);
|
|
const firstcurrentIndexup = common_vendor.ref(0);
|
|
const secondcurrentIndexup = common_vendor.ref(0);
|
|
const secondcurrentIndex = common_vendor.ref(0);
|
|
common_vendor.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 onSwiperChangesec = (event) => {
|
|
secondcurrentIndexup.value = event.detail.current;
|
|
};
|
|
const gotoLogin = () => {
|
|
};
|
|
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;
|
|
isPopupVisible.value = false;
|
|
};
|
|
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;
|
|
isPopupVisiblesec.value = false;
|
|
};
|
|
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;
|
|
isPopupVisiblethi.value = false;
|
|
};
|
|
common_vendor.onMounted(() => {
|
|
updateTime();
|
|
setInterval(updateTime, 1e3);
|
|
});
|
|
common_vendor.onBeforeUnmount(() => {
|
|
clearInterval(updateTime);
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: common_assets._imports_0,
|
|
b: common_vendor.n(darkFans.value ? `left-head-font-dark` : `left-head-font`),
|
|
c: common_vendor.o(gotoLogin),
|
|
d: common_vendor.f(iconList.value, (item, index, i0) => {
|
|
return {
|
|
a: index === menuIndex.value,
|
|
b: index === menuIndex.value ? item.targetUrl : item.url,
|
|
c: common_vendor.o(($event) => changeMenu(index), index),
|
|
d: index
|
|
};
|
|
}),
|
|
e: `/static/index/ray.png`,
|
|
f: common_vendor.n(darkFans.value ? `right-container-title-no-dark` : `right-container-title-no`),
|
|
g: common_vendor.n(darkFans.value ? `right-container-title-no-dark` : `right-container-title-no`),
|
|
h: `/static/index/undericons/man.png`,
|
|
i: common_vendor.n(darkFans.value ? `right-icons-font-dark` : `right-icons-font`),
|
|
j: darkFans.value ? `/static/index/undericons/face.png` : `/static/index/undericons/facelight.png`,
|
|
k: darkFans.value ? `/static/index/undericons/hand.png` : `/static/index/undericons/handlight.png`,
|
|
l: darkFans.value ? `/static/index/undericons/out.png` : `/static/index/undericons/outlight.png`,
|
|
m: common_vendor.o(($event) => darkFans.value = !darkFans.value),
|
|
n: !darkFans.value,
|
|
o: common_vendor.s(darkFans.value ? {
|
|
color: "black"
|
|
} : {}),
|
|
p: common_vendor.s(darkFans.value ? {
|
|
backgroundColor: "#fff"
|
|
} : {}),
|
|
q: common_vendor.o(($event) => darkFans.value = !darkFans.value),
|
|
r: darkFans.value,
|
|
s: `/static/index/hulilei.png`,
|
|
t: common_vendor.o(showPopup),
|
|
v: darkFans.value
|
|
}, darkFans.value ? {
|
|
w: `/static/index/cardbgc/uplight.png`
|
|
} : {}, {
|
|
x: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
|
return {
|
|
a: index,
|
|
b: common_vendor.s(index === firstcurrentIndexup.value ? {
|
|
backgroundColor: `#01A0FE`
|
|
} : {})
|
|
};
|
|
}),
|
|
y: common_vendor.n(darkFans.value ? `dot-dark` : `dot`),
|
|
z: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.f([1, 2, 3], (item2, index2, i1) => {
|
|
return {
|
|
a: common_vendor.o(showPopup, index2),
|
|
b: index2
|
|
};
|
|
})
|
|
}, darkFans.value ? {
|
|
b: `/static/index/cardbgc/leftlight.png`
|
|
} : {}, {
|
|
c: index
|
|
});
|
|
}),
|
|
A: `/static/index/teeth.png`,
|
|
B: darkFans.value ? `/static/index/darkicon/labadark.png` : `/static/index/laba.png`,
|
|
C: common_vendor.n(darkFans.value ? `right-container-fir-left-card-main-font-dark` : `right-container-fir-left-card-main-font`),
|
|
D: darkFans.value ? `/static/index/indexvideo.png` : `/static/index/indexvideo.png`,
|
|
E: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
F: common_vendor.n(darkFans.value ? `time-text-dark` : `time-text`),
|
|
G: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
H: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
I: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
J: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
K: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
L: firstcurrentIndex.value,
|
|
M: darkFans.value,
|
|
N: common_vendor.s(darkFans.value ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``),
|
|
O: firstcurrentIndexup.value,
|
|
P: common_vendor.o(onSwiperChange),
|
|
Q: `/static/index/hulilist/shang.png`,
|
|
R: !darkFans.value
|
|
}, !darkFans.value ? {
|
|
S: common_vendor.f(huliList.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
T: darkFans.value
|
|
}, darkFans.value ? {
|
|
U: common_vendor.f(huliListDark.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
V: `/static/index/hulilist/xia.png`,
|
|
W: common_vendor.n(darkFans.value ? `right-container-fir-left-card-dark` : `right-container-fir-left-card`),
|
|
X: common_vendor.f([1, 2, 3, 4], (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
Y: common_assets._imports_1,
|
|
Z: common_vendor.t(currentTime.value),
|
|
aa: common_vendor.n(darkFans.value ? `right-container-title-dark` : `right-container-title`),
|
|
ab: common_vendor.t(fullDate.value),
|
|
ac: common_vendor.n(darkFans.value ? `right-container-date-dark` : `right-container-date`),
|
|
ad: common_vendor.t(weekDay.value),
|
|
ae: common_vendor.n(darkFans.value ? `right-container-day-dark` : `right-container-day`),
|
|
af: darkFans.value ? `/static/index/darkicon/wendudark.png` : `/static/index/roomicons/wendu.png`,
|
|
ag: common_vendor.n(darkFans.value ? `right-container-tem-text-dark` : `right-container-tem-text`),
|
|
ah: darkFans.value ? `/static/index/roomicons/shidu.png` : `/static/index/darkicon/shidudark.png`,
|
|
ai: common_vendor.n(darkFans.value ? `right-container-tem-text-dark` : `right-container-tem-text`),
|
|
aj: !darkFans.value
|
|
}, !darkFans.value ? {
|
|
ak: common_vendor.f(roomBtttonList.value, (item, index, i0) => {
|
|
return {
|
|
a: roomTar.value.includes(index),
|
|
b: roomTar.value.includes(index) ? item.targetUrl : item.url,
|
|
c: common_vendor.o(($event) => saveItem(index), index),
|
|
d: common_vendor.t(item.name),
|
|
e: common_vendor.s(roomTar.value.includes(index) ? {
|
|
color: "#167ED7"
|
|
} : {}),
|
|
f: index
|
|
};
|
|
}),
|
|
al: `/static/index/cardicons/ray2.png`
|
|
} : {}, {
|
|
am: darkFans.value
|
|
}, darkFans.value ? {
|
|
an: common_vendor.f(roomBtttonListdark.value, (item, index, i0) => {
|
|
return {
|
|
a: roomTar.value.includes(index),
|
|
b: roomTar.value.includes(index) ? item.targetUrl : item.url,
|
|
c: common_vendor.o(($event) => saveItem(index), index),
|
|
d: common_vendor.t(item.name),
|
|
e: common_vendor.s(roomTar.value.includes(index) ? {
|
|
color: "#167ED7"
|
|
} : {
|
|
color: "#fff"
|
|
}),
|
|
f: index
|
|
};
|
|
}),
|
|
ao: `/static/index/cardicons/ray2.png`
|
|
} : {}, {
|
|
ap: common_vendor.n(darkFans.value ? `right-container-fir-right-dark` : `right-container-fir-right`),
|
|
aq: `/static/index/yiliao/yiliaolei.png`,
|
|
ar: common_vendor.o(showPopupsec),
|
|
as: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
|
return {
|
|
a: index,
|
|
b: common_vendor.s(index === secondcurrentIndexup.value ? {
|
|
backgroundColor: `#01A0FE`
|
|
} : {})
|
|
};
|
|
}),
|
|
at: common_vendor.n(darkFans.value ? `dot-dark` : `dot`),
|
|
av: darkFans.value
|
|
}, darkFans.value ? {
|
|
aw: `/static/index/cardbgc/uplight.png`
|
|
} : {}, {
|
|
ax: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.f([1, 2, 3], (item2, index2, i1) => {
|
|
return {
|
|
a: index2
|
|
};
|
|
}),
|
|
b: index
|
|
};
|
|
}),
|
|
ay: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
az: darkFans.value ? `/static/index/medium/doctorsaydark.png` : `/static/index/medium/doctorsay.png`,
|
|
aA: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aB: darkFans.value ? `/static/index/medium/howtododark.png` : `/static/index/medium/howtodo.png`,
|
|
aC: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aD: darkFans.value ? `/static/index/medium/useMed.png` : `/static/index/medium/yongyao.png`,
|
|
aE: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aF: darkFans.value ? `/static/index/medium/domanydark.png` : `/static/index/medium/domany.png`,
|
|
aG: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aH: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
aI: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aJ: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
aK: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
aL: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
aM: `/static/index/yiliao/project2.png`,
|
|
aN: common_vendor.n(darkFans.value ? `right-container-photo-text-dark` : `right-container-photo-text`),
|
|
aO: secondcurrentIndex.value,
|
|
aP: secondcurrentIndexup.value,
|
|
aQ: common_vendor.o(onSwiperChangesec),
|
|
aR: darkFans.value
|
|
}, darkFans.value ? {
|
|
aS: `/static/index/cardbgc/leftlight.png`
|
|
} : {}, {
|
|
aT: common_vendor.s(darkFans.value ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``),
|
|
aU: `/static/index/hulilist/shang.png`,
|
|
aV: !darkFans.value
|
|
}, !darkFans.value ? {
|
|
aW: common_vendor.f(mediumList.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: `${item.number}%`,
|
|
d: item.number !== 0,
|
|
e: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
aX: darkFans.value
|
|
}, darkFans.value ? {
|
|
aY: common_vendor.f(mediumListdark.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: `${item.number}%`,
|
|
d: item.number !== 0,
|
|
e: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
aZ: `/static/index/hulilist/xia.png`,
|
|
ba: common_vendor.n(darkFans.value ? `right-container-left-dark` : `right-container-left`),
|
|
bb: `/static/index/baojielei.png`,
|
|
bc: common_vendor.o(showPopupthi),
|
|
bd: `/static/index/baojieleft.png`,
|
|
be: `/static/index/baojieright.png`,
|
|
bf: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
bg: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
bh: common_vendor.n(darkFans.value ? `time-text-dark` : `time-text`),
|
|
bi: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
bj: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
bk: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
bl: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
bm: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
bn: `/static/index/project3.png`,
|
|
bo: common_vendor.n(darkFans.value ? `time-tra-thi-photo-font-dark` : `time-tra-thi-photo-font`),
|
|
bp: secondcurrentIndex.value,
|
|
bq: common_vendor.n(darkFans.value ? `right-container-right-father-dark` : `right-container-right-father`),
|
|
br: common_vendor.f(undericonList.value, (item, index, i0) => {
|
|
return {
|
|
a: index === undermenuIndex.value,
|
|
b: index === undermenuIndex.value ? item.targetUrl : item.url,
|
|
c: index,
|
|
d: common_vendor.o(($event) => changeMenuUnder(index), index)
|
|
};
|
|
}),
|
|
bs: common_assets._imports_2,
|
|
bt: isPopupVisible.value
|
|
}, isPopupVisible.value ? common_vendor.e({
|
|
bv: `/static/index/hulilei.png`,
|
|
bw: common_vendor.o(closePopup),
|
|
bx: darkFans.value
|
|
}, darkFans.value ? {
|
|
by: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
top: `680rpx`
|
|
} : `{}`),
|
|
bz: `/static/index/cardbgc/uplight.png`
|
|
} : {}, {
|
|
bA: common_vendor.f([1], (item, index, i0) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.f([1], (item2, index2, i1) => {
|
|
return {
|
|
a: common_vendor.o(closePopup, index2),
|
|
b: index2
|
|
};
|
|
})
|
|
}, darkFans.value ? {
|
|
b: `/static/index/cardbgc/leftlight.png`
|
|
} : {}, {
|
|
c: index
|
|
});
|
|
}),
|
|
bB: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
top: `-60rpx`,
|
|
left: `0rpx`,
|
|
width: `150rpx`,
|
|
height: `60rpx`,
|
|
fontSize: `35rpx`,
|
|
borderRadius: `8rpx`
|
|
} : `{}`),
|
|
bC: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
top: `40rpx`,
|
|
left: `1300rpx`
|
|
} : `{}`),
|
|
bD: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `600rpx`,
|
|
height: `500rpx`
|
|
} : {
|
|
marginTop: `-90rpx`
|
|
}),
|
|
bE: `/static/index/teeth.png`,
|
|
bF: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `65rpx`,
|
|
height: `65rpx`
|
|
} : {}),
|
|
bG: darkFans.value ? `/static/index/darkicon/labadark.png` : `/static/index/laba.png`,
|
|
bH: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
fontSize: `46rpx`,
|
|
width: `400rpx`
|
|
} : `{}`),
|
|
bI: common_vendor.n(darkFans.value ? `right-container-fir-left-card-main-font-dark` : `right-container-fir-left-card-main-font`),
|
|
bJ: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `65rpx`,
|
|
height: `65rpx`
|
|
} : {
|
|
marginLeft: `-150rpx`
|
|
}),
|
|
bK: darkFans.value ? `/static/index/indexvideo.png` : `/static/index/indexvideo.png`,
|
|
bL: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
bM: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
fontSize: `100rpx`
|
|
} : `{}`),
|
|
bN: common_vendor.n(darkFans.value ? `time-text-dark` : `time-text`),
|
|
bO: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
fontSize: `45rpx`,
|
|
lineHeight: `70rpx`,
|
|
width: `800rpx`,
|
|
marginTop: `50rpx`,
|
|
marginBottom: `50rpx`
|
|
} : `{}`),
|
|
bP: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
bQ: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `55rpx`,
|
|
height: `55rpx`
|
|
} : `{}`),
|
|
bR: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
bS: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
fontSize: `42rpx`,
|
|
marginRight: "40rpx"
|
|
} : `{}`),
|
|
bT: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
bU: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `55rpx`,
|
|
height: `55rpx`
|
|
} : `{}`),
|
|
bV: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
bW: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
fontSize: `42rpx`
|
|
} : `{}`),
|
|
bX: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
marginBottom: "60rpx"
|
|
} : `{}`),
|
|
bY: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
bZ: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
ca: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
cb: common_vendor.s(isPopupVisiblefiropen.value ? `{}` : {
|
|
marginTop: `0rpx`,
|
|
marginLeft: `30rpx`
|
|
}),
|
|
cc: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
height: `700rpx`
|
|
} : `{}`),
|
|
cd: darkFans.value,
|
|
ce: common_vendor.s(darkFans.value ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``),
|
|
cf: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
marginTop: `70rpx`
|
|
} : {
|
|
marginTop: `0rpx`
|
|
}),
|
|
cg: `/static/index/hulilist/shang.png`,
|
|
ch: !darkFans.value
|
|
}, !darkFans.value ? {
|
|
ci: common_vendor.f(huliList.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: index
|
|
};
|
|
}),
|
|
cj: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
height: `200rpx`
|
|
} : `{}`),
|
|
ck: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
height: `600rpx`
|
|
} : `{}`)
|
|
} : {}, {
|
|
cl: darkFans.value
|
|
}, darkFans.value ? {
|
|
cm: common_vendor.f(huliListDark.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: index
|
|
};
|
|
}),
|
|
cn: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
height: `200rpx`
|
|
} : `{}`),
|
|
co: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
height: `600rpx`
|
|
} : `{}`)
|
|
} : {}, {
|
|
cp: `/static/index/hulilist/xia.png`,
|
|
cq: common_vendor.n(darkFans.value ? `right-container-fir-left-card-dark` : `right-container-fir-left-card`),
|
|
cr: common_vendor.o(() => {
|
|
}),
|
|
cs: widthCom.value + "rpx",
|
|
ct: heightCom.value + "rpx",
|
|
cv: topCom.value + "rpx",
|
|
cw: leftCom.value + "rpx",
|
|
cx: common_vendor.o(closePopup),
|
|
cy: common_vendor.s(isPopupVisiblefiropen.value ? {
|
|
backgroundColor: `rgba(89, 109, 154, 0.5)`
|
|
} : `{}`)
|
|
}) : {}, {
|
|
cz: isPopupVisiblesec.value
|
|
}, isPopupVisiblesec.value ? common_vendor.e({
|
|
cA: `/static/index/yiliao/yiliaolei.png`,
|
|
cB: common_vendor.o(closePopupsec),
|
|
cC: darkFans.value
|
|
}, darkFans.value ? {
|
|
cD: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
left: `1000rpx`,
|
|
top: `680rpx`
|
|
} : `{}`),
|
|
cE: `/static/index/cardbgc/uplight.png`
|
|
} : {}, {
|
|
cF: common_vendor.f([1], (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.f([1], (item2, index2, i1) => {
|
|
return {
|
|
a: index2
|
|
};
|
|
}),
|
|
b: index
|
|
};
|
|
}),
|
|
cG: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
top: `160rpx`,
|
|
left: `900rpx`,
|
|
width: `150rpx`,
|
|
height: `60rpx`,
|
|
fontSize: `35rpx`,
|
|
borderRadius: `8rpx`
|
|
} : `{}`),
|
|
cH: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
fontSize: `120rpx`
|
|
} : `{}`),
|
|
cI: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
cJ: darkFans.value ? `/static/index/medium/doctorsaydark.png` : `/static/index/medium/doctorsay.png`,
|
|
cK: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cL: common_vendor.n(!isPopupVisiblefiropensec.value ? `time-people-thi` : `time-people-thi-change`),
|
|
cM: darkFans.value ? `/static/index/medium/howtododark.png` : `/static/index/medium/howtodo.png`,
|
|
cN: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cO: common_vendor.n(!isPopupVisiblefiropensec.value ? `time-people-thi` : `time-people-thi-change`),
|
|
cP: darkFans.value ? `/static/index/medium/useMed.png` : `/static/index/medium/yongyao.png`,
|
|
cQ: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cR: common_vendor.n(!isPopupVisiblefiropensec.value ? `time-people-thi` : `time-people-thi-change`),
|
|
cS: darkFans.value ? `/static/index/medium/domanydark.png` : `/static/index/medium/domany.png`,
|
|
cT: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cU: common_vendor.n(!isPopupVisiblefiropensec.value ? `time-people-thi` : `time-people-thi-change`),
|
|
cV: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
cW: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cX: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
cY: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
cZ: common_vendor.n(!isPopupVisiblefiropensec.value ? `time-people-thi` : `time-people-thi-change`),
|
|
da: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
db: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
dc: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
dd: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
marginTop: `50rpx`
|
|
} : `{}`),
|
|
de: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
width: `800rpx`,
|
|
marginTop: `70rpx`,
|
|
marginLeft: `120rpx`
|
|
} : `{}`),
|
|
df: `/static/index/yiliao/project2.png`,
|
|
dg: common_vendor.n(darkFans.value ? `right-container-photo-text-dark` : `right-container-photo-text`),
|
|
dh: common_vendor.n(isPopupVisiblefiropensec.value ? `right-container-photo-change` : `right-container-photo`),
|
|
di: darkFans.value
|
|
}, darkFans.value ? {
|
|
dj: `/static/index/cardbgc/leftlight.png`
|
|
} : {}, {
|
|
dk: common_vendor.s(darkFans.value ? `background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #386997 50%, rgba(0, 0, 0, 0) 100%);` : ``),
|
|
dl: `/static/index/hulilist/shang.png`,
|
|
dm: !darkFans.value
|
|
}, !darkFans.value ? {
|
|
dn: common_vendor.f(mediumList.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: `${item.number}%`,
|
|
d: item.number !== 0,
|
|
e: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
dp: darkFans.value
|
|
}, darkFans.value ? {
|
|
dq: common_vendor.f(mediumListdark.value, (item, index, i0) => {
|
|
return {
|
|
a: item.url,
|
|
b: common_vendor.t(item.name),
|
|
c: `${item.number}%`,
|
|
d: item.number !== 0,
|
|
e: index
|
|
};
|
|
})
|
|
} : {}, {
|
|
dr: `/static/index/hulilist/xia.png`,
|
|
ds: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
width: `350rpx`
|
|
} : `{}`),
|
|
dt: common_vendor.n(darkFans.value ? `right-container-left-dark` : `right-container-left`),
|
|
dv: common_vendor.o(() => {
|
|
}),
|
|
dw: widthComsec.value + "rpx",
|
|
dx: heightComsec.value + "rpx",
|
|
dy: topComsec.value + "rpx",
|
|
dz: leftComsec.value + "rpx",
|
|
dA: common_vendor.o(closePopupsec),
|
|
dB: common_vendor.s(isPopupVisiblefiropensec.value ? {
|
|
backgroundColor: `rgba(89, 109, 154, 0.5)`
|
|
} : `{}`)
|
|
}) : {}, {
|
|
dC: isPopupVisiblethi.value
|
|
}, isPopupVisiblethi.value ? {
|
|
dD: `/static/index/baojielei.png`,
|
|
dE: common_vendor.o(closePopupthi),
|
|
dF: common_vendor.f([1], (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
dG: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
top: `90rpx`,
|
|
left: `200rpx`,
|
|
width: `150rpx`,
|
|
height: `60rpx`,
|
|
fontSize: `35rpx`,
|
|
borderRadius: `8rpx`
|
|
} : `{}`),
|
|
dH: common_vendor.n(darkFans.value ? `time-font-dark` : `time-font`),
|
|
dI: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
fontSize: `100rpx`
|
|
} : `{}`),
|
|
dJ: common_vendor.n(darkFans.value ? `time-text-dark` : `time-text`),
|
|
dK: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `800rpx`,
|
|
fontSize: `45rpx`,
|
|
marginTop: `100rpx`,
|
|
lineHeight: `60rpx`
|
|
} : `{}`),
|
|
dL: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `55rpx`,
|
|
height: `55rpx`
|
|
} : `{}`),
|
|
dM: darkFans.value ? `/static/index/darkicon/zhixingpeopledark.png` : `/static/index/cardicons/zhixing.png`,
|
|
dN: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
dO: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
fontSize: `42rpx`,
|
|
marginRight: "40rpx"
|
|
} : `{}`),
|
|
dP: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `55rpx`,
|
|
height: `55rpx`
|
|
} : `{}`),
|
|
dQ: darkFans.value ? `/static/index/medium/dopeopledark.png` : `/static/index/cardicons/zhifa.png`,
|
|
dR: common_vendor.n(darkFans.value ? `time-people-font-dark` : `time-people-font`),
|
|
dS: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
fontSize: `42rpx`,
|
|
marginRight: "40rpx"
|
|
} : `{}`),
|
|
dT: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
marginTop: `100rpx`,
|
|
marginBottom: `100rpx`
|
|
} : `{}`),
|
|
dU: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
dV: common_vendor.n(darkFans.value ? `time-button-end-dark` : `time-button-end`),
|
|
dW: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `350rpx`,
|
|
height: `110rpx`,
|
|
borderRadius: `80rpx`,
|
|
fontSize: `50rpx`
|
|
} : `{}`),
|
|
dX: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
width: `800rpx`,
|
|
marginLeft: `150rpx`
|
|
} : `{}`),
|
|
dY: `/static/index/project3.png`,
|
|
dZ: common_vendor.n(darkFans.value ? `time-tra-thi-photo-font-dark` : `time-tra-thi-photo-font`),
|
|
ea: common_vendor.n(isPopupVisiblefiropenthi.value ? `time-tra-thi-photo-change` : `time-tra-thi-photo`),
|
|
eb: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
marginLeft: `100rpx`
|
|
} : `{}`),
|
|
ec: common_vendor.n(darkFans.value ? `right-container-right-father-dark` : `right-container-right-father`),
|
|
ed: common_vendor.o(() => {
|
|
}),
|
|
ee: widthComthi.value + "rpx",
|
|
ef: heightComthi.value + "rpx",
|
|
eg: topComthi.value + "rpx",
|
|
eh: leftComthi.value + "rpx",
|
|
ei: common_vendor.o(closePopupthi),
|
|
ej: common_vendor.s(isPopupVisiblefiropenthi.value ? {
|
|
backgroundColor: `rgba(89, 109, 154, 0.5)`
|
|
} : `{}`)
|
|
} : {}, {
|
|
ek: common_vendor.n(darkFans.value ? `darkbackgroundContainer` : `backgroundContainer`)
|
|
});
|
|
};
|
|
}
|
|
});
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|