Browse Source

细节优化

master
xsx 10 months ago
parent
commit
b9576e56b7
  1. 2
      im-uniapp/components/head-image/head-image.vue
  2. 4
      im-uniapp/components/long-press-menu/long-press-menu.vue
  3. 2
      im-uniapp/pages/chat/chat-box.vue

2
im-uniapp/components/head-image/head-image.vue

@ -1,5 +1,5 @@
<template>
<view class="head-image" @click="showUserInfo($event)" :title="name">
<view class="head-image none-pointer-events" @click="showUserInfo($event)" :title="name">
<image class="avatar-image" v-if="url" :src="url" :style="avatarImageStyle" lazy-load="true"
mode="aspectFill" />
<view class="avatar-text" v-if="!url" :style="avatarTextStyle">

4
im-uniapp/components/long-press-menu/long-press-menu.vue

@ -1,5 +1,5 @@
<template>
<view>
<view class="long-press-menu none-pointer-events">
<view @longpress.stop="onLongPress($event)" @touchmove="onTouchMove" @touchend="onTouchEnd">
<slot></slot>
</view>
@ -81,6 +81,7 @@ export default {
</script>
<style lang="scss" scoped>
.long-press-menu {
.menu-mask {
position: fixed;
left: 0;
@ -118,4 +119,5 @@ export default {
}
}
}
}
</style>

2
im-uniapp/pages/chat/chat-box.vue

@ -129,7 +129,7 @@ export default {
scrollMsgIdx: 0, //
chatTabBox: 'none',
showRecord: false,
chatMainHeight: 0, //
chatMainHeight: 800, //
keyboardHeight: 290, //
windowHeight: 1000, //
initHeight: 1000, // h5

Loading…
Cancel
Save