25954
This commit is contained in:
		@@ -110,6 +110,19 @@ export default {
 | 
			
		||||
 | 
			
		||||
  mounted() {},
 | 
			
		||||
  methods: {
 | 
			
		||||
    getDetail() {
 | 
			
		||||
      this.$http.post(`/app/appvillageactivityinfo/queryDetailById?id=${this.id}`).then((res) => {
 | 
			
		||||
        if (res?.data) {
 | 
			
		||||
          // this.detail = res.data
 | 
			
		||||
          // if (this.detail) {
 | 
			
		||||
          //   if (this.detail.url) {
 | 
			
		||||
          //     this.detail.url = JSON.parse(res.data.url || '[]')
 | 
			
		||||
          //   }
 | 
			
		||||
          // }
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    submit() {
 | 
			
		||||
      if (this.flag) return
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -101,6 +101,8 @@
 | 
			
		||||
          <AiEmpty v-else />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div class="fixedBtns" v-if="this.current == 0 && detail.status == 0" @click="toAdd">编辑活动</div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <AiFixedBtn>
 | 
			
		||||
@@ -192,6 +194,10 @@ export default {
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    toAdd() {
 | 
			
		||||
      uni.navigateTo({ url: `./Add?id=${this.id}` })
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    AddPosts() {
 | 
			
		||||
      uni.navigateTo({ url: `./AddPosts?id=${this.id}` })
 | 
			
		||||
    },
 | 
			
		||||
@@ -252,7 +258,7 @@ export default {
 | 
			
		||||
    background: #e4e4e4;
 | 
			
		||||
  }
 | 
			
		||||
  .header-content {
 | 
			
		||||
    // padding-bottom: 150px;
 | 
			
		||||
    // padding-bottom: 80px;
 | 
			
		||||
    .header-top {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 440px;
 | 
			
		||||
@@ -317,7 +323,7 @@ export default {
 | 
			
		||||
      // background: #fff;
 | 
			
		||||
 | 
			
		||||
      .content-details {
 | 
			
		||||
        padding: 32px 32px 80px 32px;
 | 
			
		||||
        padding: 32px 32px 130px 32px;
 | 
			
		||||
        .font {
 | 
			
		||||
          margin-top: 32px;
 | 
			
		||||
          font-size: 30px;
 | 
			
		||||
@@ -429,6 +435,19 @@ export default {
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .fixedBtns {
 | 
			
		||||
      position: fixed;
 | 
			
		||||
      bottom: 0;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 112px;
 | 
			
		||||
      line-height: 112px;
 | 
			
		||||
      background: #1365dd;
 | 
			
		||||
      text-align: center;
 | 
			
		||||
      font-size: 32px;
 | 
			
		||||
      font-weight: 500;
 | 
			
		||||
      color: #ffffff;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .AiFixedBtn {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user