addItem.vue
1.1 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
<template>
<view>
<u-navbar title="话题详情" :autoBack="true" placeholder></u-navbar>
<u-divider></u-divider>
<view class="mainBox">
<u--input placeholder="请输入标题" border="bottom" clearable></u--input>
</view>
<view class="bottomBtn" v-if="false">
<view class="flexC">发表</view>
</view>
<view class="whiteBox"></view>
<view style="height: 130rpx"></view>
</view>
</template>
<script>
export default {
data() {
return {}
},
}
</script>
<style lang="scss">
page {
background: #fff;
}
.mainBox {
padding: 0 32rpx 32rpx;
box-sizing: border-box;
}
.whiteBox {
width: 100%;
height: 60rpx;
background: #fff;
position: fixed;
bottom: 0;
left: 0;
}
.bottomBtn {
padding: 16rpx 32rpx;
box-sizing: border-box;
background: #fff;
position: fixed;
bottom: 60rpx;
left: 0;
view {
width: 686rpx;
height: 88rpx;
border-radius: 28rpx;
background: linear-gradient(90deg, rgba(140, 72, 255, 1) 0%, rgba(123, 43, 255, 1) 100%);
color: rgba(255, 255, 255, 1);
font-size: 32rpx;
font-weight: 700;
}
}
</style>