BUG 26062
This commit is contained in:
@@ -18,7 +18,7 @@ export default {
|
|||||||
url: '../AppResidentActivitie/AppResidentActivities'
|
url: '../AppResidentActivitie/AppResidentActivities'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '通知公告',
|
name: '小程序公告',
|
||||||
icon: require('./img/xcxgg.png'),
|
icon: require('./img/xcxgg.png'),
|
||||||
url: '../AppUniMsg/AppUniMsg'
|
url: '../AppUniMsg/AppUniMsg'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,13 +11,14 @@
|
|||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item label="正文" prop="content" :border-bottom="false" label-position="top" class="contents">
|
<u-form-item label="正文" prop="content" :border-bottom="false" label-position="top" class="contents">
|
||||||
<u-input v-model="forms.content" placeholder="请输入正文" type="textarea" auto-height height="100" maxlength="500" />
|
<AiEditor v-model="forms.content" placeholder="请输入正文" :maxlength="500"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
|
|
||||||
<u-form-item label="图片上传 (最多9张)" prop="images" :border-bottom="false" class="avatars" label-position="top">
|
<u-form-item label="图片上传 (最多9张)" prop="images" :border-bottom="false" class="avatars" label-position="top">
|
||||||
<AiUploader :def.sync="forms.images" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
|
<AiUploader :def.sync="forms.images" multiple placeholder="上传图片" :limit="9"
|
||||||
|
action="/admin/file/add2"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -31,7 +32,6 @@ import { mapState } from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Add',
|
name: 'Add',
|
||||||
components: {},
|
|
||||||
props: {},
|
props: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -54,7 +54,8 @@ export default {
|
|||||||
document.title = '新增通知公告'
|
document.title = '新增通知公告'
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {},
|
mounted() {
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDetail() {
|
getDetail() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
@@ -129,17 +130,21 @@ export default {
|
|||||||
uni-page-body {
|
uni-page-body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.add {
|
.add {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.header-description {
|
.header-description {
|
||||||
padding-bottom: 112px;
|
padding-bottom: 112px;
|
||||||
|
|
||||||
::v-deep .u-form {
|
::v-deep .u-form {
|
||||||
.u-form-item {
|
.u-form-item {
|
||||||
padding: 0 45px !important;
|
padding: 0 45px !important;
|
||||||
|
|
||||||
.u-form-item__body {
|
.u-form-item__body {
|
||||||
.u-form-item--right__content__slot {
|
.u-form-item--right__content__slot {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
|
||||||
.u-input {
|
.u-input {
|
||||||
text-align: right !important;
|
text-align: right !important;
|
||||||
}
|
}
|
||||||
@@ -162,12 +167,14 @@ uni-page-body {
|
|||||||
.avatars,
|
.avatars,
|
||||||
.contents {
|
.contents {
|
||||||
padding-bottom: 20px !important;
|
padding-bottom: 20px !important;
|
||||||
|
|
||||||
.u-form-item__body {
|
.u-form-item__body {
|
||||||
.u-form-item--right__content__slot {
|
.u-form-item--right__content__slot {
|
||||||
.u-input {
|
.u-input {
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.default {
|
.default {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 160px;
|
height: 160px;
|
||||||
|
|||||||
Reference in New Issue
Block a user