diff --git a/App.vue b/App.vue
index d98bbce..f7403d1 100644
--- a/App.vue
+++ b/App.vue
@@ -46,6 +46,7 @@
methods: {
...mapActions("message", ["pushNewMessage", "updateOneMessage"]),
...mapActions("conversation", ["updateCurrentMemberInGroup"]),
+ ...mapActions("circle", ["getFriendCircleInfo"]),
...mapActions("contact", [
"updateFriendInfo",
"pushNewFriend",
@@ -137,12 +138,9 @@
// friend
const friendInfoChangeHandler = ({data}) => {
- uni.$emit(IMSDK.IMEvents.OnFriendInfoChanged, {
- data
- });
- this.updateFriendInfo({
- friendInfo: data,
- });
+ console.log('friendInfoChangeHandler',data);
+ uni.$emit(IMSDK.IMEvents.OnFriendInfoChanged, {data});
+ this.updateFriendInfo({friendInfo: data,});
};
const friendAddedHandler = ({data}) => {
this.pushNewFriend(data);
@@ -266,6 +264,7 @@
);
};
const conversationChangedHandler = ({data}) => {
+ //console.log('conversationChangedHandler',data);
if (this.storeIsSyncing) {
return;
}
@@ -291,15 +290,9 @@
);
};
- IMSDK.subscribe(
- IMSDK.IMEvents.OnTotalUnreadMessageCountChanged,
- totalUnreadCountChangedHandler
- );
+ IMSDK.subscribe(IMSDK.IMEvents.OnTotalUnreadMessageCountChanged,totalUnreadCountChangedHandler);
IMSDK.subscribe(IMSDK.IMEvents.OnNewConversation, newConversationHandler);
- IMSDK.subscribe(
- IMSDK.IMEvents.OnConversationChanged,
- conversationChangedHandler
- );
+ IMSDK.subscribe(IMSDK.IMEvents.OnConversationChanged,conversationChangedHandler);
},
tryLogin() {
@@ -312,6 +305,8 @@
this.$store.dispatch("contact/getSentFriendApplications");
this.$store.dispatch("contact/getRecvGroupApplications");
this.$store.dispatch("contact/getSentGroupApplications");
+ this.$store.dispatch("contact/getFriendList");
+ this.$store.dispatch("circle/getFriendCircleInfo");
uni.switchTab({
url: "/pages/conversation/conversationList/index?isRedirect=true",
success() {
diff --git a/api/login.js b/api/login.js
index 67f1d06..939e730 100644
--- a/api/login.js
+++ b/api/login.js
@@ -33,8 +33,8 @@ export const businessModify = (params) =>
// 用户信息
export const businessInfoUpdate = (params) =>
uni.$u?.http.post(
- "/user/profile",
- JSON.stringify({ ...params, }),
+ "/user/info",
+ JSON.stringify({...params}),
{
header: {
token: uni.getStorageSync("BusinessToken"),
@@ -44,7 +44,7 @@ export const businessInfoUpdate = (params) =>
export const businessGetUserInfo = (userID) =>
uni.$u?.http.post(
"/user/find",
- JSON.stringify({ userIDs: [userID], }),
+ JSON.stringify({userIDs: [userID],}),
{
header: {
token: uni.getStorageSync("BusinessToken"),
diff --git a/components/chunLei-popups.vue b/components/chunLei-popups.vue
new file mode 100644
index 0000000..f29503f
--- /dev/null
+++ b/components/chunLei-popups.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/common/markOrIDPage/index.vue b/pages/common/markOrIDPage/index.vue
index e55c0d7..ca73e07 100644
--- a/pages/common/markOrIDPage/index.vue
+++ b/pages/common/markOrIDPage/index.vue
@@ -1,139 +1,141 @@
-
-
-
- {{ getConfirmText }}
-
-
-
+
+
+
+ {{ getConfirmText }}
+
+
+
-
-
-
-
-
+
+
+
+
+
+ .u-button {
+ height: 60rpx;
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/pages/common/userCard/index.vue b/pages/common/userCard/index.vue
index a1b1c31..8cdf208 100644
--- a/pages/common/userCard/index.vue
+++ b/pages/common/userCard/index.vue
@@ -5,7 +5,7 @@
-
{{ getShowName }}
diff --git a/pages/common/userCardMore/index.vue b/pages/common/userCardMore/index.vue
index cb9184e..a0c3987 100644
--- a/pages/common/userCardMore/index.vue
+++ b/pages/common/userCardMore/index.vue
@@ -1,156 +1,124 @@
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
- (showConfirm = true)"
- type="error"
- plain
- text="解除好友关系"
- >
-
-
- (showConfirm = false)"
- >
-
+
+ (showConfirm = true)" type="error" plain text="解除好友关系">
+
+
+ (showConfirm = false)">
+
+ .u-button {
+ border: none;
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/pages/contact/friendList/index.vue b/pages/contact/friendList/index.vue
index a4c5f1a..365261e 100644
--- a/pages/contact/friendList/index.vue
+++ b/pages/contact/friendList/index.vue
@@ -53,7 +53,7 @@
this.getListHeight();
},
async onShow() {
- await this.getFriendList();
+ //await this.getFriendList();
},
methods: {
...mapActions('contact',['getFriendList']),
diff --git a/pages/conversation/chating/components/ChatingFooter/ChatingActionBar.vue b/pages/conversation/chating/components/ChatingFooter/ChatingActionBar.vue
index 5915567..1db2a70 100644
--- a/pages/conversation/chating/components/ChatingFooter/ChatingActionBar.vue
+++ b/pages/conversation/chating/components/ChatingFooter/ChatingActionBar.vue
@@ -1,6 +1,28 @@
-
+
+
+
+
+ {{emojiList[pagesize*(page-1)+n]}}
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -13,11 +35,25 @@
@@ -303,9 +489,9 @@
.chat_footer {
display: flex;
- align-items: center;
+ align-items: flex-end;
// background-color: #e9f4ff;
- background: #f0f2f6;
+ background: #f6f6f6;
// height: 50px;
max-height: 120px;
padding: 24rpx 20rpx;
@@ -361,7 +547,7 @@
.send_btn {
height: 30px;
line-height: 30px;
- background-color: #4a9cfc;
+ background-color: $uni-color-success;
padding: 0 8px;
border-radius: 4px;
color: #fff;
diff --git a/pages/conversation/chating/components/ChatingHeader.vue b/pages/conversation/chating/components/ChatingHeader.vue
index 2b24963..c947872 100644
--- a/pages/conversation/chating/components/ChatingHeader.vue
+++ b/pages/conversation/chating/components/ChatingHeader.vue
@@ -1,5 +1,5 @@
-