xiangpei
2024-06-04 c87c4fe5aa3987d61b10d57208232a94eec83d7c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
  <div class="photo">
    <div
      class="photo-item"
      v-for="urls in PhotoWalls"
      :key="urls.url"
    >
      <el-image :src="urls.url"></el-image>
      <p class="photo-item-title">{{urls.title}}</p>
    </div>
  </div>
</template>
 
<script>
export default {
  props: ["PhotoWalls"],
  data() {
    return {};
  },
};
</script>
 
<style scoped lang="scss">
.photo {
  display: flex;
  justify-content: space-between;
  overflow: auto;
  flex-wrap: wrap;
  &-item {
    width: 444px;
    // height: 450px;
    // 图片下标题
    &-title {
      // background-color: red;
      text-align: center;
    }
  }
}
</style>