<template>
	<view class="about-container">
		<!-- <view class="header">
			<view class="back" @click="goBack">
				<text class="iconfont icon-xiangzuo"></text>
			</view>
			<view class="title">关于我们</view>
			<view class="empty"></view>
		</view> -->
		<view class="content">
			<view class="logo-section">
				<image class="logo" src="/static/images/logo.png" mode="aspectFit"></image>
				<view class="app-name">八方物业</view>
				<view class="version">版本 1.0.0</view>
			</view>
			<view class="info-section">
				<!-- <view class="info-item">
					<view class="info-label">公司名称</view>
					<view class="info-value">...</view>
				</view> -->
				<!-- <view class="info-item">
					<view class="info-label">联系电话</view>
					<view class="info-value"></view>
				</view> -->
				<!-- <view class="info-item">
					<view class="info-label">公司地址</view>
					<view class="info-value">...</view>
				</view> -->
				<!-- <view class="info-item">
					<view class="info-label">电子邮箱</view>
					<view class="info-value"></view>
				</view> -->
			</view>
			<!-- <view class="desc-section">
				<view class="desc-title">关于八方物业</view>
				<view class="desc-content">
					我们是。。。
				</view>
			</view> -->
			<view class="copyright">
				© 2026 八方物业. 保留所有权利
			</view>
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		goBack() {
			uni.navigateBack();
		}
	}
}
</script>

<style lang="scss" scoped>
	.about-container {
		width: 100%;
		min-height: 100vh;
		background-color: #f5f5f5;

		.header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			height: 90rpx;
			background-color: #409EFF;
			padding: 0 30rpx;

			.back {
				width: 50rpx;
				height: 50rpx;
				display: flex;
				align-items: center;
				justify-content: center;

				.iconfont {
					font-size: 36rpx;
					color: #fff;
				}
			}

			.title {
				font-size: 32rpx;
				font-weight: 600;
				color: #fff;
			}

			.empty {
				width: 50rpx;
			}
		}

		.content {
			padding: 40rpx 30rpx;

			.logo-section {
				display: flex;
				flex-direction: column;
				align-items: center;
				margin-bottom: 50rpx;

				.logo {
					width: 160rpx;
					height: 160rpx;
					margin-bottom: 20rpx;
				}

				.app-name {
					font-size: 36rpx;
					font-weight: 600;
					color: #333;
					margin-bottom: 10rpx;
				}

				.version {
					font-size: 24rpx;
					color: #999;
				}
			}

			.info-section {
				background-color: #fff;
				border-radius: 14rpx;
				padding: 30rpx;
				margin-bottom: 30rpx;

				.info-item {
					display: flex;
					justify-content: space-between;
					align-items: center;
					padding: 20rpx 0;
					border-bottom: 1rpx solid #f2f2f2;

					&:last-child {
						border-bottom: none;
					}

					.info-label {
						font-size: 28rpx;
						color: #666;
					}

					.info-value {
						font-size: 28rpx;
						color: #333;
						text-align: right;
						flex: 1;
						margin-left: 30rpx;
					}
				}
			}

			.desc-section {
				background-color: #fff;
				border-radius: 14rpx;
				padding: 30rpx;
				margin-bottom: 40rpx;

				.desc-title {
					font-size: 30rpx;
					font-weight: 600;
					color: #333;
					margin-bottom: 20rpx;
				}

				.desc-content {
					font-size: 26rpx;
					color: #666;
					line-height: 40rpx;
				}
			}

			.copyright {
				font-size: 24rpx;
				color: #999;
				text-align: center;
				margin-top: 20rpx;
			}
		}
	}
</style>