Fix:2537 【商城小程序】消息列表--删除消息记录会自动引发下一条记录的删除状态
This commit is contained in:
@@ -2,20 +2,21 @@
|
||||
<view class="common-roomLogs">
|
||||
<view v-if="list.length > 0">
|
||||
<view
|
||||
v-for="(item,index) in list"
|
||||
:key="index"
|
||||
class="item"
|
||||
|
||||
>
|
||||
<u-swipe-action
|
||||
class="v12-mt-3"
|
||||
>
|
||||
<u-swipe-action-item
|
||||
:options="options1"
|
||||
:key="index"
|
||||
v-for="(item) in list"
|
||||
:key="item.room_id"
|
||||
:name="item.room_id"
|
||||
style="margin-bottom: 10px;"
|
||||
@click.stop="removeRoom(item.room_id)"
|
||||
>
|
||||
<view>
|
||||
<view class="v12-justify-between v12-pa-3 flex" @click="goRoom(item)">
|
||||
<view class="item v12-pa-3">
|
||||
<view class="v12-justify-between flex" @click="goRoom(item)">
|
||||
<image class="cover flex-0" :src="item.store_avatar || webUrl+'/20221114155314348118.png'"/>
|
||||
<view>
|
||||
<view class="flex jc-between ai-center">
|
||||
@@ -96,7 +97,11 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.common-roomLogs .u-swipe-action-item{
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
</style>
|
||||
<style scoped lang="less">
|
||||
.common-roomLogs {
|
||||
min-height: 100vh;
|
||||
@@ -105,7 +110,6 @@ export default {
|
||||
background: #F5F5F5;
|
||||
|
||||
.item {
|
||||
margin-bottom: 24rpx;
|
||||
border-radius: 8rpx;
|
||||
background: #FFFFFF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user