<template>
	<view class="online-resume">
		<!-- 顶部导航栏 -->
		<view class="navbar">
			<view class="navbar-content">
				<view class="navbar-left" @click="goBack">
					<u-icon name="arrow-leftward" size="38" color="#333"></u-icon>
				</view>
				<view class="navbar-title">在线简历</view>
				<view class="navbar-right"></view>
			</view>
		</view>

		<!-- 用户信息区域 -->
		<view class="user-profile">
			<view class="avatar-container">
				<image src="../../static/logo.png" class="user-avatar" mode="aspectFill"></image>
				<view class="edit-avatar-icon">
					<image src="../../static/images/index/Combined-Shape.svg" style="width: 32rpx;height: 32rpx;" mode=""></image>
				</view>
			</view>
			<view class="user-name">罗维靖</view>
			<view class="user-info">8年经验·33岁·硕士·男</view>
			<view class="contact-info">
				<view class="contact-item">
                    <image src="../../static/images/index/phone.svg" style="width: 24rpx;height: 24rpx;" mode=""></image>
					<text class="contact-text">188******39</text>
				</view>
				<view class="contact-item">
                    <image src="../../static/images/index/wx.svg" style="width: 24rpx;height: 24rpx;" mode=""></image>
					<text class="contact-text">188******39</text>
				</view>
			</view>
			<view class="availability">
				<text class="status-text">离职 & 随时到岗</text>
				<view class="status-dot"></view>
			</view>
		</view>

		<!-- 内容区域 -->
		<view class="content-section">
			<!-- 跨境电商工作经验 -->
			<view class="switch-section">
				<view class="switch-left">
                    <view class="flex">
                        <view class="switch-title">是否有跨境电商工作经验</view>
                        <view class="template-text">不同简历模版</view>
                    </view>
					<view class="section-status" v-if="hasEcommerceExperience">
						是,有跨境电商工作经验
					</view>
				</view>
				<u-switch v-model="hasEcommerceExperience" active-color="#007AFF" size="60"></u-switch>
			</view>

			<!-- 个人优势 -->
			<view class="section-item">
				<view class="section-header">
					<view class="section-title">个人优势</view>
					<view class="edit-icon">
						<image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
					</view>
				</view>
				<view class="advantage-content">
					这是个人编辑的个人优势区域这是个人编辑的个人优势区域这是个人编辑的个人优势区域这是个人编辑的个人优势区域... 展示三行
				</view>
			</view>

            <!-- 全职期望卡片 -->
            <view class="expectation-card">
                <view class="card-header">
                    <view class="header-left">
                        <image src="../../static/images/index/lingdai.svg" class="header-icon" />
                        <text class="header-title">全职期望</text>
                    </view>
                    <text class="progress-text">2/3</text>
                </view>
                
                <view class="job-list">
                    <view class="job-item">
                        <view class="job-info">
                            <view>
                                <text class="job-title">亚马逊运营总监</text>
                                <view @click="goToPreferenceSetting('亚马逊运营总监')">
                                    <view class="preference-btn">
                                    <text>设置求职偏好</text>
                                    </view>
                                    <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
                                </view>
                            </view>
                            <text class="job-details">30-40K・不限</text>
                            <text class="job-location">深圳</text>
                        </view>
                    </view>
                    
                    <view class="job-item">
                        <view class="job-info">
                            <view>
                                <text class="job-title">TikTok运营总监</text>
                                <view @click="goToPreferenceSetting('TikTok运营总监')">
                                    <view class="preference-btn">
                                        <text>设置求职偏好</text>
                                    </view>
                                    <u-icon name="arrow-right" color="rgba(29, 33, 41, 1)" size="28"></u-icon>
                                </view>
                            </view>
                            <text class="job-details">30-40K・精品铺货</text>
                            <text class="job-location">深圳</text>
                        </view>
                    </view>
                </view>
                
				<view class="add-expectation-btn" @click="addExpectation">
					<text>添加求职期望</text>
				</view>
			</view>

			<!-- 工作经历 -->
			<view class="work-experience-section">
				<view class="section-header">
					<view class="section-title">
						<text class="required-mark">*</text>
						<text class="required-title">工作经历</text>
                        <view class="section-desc">请填写专属跨境行业的工作经验</view>
					</view>
					<view class="edit-icon" @click="goToWorkExperience">
						<image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
					</view>
				</view>
				
				<view class="experience-list">
					<view class="experience-item">
						<view class="company-logo">
							<!-- <image src="../../static/images/index/company-logo-1.png" class="logo-img" mode="aspectFit"></image> -->
						</view>
						<view class="experience-content">
							<view class="job-info-row">
								<view class="job-title">资深亚马逊运营</view>
								<view class="job-department">运营部</view>
							</view>
							<view class="company-period-row">
								<view class="company-name">深圳市世迪贸易科技有限公司</view>
								<view class="work-period">2019.02-至今</view>
							</view>
							<view class="job-description">
								负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售...
							</view>
							<view class="skill-tags">
								<view class="tag">精品铺货</view>
								<view class="tag">独立站</view>
								<view class="tag">3C数码</view>
								<view class="tag">品类运营</view>
							</view>
						</view>
					</view>
					
					<view class="experience-item">
						<view class="company-logo">
							<!-- <image src="../../static/images/index/company-logo-2.png" class="logo-img" mode="aspectFit"></image> -->
						</view>
						<view class="experience-content">
							<view class="job-info-row">
								<view class="job-title">高级ebay运营</view>
								<view class="job-department">运营部</view>
							</view>
							<view class="company-period-row">
								<view class="company-name">深圳市世迪贸易科技有限公司</view>
								<view class="work-period">2018.01-2019.01</view>
							</view>
							<view class="job-description">
								负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售....
							</view>
							<view class="skill-tags">
								<view class="tag">精品铺货</view>
								<view class="tag">独立站</view>
								<view class="tag">3C数码</view>
								<view class="tag">品类运营</view>
							</view>
						</view>
					</view>
					
					<view class="experience-item">
						<view class="company-logo">
							<!-- <image src="../../static/images/index/company-logo-3.png" class="logo-img" mode="aspectFit"></image> -->
						</view>
						<view class="experience-content">
							<view class="job-info-row">
								<view class="job-title">高级产品开发经理</view>
								<view class="job-department">产品开发部</view>
							</view>
							<view class="company-period-row">
								<view class="company-name">深圳虾皮科技有限公司</view>
								<view class="work-period">2023.04 -至今</view>
							</view>
							<view class="job-description">
								这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容这是简历填写的内容...
							</view>
							<view class="skill-tags">
								<view class="tag">技能标签</view>
								<view class="tag">技能标签</view>
								<view class="tag">技能标签</view>
								<view class="tag">技能标签</view>
								<view class="tag">技能标签</view>
								<view class="tag">技能标签</view>
							</view>
						</view>
					</view>
				</view>
			</view>

			<!-- 教育经历 -->
			<view class="education-section">
				<view class="section-header">
					<view class="section-title">
						<text>教育经历</text>
					</view>
					<view class="edit-icon">
						<image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
					</view>
				</view>
				
				<view class="education-list">
					<view class="education-item">
						<view class="school-logo">
							<!-- <image src="../../static/images/index/harvard-logo.png" class="logo-img" mode="aspectFit"></image> -->
						</view>
						<view class="education-content">
							<view class="school-name">武汉工程大学</view>
							<view class="degree-info">硕士 • 高分子化学与物理 • 2014-2017</view>
							<view class="education-description">
								这是简历填写的内容这是简历填写的内容内容这是简历填写的内是简历填写的内容这是简历填写的内容...
							</view>
						</view>
					</view>
					
					<view class="education-item">
						<view class="school-logo">
							<!-- <image src="../../static/images/index/harvard-logo.png" class="logo-img" mode="aspectFit"></image> -->
						</view>
						<view class="education-content">
							<view class="school-name">武汉工程大学</view>
							<view class="degree-info">硕士 • 高分子化学与物理 • 2014-2017</view>
							<view class="education-description">
								这是简历填写的内容这是简历填写的内容这是简的内容这是的内容这是简历填写的内容这是简历填写的内容...
							</view>
						</view>
					</view>
				</view>
			</view>

			<!-- 技能 -->
			<view class="skills-section">
				<view class="section-header">
					<view class="section-title">
						<text>技能</text>
					</view>
					<view class="edit-icon" @click="goToJobSkills">
						<image src="../../static/images/index/Combined-Shape.svg" style="width: 48rpx;height: 48rpx;" mode=""></image>
					</view>
				</view>
				
				<view class="skills-grid">
					<view class="skill-tag">Design & Creative</view>
					<view class="skill-tag">Wireframing UX</view>
					<view class="skill-tag">Figma</view>
					<view class="skill-tag">UI Design</view>
					<view class="skill-tag">Prototype</view>
					<view class="skill-tag">Adobe XD</view>
					<view class="skill-tag">UX Design</view>
					<view class="skill-tag">Front End</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				hasEcommerceExperience: true
			}
		},
		methods: {
			goBack() {
				uni.navigateBack();
			},
			addExpectation() {
				uni.navigateTo({
					url: '/package/jobIntention/addExpectation'
				})
			},
			goToPreferenceSetting(jobTitle) {
				uni.navigateTo({
					url: `/package/jobIntention/preferenceSetting?jobTitle=${encodeURIComponent(jobTitle)}`
				})
			},
			goToJobSkills() {
				uni.navigateTo({
					url: '/package/jobIntention/jobSkills'
				})
			},
			goToWorkExperience() {
				// 获取业务类型数据
				const businessTypes = this.getBusinessTypes()
				console.log('传递给工作经历页面的业务类型:', businessTypes)
				console.log('当前hasEcommerceExperience状态:', this.hasEcommerceExperience)
				uni.navigateTo({
					url: `/pages/my/workExperience?businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
				})
			},
			getBusinessTypes() {
				// 根据是否有跨境电商经验返回业务类型
				if (this.hasEcommerceExperience) {
					return ['cross-border-ecommerce']
				} else {
					return []
				}
			}
		},
		watch: {
			hasEcommerceExperience(newVal, oldVal) {
				console.log('hasEcommerceExperience 变化:', oldVal, '->', newVal)
				// 只有有效的布尔值才保存到缓存
				if (typeof newVal === 'boolean') {
					uni.setStorageSync('hasEcommerceExperience', newVal)
				}
			}
		},
		mounted() {
			console.log('页面加载时 hasEcommerceExperience:', this.hasEcommerceExperience)
			
			// 检查是否有缓存的数据
			const cachedValue = uni.getStorageSync('hasEcommerceExperience')
			if (cachedValue !== null && cachedValue !== undefined && cachedValue !== '') {
				console.log('从缓存读取 hasEcommerceExperience:', cachedValue)
				this.hasEcommerceExperience = cachedValue
			} else {
				console.log('缓存中没有有效值，使用默认值:', this.hasEcommerceExperience)
				// 清除无效的缓存
				uni.removeStorageSync('hasEcommerceExperience')
			}
			
			// 监听偏好设置更新
			uni.$on('preferenceUpdated', (data) => {
				console.log('偏好设置已更新:', data)
				// 这里可以更新对应的职位偏好显示
				uni.showToast({
					title: `${data.jobTitle}偏好已更新`,
					icon: 'success'
				})
			})
			
			// 监听技能设置更新
			uni.$on('skillsUpdated', (data) => {
				console.log('技能设置已更新:', data)
				// 这里可以更新对应的技能显示
				uni.showToast({
					title: `${data.jobTitle}技能已更新`,
					icon: 'success'
				})
			})
		},
		beforeDestroy() {
			// 移除事件监听
			uni.$off('preferenceUpdated')
			uni.$off('skillsUpdated')
		}
	}
</script>

<style lang="scss" scoped>
	.online-resume {
		// background-color: #F2F6FC;
		min-height: 100vh;
	}

	// 顶部导航栏
	.navbar {
		background: #fff;
		padding: 80rpx 0 40rpx 0;
		
		.navbar-content {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 30rpx;
			height: 60rpx;
			
			.navbar-left {
				width: 60rpx;
				height: 60rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			
			.navbar-title {
                color: rgba(23, 23, 37, 1);
                font-family: DM Sans;
                font-size: 20px;
                font-weight: 700;
                line-height: 26px;
                letter-spacing: 0%;
                text-align: center;
			}
			
			.navbar-right {
				width: 60rpx;
				height: 60rpx;
			}
		}
	}

	// 用户信息区域
	.user-profile {
		background: #fff;
		padding: 60rpx 30rpx 40rpx;
		text-align: center;
        border-bottom: 2px solid rgba(227, 231, 236, 1);
		
		.avatar-container {
			position: relative;
			display: inline-block;
			margin-bottom: 30rpx;
			
			.user-avatar {
				width: 180rpx;
				height: 180rpx;
				border-radius: 50%;
			}
			
			.edit-avatar-icon {
				position: absolute;
				bottom: 10rpx;
				right: 10rpx;
				width: 48rpx;
				height: 48rpx;
				background: #fff;
				border-radius: 50%;
				display: flex;
				align-items: center;
				justify-content: center;
				box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
			}
		}
		
		.user-name {
            color: rgba(21, 21, 23, 1);
            font-family: DM Sans;
            font-size: 24px;
            font-weight: 700;
            line-height: 26px;
            letter-spacing: 0%;
            text-align: center;
		}
		
		.user-info {
            color: rgba(102, 112, 122, 1);
            font-family: DM Sans;
            font-size: 16px;
            line-height: 16rpx;
            font-weight: 400;
            letter-spacing: 0%;
            text-align: center;
            margin: 30rpx auto;
		}
		
		.contact-info {
			display: flex;
			justify-content: center;
			gap: 40rpx;
			margin-bottom: 30rpx;
			
			.contact-item {
				display: flex;
				align-items: center;
				gap: 10rpx;
				
				.contact-text {
                    color: rgba(116, 116, 116, 1);
                    font-family: DM Sans;
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 10px;
                    letter-spacing: 0%;
                    text-align: center;
				}
			}
		}
		
		.availability {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 10rpx;
			
			.status-text {
                color: rgba(156, 164, 171, 1);
                font-family: DM Sans;
                font-size: 14px;
                font-weight: 400;
                line-height: 16px;
                letter-spacing: 0%;
                text-align: left;
			}
			
			.status-dot {
				width: 18rpx;
				height: 18rpx;
				background: rgba(0, 204, 154, 1);
				border-radius: 50%;
			}
		}
	}

	// 内容区域
	.content-section {
		// background: #F2F6FC;
		padding: 30rpx;
		
		// 开关部分样式
		.switch-section {
			display: flex;
			align-items: center;
			justify-content: space-between;
			background: #fff;
			border-radius: 12rpx;
			padding: 24rpx;
			margin-bottom: 16rpx;
			
			.switch-left {
				flex: 1;
				
				.switch-title {
					color: rgba(23, 23, 37, 1);
					font-family: Inter;
					font-size: 18px;
					font-weight: 500;
					line-height: 20px;
					letter-spacing: 0%;
					text-align: left;
					margin-bottom: 12rpx;
                    margin-right: 40rpx;
				}
				
				.template-text {
					color: rgba(120, 130, 138, 1);
					font-family: DM Sans;
					font-size: 12px;
					font-weight: 400;
					line-height: 16px;
					letter-spacing: 0%;
					text-align: left;
					margin-bottom: 8rpx;
				}
				
				.section-status {
					font-size: 16px;
					color: #007AFF;
					font-weight: 500;
				}
			}
		}
		
		.section-item {
			background: #fff;
			border-radius: 16rpx;
			padding: 30rpx;
			margin-bottom: 20rpx;
            box-sizing: border-box;
            border: 1px solid rgba(227, 231, 236, 1);
            border-radius: 12px;
			
			.section-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 20rpx;
				
				.section-title {
                    color: rgba(23, 23, 37, 1);
                    font-family: Inter;
                    font-size: 20px;
                    font-weight: 600;
                    line-height: 24px;
                    letter-spacing: 0%;
                    text-align: left;
				}
				
				.template-text {
                    color: rgba(120, 130, 138, 1);
                    font-family: DM Sans;
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 16px;
                    letter-spacing: 0%;
                    text-align: left;
				}
				
				.edit-icon {
					width: 40rpx;
					height: 40rpx;
					display: flex;
					align-items: center;
					justify-content: center;
				}
			}
			
			.section-status {
				font-size: 28rpx;
				color: #007AFF;
				font-weight: 500;
			}
			
			.advantage-content {
				font-size: 14px;
				color: #666;
				line-height: 1.6;
			}
		}
		
		// 全职期望卡片样式
		.expectation-card {
			background: #ffffff;
			border-radius: 12rpx;
			padding: 30rpx;
			margin-bottom: 20rpx;
			box-sizing: border-box;
			border: 0.5px solid rgba(227, 231, 236, 1);
			border-radius: 6px;
			background: rgba(253, 253, 253, 1);
			
			.card-header {
				display: flex;
				justify-content: space-between;
				align-items: center;
				
				.header-left {
					display: flex;
					align-items: center;
					
					.header-icon {
						width: 40rpx;
						height: 40rpx;
						margin-right: 20rpx;
					}
					
					.header-title {
						color: rgba(29, 33, 41, 1);
						font-family: DM Sans;
						font-size: 28rpx;
						font-weight: 500;
						line-height: 16px;
						letter-spacing: 0%;
						text-align: left;
					}
				}
				
				.progress-text {
					font-family: DM Sans;
					font-size: 24rpx;
					font-weight: 700;
					line-height: 13px;
					letter-spacing: 0%;
					text-align: right;
				}
			}
			
			.job-list {
				margin-bottom: 10rpx;
				
				.job-item {
					display: flex;
					justify-content: space-between;
					align-items: center;
					padding: 20rpx 0;
					
					&:last-child {
						border-bottom: none;
					}
					
					.job-info {
						flex: 1;
						
						> view:first-child {
							display: flex;
							justify-content: space-between;
							align-items: center;
							margin-bottom: 4rpx;
						}
						
						.job-title {
							color: rgba(29, 33, 41, 1);
							font-family: DM Sans;
							font-size: 28rpx;
							font-weight: 500;
							line-height: 16px;
							letter-spacing: 0%;
							text-align: left;
						}
						
						.job-details {
							display: block;
							font-size: 24rpx;
							color: rgba(153, 153, 153, 1);
							margin-bottom: 4rpx;
						}
						
						.job-location {
							font-size: 24rpx;
							color: rgba(153, 153, 153, 1);
						}
					}
					
					.preference-btn {
						display: flex;
						align-items: center;
						padding: 8rpx;
						border: 0.5rpx solid #007AFF;
						border-radius: 12rpx;
						margin-right: 10rpx;
						
						text {
							font-size: 18rpx;
							color: #007AFF;
						}
					}
					
					.job-info > view:first-child > view:last-child {
						display: flex;
						align-items: center;
					}
				}
			}
			
			.add-expectation-btn {
				width: 100%;
                height: 70rpx;
				border: 1rpx solid #007AFF;
				border-radius: 42rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				
				text {
					font-size: 28rpx;
					color: #007AFF;
					font-weight: 500;
				}
			}
		}
		
		// 工作经历部分样式
		.work-experience-section {
			background: #fff;
			border-radius: 12px;
			padding: 30rpx;
			margin-bottom: 20rpx;
			box-sizing: border-box;
			border: 1px solid rgba(1, 107, 246, 1);
			
			.section-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 30rpx;
				
				.section-title {
					display: flex;
					align-items: center;
					
					.required-mark {
						color: #FF3B30;
						font-size: 18px;
						font-weight: 600;
						margin-right: 8rpx;
					}

                    .required-title {
                        font-family: DM Sans;
                        font-size: 20px;
                        font-weight: 700;
                        line-height: 26px;
                        letter-spacing: 0%;
                        text-align: left;
                        margin-right: 12rpx;
                    }
					
					text {
						color: rgba(23, 23, 37, 1);
						font-family: Inter;
						font-size: 20px;
						font-weight: 600;
						line-height: 24px;
					}
				}
				
				.section-desc {
                    color: rgba(1, 107, 246, 1);
                    font-family: DM Sans;
                    font-size: 13px;
                    font-weight: 400;
                    line-height: 22px;
                    letter-spacing: 0%;
                    text-align: left;
				}
			}
			
			.experience-list {
				.experience-item {
					display: flex;
					padding: 24rpx 0;
					border-bottom: 1rpx solid #F0F0F0;
					
					&:last-child {
						border-bottom: none;
					}
					
					.company-logo {
						width: 90rpx;
						height: 90rpx;
						margin-right: 24rpx;
						flex-shrink: 0;
                        border-radius: 8px;
                        background: rgba(246, 246, 246, 1);
						
						.logo-img {
							width: 100%;
							height: 100%;
							border-radius: 8rpx;
						}
					}
					
					.experience-content {
						flex: 1;
						
						.job-info-row {
							display: flex;
							align-items: center;
							margin-bottom: 4rpx;
						}
						
						.job-title {
                            color: rgba(23, 23, 37, 1);
                            font-family: DM Sans;
                            font-size: 16px;
                            font-weight: 400;
                            line-height: 22px;
                            letter-spacing: 0%;
                            text-align: left;
                            margin-right: 12rpx;
						}
						
						.job-department {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 22px;
                            letter-spacing: 0%;
                            text-align: left;
						}
						
						.company-period-row {
							display: flex;
							align-items: center;
							justify-content: flex-start;
							margin-bottom: 12rpx;
                            gap: 12rpx;
						}
						
						.company-name {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 10px;
                            letter-spacing: 0%;
                            text-align: left;

						}
						
						.work-period {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 10px;
                            letter-spacing: 0%;
                            text-align: left;
						}
						
						.job-description {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 14px;
                            letter-spacing: 0%;
                            text-align: left;
						}
						
						.skill-tags {
							display: flex;
							flex-wrap: wrap;
							gap: 8rpx;
                            margin-top: 12rpx;
							
							.tag {
								background: rgba(248, 249, 250, 1);
								border: 1rpx solid rgba(227, 231, 236, 1);
								border-radius: 12rpx;
								padding: 4rpx;
                                color: rgba(102, 102, 102, 1);
                                font-family: DM Sans;
                                font-size: 12px;
                                font-weight: 400;
                                letter-spacing: 0%;
                                text-align: left;
							}
						}
					}
				}
			}
		}
		
		// 教育经历部分样式
		.education-section {
			background: #fff;
			border-radius: 12px;
			padding: 30rpx;
			margin-bottom: 20rpx;
			box-sizing: border-box;
			border: 1px solid rgba(227, 231, 236, 1);
			
			.section-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 30rpx;
				
				.section-title {
					text {
						color: rgba(23, 23, 37, 1);
						font-family: Inter;
						font-size: 20px;
						font-weight: 600;
						line-height: 24px;
					}
				}
			}
			
			.education-list {
				.education-item {
					display: flex;
					padding: 24rpx 0;
					border-bottom: 1rpx solid #F0F0F0;
					
					&:last-child {
						border-bottom: none;
					}
					
					.school-logo {
						width: 90rpx;
						height: 90rpx;
						margin-right: 24rpx;
						flex-shrink: 0;
						border-radius: 8px;
						background: rgba(246, 246, 246, 1);
						
						.logo-img {
							width: 100%;
							height: 100%;
							border-radius: 8rpx;
						}
					}
					
					.education-content {
						flex: 1;
						
						.school-name {
                            color: rgba(23, 23, 37, 1);
                            font-family: DM Sans;
                            font-size: 18px;
                            font-weight: 400;
                            line-height: 22px;
                            letter-spacing: 0%;
                            text-align: left;
						}
						
						.degree-info {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 500;
                            line-height: 24px;
                            letter-spacing: 0%;
                            text-align: left;
						}
						
						.education-description {
                            color: rgba(120, 130, 138, 1);
                            font-family: DM Sans;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 16px;
                            letter-spacing: 0%;
                            text-align: left;
						}
					}
				}
			}
		}
		
		// 技能部分样式
		.skills-section {
			background: #fff;
			border-radius: 12px;
			padding: 30rpx;
			margin-bottom: 20rpx;
			box-sizing: border-box;
			border: 1px solid rgba(227, 231, 236, 1);
			
			.section-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 30rpx;
				
				.section-title {
					text {
						color: rgba(23, 23, 37, 1);
						font-family: Inter;
						font-size: 20px;
						font-weight: 600;
						line-height: 24px;
					}
				}
			}
			
			.skills-grid {
				display: flex;
				flex-wrap: wrap;
				gap: 16rpx;
				
				.skill-tag {
                    padding: 16rpx;
                    border: 1px solid  rgba(236, 241, 246, 1);
                    border-radius: 24px;
                    color: rgba(23, 23, 37, 1);
                    font-family: DM Sans;
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 20px;
                    letter-spacing: 0.5%;
                    text-align: right;
				}
			}
		}
	}
</style>
