25793
This commit is contained in:
		@@ -187,11 +187,9 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    confirm(e) {
 | 
					    confirm(e) {
 | 
				
			||||||
      if (this.showStartTime == true) {
 | 
					      if (this.showStartTime == true) {
 | 
				
			||||||
        console.log(1, e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00')
 | 
					 | 
				
			||||||
        this.forms.beginTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
 | 
					        this.forms.beginTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (this.showEndTime == true) {
 | 
					      if (this.showEndTime == true) {
 | 
				
			||||||
        console.log(2, e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00')
 | 
					 | 
				
			||||||
        this.forms.endTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
 | 
					        this.forms.endTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,6 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onLoad(o) {
 | 
					  onLoad(o) {
 | 
				
			||||||
    console.log(o)
 | 
					 | 
				
			||||||
    this.id = o.id || ''
 | 
					    this.id = o.id || ''
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,6 +33,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <img :src="item.url[0].url" alt="" />
 | 
					          <img :src="item.url[0].url" alt="" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          <div class="hints" :style="{ background: item.status == 0 ? '#000000' : item.status == 1 ? '#42D784' : '#E4E4E4' }">{{ $dict.getLabel('villageActivityStatus', item.status) }}</div>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
      </AiCard>
 | 
					      </AiCard>
 | 
				
			||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
@@ -73,7 +75,9 @@ export default {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  watch: {},
 | 
					  watch: {},
 | 
				
			||||||
  onLoad() {
 | 
					  onLoad() {
 | 
				
			||||||
    this.getList()
 | 
					    this.$dict.load(['villageActivityStatus']).then(() => {
 | 
				
			||||||
 | 
					      this.getList()
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mounted() {},
 | 
					  mounted() {},
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
@@ -96,7 +100,6 @@ export default {
 | 
				
			|||||||
              this.datas.map((item) => {
 | 
					              this.datas.map((item) => {
 | 
				
			||||||
                if (item.url) {
 | 
					                if (item.url) {
 | 
				
			||||||
                  item.url = JSON.parse(item.url || '[]')
 | 
					                  item.url = JSON.parse(item.url || '[]')
 | 
				
			||||||
                  console.log(item.url)
 | 
					 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                return item
 | 
					                return item
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
@@ -199,9 +202,21 @@ uni-page-body {
 | 
				
			|||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        img {
 | 
					        img {
 | 
				
			||||||
 | 
					          position: relative;
 | 
				
			||||||
          width: 182px;
 | 
					          width: 182px;
 | 
				
			||||||
          height: 182px;
 | 
					          height: 182px;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        .hints {
 | 
				
			||||||
 | 
					          position: absolute;
 | 
				
			||||||
 | 
					          right: 52px;
 | 
				
			||||||
 | 
					          width: 96px;
 | 
				
			||||||
 | 
					          height: 44px;
 | 
				
			||||||
 | 
					          font-size: 26px;
 | 
				
			||||||
 | 
					          color: #ffffff;
 | 
				
			||||||
 | 
					          line-height: 44px;
 | 
				
			||||||
 | 
					          text-align: center;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user