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" /> - + - + @@ -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