|
|
@@ -10,22 +10,24 @@
|
|
|
<member :info="adminInfo" type="admin" />
|
|
|
<van-divider />
|
|
|
|
|
|
- <block v-for="item in showList" :key="item.otherUserId">
|
|
|
- <movable-area class="move-area">
|
|
|
- <movable-view
|
|
|
- direction="horizontal"
|
|
|
- @touchstart="touchStartEvent($event, item.otherUserId)"
|
|
|
- @change="touchMoveEvent($event, item.otherUserId)"
|
|
|
- @touchend="touchEndEvent($event, item.otherUserId)"
|
|
|
- :x="moveInfo[item.otherUserId]"
|
|
|
- :animation="startMove"
|
|
|
- class="move-view"
|
|
|
- inertia
|
|
|
- >
|
|
|
- <member :info="item"></member>
|
|
|
- <div class="del" @click="del(item.otherUserId)">{{ $t('shan-chu') }}</div>
|
|
|
- </movable-view>
|
|
|
- </movable-area>
|
|
|
+ <block v-if="isShow">
|
|
|
+ <block v-for="item in showList" :key="item.otherUserId">
|
|
|
+ <movable-area class="move-area">
|
|
|
+ <movable-view
|
|
|
+ direction="horizontal"
|
|
|
+ @touchstart="touchStartEvent($event, item.otherUserId)"
|
|
|
+ @change="touchMoveEvent($event, item.otherUserId)"
|
|
|
+ @touchend="touchEndEvent($event, item.otherUserId)"
|
|
|
+ :x="moveInfo[item.otherUserId]"
|
|
|
+ :animation="startMove"
|
|
|
+ class="move-view"
|
|
|
+ inertia
|
|
|
+ >
|
|
|
+ <member :info="item"></member>
|
|
|
+ <div class="del" @click="del(item.otherUserId)">{{ $t('shan-chu') }}</div>
|
|
|
+ </movable-view>
|
|
|
+ </movable-area>
|
|
|
+ </block>
|
|
|
</block>
|
|
|
<van-dialog id="van-dialog" />
|
|
|
</div>
|
|
|
@@ -43,7 +45,8 @@ export default {
|
|
|
touchMap: new Map(),
|
|
|
moveInfo: {},
|
|
|
moveX: 60,
|
|
|
- startMove: false
|
|
|
+ startMove: false,
|
|
|
+ isShow: false
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -107,9 +110,11 @@ export default {
|
|
|
...info
|
|
|
};
|
|
|
|
|
|
+ this.isShow = true;
|
|
|
+
|
|
|
setTimeout(() => {
|
|
|
this.startMove = true;
|
|
|
- }, 100);
|
|
|
+ }, 1000);
|
|
|
},
|
|
|
loginMethods() {
|
|
|
this.$store.dispatch('getUnreadNumber');
|