Feedback.vue 1.3 KB
<template>
	<view class="">
		<view class="mainBox">
			<view class="title">
				建议&意见
			</view>
			<u--textarea :autoHeight="true" maxlength="300" v-model="value1" border="none" placeholder="请输入内容" ></u--textarea>
			<view class="title">
				上传图片(选填)
			</view>
			<view class="botImage">
				<image src="/static/addPhoto.png" mode=""></image>
			</view>
		</view>
		<view class="botBtn flexC">
			<view class="flexC">
				提交
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value1: ''
			}
		},
	}
</script>

<style lang="less">
	page {
		background: #f6f6f6;
	}
	.mainBox{
		padding: 54rpx 30rpx;
		.title {
			margin-bottom: 24rpx;
			 color: rgba(0,0,0,0.9);
			 font-size: 36rpx;
			 font-weight: 700;
		}
	}
	.u-textarea {
		min-height: 292rpx;
	}
	.botImage {
		image {
			width: 200rpx;
			height: 200rpx;
		}
	}
	.botBtn {
		position: fixed;
		left: 0;
		bottom: 0;
		width: 750rpx;
		height: 128rpx;
		opacity: 1;
		background: rgba(255,255,255,1);
		view {
			width: 686rpx;
			height: 96rpx;
			 color: rgba(0,0,0,0.9);
			 font-size: 32rpx;
			 font-weight: 500;
			border-radius: 28rpx;
			opacity: 1;
			background: linear-gradient(134.8deg, rgba(255,232,100,1) 0%, rgba(255,216,0,1) 100%);
		}
	}
</style>