diff --git a/.DS_Store b/.DS_Store
index a33bf29..18bfff6 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/manifest.json b/manifest.json
index d0ca453..28d6cdf 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"name" : "ZH-HEALTH",
"appid" : "__UNI__C29473D",
"description" : "ZH-HEALTH,您手上的健康管理专家",
- "versionName" : "1.0.19",
+ "versionName" : "1.0.20",
"versionCode" : 100,
"transformPx" : false,
/* 5+App特有相关 */
@@ -112,33 +112,33 @@
},
"icons" : {
"android" : {
- "hdpi" : "unpackage/res/icons/72x72.png",
- "xhdpi" : "unpackage/res/icons/96x96.png",
- "xxhdpi" : "unpackage/res/icons/144x144.png",
- "xxxhdpi" : "unpackage/res/icons/192x192.png"
+ "hdpi" : "",
+ "xhdpi" : "",
+ "xxhdpi" : "",
+ "xxxhdpi" : ""
},
"ios" : {
- "appstore" : "unpackage/res/icons/1024x1024.png",
+ "appstore" : "",
"ipad" : {
- "app" : "unpackage/res/icons/76x76.png",
- "app@2x" : "unpackage/res/icons/152x152.png",
- "notification" : "unpackage/res/icons/20x20.png",
- "notification@2x" : "unpackage/res/icons/40x40.png",
- "proapp@2x" : "unpackage/res/icons/167x167.png",
- "settings" : "unpackage/res/icons/29x29.png",
- "settings@2x" : "unpackage/res/icons/58x58.png",
- "spotlight" : "unpackage/res/icons/40x40.png",
- "spotlight@2x" : "unpackage/res/icons/80x80.png"
+ "app" : "",
+ "app@2x" : "",
+ "notification" : "",
+ "notification@2x" : "",
+ "proapp@2x" : "",
+ "settings" : "",
+ "settings@2x" : "",
+ "spotlight" : "",
+ "spotlight@2x" : ""
},
"iphone" : {
- "app@2x" : "unpackage/res/icons/120x120.png",
- "app@3x" : "unpackage/res/icons/180x180.png",
- "notification@2x" : "unpackage/res/icons/40x40.png",
- "notification@3x" : "unpackage/res/icons/60x60.png",
- "settings@2x" : "unpackage/res/icons/58x58.png",
- "settings@3x" : "unpackage/res/icons/87x87.png",
- "spotlight@2x" : "unpackage/res/icons/80x80.png",
- "spotlight@3x" : "unpackage/res/icons/120x120.png"
+ "app@2x" : "",
+ "app@3x" : "",
+ "notification@2x" : "",
+ "notification@3x" : "",
+ "settings@2x" : "",
+ "settings@3x" : "",
+ "spotlight@2x" : "",
+ "spotlight@3x" : ""
}
}
},
diff --git a/pages/im/components/sent/sentEmoji.vue b/pages/im/components/sent/sentEmoji.vue
new file mode 100644
index 0000000..cb08343
--- /dev/null
+++ b/pages/im/components/sent/sentEmoji.vue
@@ -0,0 +1,79 @@
+
+
+
+
+ {{item.emoji}}
+
+
+
+
+ 发送
+
+
+
+
+
+
+
diff --git a/pages/im/components/sent/sentText.vue b/pages/im/components/sent/sentText.vue
index 40b5361..81eac2f 100644
--- a/pages/im/components/sent/sentText.vue
+++ b/pages/im/components/sent/sentText.vue
@@ -1,7 +1,17 @@
-
+
@@ -27,7 +37,7 @@
computed: {
disabled() {
return this.inputTxt.length === 0
- }
+ },
},
mounted() {
RongIMLib.getTextMessageDraft(this.conversationType, this.targetId, ({
@@ -45,9 +55,15 @@
focusState: false,
inputTxt: ''
}
- },
+ },
+ created(){
+ uni.$on('emojiValue', res => {
+ this.inputTxt = res.value
+ })
+ },
+
methods: {
- sent() {
+ sent() {
if (!this.disabled) {
im.sentText(this.conversationType, this.targetId, this.inputTxt, this.sender, () => {
RongIMLib.clearTextMessageDraft(this.conversationType, this.targetId)
@@ -56,13 +72,16 @@
})
}
},
- focus() {
+ focus() {
this.$emit('focus')
},
- blur() {
+ blur(e) {
uni.hideKeyboard()
- this.$emit('blur')
+ this.$emit('blur', e.detail)
}
+ },
+ destroyed() {
+ uni.$off('emojiValue')
}
}
@@ -75,7 +94,7 @@
.input {
background: #F3F6FB;
height: 70rpx;
- width: 460rpx;
+ width: 400rpx;
border-radius: 10rpx;
margin-right: 15rpx;
padding: 0 20rpx;
diff --git a/pages/im/components/sent/sentVoice.vue b/pages/im/components/sent/sentVoice.vue
index 4de2701..a9e3903 100644
--- a/pages/im/components/sent/sentVoice.vue
+++ b/pages/im/components/sent/sentVoice.vue
@@ -1,7 +1,7 @@
- 按住说话
+ 按住 说话
@@ -222,10 +222,11 @@
line-height: 70rpx;
justify-content: center;
align-items: center;
- width: 500rpx;
+ width: 400rpx;
border-radius: 10rpx;
margin-right: 15rpx;
-
+ padding: 0 20rpx;
+ font-weight: bold;
.button {
font-size: 30rpx;
color: #333;
diff --git a/pages/im/components/sentMessageBar.vue b/pages/im/components/sentMessageBar.vue
index 470bee3..eaa1ebb 100644
--- a/pages/im/components/sentMessageBar.vue
+++ b/pages/im/components/sentMessageBar.vue
@@ -7,18 +7,27 @@
-
-
+
+
+
- {showPopups = false, onSuccess()}" />
+ {showPopups = false, onSuccess()}" />
+
+