<template>
	<view class="intro-page common">
		<view class="top-class"></view>
		<view class="title">
			公司简介
		</view>
		<view class="head">
			<u-row class="row-class">
				<u-col span="4">
					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
				</u-col>
				<u-col span="4">
					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
				</u-col>
				<u-col span="4">

				</u-col>
			</u-row>
		</view>

		<view class="theme-text">
			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
				class="textImage"></image>
		</view>
		<!-- 公司简介内容卡片 -->
		<view class="intro-card">
			<view class="intro-view">
				<view class="intro-label">
					<view class="label-title">
						公司简介
					</view>
				</view>
				<view class="intro-content">
					湖南王爷山食品股份有限公司初始成立于2007年，是一家集豆制品、肉制品、水产品研发、生产、销售为一体的食品企业。公司注册资金为1120万元，固定资产投入超6000万元。目前公司自有工厂位于湖南省娄底市新化县，占地面积16000余平米，生产区域约为12000平米，品牌运营中心位于湖南省长沙市高桥大市场。
				</view>
				<image class="company-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/companyImg.png" mode="aspectFill" />
			</view>

		</view>

		<!-- 返回按钮 -->
		<view class="footer-btn">
			<view  @click="goBack" class="return-button">返回</view>
		</view>
	</view>
</template>

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

<style lang="scss" scoped>
	@import url('../../../static/scss/common.css');

	.row-class {
		height: 80rpx;
	}

	.logo-img {
		background-size: cover;
		/* 确保背景图片自适应填充整个容器 */
		background-position: center;
		/* 背景图片居中显示 */
		background-repeat: no-repeat;
		/* 防止背景图重复 */
		height: 42rpx;
		width: 62%;
	}

	.commodity-img {
		background-size: cover;
		/* 确保背景图片自适应填充整个容器 */
		background-position: center;
		/* 背景图片居中显示 */
		background-repeat: no-repeat;
		/* 防止背景图重复 */
		height: 35rpx;
		width: 100%;
	}

	.theme-text {
		height: 10vh;
		text-align: center;
		line-height: 11vh;

		.textImage {
			height: 80rpx;
			width: 400rpx;
		}
	}

	.intro-card {
		margin: 0 32rpx;
		padding: 32rpx 24rpx 24rpx 24rpx;
		background: rgba(131, 100, 71, 0.5);
		border-radius: 10rpx;


		.intro-view {
			border: 1px solid #341B10;
			padding: 10px;
			margin: 10px;
			position: relative;


			.intro-label {
				background-image:
					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
				/* 使用绝对路径 */
				background-size: contain;
				background-repeat: no-repeat;
				width: 220rpx;
				height: 120rpx;
				position: absolute;
				margin-top: -70rpx;
				align-content: center;

				.label-title {
					font-weight: bold;
					font-size: 30rpx;
					color: #341B10;
					text-align: center;
					margin-left: 10px;
					height: 120rpx;
					line-height: 110rpx;
				}
			}

			.intro-content {
				font-size: 28rpx;
				color: #5c4322;
				line-height: 1.8;
				margin: 20rpx 0px;
				text-align: justify;
			}

			.company-img {
				width: 100%;
				height: 260rpx;
				border-radius: 12rpx;
				object-fit: cover;
				margin-top: 10rpx;
				background: #eee;
			}
		}

	}


</style>
