lyuis 7 ヶ月 前
コミット
653b323ca6
3 ファイル変更25 行追加2 行削除
  1. 20 0
      common/queue.js
  2. 2 2
      manifest.json
  3. 3 0
      pages/my/jobApplicant/startPage.vue

+ 20 - 0
common/queue.js

@@ -645,5 +645,25 @@ module.exports = {
 				// 这里是接口调用失败的回调,不是连接失败的回调,请注意
 			}
 		})
+	},
+	sendImMessage(userId,content,messageType,chatConversationId){
+		let data = {
+			userId,
+			content,
+			messageType,
+			chatConversationId
+		}
+		data = JSON.stringify(data);
+		return new Promise(async (resolve,reject) => {
+			uni.sendSocketMessage({
+				data: data,
+				success(res) {
+					resolve(res)
+				},
+				fail(err) {
+					reject(err);
+				}
+			})
+		})
 	}
 };

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "亿职赞",
     "appid" : "__UNI__0B0096D",
     "description" : "",
-    "versionName" : "1.0.4",
-    "versionCode" : 104,
+    "versionName" : "1.0.5",
+    "versionCode" : 105,
     "transformPx" : false,
     "sassImplementationName" : "node-sass",
     /* 5+App特有相关 */

+ 3 - 0
pages/my/jobApplicant/startPage.vue

@@ -125,6 +125,9 @@ export default {
 	.skip{
 		color: #fff;
 		text-align: right;
+		position: absolute;
+		right: 4%;
+		top: 4%;
 	}
 	.circle{
 		width: 100vw;