<template>
	<view style="    padding: 30rpx;">
		<view class="w_login">

			<view class="circle">
				<image class="logoImg" src="/static/images/logo1.png"></image>
			</view>
			<view class="info1">
				中意购
			</view>
			<view class="info2">
				中意购小程序版本：{{appVersion}}
			</view>

		</view>
		<view class="tool_list">
			<u-cell-group>

					<u-cell isLink  @click="toUserAgreement">

						<view slot="title" class="u-slot-title">
							<text class="u-cell-text">用户协议</text>
						</view>

					</u-cell>

					<u-cell isLink  @click="toPrivacyAgreement">

						<view slot="title" class="u-slot-title">
							<text class="u-cell-text">隐私协议</text>
						</view>

					</u-cell>

			</u-cell-group>
		</view>

	</view>
</template>

<script>
export default {

	data () {
		return {
			appVersion:''
		};
	},

	onLoad () {
		this.appVersion = uni.getSystemInfoSync().appVersion
	},
	methods: {

		toPrivacyAgreement(){
			uni.navigateTo({
				url:'/pages/groupbuying/privacyAgreement/privacyAgreement'
			})
		},

		toUserAgreement(){
			uni.navigateTo({
				url:'/pages/groupbuying/userAgreement/userAgreement'
			})
		},

	}
}
</script>

<style scoped lang="scss">
.cartcolor {
	color: var(--view-theme);
	border: 1px solid var(--view-theme);
}

.personal-data .wrapper {
	margin: 10rpx 0;
	background-color: #fff;
	padding: 36rpx 30rpx 13rpx 30rpx;
}

.personal-data .wrapper .title {
	margin-bottom: 30rpx;
	font-size: 32rpx;
	color: #282828;
}

.group-buying-data {
	position: relative;
	width: 100%;
	height: 200rpx;
	padding: 40rpx;
	margin: 0 auto;
	background-image: url('http://www.gzzzyd.com/groupon/regiment/提货管理@2x.png');
	background-size: 100% auto;
	background-color: var(--view-theme);

	.group-title {
		font-size: 32rpx;
		font-weight: 500;
		color: #B22338;
		line-height: 44rpx;
		height: 44rpx;
	}



	.group-content {
		display: flex;

		.group-content-l {

			text-align: center;
			flex: 1;
			border-color: #333333;
			border-right: 1px solid dashed;
		}

		.group-content-r {
			text-align: center;
			flex: 1
		}

		.content-num {
			margin-top: 20rpx;
			height: 48rpx;
			font-size: 40rpx;
			font-weight: bold;
			color: #B22338;
			line-height: 48rpx;
		}

		.content-info {
			margin-top: 20rpx;
			text-align: center;
			width: 100%;
			height: 36rpx;
			font-size: 24rpx;
			font-weight: 400;
			color: #CF7986;
			line-height: 36rpx;
		}

	}
}

.tool_list,
.footer {
	background: #fff;
	border-radius: 16rpx;
	margin-top: 20rpx;
}

.footer {
	height: 100rpx;

	button {
		height: 100%;
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
		line-height: 100rpx;
	}
}

/deep/ .tool_list .u-line,
.my_order .u-line {
	display: none !important;
}


.u-slot-title {
	line-height: 60rpx;

	font-size: 28rpx;
	font-weight: 400;
	color: #333333;

	text {
		vertical-align: text-bottom;
	}

	image {

		margin-right: 20rpx;
		transform: translateY(10rpx);
		width: 40rpx;
		height: 40rpx;
		vertical-align: super;

	}
}

.w_login {
	padding: 30rpx;

	.circle {
		border-radius: 50%;
		width: 106rpx;
		height: 106rpx;
		background: rgb(238, 238, 238);
		margin: auto;
	}

	.info1 {
		text-align: center;
		font-size: 48rpx;
		font-weight: 600;
		color: #333333;
		line-height: 66rpx;
		margin-bottom: 30rpx;
	}

	.info2 {
		text-align: center;
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
		line-height: 44rpx;
		margin-bottom: 120rpx;
	}

	.now {
		width: 100%;
		height: 96rpx;
		background: #B42A3E;
		border-radius: 8rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #FFFFFF;
		line-height: 96rpx;
		margin-bottom: 20rpx;
	}

	.not_now {
		width: 100%;
		height: 96rpx;
		background: #F5F5F5;
		border-radius: 8rpx;






		font-size: 32rpx;


		font-weight: 400;
		color: #999999;
		line-height: 96rpx;
	}
	.logoImg{
		width: 106rpx;
		height: 106rpx;
	}
}
</style>
