ct
This commit is contained in:
		@@ -45,7 +45,7 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div class="imgs">
 | 
					          <div class="imgs">
 | 
				
			||||||
            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" />
 | 
					            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" @click.stop="previewImage(item.files, e.url)" />
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
					          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
				
			||||||
@@ -147,6 +147,13 @@ export default {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -80,7 +80,7 @@
 | 
				
			|||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <div class="imgs">
 | 
					            <div class="imgs">
 | 
				
			||||||
              <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" />
 | 
					              <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" @click.stop="previewImage(item.files, e.url)" />
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
					            <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
				
			||||||
@@ -297,6 +297,13 @@ export default {
 | 
				
			|||||||
        this.getList()
 | 
					        this.getList()
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div class="imgs">
 | 
					          <div class="imgs">
 | 
				
			||||||
            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" />
 | 
					            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" @click.stop="previewImage(item.files, e.url)" />
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
					          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
				
			||||||
@@ -147,6 +147,13 @@ export default {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div class="imgs">
 | 
					          <div class="imgs">
 | 
				
			||||||
            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" />
 | 
					            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" @click.stop="previewImage(item.files, e.url)" />
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
					          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
				
			||||||
@@ -147,6 +147,13 @@ export default {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -45,7 +45,7 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div class="imgs">
 | 
					          <div class="imgs">
 | 
				
			||||||
            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" />
 | 
					            <img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i" @click.stop="previewImage(item.files, e.url)" />
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
					          <span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
 | 
				
			||||||
@@ -147,6 +147,13 @@ export default {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -175,7 +175,6 @@ export default {
 | 
				
			|||||||
              content: this.forms.content,
 | 
					              content: this.forms.content,
 | 
				
			||||||
              url: JSON.stringify(imgs) || [],
 | 
					              url: JSON.stringify(imgs) || [],
 | 
				
			||||||
              areaId: this.forms.areaId,
 | 
					              areaId: this.forms.areaId,
 | 
				
			||||||
 | 
					 | 
				
			||||||
              beginTime: this.forms.beginTime,
 | 
					              beginTime: this.forms.beginTime,
 | 
				
			||||||
              endTime: this.forms.endTime,
 | 
					              endTime: this.forms.endTime,
 | 
				
			||||||
              address: this.forms.address,
 | 
					              address: this.forms.address,
 | 
				
			||||||
@@ -210,12 +209,7 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    areaSelect(e) {
 | 
					    areaSelect(e) {
 | 
				
			||||||
      if (e.type == 5) {
 | 
					      this.forms.areaId = e.id
 | 
				
			||||||
        this.forms.areaId = e.id
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
      if (e.type == 4) {
 | 
					 | 
				
			||||||
        this.forms.areaId = e.id
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@
 | 
				
			|||||||
            <div class="areaNmae" v-if="item.areaName || item.address">{{ item.areaName }}{{ item.address }}</div>
 | 
					            <div class="areaNmae" v-if="item.areaName || item.address">{{ item.areaName }}{{ item.address }}</div>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <img :src="item.url[0].url" alt="" />
 | 
					          <img :src="item.url[0].url" alt="" @click.stop="previewImage(item.url, item.url[0].url)" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div class="hints" :style="{ background: item.status == 0 ? '#000000' : item.status == 1 ? '#42D784' : '#E4E4E4' }">{{ $dict.getLabel('villageActivityStatus', item.status) }}</div>
 | 
					          <div class="hints" :style="{ background: item.status == 0 ? '#000000' : item.status == 1 ? '#42D784' : '#E4E4E4' }">{{ $dict.getLabel('villageActivityStatus', item.status) }}</div>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
@@ -128,6 +128,13 @@ export default {
 | 
				
			|||||||
    toDetail(item) {
 | 
					    toDetail(item) {
 | 
				
			||||||
      uni.navigateTo({ url: `./Detail?id=${item.id}&createUserId=${item.createUserId}` })
 | 
					      uni.navigateTo({ url: `./Detail?id=${item.id}&createUserId=${item.createUserId}` })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    previewImage(images, img) {
 | 
				
			||||||
 | 
					      uni.previewImage({
 | 
				
			||||||
 | 
					        urls: images.map((v) => v.url),
 | 
				
			||||||
 | 
					        current: img,
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
  <div class="page">
 | 
					  <div class="page">
 | 
				
			||||||
    <div class="header-content">
 | 
					    <div class="header-content">
 | 
				
			||||||
      <div class="header-top">
 | 
					      <div class="header-top">
 | 
				
			||||||
        <img :src="detail.url && detail.url[0].url" alt="" />
 | 
					        <img :src="detail.url && detail.url[0].url" alt="" @click.stop="previewImage(detail.url, detail.url[0].url)" />
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="header-middle">
 | 
					      <div class="header-middle">
 | 
				
			||||||
@@ -70,7 +70,7 @@
 | 
				
			|||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <div class="card-img">
 | 
					              <div class="card-img">
 | 
				
			||||||
                <img :src="e.url" v-for="(e, i) in imgList[index]" :key="i" alt="" @click.stop="previewImage(info.images, item.url)" />
 | 
					                <img :src="e.url" v-for="(e, i) in imgList[index]" :key="i" alt="" @click.stop="previewImage(imgList[index], e.url)" />
 | 
				
			||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- <div class="card-icon">
 | 
					              <!-- <div class="card-icon">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -222,8 +222,6 @@
 | 
				
			|||||||
      <div class="reject" @click="agree(0)">拒绝</div>
 | 
					      <div class="reject" @click="agree(0)">拒绝</div>
 | 
				
			||||||
      <div class="agree" @click="agree(1)">同意</div>
 | 
					      <div class="agree" @click="agree(1)">同意</div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <AiBack></AiBack>
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -222,8 +222,6 @@
 | 
				
			|||||||
      <div class="reject" @click="agree(0)">拒绝</div>
 | 
					      <div class="reject" @click="agree(0)">拒绝</div>
 | 
				
			||||||
      <div class="agree" @click="agree(1)">同意</div>
 | 
					      <div class="agree" @click="agree(1)">同意</div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <AiBack></AiBack>
 | 
					 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user