css
This commit is contained in:
		@@ -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="" @click.stop="previewImage(item.url, item.url[0].url)" />
 | 
					          <img :src="items.url" alt="" v-for="(items, index) in JSON.parse(item.url || '[]')" :key="index" @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>
 | 
				
			||||||
@@ -103,15 +103,6 @@ export default {
 | 
				
			|||||||
            this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
 | 
					            this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
 | 
				
			||||||
            this.total = res.data.total
 | 
					            this.total = res.data.total
 | 
				
			||||||
            this.pages = res.data.pages
 | 
					            this.pages = res.data.pages
 | 
				
			||||||
 | 
					 | 
				
			||||||
            if (this.datas) {
 | 
					 | 
				
			||||||
              this.datas.map((item) => {
 | 
					 | 
				
			||||||
                if (item.url) {
 | 
					 | 
				
			||||||
                  item.url = JSON.parse(item.url || '[]')
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                return item
 | 
					 | 
				
			||||||
              })
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user