<template>
	<view>
		<customNav :shownav="true" :title="$t('dache.renzhengxx')" tinColor="#006AFF" jiantou="0" ></customNav>
		<view class="listContenV">
			<view class="contentInRowS drawerlist">
				<view class="contentColumn" style="padding-left: 20rpx;">
					<text class="rztitletext">{{$t('dache.jashizheng')}}</text>
					<text class="rzdetltext">{{$t('dache.jashizhengsm')}}</text>
				</view>
				<text class="qushcBt" @click="shangchuanzz(1)">{{$t('dache.qushangc')}}</text>
			</view>
			<view class="contentInRowS drawerlist">
				<view class="contentColumn" style="padding-left: 20rpx;">
					<text class="rztitletext">{{$t('dache.xingshizheng')}}</text>
					<text class="rzdetltext">{{$t('dache.xingshizhengsm')}}</text>
				</view>
				<text class="yirenzheng" @click="shangchuanzz(2)">{{$t('user.yirenzheng')}}</text>
			</view>
			<view class="contentInRowS drawerlistN">
				<view class="contentColumn" style="padding-left: 20rpx;">
					<text class="rztitletext">{{$t('dache.cheliangtup')}}</text>
					<text class="rzdetltext">{{$t('dache.cheliangtupsm')}}</text>
				</view>
				<text class="qushcBt" @click="shangchuanzz(3)">{{$t('dache.qushangc')}}</text>
			</view>
		</view>
		<view class="listContenV">
			<view class="contentInRowS" @click="settelPhone">
				<text class="rztitletext" style="padding-left: 20rpx;">{{$t('dache.lianxidianha')}}</text>
				<text class="rzdetltext" style="padding-right: 20rpx;">{{$t('dache.shurlxdh')}}</text>
			</view>
		</view>
		<view  class="bottomfloatV">
			<view class="contentInRowC bottomBt" @click="chengweichezhu">
				<text>{{$t('dache.chengweicz')}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				rzstate:0,
				userInfo:'',
				telPhone:''
			}
		},
		onLoad(option) {
			this.rzstate=option.state;
		},
		onShow() {
			this.userInfo = uni.getStorageSync('userInfo');
			if(this.userInfo.telPhone==''||this.userInfo.telPhone==null||this.userInfo.telPhone==undefined){
				this.telPhone=this.$t('dache.shurlxdh');
			}
			else{
				this.telPhone=this.userInfo.telPhone;
			}
		},
		methods: {
			settelPhone(){
				uni.navigateTo({
					url:'/pages/user/Shezhixiugai?state=0'
				})
			},
			shangchuanzz(index){
				uni.navigateTo({
					url:'/pages/dache/Shangchuanzjzp?state='+index
				})
			},
			chengweichezhu(){
				
			},
		},
	}
</script>

<style lang="scss">
	@import '@/common/common.scss';
	page{
		background-color: whitesmoke;
	}
	
.listContenV{
	width: 92%;
	margin-left: 4%;
	border-radius: 20rpx;
	margin-top: 30rpx;
	background-color: white;
	padding-top: 20rpx;
	padding-bottom: 20rpx;
}
.drawerlist{
	width: 100%;
	height: 120rpx;
	align-items: center;
	border: solid lavender;
	border-width: 0px 0px 1rpx 0px;
}
.drawerlistN{
	width: 100%;
	height: 120rpx;
	align-items: center;
}
.qushcBt{
	margin-right: 12rpx;
	font-size: 28rpx;
	color: white;
	line-height: 50rpx;
	border-radius: 25rpx;
	padding-left: 20rpx;
	padding-right: 20rpx;
	text-align: center;
	background-color: #E86E48;
}
.yirenzheng{
	margin-right: 12rpx;
	font-size: 28rpx;
	color: white;
	line-height: 50rpx;
	border-radius: 25rpx;
	padding-left: 16rpx;
	padding-right: 20rpx;
	text-align: center;
	background-color: darkgray;
}
.rztitletext{
	font-size: 30rpx;
}
.rzdetltext{
	font-size: 26rpx;
	color: darkgray;
}
.bottomfloatV{
	position: fixed;
	flex-direction: row;
	align-items: center;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background-color: white;
	height: 160rpx;
}
.bottomBt{
	width:80%;
	height: 86rpx;
	font-size: 32rpx;
	font-weight: bold;
	color: white;
	border-radius: 20rpx;
	background-color: #E86E48;
	margin-bottom: 20rpx;
	margin-top: 20rpx;
	margin-left: 10%;	
}
</style>
