hookehuyr

style: 移除相册列表中的右箭头图标和视频时长显示

简化界面元素,移除不再需要的右箭头图标和注释掉的视频时长显示代码
......@@ -33,12 +33,12 @@
</view>
<!-- 视频时长 -->
<view
<!-- <view
v-if="item.type === 'video'"
class="absolute bottom-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded"
>
{{ formatDuration(item.duration) }}
</view>
</view> -->
</view>
</view>
......@@ -168,7 +168,12 @@ const initMockData = () => {
type: 'image',
url: 'https://img.yzcdn.cn/vant/sand.jpg',
createTime: '2024-01-08 11:10'
}
},
{
type: 'image',
url: 'https://img.yzcdn.cn/vant/sand.jpg',
createTime: '2024-01-08 11:10'
},
];
};
......
......@@ -68,7 +68,7 @@
<view class="flex justify-between items-center mb-2">
<h2 class="font-medium text-lg">家庭相册</h2>
<view class="text-blue-500 flex items-center" @click="openAlbumList">
打开相册 <Right size="16" />
打开相册
</view>
</view>
<p class="text-sm text-gray-500 mb-3">记录每一个家庭活动瞬间</p>
......