页面bug修复

main
123456 3 weeks ago
parent 1a5ac214c4
commit d84bf5925f
  1. 3
      pages/index/index.vue
  2. 2
      pages/peiwan/apply.vue
  3. 4
      pages/users/chat/index.vue
  4. 6
      unpackage/dist/build/app-plus/app-service.js
  5. 6
      unpackage/dist/build/app-plus/app-view.js

@ -188,9 +188,7 @@
}) })
}, },
onShow() { onShow() {
if(this.city){
this.getUserInfo(); this.getUserInfo();
}
if(uni.getStorageSync("userInfo").id){ if(uni.getStorageSync("userInfo").id){
if(!uni.getStorageSync("isOpen")){ if(!uni.getStorageSync("isOpen")){
uni.$emit("openSocket"); uni.$emit("openSocket");
@ -400,6 +398,7 @@
openPage(index,id){ openPage(index,id){
const that = this; const that = this;
if(index == 1){ if(index == 1){
console.log(this.userInfo.realnameFlag)
if(this.userInfo.realnameFlag == 0){ if(this.userInfo.realnameFlag == 0){
this.isPopup = true this.isPopup = true
return ; return ;

@ -82,7 +82,7 @@
let arr = []; let arr = [];
this.list.map(a=>{ this.list.map(a=>{
if(a.select){ if(a.select){
arr.push(id) arr.push(a.id)
} }
}) })
if(arr.length == 0){ if(arr.length == 0){

@ -1,7 +1,7 @@
<template> <template>
<view class="chat"> <view class="chat">
<view class="chat-navbar"> <view class="chat-navbar">
<u-navbar :title="title"> <u-navbar :title="title" titleWidth="500">
<view class="slot-wrap" v-if="userInfo.operrole == 0" slot="right" @click="toSheet()"> <view class="slot-wrap" v-if="userInfo.operrole == 0" slot="right" @click="toSheet()">
<u-icon name="more-dot-fill" color="#000000" size="30"></u-icon> <u-icon name="more-dot-fill" color="#000000" size="30"></u-icon>
</view> </view>
@ -22,7 +22,7 @@
<view id="wrapper1"> <view id="wrapper1">
<!-- 个人信息 --> <!-- 个人信息 -->
<template v-if="userInfo.operrole == 0"> <template v-if="userInfo.operrole == 0">
<view class="info" v-if="chatList.length == 0"> <view class="info" v-if="chatList.length<= 10">
<view class="hd"> <view class="hd">
<image class="avatar" :src="userInfo.faceImage?userInfo.faceImage:userInfo.img"></image> <image class="avatar" :src="userInfo.faceImage?userInfo.faceImage:userInfo.img"></image>
<view class="user"> <view class="user">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save