diff --git a/.DS_Store b/.DS_Store
index ca2f2aa..29b9dbd 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/lib/emoji.js b/lib/emoji.js
new file mode 100644
index 0000000..53a62a2
--- /dev/null
+++ b/lib/emoji.js
@@ -0,0 +1,33 @@
+export default [
+ "๐", "๐", "๐", "๐", "๐
", "๐", "๐", "๐", "๐", "๐", "๐",
+ "๐", "๐", "๐", "๐", "โบ", "๐", "๐", "๐", "๐ถ", "๐", "๐ฃ", "๐ฅ", "๐ฎ", "๐ฏ", "๐ช",
+ "๐ซ", "๐ด", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐ฒ", "๐ท", "๐", "๐", "๐",
+ "๐ค", "๐ข", "๐ญ", "๐ฆ", "๐ง", "๐จ", "๐ฌ", "๐ฐ", "๐ฑ", "๐ณ", "๐ต", "๐ก", "๐ ",
+ "๐ฆ", "๐ง", "๐จ", "๐ฉ", "๐ด", "๐ต", "๐ถ", "๐ฑ", "๐ฎ", "๐ฒ", "๐ณ", "๐ท", "๐ธ", "๐", "๐
", "๐ฐ", "๐ผ",
+ "๐", "๐", "๐", "๐", "๐
", "๐", "๐", "๐", "๐", "๐", "๐", "๐ค", "๐ฅ", "๐ถ", "๐", "๐ฏ",
+ "๐", "๐ซ", "๐ฌ", "๐ญ", "๐", "๐", "๐ช", "๐ช", "๐", "๐", "โ", "๐", "๐", "โ", "โ", "๐",
+ "๐", "๐", "โ", "๐", "๐", "๐", "๐", "โ", "๐ฃ", "๐", "๐", "๐", "๐
", "๐", "๐", "๐",
+ "๐", "๐", "๐", "๐", "๐", "๐", "๐ผ", "๐", "๐", "๐ ", "๐ก", "๐ข", "๐",
+ "๐", "๐ฉ", "๐", "๐", "๐
", "๐", "๐", "๐ถ", "๐ณ", "๐ด", "โป", "๐ง","๐ฎ", "๐ฐ", "โฟ", "๐น", "๐บ",
+ "๐ป", "๐ผ", "๐พ", "โ ", "๐ธ", "โ", "๐ซ", "๐ณ", "๐ญ", "๐ฏ", "๐ฑ", "๐ท", "๐", "๐",
+ "๐", "๐", "๐ถ", "๐", "๐ฉ", "๐บ", "๐ฑ","๐", "๐ฏ", "๐
", "๐", "๐ด", "๐", "๐ฎ", "๐",
+ "๐","๐","๐ท","๐","๐","๐ฝ","๐","๐","๐","๐ช","๐ซ","๐","๐ญ",
+ "๐","๐","๐น","๐ฐ","๐","๐ป","๐จ","๐ผ","๐พ","๐","๐","๐ฃ","๐ค","๐ฅ",
+ "๐ฆ", "๐ง", "๐ธ", "๐","๐ข", "๐", "๐ฒ", "๐", "๐ณ", "๐", "๐ฌ", "๐", "๐ ", "๐ก",
+ "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐ฆ", "๐", "๐ธ", "๐ฎ", "๐น", "๐บ",
+ "๐ป", "๐ผ", "๐ท", "๐ฑ", "๐ฒ", "๐ณ", "๐ด", "๐ต", "๐พ", "๐ฟ", "๐", "๐", "๐", "๐",
+ "๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐","๐",
+ "๐","๐","โ","๐","๐","โญ","๐","๐ ","โ","โ
","โ","โก","โ","๐ฅ","๐ง","๐",
+ "๐", "๐", "๐", "๐พ", "๐ฑ", "๐ณ", "โณ", "๐ฃ", "๐ฝ", "๐ฟ",
+ "๐", "๐ฟ", "๐น", "๐บ", "๐", "โ ", "๐ป", "๐ฝ", "๐พ", "๐ฃ",
+ "๐", "๐ป", "๐ ", "๐ก", "๐ข", "๐ฃ", "๐ค", "๐ฅ", "๐ฆ", "๐จ",
+ "โฒ", "๐", "๐", "๐", "๐", "๐ ", "๐ก", "๐ข", "๐",
+ "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐",
+ "๐", "๐", "๐ช", "๐", "๐ช", "๐ฝ", "๐ฟ", "๐", "โ", "โณ", "โ", "โฐ", "๐", "๐",
+ "๐ค", "๐ข", "๐ฌ", "๐ญ", "โจ", "๐", "๐", "๐", "โก", "โ", "๐ฏ", "๐", "๐ฐ", "๐ฑ", "โญ", "โ
",
+ "โ", "โ", "โ", "โ", "โ", "โ", "โ", "โ", "โฐ", "โฟ", "ใฝ", "โณ", "โด", "โ", "โผ", "โ", "โ", "โ", "โ", "โ",
+ "๐", "๐ง", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐ ", "๐", "๐ก",
+ "๐", "๐ข", "๐", "๐ฃ", "๐", "๐ค", "๐", "๐ฅ", "๐", "๐ฆ", "โฑ", "โฒ", "๐ฐ",
+ "๐", "โค", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐โฃ",
+ "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐", "๐",
+]
\ No newline at end of file
diff --git a/pages.json b/pages.json
index fe8c4d6..6ace7f2 100644
--- a/pages.json
+++ b/pages.json
@@ -268,7 +268,7 @@
"path": "pages/sign/index",
"name": "signIndex",
"style": {
- "navigationBarTitleText": "ๆฏๆฅ็ญพๅฐ",
+ "navigationBarTitleText": "ๆฏๆฅๆๅก",
"navigationBarBackgroundColor": "#FFFFFF"
}
},
diff --git a/pages/.DS_Store b/pages/.DS_Store
index 83144c2..2c2ce98 100644
Binary files a/pages/.DS_Store and b/pages/.DS_Store differ
diff --git a/pages/im/components/sentText.nvue b/pages/im/components/sentText.nvue
index 96b4553..8534fc1 100644
--- a/pages/im/components/sentText.nvue
+++ b/pages/im/components/sentText.nvue
@@ -1,6 +1,15 @@
-
+
@@ -71,7 +80,7 @@
.input {
background: #F3F6FB;
height: 70rpx;
- width: 460rpx;
+ width: 500rpx;
border-radius: 10rpx;
margin-right: 15rpx;
padding: 0 20rpx;
diff --git a/pages/im/components/sentVoice.nvue b/pages/im/components/sentVoice.nvue
index 197d54a..8ab1148 100644
--- a/pages/im/components/sentVoice.nvue
+++ b/pages/im/components/sentVoice.nvue
@@ -102,7 +102,7 @@
line-height: 70rpx;
justify-content: center;
align-items: center;
- width: 460rpx;
+ width: 500rpx;
border-radius: 10rpx;
margin-right: 15rpx;
diff --git a/pages/im/index.vue b/pages/im/index.vue
index c9c2594..7fb1dea 100644
--- a/pages/im/index.vue
+++ b/pages/im/index.vue
@@ -7,11 +7,11 @@
็ง่
-
+
็พค่
-
+
@@ -95,6 +95,8 @@
/* ๅผน็ชๅฎไฝๆ ทๅผ */
popStyle: "",
pickedItem: {},
+ privateUnread: 0,
+ groupUnread: 0,
hasNewFriends: true
}
},
@@ -120,6 +122,12 @@
uni.$on('onReceiveMessage', (msg) => {
console.log('ๆถๅฐๆถๆฏ๏ผๅทๆฐๅ่กจ');
this.getConversationList()
+ // todo ๏ผไธ็ฅ้่ฟไธช่ทๅๆช่ฏปๆฐ้็๏ผๆๆฒกๆๅๆณ่ฝ่ทๅ็ง่็๏ผ่ฟๆ็พค็ป็
+ // RongIMLib.getTotalUnreadCount(({
+ // count
+ // }) => {
+ // this.privateUnread = count
+ // })
})
this.isShown = true
},
@@ -203,7 +211,6 @@
const timestamp = 0
RongIMLib.getConversationList([RongIMLib.ConversationType.PRIVATE], count, timestamp, (res) => {
if (res.code === 0) {
- console.log(res.conversations);
this.conversations = res.conversations
}
})
@@ -273,6 +280,7 @@
line-height: 60rpx;
.tabs {
+
.item {
position: relative;
margin-left: $margin;
diff --git a/pages/im/private/chat.nvue b/pages/im/private/chat.nvue
index f91fb03..f94ae6c 100644
--- a/pages/im/private/chat.nvue
+++ b/pages/im/private/chat.nvue
@@ -36,13 +36,12 @@
@success="getMessageList" />
-
+
- {showPopups = false, getMessageList()}">
+ {showPopups = false, getMessageList()}">
@@ -148,10 +147,14 @@
})
},
// ๆปๅจๅฐๅบ้จ
- scrollBottom() {
+ scrollBottom(type) {
+ if(type === 'msgPopups'){
+ this.showPopups = !this.showPopups
+ }
setTimeout(() => {
let el = this.$refs.chatBottom
- ChatList.scrollToElement(el, {
+ ChatList.scrollToElement(el, {
+ offset: 0,
animated: false
})
}, 50)
@@ -165,19 +168,14 @@
.chat {
background: $window-color;
flex: 1;
-
-
- .body {
- flex: 1;
-
- .cell {
+ .body {
+ flex: 1;
+ .cell {
padding: 10rpx 30rpx;
-
.time {
justify-content: center;
align-items: center;
- padding-bottom: 20rpx;
-
+ padding-bottom: 20rpx;
.text {
background: #fff;
font-size: 24rpx;
@@ -238,12 +236,10 @@
padding: 20rpx 30rpx;
display: flex;
justify-content: space-between;
- flex-direction: row;
-
+ flex-direction: row;
.msg-type {
width: 70rpx;
height: 70rpx;
-
.icon {
margin: 5rpx;
width: 60rpx;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8ad47fd..96857a8 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -4,7 +4,15 @@
ๆฌข่ฟไฝฟ็จZH-HEALTHๅฅๅบท
-
+
+
+
+
+
+ ๆๅก
+
+
+
@@ -101,12 +109,29 @@
align-items: center;
.helloe {
line-height: 100rpx;
- font-size: $title-size + 10;
+ font-size: $title-size + 4;
font-weight: bold;
}
.btns {
margin-left: $margin;
display: flex;
+ .btns-clock {
+ color: #885100;
+ height: 50rpx;
+ font-size: $title-size-sm - 2;
+ border-radius: 40rpx;
+ display: flex;
+ background-image: linear-gradient(to right, #fce938, #ffce36);
+ image {
+ width: 48rpx;
+ display: inline-block;
+ }
+ .btns-clock-text {
+ line-height: 50rpx;
+ font-weight: 600;
+ padding: 0 20rpx 0 8rpx;
+ }
+ }
.btns-item {
position: relative;
text-align: right;
diff --git a/pages/sign/index.vue b/pages/sign/index.vue
index 5ac3812..0addd22 100644
--- a/pages/sign/index.vue
+++ b/pages/sign/index.vue
@@ -9,7 +9,7 @@
{{ dateData.total }}ๅคฉ
- ๆฌๆ็ญพๅฐ
+ ๆฌๆๆๅก
@@ -18,7 +18,7 @@
{{ dateData.continue }}ๅคฉ
- ็ดฏ่ฎก็ญพๅฐ
+ ็ดฏ่ฎกๆๅก
@@ -50,25 +50,28 @@
ๅ
ญ
-
-
- {{ items.isSign ? '็ญพ' : items.date }}
+
+
+
+
+ {{ items.date }}
+
- {{ dateData.isSign ? 'ๅฝๆฅๅทฒ็ญพ' : '็ซๅณ็ญพๅฐ'}}
+ {{ dateData.isSign ? 'ไปๆฅๅทฒๆๅก' : 'ไปๆฅๆๅก'}}
- ZHๅคงๅฅๅบท็จๆท็ญพๅฐ
+ ZHๅคงๅฅๅบท็จๆทๆๅก
-
-
-
+
+
+
-
+ }
+
+
+
diff --git a/static/.DS_Store b/static/.DS_Store
index 61af3bd..a81ade7 100644
Binary files a/static/.DS_Store and b/static/.DS_Store differ
diff --git a/static/icon/clock_icon.png b/static/icon/clock_icon.png
new file mode 100644
index 0000000..43c4066
Binary files /dev/null and b/static/icon/clock_icon.png differ