<template>
	<view class="container">
		<view class="item" @click="toForm">
			<image src="/static/feedback.png" mode="aspectFill"></image>
			<view class="name">意见反馈</view>
			<image src="/static/right.png" mode="aspectFill"></image>
		</view>
		<view class="item" @click="toMy">
			<image src="/static/myFeedback.png" mode="aspectFill"></image>
			<view class="name">我的反馈</view>
			<image src="/static/right.png" mode="aspectFill"></image>
		</view>
		<addShuiyin />
	</view>
</template>

<script>
	export default {
		methods: {
			toForm() {
				uni.navigateTo({
					url: '/pages/feedback/form'
				});
			},
			toMy() {
				uni.navigateTo({
					url: '/pages/feedback/list',
				});
			},
		},
	};
</script>

<style lang="scss" scoped>
	.container {
		padding: 20rpx 24rpx;
		.item {
			padding: 0 13rpx 0 30rpx;
			width: 702rpx;
			height: 130rpx;
			background: #fff;
			display: flex;
			align-items: center;
			margin-bottom: 20rpx;
			>image {
				width: 44rpx;
				height: 44rpx;
			}
			.name {
				margin-left: 22rpx;
				margin-right: auto;
				color: #333333;
				font-size: 30rpx;
			}
		}
	}
</style>