BUG 26062
This commit is contained in:
		@@ -18,7 +18,7 @@ export default {
 | 
			
		||||
          url: '../AppResidentActivitie/AppResidentActivities'
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
          name: '通知公告',
 | 
			
		||||
          name: '小程序公告',
 | 
			
		||||
          icon: require('./img/xcxgg.png'),
 | 
			
		||||
          url: '../AppUniMsg/AppUniMsg'
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
@@ -11,13 +11,14 @@
 | 
			
		||||
        </u-form-item>
 | 
			
		||||
 | 
			
		||||
        <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>
 | 
			
		||||
 | 
			
		||||
        <div class="line"></div>
 | 
			
		||||
 | 
			
		||||
        <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>
 | 
			
		||||
    </div>
 | 
			
		||||
@@ -31,7 +32,6 @@ import { mapState } from 'vuex'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: 'Add',
 | 
			
		||||
  components: {},
 | 
			
		||||
  props: {},
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
@@ -54,7 +54,8 @@ export default {
 | 
			
		||||
    document.title = '新增通知公告'
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  mounted() {},
 | 
			
		||||
  mounted() {
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    getDetail() {
 | 
			
		||||
      if (this.id) {
 | 
			
		||||
@@ -129,17 +130,21 @@ export default {
 | 
			
		||||
uni-page-body {
 | 
			
		||||
  height: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.add {
 | 
			
		||||
  height: 100%;
 | 
			
		||||
 | 
			
		||||
  .header-description {
 | 
			
		||||
    padding-bottom: 112px;
 | 
			
		||||
 | 
			
		||||
    ::v-deep .u-form {
 | 
			
		||||
      .u-form-item {
 | 
			
		||||
        padding: 0 45px !important;
 | 
			
		||||
 | 
			
		||||
        .u-form-item__body {
 | 
			
		||||
          .u-form-item--right__content__slot {
 | 
			
		||||
            padding-bottom: 0;
 | 
			
		||||
 | 
			
		||||
            .u-input {
 | 
			
		||||
              text-align: right !important;
 | 
			
		||||
            }
 | 
			
		||||
@@ -162,12 +167,14 @@ uni-page-body {
 | 
			
		||||
      .avatars,
 | 
			
		||||
      .contents {
 | 
			
		||||
        padding-bottom: 20px !important;
 | 
			
		||||
 | 
			
		||||
        .u-form-item__body {
 | 
			
		||||
          .u-form-item--right__content__slot {
 | 
			
		||||
            .u-input {
 | 
			
		||||
              text-align: left !important;
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          .default {
 | 
			
		||||
            width: 160px;
 | 
			
		||||
            height: 160px;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user