<template>
	<view class="page">
		<view class="title">
			项目描述
		</view>
		<view class="" style="margin-top: 32rpx;">
			<textarea v-model="concant" style="width: 100%;" class="txt_word" placeholderClass='concant' placeholder="描述此项目，展示你的项目经验立刻打动招聘方~\n\n\n例如\n1.项目背景 \n2.项目目标 \n3.项目概述"></textarea>
		</view>
		<view class="button" @click="toteach">
			保存
		</view>
	</view>
</template>

<script>
	import {

	} from "@/units/inquire.js"
	export default {
		data() {
			return {
				concant: '',
			}
		},
		onLoad() {

		},
		methods: {
			
			toteach(){
				const eventChannel = this.getOpenerEventChannel();
				eventChannel.emit('todcp', this.concant);
				uni.navigateBack()
			}
		}
	}
</script>


<style lang="scss">
	.page {
		padding: 28rpx 32rpx 0;

		.title {
			font-size: 36rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			font-weight: 500;
			color: #222222;
			line-height: 50rpx;
		}
		.concant{
			font-size: 32rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #888888
		}
	}
	.button {
		width: 686rpx;
		height: 88rpx !important;
		background: #0C66C2;
		border-radius: 12rpx;
		font-size: 32rpx;
		font-family: PingFangSC-Medium, PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		line-height: 88rpx;
		margin: 10rpx 0 0rpx 0;
		display: flex;
		justify-content: center;
		position: fixed;
		bottom: 60rpx;
	}

	.setExample::after {
		content: '\A 1. \A 2. \A 3.';
		line-height: 50rpx;
	}

	.txt_word {

		word-wrap: break-word;

		white-space: pre-line
	}

	::v-deep .u-textarea {
		padding-left: 0 !important;
	}
</style>