<template>
	<div>
		<van-nav-bar title="新增家风" left-text="返回" left-arrow @click-left="onClickLeft" />
		<van-form @failed="onFailed" @submit="onSubmit">
			<van-cell-group inset>								
				<van-field type="textarea"  v-model="nickname" label="自编家风" placeholder="请输入家风" ></van-field>
			</van-cell-group>
			<div style="margin: 16px;">
				<van-button round block type="primary" native-type="submit">
					记入家风
				</van-button>
			</div>
		</van-form>
	</div>
</template>

<script setup>
	import {
		ref
	} from "vue";

	const onClickLeft = () => history.back();

	const baseFormData = ref({});

	function formSubmit() {

	}
</script>

<style lang="scss">
	
</style>