Feedback.vue
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<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>