修改发帖样式
This commit is contained in:
parent
13c4da1141
commit
072b0f2f25
@ -1,13 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
|
<u-line></u-line>
|
||||||
<input v-model="form.title" class="title-input" placeholder="标题" />
|
<input v-model="form.title" class="title-input" placeholder="标题" />
|
||||||
<textarea placeholder="说些什么叭..." :auto-height="true" maxlength="-1" v-model="form.content"
|
<textarea placeholder="说些什么叭..." :auto-height="true" maxlength="-1" v-model="form.content"
|
||||||
class="content-display"></textarea>
|
class="content-display"></textarea>
|
||||||
|
<u-line></u-line>
|
||||||
<!-- 上传图片 -->
|
<!-- 上传图片 -->
|
||||||
<block v-if="form.type == 1">
|
<block v-if="form.type == 1">
|
||||||
<u-upload ref="uUpload" :size-type="['original']" name="Image" :max-count="4" :header="header"
|
<u-upload ref="uUpload" :size-type="['original']" name="Image" :max-count="4" :header="header"
|
||||||
:action="uploadImgUrl" @on-uploaded="submit" :auto-upload="false"></u-upload>
|
:action="uploadImgUrl" @on-uploaded="submit" :auto-upload="false"></u-upload>
|
||||||
</block>
|
</block>
|
||||||
|
<u-line></u-line>
|
||||||
<!-- 分类 -->
|
<!-- 分类 -->
|
||||||
<view @click="chooseClass" class="choose-item">
|
<view @click="chooseClass" class="choose-item">
|
||||||
<u-icon class="icon add-icon" name="file-text-fill" color="#999" size="40"></u-icon>
|
<u-icon class="icon add-icon" name="file-text-fill" color="#999" size="40"></u-icon>
|
||||||
@ -105,6 +108,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.container{
|
||||||
|
padding: 30rpx;
|
||||||
|
}
|
||||||
.title-input {
|
.title-input {
|
||||||
border-bottom: 1px solid #F5F5F5;
|
border-bottom: 1px solid #F5F5F5;
|
||||||
margin: 20rpx 0;
|
margin: 20rpx 0;
|
||||||
|
@ -41,6 +41,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.container{
|
||||||
|
padding: 30rpx;
|
||||||
|
}
|
||||||
.title {
|
.title {
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user