hookehuyr

refactor(AlbumList): 移除我的标识注释并优化删除确认逻辑

...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
33 </view> 33 </view>
34 34
35 <!-- 我的标识 --> 35 <!-- 我的标识 -->
36 - <view 36 + <!-- <view
37 v-if="item.is_my" 37 v-if="item.is_my"
38 class="absolute top-2 right-2 px-2 py-1 bg-blue-500 bg-opacity-80 rounded text-white text-xs" 38 class="absolute top-2 right-2 px-2 py-1 bg-blue-500 bg-opacity-80 rounded text-white text-xs"
39 > 39 >
40 我的 40 我的
41 - </view> 41 + </view> -->
42 42
43 <!-- 删除按钮 --> 43 <!-- 删除按钮 -->
44 <view 44 <view
...@@ -204,7 +204,7 @@ const handleItemClick = (item, index) => { ...@@ -204,7 +204,7 @@ const handleItemClick = (item, index) => {
204 */ 204 */
205 const handleDeleteClick = (item) => { 205 const handleDeleteClick = (item) => {
206 currentDeleteItem.value = item; 206 currentDeleteItem.value = item;
207 - 207 +
208 Taro.showModal({ 208 Taro.showModal({
209 title: '删除确认', 209 title: '删除确认',
210 content: '确定要删除这张照片吗?删除后无法恢复。', 210 content: '确定要删除这张照片吗?删除后无法恢复。',
......