<template>
	<view :class="darkFans?`darkbackgroundContainer`:`backgroundContainer`">
		<view class="left-container">
			<view class="left-head">
				<image class="left-head-img" src="/static/index/oldman.png" />
				<text :class="darkFans?`left-head-font-dark`:`left-head-font`">
					王金凤
				</text>
			</view>
			<view class="left-img-container">
				<view v-for="(item,index) in iconList" :key="index" class="blue-circle-pos">
					<view class="blue-circle" v-show="index === menuIndex">
						<image class="blue-circle-size" :src="`/static/index/ray.png`" />
					</view>
					<image class="left-img" :src="index === menuIndex ? item.targetUrl : item.url"
						@click="changeMenu(index)" />

				</view>
			</view>
		</view>
		<view class="right-container">
			<view class="right-container-title">
				<text :class="darkFans?`right-container-title-no-dark`:`right-container-title-no`">
					N00123456
				</text>
				<text :class="darkFans?`right-container-title-class-dark`:`right-container-title-class`">
					护理单元01
				</text>
				<view class="right-container-title-class-anhei-button" @click="darkFans=!darkFans" v-show="!darkFans">
					<text class="right-container-title-class-anhei">
						切换到暗黑模式
					</text>
				</view>
				<view class="right-container-title-class-anhei-button"
					:style="darkFans ? { backgroundColor:'#fff' } : {}" @click="darkFans=!darkFans" v-show="darkFans">
					<text class="right-container-title-class-anhei" :style="darkFans ? { color: 'black' } : {}">
						取消暗黑模式
					</text>
				</view>
			</view>
			<view class="right-container-fir">
				<view class="right-container-fir-left">
					<view :class="darkFans?`right-container-fir-left-card-dark`:`right-container-fir-left-card`">
						<image class="right-container-fir-left-card-hulilei" :src="`/static/index/hulilei.png`" />
						<font class="right-container-fir-left-card-hulilei-font">护理类</font>

						<view class="right-container-fir-left-card-main">
							<image class="right-container-fir-left-card-main-left" :src="`/static/index/arrow2.png`"
								@click="firstcurrentIndex===0?firstcurrentIndex=2:firstcurrentIndex=firstcurrentIndex-1" />

							<view class="uni-margin-wrap">
								<swiper :current="firstcurrentIndex" class="swiper" circular :indicator-dots="false"
									:autoplay="true" :interval="4000" :duration="500">
									<swiper-item class="swiper-item-flex" v-for="(item,index) in [1,2 ,3]" :key="index">
										<view class="right-container-fir-left-card-card">
											<view class="right-container-fir-left-card-zhixing">
												<image class="right-container-fir-left-card-zhixing-img"
													:src="`/static/index/daizhixing.png`" />
												<font class="right-container-fir-left-card-zhixing-font">待执行</font>
											</view>
											<image class="right-container-fir-left-card-img"
												:src="`/static/index/teeth.png`" />
											<view class="">
												<image class="right-container-fir-left-card-main-laba"
													:src="darkFans?`/static/index/darkicon/labadark.png`:`/static/index/laba.png`" />
												<text
													:class="darkFans?`right-container-fir-left-card-main-font-dark`:`right-container-fir-left-card-main-font`">
													准备洁具（口腔）
												</text>
											</view>

										</view>
										<view class="split-line"></view>
										<view class="time-tra">
											<view :class="darkFans?`time-font-dark`:`time-font`">
												10:00 - 10:10
											</view>
											<view :class="darkFans?`time-text-dark`:`time-text`">
												为老人提供口腔清洁器具，牙膏、牙刷及水杯，看护完成
											</view>
											<view class="time-people">
												<image class="time-people-img"
													:src="darkFans?`/static/index/darkicon/zhixingrenyuanddark.png`:`/static/index/cardicons/zhixing.png`" />
												<text class="time-people-font">
													单人执行
												</text>
											</view>
											<view class="time-people">
												<image class="time-people-img"
													:src="darkFans?`/static/index/darkicon/zhixingfangshidark.png`:`/static/index/cardicons/zhifa.png`" />
												<text class="time-people-font">
													--
												</text>
											</view>
											<view class="time-button-view">
												<view class="time-button-start">
													开始服务
												</view>
												<view :class="darkFans?`time-button-end-dark`:`time-button-end`">
													服务结束
												</view>
											</view>
										</view>


									</swiper-item>
								</swiper>
							</view>
							<image class="right-container-fir-left-card-main-right" :src="`/static/index/arrow.png`"
								@click="firstcurrentIndex===2?firstcurrentIndex=0:firstcurrentIndex=firstcurrentIndex+1" />
							<view class="split-line-white"></view>
							<view class="right-huli">
								<image class="right-huli-shang" :src="`/static/index/hulilist/shang.png`" />
								<view class="right-huli-view" v-if="!darkFans">
									<view v-for="(item,index) in huliList" :key="index" class="right-huli-view-dis">
										<image class="right-huli-img" :src="item.url" />
										<text class="right-huli-text">{{item.name}}</text>
									</view>
								</view>
								<!-- 暗黑模式 -->
								<view class="right-huli-view" v-if="darkFans">
									<view v-for="(item,index) in huliListDark" :key="index" class="right-huli-view-dis">
										<image class="right-huli-img" :src="item.url" />
										<text class="right-huli-text-dark">{{item.name}}</text>
									</view>
								</view>
								<image class="right-huli-xia" :src="`/static/index/hulilist/xia.png`" />
							</view>
						</view>


					</view>

				</view>
				<view :class="darkFans?`right-container-fir-right-dark`:`right-container-fir-right`">
					<view class="right-container-card">
						<text :class="darkFans?`right-container-title-dark`:`right-container-title`">
							{{ currentTime }}
						</text>
						<text :class="darkFans?`right-container-date-dark`:`right-container-date`">
							{{ fullDate }}
						</text>
						<text :class="darkFans?`right-container-day-dark`:`right-container-day`">
							{{ weekDay }}
						</text>
						<view class="right-container-tem">
							<image class="right-container-tem-img"
								:src="darkFans?`/static/index/darkicon/wendudark.png`:`/static/index/roomicons/wendu.png`" />
							<text
								:class="darkFans?`right-container-tem-text-dark`:`right-container-tem-text`">23°C</text>
							<image class="right-container-tem-img"
								:src="darkFans?`/static/index/roomicons/shidu.png`:`/static/index/darkicon/shidudark.png`" />
							<text
								:class="darkFans?`right-container-tem-text-dark`:`right-container-tem-text`">39%</text>
						</view>
						<!-- 分割线 -->
						<view class="right-container-fenge"></view>

						<view class="right-container-button" v-if="!darkFans">
							<view v-for="(item,index) in roomBtttonList" :key="index"
								class="right-container-button-any">
								<image v-show="roomTar.includes(index)" class="right-container-button-ray"
									:src="`/static/index/cardicons/ray2.png`" />
								<image class="right-container-button-img"
									:src="roomTar.includes(index)?item.targetUrl : item.url" @click="saveItem(index)" />
								<text class="right-container-button-text"
									:style="roomTar.includes(index)?{color: '#167ED7'}:{}">{{item.name}}</text>
							</view>
						</view>
						<!-- 暗黑模式 -->
						<view class="right-container-button" v-if="darkFans">
							<view v-for="(item,index) in roomBtttonListdark" :key="index"
								class="right-container-button-any">
								<image v-show="roomTar.includes(index)" class="right-container-button-ray"
									:src="`/static/index/cardicons/ray2.png`" />
								<image class="right-container-button-img"
									:src="roomTar.includes(index)?item.targetUrl : item.url" @click="saveItem(index)" />
								<text class="right-container-button-text"
									:style="roomTar.includes(index)?{color: '#167ED7'}:{color: '#fff'}">{{item.name}}</text>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="right-container-sec">

				<view :class="darkFans?`right-container-left-dark`:`right-container-left`">
					<image class="right-container-left-type" :src="`/static/index/yiliao/yiliaolei.png`" />
					<font class="right-container-left-font">医疗类</font>
					<image class="right-container-fir-left-card-main-left" :src="`/static/index/arrow2.png`"
						@click="secondcurrentIndex===0?secondcurrentIndex=2:secondcurrentIndex=secondcurrentIndex-1" />
					<view class="uni-margin-wrap">
						<swiper :current="secondcurrentIndex" class="swiper" circular :indicator-dots="false"
							:autoplay="true" :interval="4000" :duration="500">
							<swiper-item class="swiper-item-flex" v-for="(item,index) in [1,2 ,3]" :key="index">
								<view class="time-tra">

									<view :class="darkFans?`time-font-dark`:`time-font`">
										10:00 - 10:10
									</view>
									<view :class="darkFans?`time-text-dark`:`time-text`">
										<text>静脉注射</text>
										<image class="time-text-img" :src="`/static/index/yiliao/project4.png`" />
									</view>
									<view class="time-people">
										<image class="time-people-img"
											:src="darkFans?`/static/index/darkicon/yishengdark.png`:`/static/index/yiliao/doctorW.png`" />
										<text class="time-people-font">
											李医生
										</text>
										<image class="time-people-img"
											:src="darkFans?`/static/index/darkicon/linshidark.png`:`/static/index/yiliao/yizhu.png`" />
										<text class="time-people-font">
											临时医嘱
										</text>
									</view>
									<view class="time-people">
										<image class="time-people-img"
											:src="darkFans?`/static/index/darkicon/hushidark.png`:`/static/index/yiliao/nurseW.png`" />
										<text class="time-people-font">
											王护士
										</text>
										<image class="time-people-img"
											:src="darkFans?`/static/index/darkicon/yizhudark.png`:`/static/index/yiliao/yizhudown.png`" />
										<text class="time-people-font">
											医嘱开立
										</text>
									</view>
									<view class="time-button-view">
										<view class="time-button-start">
											开始服务
										</view>
										<view :class="darkFans?`time-button-end-dark`:`time-button-end`">
											服务结束
										</view>
									</view>
								</view>
								<view class="right-container-photo">
									<image class="right-container-photo-img"
										:src="`/static/index/yiliao/project2.png`" />
									<text
										:class="darkFans?`right-container-photo-text-dark`:`right-container-photo-text`">
										脑膜炎(1/2)
									</text>
								</view>
							</swiper-item>
						</swiper>
					</view>

					<image class="right-container-fir-left-card-main-right" :src="`/static/index/arrow.png`"
						@click="secondcurrentIndex===2?secondcurrentIndex=0:secondcurrentIndex=secondcurrentIndex+1" />
					<view class="split-line-white"></view>
					<view class="right-huli">
						<image class="right-huli-shang" :src="`/static/index/hulilist/shang.png`" />
						<view class="right-huli-view" v-if="!darkFans">
							<view v-for="(item,index) in mediumList" :key="index" class="right-huli-view-dis">
								<image class="right-huli-img" :src="item.url" />
								<text class="right-huli-text">{{item.name}}</text>
							</view>
						</view>
						<view class="right-huli-view" v-if="darkFans">
							<view v-for="(item,index) in mediumListdark" :key="index" class="right-huli-view-dis">
								<image class="right-huli-img" :src="item.url" />
								<text class="right-huli-text-dark">{{item.name}}</text>
							</view>
						</view>
						<image class="right-huli-xia" :src="`/static/index/hulilist/xia.png`" />
					</view>

				</view>

				<view class="right-container-right" :style="darkFans ? { backgroundColor: 'rgb(22, 48, 76)' } : ''">
					<view class="right-container-right-title">
						<text
							:class="darkFans? `right-container-right-text-dark`:`right-container-right-text`">服务指令</text>
						<image class="right-container-right-img"
							:src="darkFans? `/static/index/darkicon/diandark.png`:`/static/index/medium/whitedian.png`" />
					</view>
					<view class="right-container-right-down">

						<image class="right-container-right-down-left" :src="`/static/index/arrow2.png`"
							@click="thirdcurrentIndex===0?thirdcurrentIndex=2:thirdcurrentIndex=thirdcurrentIndex-1" />
						<view class="uni-margin-wrap">
							<swiper :current="thirdcurrentIndex" class="swiper" circular :indicator-dots="false"
								:autoplay="true" :interval="4000" :duration="500">
								<swiper-item class="swiper-item-flex" v-for="(item,index) in [1,2 ,3]" :key="index">
									<view class="right-container-right-down-card"
										:style="darkFans ? { backgroundColor: 'rgb(22, 48, 76)',border:`3rpx solid #fff`,boxShadow:'' } : ''">
										<view class="right-container-right-down-card-card">
											<image class="right-container-right-down-card-card-type"
												:src="`/static/index/label.png`" />
											<font class="right-container-right-down-card-card-font">保洁类</font>
											<image class="right-container-right-down-card-img"
												:src="`/static/index/project3.png`" />
											<view class="">
												<text
													:class="darkFans?`right-container-right-down-card-font-dark`:`right-container-right-down-card-font`">
													更换纸尿裤
												</text>
											</view>

										</view>
										<view class="right-container-right-down-card-line"></view>
										<view class="time-tra">
											<view :class="darkFans?`time-font-dark`:`time-font`">
												10:00 - 10:10
											</view>

											<view class="time-people">
												<image class="time-people-img"
													:src="darkFans?`/static/index/darkicon/zhixingrenyuanddark.png`:`/static/index/cardicons/zhixing.png`" />
												<text class="time-people-font">
													协作执行
												</text>
											</view>
											<view class="time-people">
												<image class="time-people-img"
													:src="darkFans?`/static/index/darkicon/zhixingfangshidark.png`:`/static/index/cardicons/zhifa.png`" />
												<text class="time-people-font">
													王金福 / 李贵田
												</text>
											</view>
											<view class="time-button-view">
												<view class="time-button-start">
													开始服务
												</view>
												<view :class="darkFans?`time-button-end-dark`:`time-button-end`">
													服务结束
												</view>
											</view>
										</view>
									</view>
								</swiper-item>
							</swiper>
						</view>


						<image class="right-container-right-down-right" :src="`/static/index/arrow.png`"
							@click="thirdcurrentIndex===2?thirdcurrentIndex=0:thirdcurrentIndex=thirdcurrentIndex+1" />
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup lang="ts">
	import { ref, onMounted, onBeforeUnmount } from 'vue';

	// 定义响应式数据现在时间
	const currentTime = ref('');
	const fullDate = ref('');
	const weekDay = ref('');
	// 定义 Link 类型
	type Link = {
		url : string;
		targetUrl : string;
	}

	// 初始化左侧菜单列表
	const iconList = ref<Link[]>([
		{ 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/wifi.png', targetUrl: '/static/index/lefticontarget/bluewifi.png' },
		{ url: '/static/index/lefticon/back.png', targetUrl: '/static/index/lefticontarget/blueback.png' }
	]);
	// 定义 Link 类型
	type huliListType = {
		url : string;
		name : string
	}

	// 初始化第一个卡片列表
	const huliList = ref<huliListType[]>([
		{ url: '/static/index/hulilist/zhuandan.png', name: "转单执行" },
		{ url: '/static/index/hulilist/xiezhu.png', name: "协助执行" },
		{ url: '/static/index/hulilist/zhongdian.png', name: "重点" },
	]);
	// 初始化第一个卡片列表 暗黑模式
	const huliListDark = ref<huliListType[]>([
		{ url: '/static/index/darkicon/zhuandandark.png', name: "转单执行" },
		{ url: '/static/index/darkicon/xiezhudark.png', name: "协助执行" },
		{ url: '/static/index/darkicon/zhongdiandark.png', name: "重点" },
	]);
	// 初始化第二排第一个卡片列表
	const mediumList = ref<huliListType[]>([
		{ url: '/static/index/medium/yaopin.png', name: "药品信息" },
		{ url: '/static/index/medium/qingling.png', name: "请领指令" },
		{ url: '/static/index/medium/peiyao.png', name: "配药指令" },
		{ url: '/static/index/medium/xinxi.png', name: "信息反馈" },
	]);
	// 初始化第二排第一个卡片列表 暗黑模式
	const mediumListdark = ref<huliListType[]>([
		{ url: '/static/index/darkicon/yaopindark.png', name: "药品信息" },
		{ url: '/static/index/darkicon/qinglingdark.png', name: "请领指令" },
		{ url: '/static/index/darkicon/peiyaodark.png', name: "配药指令" },
		{ url: '/static/index/darkicon/xinxidark.png', name: "信息反馈" },
	]);
	// 定义 Link 类型
	type roomBtttonType = {
		url : string;
		targetUrl : string;
		name : string
	}

	// 初始化第二个卡片列表
	const roomBtttonList = ref<roomBtttonType[]>([
		{ 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 = ref<roomBtttonType[]>([
		{ 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 = ref<number>(0);
	// 暗黑模式
	const darkFans = ref<boolean>(false);
	// 当前选中的菜单索引
	const roomTar = ref<number[]>([]);
	//滑块按钮
	const firstcurrentIndex = ref<number>(0);
	const secondcurrentIndex = ref<number>(0);
	const thirdcurrentIndex = ref<number>(0);
	// 变更菜单
	const changeMenu = (index : number) => {
		menuIndex.value = index;
	};
	const saveItem = (index : number) => {
		if (roomTar.value.includes(index)) {
			let array = []
			roomTar.value.forEach((res : number) => {
				if (res !== index) {
					array.push(res)
				}
			})
			roomTar.value = array
		} else {
			roomTar.value.push(index)
		}
	}
	// 更新时间、日期和星期的方法
	const updateTime = () => {
		const now = 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;
	};
	// 生命周期钩子
	onMounted(() => {
		updateTime();
		// 每秒更新一次时间
		setInterval(updateTime, 1000);
	});
	// 在组件销毁时清除定时器
	onBeforeUnmount(() => {
		clearInterval(updateTime);
	});
</script>

<style lang="less" scoped>
	.backgroundContainer {
		display: flex;
		position: relative;
		width: 100%;
		height: 100vh;
		background-image: url('/static/index/lightbgc.png');
		background-size: cover;
		background-position: center center;
		overflow: hidden;
		// background-repeat: no-repeat;
	}

	//暗黑模式
	.darkbackgroundContainer {
		display: flex;
		position: relative;
		width: 100%;
		height: 100vh;
		background-image: url('/static/index/background.png');
		background-size: cover;
		background-position: center center;
		overflow: hidden;
	}

	.right-container {
		width: 100%;
		height: 100vh;

		.right-container-sec {
			width: 100%;
			height: 900rpx;
			margin-top: 50rpx;
			display: flex;

			.right-container-right {
				margin-left: 2%;
				width: 40%;
				height: 900rpx;
				border-radius: 80rpx;
				border: 1rpx solid #fff;
				background-color: rgba(200, 216, 238, 0.8);
				/* 背景颜色 #f4f9ff，透明度 70% */
				position: relative;
				display: flex;
				// justify-content: center;
				flex-direction: column;

				.uni-margin-wrap {
					margin-top: 200rpx;
					width: 1200rpx;
					// width: 100%;

					.swiper {
						height: 900rpx;

						.swiper-item-flex {
							display: flex;
						}

						.swiper-item {
							display: block;
							height: 300rpx;
							line-height: 300rpx;
							text-align: center;
						}
					}
				}

				.time-tra {
					// margin-left: 150rpx;
					margin-top: 80rpx;
					height: 100%;
					width: 700rpx;

					.time-button-view {
						display: flex;
						margin-top: 50rpx;
						margin-left: -30rpx;

						.time-button-start {
							width: 300rpx;
							height: 100rpx;
							border-radius: 50rpx;
							background: linear-gradient(to top, #047ADB, #0EA7DD);
							border-left: 2rpx solid #fff;
							display: flex;
							justify-content: center;
							align-items: center;
							color: #fff;
							font-size: 40rpx;
							margin-right: 25rpx;
							box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
						}

						.time-button-end {
							width: 300rpx;
							height: 100rpx;
							border-radius: 50rpx;
							background-color: #fff;
							display: flex;
							justify-content: center;
							align-items: center;
							font-size: 40rpx;
							box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
						}

						.time-button-end-dark {
							width: 300rpx;
							height: 100rpx;
							border-radius: 50rpx;
							display: flex;
							justify-content: center;
							align-items: center;
							font-size: 40rpx;
							box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
							background: linear-gradient(to top, #6B87BA, #FFFFFF);
							/* 渐变从下到上 */
						}

					}

					.time-people {
						display: flex;
						margin-bottom: 20rpx;

						.time-people-img {
							width: 60rpx;
							height: 60rpx;
							margin-right: 5rpx;
							// margin-left: 50rpx;
						}

						.time-people-font {
							color: #586787;
							font-size: 42rpx;
							margin-right: 90rpx;
						}
					}

					.time-font {
						font-size: 100rpx;
						text-shadow: 0 -5rpx 5rpx;
						margin-bottom: 30rpx;
						font-weight: 500;
					}

					.time-font-dark {
						font-size: 100rpx;
						text-shadow: 0 -5rpx 5rpx;
						margin-bottom: 30rpx;
						background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
						-webkit-background-clip: text;
						color: transparent;
						font-weight: 500;
					}

					.time-text {
						margin-left: 10rpx;
						color: #364464;
						font-size: 70rpx;
						font-weight: 700;
						width: 800rpx;
						margin-bottom: 50rpx;
						line-height: 70rpx;
						position: relative;

						.time-text-img {
							position: absolute;
							top: 0;
							left: 300rpx;
							width: 80rpx;
							height: 80rpx;
						}
					}
				}

				.right-container-right-down {
					width: 100%;
					height: 560rpx;
					display: flex;
					justify-content: center;
					align-items: center;

					.right-container-right-down-left {
						height: 100rpx;
						width: 100rpx;
					}

					.right-container-right-down-card {
						margin-left: 5rpx;
						margin-right: 5rpx;
						margin-top: 80rpx;
						width: 99%;
						height: 650rpx;
						border-radius: 80rpx;
						// border: 1rpx solid ;
						background-color: rgba(200, 216, 238, 0.8);
						/* 背景颜色 #f4f9ff，透明度 70% */
						position: relative;
						display: flex;
						// justify-content: center;
						// flex-direction: column;
						box-shadow: 2rpx 0 0 2rpx;

						.right-container-right-down-card-line {
							width: 1px;
							/* 线条的宽度 */
							height: 300rpx;
							/* 高度占满父容器 */
							background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #808080 50%, rgba(0, 0, 0, 0) 100%);
							margin-left: -20rpx;
							margin-right: 30rpx;
							margin-top: 150rpx;
						}

						.right-container-right-down-card-card {
							display: flex;
							justify-content: center;
							align-items: center;
							flex-direction: column;
							width: 450rpx;
							position: relative;

							.right-container-right-down-card-card-type {
								position: absolute;
								top: 0rpx;
								left: -25rpx;
								width: 315rpx;
								height: 104rpx;
							}

							.right-container-right-down-card-card-font {
								position: absolute;
								top: 15rpx;
								left: 95rpx;
								font-size: 40rpx;
								color: #414F6E;
							}

							.right-container-right-down-card-img {
								width: 400rpx;
								height: 350rpx;
							}

							.right-container-right-down-card-font {
								font-size: 50rpx;
							}

							.right-container-right-down-card-font-dark {
								font-size: 50rpx;
								color: #fff;
							}
						}
					}

					.right-container-right-down-right {
						height: 100rpx;
						width: 100rpx;
					}
				}

				// align-items: center;
				.right-container-right-title {
					width: 100%;
					height: 170rpx;
					position: relative;

					.right-container-right-text {
						line-height: 170rpx;
						font-size: 58rpx;
						font-weight: 600;
						margin-left: 120rpx;
					}

					.right-container-right-text-dark {
						line-height: 170rpx;
						font-size: 58rpx;
						font-weight: 600;
						margin-left: 120rpx;
						color: #fff;
					}

					.right-container-right-img {
						position: absolute;
						top: 80rpx;
						right: 80rpx;
						width: 80rpx;
						height: 20rpx;
					}
				}
			}

			.right-container-left {
				width: 55%;
				height: 900rpx;
				border-radius: 80rpx;
				border: 1rpx solid #fff;
				background-color: rgba(203, 219, 238, 0.8);
				/* 背景颜色 #f4f9ff，透明度 70% */
				position: relative;
				display: flex;
				justify-content: center;
				align-items: center;
			}

			.right-container-left-dark {
				width: 55%;
				height: 900rpx;
				border-radius: 80rpx;
				border: 1rpx solid #fff;
				background-color: rgb(22, 48, 76);
				/* 背景颜色 #f4f9ff，透明度 70% */
				position: relative;
				display: flex;
				justify-content: center;
				align-items: center;
			}

			.uni-margin-wrap {
				width: 1300rpx;
				// width: 100%;

				.swiper {
					height: 700rpx;

					.swiper-item-flex {
						display: flex;
					}

					.swiper-item {
						display: block;
						height: 300rpx;
						line-height: 300rpx;
						text-align: center;
					}
				}
			}

			.right-container-fir-left-card-main-right {
				margin-left: 10rpx;
				margin-right: 5rpx;
				width: 70rpx;
				height: 90rpx;
			}

			.right-huli {
				width: 250rpx;
				height: 100%;
				// background-color: #047ADB;
				margin-top: 0rpx;
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;

				.right-huli-view::-webkit-scrollbar {
					display: none;
				}

				.right-huli-view {
					height: 700rpx;
					// background-color: #047ADB;
					overflow: auto;
					display: flex;
					justify-content: center;
					align-items: center;
					flex-direction: column;

					.right-huli-view-dis {
						// flex-direction: column;
						margin-top: 30rpx;
						// margin-bottom: 30rpx;
						display: flex;
						justify-content: center;
						align-items: center;
						flex-direction: column;

						.right-huli-img {
							width: 120rpx;
							height: 120rpx;
						}

						.right-huli-text {
							width: 100%;
							height: 20rpx;
							text-align: center;
						}

						.right-huli-text-dark {
							width: 100%;
							height: 20rpx;
							text-align: center;
							color: #fff;
						}
					}
				}

				.right-huli-shang {
					width: 50rpx;
					height: 30rpx;
				}

				.right-huli-xia {
					margin-top: 10rpx;
					width: 50rpx;
					height: 30rpx;
				}
			}

			.right-container-photo {
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;

				.right-container-photo-img {
					width: 500rpx;
					height: 550rpx;
					margin-top: 30rpx;
					margin-bottom: 10rpx;
				}

				.right-container-photo-text {
					font-size: 50rpx;
					color: #324160;
				}

				.right-container-photo-text-dark {
					font-size: 50rpx;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
				}
			}

			.right-container-fir-left-card-main-left {
				height: 100rpx;
				width: 100rpx;
				margin-right: 0rpx;
				margin-left: 35rpx;
			}

			.right-container-left-type {
				position: absolute;
				top: 70rpx;
				left: -15rpx;
				width: 315rpx;
				height: 104rpx;
			}

			.right-container-left-font {
				position: absolute;
				top: 80rpx;
				left: 55rpx;
				font-size: 50rpx;
				color: #fff;
			}

			.time-tra {
				margin-left: 0rpx;
				margin-top: 100rpx;
				height: 100%;
				width: 700rpx;

				.time-button-view {
					display: flex;
					margin-top: 50rpx;
					margin-left: 0rpx;

					.time-button-start {
						width: 300rpx;
						height: 100rpx;
						border-radius: 50rpx;
						background: linear-gradient(to top, #0DA0B1, #04D3AF);
						border-left: 2rpx solid #fff;
						display: flex;
						justify-content: center;
						align-items: center;
						color: #fff;
						font-size: 40rpx;
						margin-right: 25rpx;
						box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
					}

					.time-button-end {
						width: 300rpx;
						height: 100rpx;
						border-radius: 50rpx;
						background-color: #fff;
						display: flex;
						justify-content: center;
						align-items: center;
						font-size: 40rpx;
						box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
					}

					.time-button-end-dark {
						width: 300rpx;
						height: 100rpx;
						border-radius: 50rpx;
						display: flex;
						justify-content: center;
						align-items: center;
						font-size: 40rpx;
						box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
						background: linear-gradient(to top, #6B87BA, #FFFFFF);
						/* 渐变从下到上 */
					}
				}

				.time-people {
					display: flex;
					margin-bottom: 20rpx;

					.time-people-img {
						width: 60rpx;
						height: 60rpx;
						margin-right: 5rpx;
						// margin-left: 50rpx;
					}

					.time-people-font {
						color: #586787;
						font-size: 42rpx;
						margin-right: 90rpx;
					}
				}

				.time-font {
					font-size: 100rpx;
					text-shadow: 0 -5rpx 5rpx;
					margin-bottom: 30rpx;
					font-weight: 500;
				}

				.time-font-dark {
					font-size: 100rpx;
					text-shadow: 0 -5rpx 5rpx;
					margin-bottom: 30rpx;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
					font-weight: 500;
				}

				.time-text {
					margin-left: 10rpx;
					color: #364464;
					font-size: 70rpx;
					font-weight: 700;
					width: 800rpx;
					margin-bottom: 50rpx;
					line-height: 70rpx;
					position: relative;
				}

				.time-text-dark {
					margin-left: 10rpx;
					// color: #364464;
					font-size: 70rpx;
					font-weight: 700;
					width: 800rpx;
					margin-bottom: 50rpx;
					line-height: 70rpx;
					position: relative;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
				}

				.time-text-img {
					position: absolute;
					top: 0;
					left: 300rpx;
					width: 80rpx;
					height: 80rpx;
				}

			}

		}

		.right-container-fir {
			width: 100%;
			height: 900rpx;
			display: flex;

			// background-color: red;
			.right-container-fir-left {
				width: 65%;
				height: 900rpx;
				border-radius: 80rpx;
				/* 圆角 */
				position: relative;

				/* 使用背景来模拟边框 */
				background-image: linear-gradient(45deg, #A496E8, #777CCC, #FAFDFF, #8BC5ED, #B8C5DD, #BBC8DD);
				background-origin: border-box;
				/* 背景从边框开始 */
				background-clip: content-box;
				/* 使背景只填充在边框内，而不覆盖内容区域 */
				padding: 5rpx;
				/* 留出足够的空间来呈现渐变边框 */

				/* 增加背景色确保视觉效果 */
				background-color: rgba(255, 255, 255, 0.1);
				/* 内部背景色 */
				box-sizing: border-box;

				/* 包括边框在内计算宽高 */
				.right-container-fir-left-card {
					position: absolute;
					top: 1%;
					left: 0.5%;
					width: 99%;
					height: 98%;
					border-radius: 80rpx;
					background-color: rgb(195, 211, 233);
				}

				.right-container-fir-left-card-dark {
					position: absolute;
					top: 1%;
					left: 0.5%;
					width: 99%;
					height: 98%;
					border-radius: 80rpx;
					background-color: rgb(22, 48, 76);
					/* 底色 */
					// background: linear-gradient(135deg, rgba(14, 27, 53, 0.45), rgba(52, 78, 119, 0.45), rgba(28, 74, 112, 0.45));
				}

				.right-container-fir-left-card-main {
					display: flex;
					justify-content: center;
					align-items: center;
					width: 2050rpx;
					height: 100%;
					margin-top: 60rpx;

					.split-line-white {
						width: 1px;
						/* 线条的宽度 */
						height: 800rpx;
						/* 高度占满父容器 */
						background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #fff 50%, rgba(0, 0, 0, 0) 100%);
						margin-right: 50rpx;
					}

					.uni-margin-wrap {
						width: 300rpx;
						width: 100%;

						.swiper {
							height: 700rpx;

							.swiper-item-flex {
								display: flex;
							}

							.swiper-item {
								display: block;
								height: 300rpx;
								line-height: 300rpx;
								text-align: center;
							}
						}
					}

					.right-container-fir-left-card-main-right {
						margin-left: 50rpx;
						margin-right: 30rpx;
						width: 70rpx;
						height: 90rpx;
					}

					.right-huli {

						width: 200rpx;
						height: 100%;
						// background-color: #047ADB;
						margin-top: -100rpx;
						display: flex;
						justify-content: center;
						align-items: center;
						flex-direction: column;

						.right-huli-view::-webkit-scrollbar {
							display: none;
						}

						.right-huli-view {
							height: 700rpx;
							// background-color: #047ADB;
							overflow: auto;
							display: flex;
							justify-content: center;
							align-items: center;
							flex-direction: column;

							.right-huli-view-dis {
								// flex-direction: column;
								margin-top: 30rpx;
								margin-bottom: 30rpx;
								display: flex;
								justify-content: center;
								align-items: center;
								flex-direction: column;

								.right-huli-img {
									width: 120rpx;
									height: 120rpx;
								}

								.right-huli-text {
									width: 100%;
									height: 20rpx;
									text-align: center;
								}

								.right-huli-text-dark {
									width: 100%;
									height: 20rpx;
									text-align: center;
									color: #fff;
								}
							}
						}

						.right-huli-shang {
							width: 50rpx;
							height: 30rpx;
						}

						.right-huli-xia {
							margin-top: 10rpx;
							width: 50rpx;
							height: 30rpx;
						}
					}

					.time-tra {
						margin-left: 30rpx;

						.time-button-view {
							display: flex;
							margin-top: 50rpx;
							margin-left: -30rpx;

							.time-button-start {
								width: 300rpx;
								height: 100rpx;
								border-radius: 50rpx;
								background: linear-gradient(to top, #047ADB, #0EA7DD);
								border-left: 2rpx solid #fff;
								display: flex;
								justify-content: center;
								align-items: center;
								color: #fff;
								font-size: 40rpx;
								margin-right: 25rpx;
								box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
							}

							.time-button-end {
								width: 300rpx;
								height: 100rpx;
								border-radius: 50rpx;
								background-color: #fff;
								display: flex;
								justify-content: center;
								align-items: center;
								font-size: 40rpx;
								box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
							}

							.time-button-end-dark {
								width: 300rpx;
								height: 100rpx;
								border-radius: 50rpx;
								display: flex;
								justify-content: center;
								align-items: center;
								font-size: 40rpx;
								box-shadow: 3rpx 3rpx 10rpx rgba(0, 0, 0, 0.3);
								background: linear-gradient(to top, #6B87BA, #FFFFFF);
								/* 渐变从下到上 */
							}
						}

						.time-people {
							display: flex;

							.time-people-img {
								width: 50rpx;
								height: 50rpx;
								margin-right: 20rpx;
							}

							.time-people-font {
								color: #586787;
								font-size: 42rpx;

							}
						}

						.time-font {
							font-size: 100rpx;
							text-shadow: 0 -5rpx 5rpx;
							margin-bottom: 50rpx;
							font-weight: 500;
						}

						.time-font-dark {
							font-size: 100rpx;
							text-shadow: 0 -5rpx 5rpx;
							margin-bottom: 50rpx;
							background: linear-gradient(to right, #EBF4FF, #ADC4E0);
							-webkit-background-clip: text;
							color: transparent;
							font-weight: 500;
						}

						.time-text {
							margin-left: 10rpx;
							color: #586787;
							font-size: 42rpx;
							width: 800rpx;
							margin-bottom: 50rpx;
							line-height: 70rpx;
						}

						.time-text-dark {
							margin-left: 10rpx;
							color: #CDD6EA;
							font-size: 42rpx;
							width: 800rpx;
							margin-bottom: 50rpx;
							line-height: 70rpx;
						}
					}


					.right-container-fir-left-card-card {
						display: flex;
						justify-content: center;
						align-items: center;
						flex-direction: column;
						position: relative;

						.right-container-fir-left-card-zhixing {
							position: absolute;
							top: 90rpx;
							left: 450rpx;
						}

						.right-container-fir-left-card-zhixing-font {
							position: absolute;
							top: 5rpx;

							left: 30rpx;
							width: 200rpx;
							font-size: 30rpx;
							color: #fff;
							z-index: 10;
						}

						.right-container-fir-left-card-zhixing-img {
							width: 149rpx;
							height: 57rpx;
							z-index: 9;

						}

						.right-container-fir-left-card-main-font {
							font-size: 50rpx;
							font-weight: 350;

						}

						.right-container-fir-left-card-main-font-dark {
							font-size: 50rpx;
							font-weight: 350;
							color: #fff;
						}

						.right-container-fir-left-card-main-laba {
							width: 70rpx;
							height: 80rpx;
							position: absolute;
							top: 540rpx;
							left: 20rpx;

						}

						.right-container-fir-left-card-img {
							width: 588rpx;
							height: 466rpx;
						}
					}

					.right-container-fir-left-card-main-left {
						height: 100rpx;
						width: 100rpx;
						margin-right: 0rpx;
						margin-left: 50rpx;
						// height: ;
					}
				}

				.right-container-fir-left-card-hulilei {
					position: absolute;
					top: 70rpx;
					left: -15rpx;
					width: 315rpx;
					height: 104rpx;

				}

				.right-container-fir-left-card-hulilei-font {
					position: absolute;
					top: 80rpx;
					left: 55rpx;
					font-size: 50rpx;
					color: #fff;
				}
			}

			.right-container-fir-right {
				margin-top: 6rpx;
				margin-left: 2%;
				margin-right: 3%;
				width: 30%;
				height: 880rpx;
				border-radius: 80rpx;
				border: 1rpx solid #fff;

				background: url(/static/index/rightbgi.png) no-repeat;
				background-size: contain;
			}

			.right-container-fir-right-dark {
				margin-top: 6rpx;
				margin-left: 2%;
				margin-right: 3%;
				width: 30%;
				height: 880rpx;
				border-radius: 80rpx;
				border: 1rpx solid #fff;
				background-color: #16304c;
				// background: url(/static/index/rightbgi.png) no-repeat;
				// background-size: contain;
			}

			.right-container-card {
				margin-top: 80rpx;
				margin-left: 100rpx;
				height: 800rpx;

				.right-container-button {
					display: flex;
					margin-left: -20rpx;
					margin-top: 40rpx;

					.right-container-button-any {
						display: flex;
						justify-content: center;
						align-items: center;
						flex-direction: column;
						width: 180rpx;
						position: relative;

						.right-container-button-ray {
							position: absolute;
							top: -25rpx;
							left: 10rpx;
							width: 150rpx;
							height: 150rpx;

						}
					}

					.right-container-button-img {
						width: 120rpx;
						height: 120rpx;
					}
				}

				.right-container-fenge {
					margin-top: 40rpx;
					width: 100%;
					height: 2rpx;
					/* 可根据需求调整容器的高度 */
					background: linear-gradient(to right,
							rgba(255, 255, 255, 1) 50%,
							/* 白色中心 */
							rgba(255, 255, 255, 0) 80%);
					/* 渐变至透明 */
				}

				.right-container-tem {
					display: flex;
					margin-top: 50rpx;

					.right-container-tem-text {
						font-size: 70rpx;
						margin-right: 70rpx;
					}

					.right-container-tem-text-dark {
						font-size: 70rpx;
						margin-right: 70rpx;
						color: #6B87BA;
					}

					.right-container-tem-img {
						width: 100rpx;
						height: 100rpx;
					}
				}

				.right-container-title {
					font-size: 150rpx;
					text-shadow: 0 -5rpx 5rpx;
					display: block;
					margin: 0;
				}

				.right-container-title-dark {
					font-size: 150rpx;
					text-shadow: 0 -5rpx 5rpx;
					display: block;
					margin: 0;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
				}

				.right-container-date {
					font-size: 50rpx;
					color: #7080A1;
					display: block;
					margin: 0;
					margin-left: 18rpx;
					margin-bottom: 10rpx;
				}

				.right-container-date-dark {
					font-size: 50rpx;
					color: #7080A1;
					display: block;
					margin: 0;
					margin-left: 18rpx;
					margin-bottom: 10rpx;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
				}

				.right-container-day {
					font-size: 55rpx;
					font-weight: 600;
					// color: #7080A1;
					margin-left: 18rpx;
				}

				.right-container-day-dark {
					font-size: 55rpx;
					font-weight: 600;
					// color: #7080A1;
					margin-left: 18rpx;
					background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
					-webkit-background-clip: text;
					color: transparent;
				}
			}
		}


		.right-container-title {
			margin-top: 127rpx;
			margin-bottom: 73rpx;

			.right-container-title-no {
				font-size: 58rpx;
			}

			.right-container-title-no-dark {
				font-size: 58rpx;
				background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
				-webkit-background-clip: text;
				color: transparent;
			}

			.right-container-title-class {
				font-size: 58rpx;
				font-weight: 800;
				margin-left: 20rpx;
			}

			.right-container-title-class-dark {
				font-size: 58rpx;
				font-weight: 800;
				margin-left: 20rpx;
				background: linear-gradient(to bottom, #FFFFFF, #B2C8E2);
				-webkit-background-clip: text;
				color: transparent;
			}

			.right-container-title-class-anhei-button {
				float: right;
				display: flex;
				justify-content: center;
				align-items: center;
				border-radius: 30rpx;
				margin-right: 100rpx;
				width: 500rpx;
				height: 100rpx;
				background-color: black;
				border: 2rpx solid;

				.right-container-title-class-anhei {
					font-size: 58rpx;
					font-weight: 800;
					color: white;

				}
			}

		}
	}

	.left-container {
		width: 562rpx;
		height: 100%;

		.blue-circle-pos {
			position: relative;

			.blue-circle {
				position: absolute;
				top: -175rpx;
				left: -200rpx;

				.blue-circle-size {
					width: 350rpx;
					height: 600rpx;
				}
			}
		}

		.left-head {
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;

			.left-head-img {
				width: 266rpx;
				height: 266rpx;
				margin-top: 126rpx;
			}

			.left-head-font {
				font-weight: 700;
				font-size: 73rpx;
			}

			.left-head-font-dark {
				font-weight: 700;
				font-size: 73rpx;
				background: linear-gradient(to right, #EBF4FF, #ADC4E0);
				-webkit-background-clip: text;
				color: transparent;
			}
		}

		.left-img-container {
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;
			margin-top: 75rpx;

			.left-img {
				width: 180rpx;
				height: 180rpx;
				margin-top: 75rpx;
				margin-bottom: 75rpx;
				z-index: 100;
			}
		}
	}

	//分割线
	.split-line {
		margin-top: 200rpx;
		width: 1px;
		/* 线条的宽度 */
		height: 300rpx;
		/* 高度占满父容器 */
		background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #808080 50%, rgba(0, 0, 0, 0) 100%);
		margin-left: 40rpx;
		margin-right: 40rpx;
		/* 上面到下面的渐变效果：
	     - 从透明到黑色，再从黑色到透明
	     - 渐变的范围：50%处为渐变的中心，顶部和底部是透明的 */
	}

	.split-line-white {
		width: 1px;
		/* 线条的宽度 */
		height: 800rpx;
		/* 高度占满父容器 */
		background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #fff 50%, rgba(0, 0, 0, 0) 100%);
		margin-left: 20rpx;
		/* 上面到下面的渐变效果：
		 - 从透明到黑色，再从黑色到透明
		 - 渐变的范围：50%处为渐变的中心，顶部和底部是透明的 */
	}
</style>