detail.vue
1008 字节
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
<template>
<view>
<view v-if="inputState" class="inputBox">
<view class="flexJ selectBox">
<view>取消</view>
<view>发送</view>
</view>
<u--textarea v-model="value2" maxlength="300" :showConfirmBar="false" focus adjustPosition placeholder="请输入内容" count></u--textarea>
</view>
</view>
</template>
<script>
export default {
data() {
return {
value2: '',
inputState: false,
}
},
onLoad(options) {
console.log(options.itemId)
console.log(JSON.parse(options.userInfo))
},
}
</script>
<style lang="scss">
.inputBox {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 24rpx 32rpx 32rpx;
box-sizing: border-box;
background: #fff;
border-radius: 24rpx 24rpx 0 0;
> .selectBox {
margin-bottom: 16rpx;
view:nth-child(1) {
color: rgba(0, 0, 0, 1);
font-size: 32rpx;
}
view:nth-child(2) {
color: rgba(33, 83, 212, 1);
font-size: 32rpx;
}
}
}
</style>