<template>
	<view style="height: 100%;background: #fff;">
		<!-- 公共组件-每个页面必须引入 -->
		<public-module></public-module>
		<view style="padding:95px 25px;">
			<view class="assets" >
				<!-- <image v-if="id"  src="/static/icon/Vector.png" mode=""></image> -->
				<image  src="/static/icon/Vector (1).png" mode=""></image>
				<view  style="font-size: 16px;">审核驳回</view>
				<!-- <view style="font-size: 31px;font-weight: bold;margin-top:5px">{{MoneyData.cashFee}}</view> -->
			<!-- 	<view class="" v-if="id">
					申请人工号:{{id}}
				</view> -->
				<!-- <text v-if="id" style="font-size: 15px;">已提交合伙人/工作室/团队注册申请，请等待耐心等待系统审核</text> -->
				<text style="font-size: 15px;">请核对并修改以下信息后，再重新提交。</text>
				<view v-if="remark" style="padding: 15px;background: #F9F9F9;font-size: 15px;text-align: left;
color: #666666;border-radius: 3px 3px 3px 3px;margin-top: 15px;">
					{{remark}}
				</view>
				<view class="bottom-button dis j-s"  >
					<text>取消</text>
					<text @click="resubmit">重新提交</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>

	export default {
		data() {
			return {
				id:'',
				remark:'',
				type:'',
			}
		},
		
		onShow() {

		},
	async onLoad(e) {
		// let options = JSON.parse(e.data);
		// 工号/合伙人还是工作室/驳回内容/审核状态/等级/机构来源
		if(e){
			this.id=e.id
			this.remark= e.remark //驳回内容
			this.type= e.type//合伙人1 工作室2 团队3
		}
	},
		onShow() {},
		methods: {
			async resubmit(){
				if(this.type==1){
					uni.redirectTo({
						url: "/pages/index/applypartner?id="+this.id
					})
				}
				if(this.type==2){
					uni.redirectTo({
						url: "/pages/index/applystudio?id="+this.id
					})
				}
				if(this.type==3){
					uni.redirectTo({
						url: "/pages/index/applyteam?id="+this.id
					})
				}
			}


		}
	}
</script>

<style lang="scss" scoped>
	page{
		background: #fff;
	}

	.assets {
		color: #333333;
		text-align: center;
		font-size: 16px;
		text{
			font-size: 13px;
			color: #666666;
		}
		image{
			display: inline-block;
			width:52px;
			height:52px
		}
	}
.bottom-button{
	margin-top: 40px;
	text{
		display: inline-block;
		border-radius: 31px 31px 31px 31px;
		width: 40%;
		font-size: 16px;
		height: 40px;
		line-height:40px;
		text-align: center;
	}
	text:first-child{
		border: 1px solid #2D6DFF;
		color: #2D6DFF;
	}
	text:last-child{
		color: #FFFFFF;
		background: linear-gradient( 133deg, #2DD9FF 0%, #2D6DFF 100%);
	}
}

</style>