You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
2.5 KiB
135 lines
2.5 KiB
<template>
|
|
<view class="add">
|
|
<view class="add-content">
|
|
<view class="content">
|
|
<textarea maxlength="-1" placeholder="请输入您想发布的内容哦~"></textarea>
|
|
</view>
|
|
<view class="content">
|
|
<view class="title">上传图片/视频</view>
|
|
<view class="list">
|
|
<view class="item">
|
|
<image class="pic" src="@/static/1.png"></image>
|
|
<image class="del" src="@/static/fabu-cha.png"></image>
|
|
</view>
|
|
<view class="upload">
|
|
<image class="pic" src="@/static/fabu-tianjia.png"></image>
|
|
<view class="txt">上传</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="add-fd">
|
|
<view class="btn">发布</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.add{
|
|
overflow: hidden;
|
|
padding-bottom: 110rpx;
|
|
&-content{
|
|
padding: 0 25rpx;
|
|
overflow: hidden;
|
|
.content{
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
box-sizing: border-box;
|
|
margin-top: 20rpx;
|
|
overflow: hidden;
|
|
textarea{
|
|
width: 100%;
|
|
height: 320rpx;
|
|
font-weight: 400;
|
|
font-size: 30rpx;
|
|
color: #212121;
|
|
}
|
|
}
|
|
.title{
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
}
|
|
.list{
|
|
width: 110%;
|
|
.upload{
|
|
width: 206rpx;
|
|
height: 206rpx;
|
|
background: #F8F8F8;
|
|
border-radius: 5rpx;
|
|
float: left;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
font-size: 24rpx;
|
|
color: #333333;
|
|
margin-top: 30rpx;
|
|
image{
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
display: block;
|
|
margin: 0 auto;
|
|
margin-top: 55rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
}
|
|
.item{
|
|
width: 206rpx;
|
|
height: 206rpx;
|
|
border-radius: 5rpx;
|
|
float: left;
|
|
margin-top: 30rpx;
|
|
overflow: hidden;
|
|
position: relative;
|
|
margin-right: 12rpx;
|
|
.pic{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.del{
|
|
width: 35rpx;
|
|
height: 35rpx;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-fd{
|
|
background-color: #F3F4F5;
|
|
width: 100%;
|
|
padding: 30rpx 25rpx;
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 22;
|
|
.btn{
|
|
width: 100%;
|
|
line-height: 98rpx;
|
|
background: linear-gradient(0deg, #000000, #3D3B38);
|
|
box-shadow: 0px 4rpx 18rpx 0px rgba(42,41,39,0.34);
|
|
border-radius: 98rpx;
|
|
text-align: center;
|
|
font-weight: 400;
|
|
font-size: 30rpx;
|
|
color: #FFFFFF;
|
|
letter-spacing: 5rpx;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|