suggest.vue
1.0 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
<template>
<view class="page">
<textarea class="textarea" v-model="txt" placeholder="可以提出您想实现的彩店功能、或者对现有产品的改进"></textarea>
<button type="default" class="btn" @click="save">提交</button>
</view>
</template>
<script>
export default {
data() {
return {
txt: ''
}
},
async onLoad(e) {
// const res = await uni.$u.request.graphql({
// name: 'lottery_shop_get_my_shop_info'
// })
},
methods: {
save(){
uni.showToast({
title:'接口未实现'
})
}
}
}
</script>
<style scoped>
body {
max-width: 769px;
-webkit-tap-highlight-color: transparent;
box-shadow: 0 2px 2px rgb(0 0 0 / 30%);
}
.page {
width: 100vw;
height: 100vh;
background-color: #F1F1F1;
font-size: 14px;
}
.textarea {
width: calc(100vw - 20px);
padding: 10px;
min-height: 150px;
background-color: #FFFFFF;
}
.btn {
height: 44px;
margin: 20px 10px;
background-color: #D23338;
color: #FFFFFF;
}
</style>