<template>
	<view class="jys">
		<statusBar :item="navBarData"></statusBar>
		<view class="top">
				<view class="card">
					<image class="image" src="../../static/jys/jys.png" mode=""></image>
					<view class="text">
						
						<view class="text_title">
							<view class="manage bqZ-font">类型</view>
							<view class="t1 bmTit-font">这里是活动名活动名活动名活动名</view>
						</view>
						<view class="col sZw-font">
							活动日期：5.12~5.13
						</view>
						<view class="col sZw-font">
							招募人数：23/50
						</view>
					</view>
				</view>
		</view>
		
<!-- <uni-card :is-shadow="false"> -->
			<view class="xinxi">
				<view class="card2">
					<view class="hdxx">
						<view class="hd btn-font">活动信息</view>
						<view class="textcolor">
							<view class="name  sZw-font">
								姓名:
								<text class="name1  sZw-font">李某某</text>
							</view>
							<view class="name  sZw-font">
								联系方式:
								<text class="lx1  sZw-font">172xxxxx5678</text>
							</view>
							<view class="name  sZw-font">
								单位:
								<text class="dw1  sZw-font">xx实验中学学校</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		<!-- </uni-card> -->
		<view class="buttons">
			<view class="button-container">
				<button @click="button1Action" class="btn1 sZw-font">清空填写信息</button>
				<!-- <text class="button-spacing"></text> -->
				<!-- 添加间距 -->
				<button @click="button2Action" class="btn2 sZw-font">申请加入</button>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			navBarData: {
				title: '教研室报名',
				btn: 1
			}
		};
	},
	methods: {
		button1Action() {
			// 这里添加按钮1点击后触发的动作
			console.log('Button 1 clicked');
		},
		button2Action() {
			// 这里添加按钮2点击后触发的动作
			console.log('Button 2 clicked');
		}
	}
};
</script>

<style lang="scss" scoped>
.jys {
	.top{
		width: 690rpx;
		// height: 192rpx;
		background-color: #ffffff;
		margin: auto;
		margin-top: 30rpx;
		padding: 16rpx 24rpx;
		border-radius: 10rpx;
		.col{
			color: #999999;
		}
	}
	.card {
		display: flex;
		justify-content: flex-start;
		.image {
			flex-shrink: 0;
			width: 160rpx;
			height: 160rpx;
			border-radius: 4px;
		}

		.text {
			margin-left: 10px; // 增加一点空间
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			// line-height: 35px; // 根据你的需求调整，使/文本与图片保持
			.text_title {
				display: flex;
				align-items: center;
				.manage {
					// padding:4rpx 12rpx 4rpx 12rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					width: 68rpx;
					// line-height: 68rpx;
					height: 36rpx;
					font-weight: 600rpx;
					// text-align: center;
					color: #00b2b6;
					border: 1px solid #00b2b6;
					border-radius: 5rpx;
					margin-right: 10rpx;
				}
				.t1 {
					// font-size: 35rpx;
					color: black;
					width: 350rpx;
					font-weight: 550;
					overflow:hidden;
					text-overflow:ellipsis;
					white-space:nowrap;
				}
			}

		}
	}
	.xinxi{
		background-color: #ffffff;
		width: 690rpx;
		// height: 272rpx;
		margin: auto;
		margin-top: 20rpx;
		padding: 20rpx 24rpx;
		border-radius: 12rpx;
	}
	.hdxx {
		.hd {
			color: black;
			// font-size: 18px;
			font-weight: 400px;
			line-height: 42px;
		}
		.textcolor {
			color: #999999;
			line-height: 42px;
			.name {
				display: flex;
				justify-content: space-between;
				margin-bottom: 20rpx;
			}
		}
	}
	.buttons {
		background-color: white;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		display: flex;
		justify-content: space-around;
		align-items: center;
		// padding: 30rpx 0;
		height: 137rpx;
		// padding-bottom: 50rpx;
		// font-size: 30rpx;
		.button-container {
			width: 100%;
			display: flex;
			justify-content: space-around;
			.btn1{
				width: 326rpx;
				height: 71rpx;
				border: 1px solid #666666;
				border-radius: 50px;
				height: 70rpx;
				line-height: 70rpx;
				// font-size: 35rpx;
				color: #666666;
			}
			.btn2{
				width: 326rpx;
				height: 71rpx;
				background-color: #0056a8;
				border-radius: 50px;
				height: 70rpx;
				line-height: 70rpx;
				// font-size: 35rpx;
				color: #ffffff;
			}
		}
		
	}
}
</style>
