智慧保安互联网APP
shuishen
2021-08-20 501e7180823c29e893d87efabd0e2b9a629bae40
pages/groupChat/groupChat.vue
@@ -6,8 +6,8 @@
      <view style="height:205rpx;"></view>
      <view class="tab" style="position: fixed;top: 0;width: 100%;height: 205rpx;z-index: 100;">
         <u-navbar style="position: relative;" :is-fixed="false" :border-bottom="false" :is-back="false"
            title="好友" :background="{ background: '#0BB9C8' }" title-color="#fff">
         <u-navbar style="position: relative;" :is-fixed="false" :border-bottom="false" :is-back="false" title="好友"
            :background="{ background: '#0BB9C8' }" title-color="#fff">
            <u-icon @click="addFriend" slot="right" class="message-icon" mode="widthFix" name="plus" color="#fff">
            </u-icon>
            <!-- <image  src="../../static/add.png" ></image> -->
@@ -148,6 +148,15 @@
            }
         });
      },
      onPullDownRefresh: function() {
         setTimeout(() => {
            this.getdataList()
         }, 1000)
      },
      methods: {
         change(index) {
            this.current = index;
@@ -185,6 +194,8 @@
                        }
                     }
                     that.dataListP = resdata;
                     uni.stopPullDownRefresh();
                  }
               });
            } else if (this.current == 1) {
@@ -204,6 +215,8 @@
                     }
                     that.dataListTXL = resdata;
                     uni.stopPullDownRefresh();
                  }
               })
            } else if (this.current == 2) {
@@ -223,6 +236,8 @@
                        }
                     }
                     that.dataListQZ = resdata;
                     uni.stopPullDownRefresh();
                  }
               });
            }
@@ -358,6 +373,7 @@
         .m-main {
            box-sizing: border-box;
            .main {
               padding: 0 16px;
            }