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