Showing
2 changed files
with
9 additions
and
4 deletions
| ... | @@ -33,12 +33,12 @@ | ... | @@ -33,12 +33,12 @@ |
| 33 | </view> | 33 | </view> |
| 34 | 34 | ||
| 35 | <!-- 视频时长 --> | 35 | <!-- 视频时长 --> |
| 36 | - <view | 36 | + <!-- <view |
| 37 | v-if="item.type === 'video'" | 37 | v-if="item.type === 'video'" |
| 38 | class="absolute bottom-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded" | 38 | class="absolute bottom-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded" |
| 39 | > | 39 | > |
| 40 | {{ formatDuration(item.duration) }} | 40 | {{ formatDuration(item.duration) }} |
| 41 | - </view> | 41 | + </view> --> |
| 42 | </view> | 42 | </view> |
| 43 | </view> | 43 | </view> |
| 44 | 44 | ||
| ... | @@ -168,7 +168,12 @@ const initMockData = () => { | ... | @@ -168,7 +168,12 @@ const initMockData = () => { |
| 168 | type: 'image', | 168 | type: 'image', |
| 169 | url: 'https://img.yzcdn.cn/vant/sand.jpg', | 169 | url: 'https://img.yzcdn.cn/vant/sand.jpg', |
| 170 | createTime: '2024-01-08 11:10' | 170 | createTime: '2024-01-08 11:10' |
| 171 | - } | 171 | + }, |
| 172 | + { | ||
| 173 | + type: 'image', | ||
| 174 | + url: 'https://img.yzcdn.cn/vant/sand.jpg', | ||
| 175 | + createTime: '2024-01-08 11:10' | ||
| 176 | + }, | ||
| 172 | ]; | 177 | ]; |
| 173 | }; | 178 | }; |
| 174 | 179 | ... | ... |
| ... | @@ -68,7 +68,7 @@ | ... | @@ -68,7 +68,7 @@ |
| 68 | <view class="flex justify-between items-center mb-2"> | 68 | <view class="flex justify-between items-center mb-2"> |
| 69 | <h2 class="font-medium text-lg">家庭相册</h2> | 69 | <h2 class="font-medium text-lg">家庭相册</h2> |
| 70 | <view class="text-blue-500 flex items-center" @click="openAlbumList"> | 70 | <view class="text-blue-500 flex items-center" @click="openAlbumList"> |
| 71 | - 打开相册 <Right size="16" /> | 71 | + 打开相册 |
| 72 | </view> | 72 | </view> |
| 73 | </view> | 73 | </view> |
| 74 | <p class="text-sm text-gray-500 mb-3">记录每一个家庭活动瞬间</p> | 74 | <p class="text-sm text-gray-500 mb-3">记录每一个家庭活动瞬间</p> | ... | ... |
-
Please register or login to post a comment