diff --git a/App.vue b/App.vue index 7722c59..9d7af53 100644 --- a/App.vue +++ b/App.vue @@ -1,72 +1,72 @@ + /* common css for page */ + // uni-page-body, + // html, + // body, + // page { + // width: 100% !important; + // height: 100% !important; + // overflow: hidden; + // } + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 2c77095..7acf74e 100644 --- a/manifest.json +++ b/manifest.json @@ -112,27 +112,13 @@ } }, "nativePlugins" : { - "RongCloud-Beauty" : { - "__plugin_info__" : { - "name" : "RCUniBeauty", - "description" : "融云基础版美颜插件,服务于 RCUniRtc 或 RCUniCall", - "platforms" : "Android,iOS", - "url" : "https://ext.dcloud.net.cn/plugin?id=7982", - "android_package_name" : "", - "ios_bundle_id" : "", - "isCloud" : true, - "bought" : 1, - "pid" : "7982", - "parameters" : {} - } - }, "RongCloud-Call" : { "__plugin_info__" : { "name" : "RCUniCall", "description" : "融云实时音视频 SDK uni 原生插件", "platforms" : "Android,iOS", "url" : "https://ext.dcloud.net.cn/plugin?id=6372", - "android_package_name" : "uni.app.UNI9EFDC69WWCC", + "android_package_name" : "uni.app.UNI9EFDC69", "ios_bundle_id" : "", "isCloud" : true, "bought" : 1, @@ -146,7 +132,7 @@ "description" : "融云即时通讯 SDK uni 原生插件V2", "platforms" : "Android,iOS", "url" : "https://ext.dcloud.net.cn/plugin?id=9227", - "android_package_name" : "uni.app.UNI9EFDC69WWCC", + "android_package_name" : "uni.app.UNI9EFDC69", "ios_bundle_id" : "", "isCloud" : true, "bought" : 1, diff --git a/pages.json b/pages.json index c002ee4..926a115 100644 --- a/pages.json +++ b/pages.json @@ -441,6 +441,16 @@ } } }, + { + "path" : "pages/room/room", + "style" : + { + "navigationBarTitleText": "Room", + "enablePullDownRefresh": false, + "navigationStyle":"custom", + "gestureBack":"NO" + } + }, // #endif // #ifdef H5 { @@ -459,14 +469,11 @@ }, // #endif { - "path" : "pages/room/room", - "style" : - { - "navigationBarTitleText": "Room", - "enablePullDownRefresh": false, - "navigationStyle":"custom", - "gestureBack":"NO" - } + "path": "pages/room/incom", + "style": { + "navigationBarTitleText": "来电", + "navigationStyle": "custom" + } }, { "path": "pages/adduser/index", diff --git a/pages/room/incom.vue b/pages/room/incom.vue new file mode 100644 index 0000000..de92acb --- /dev/null +++ b/pages/room/incom.vue @@ -0,0 +1,353 @@ + + + + + \ No newline at end of file diff --git a/pages/room/room - 副本.nvue b/pages/room/room - 副本.nvue deleted file mode 100644 index b9e1af9..0000000 --- a/pages/room/room - 副本.nvue +++ /dev/null @@ -1,497 +0,0 @@ - - - - \ No newline at end of file diff --git a/pages/room/room.nvue b/pages/room/room.nvue index 1244e66..7b79b4f 100644 --- a/pages/room/room.nvue +++ b/pages/room/room.nvue @@ -1,459 +1,361 @@ - - - \ No newline at end of file diff --git a/stores/user.js b/stores/user.js index 86908d8..b07eb13 100644 --- a/stores/user.js +++ b/stores/user.js @@ -222,11 +222,13 @@ export const useUserStore = defineStore('user', () => { // //呼入 uni.setStorageSync('room-parameters', { callType: 'in', - mediaType: session.mediaType === 0 ? 'audio' : 'video' + mediaType: session.mediaType === 0 ? 'audio' : 'video', + callId: res.data.callId, + mine: res.data.mine.userId }); //跳转.nvue uni.navigateTo({ - url:'/pages/room/room' + url:'/pages/room/incom' }); }) @@ -258,6 +260,7 @@ export const useUserStore = defineStore('user', () => { res.data.reason ) uni.$emit('OnCallDisconnected'); + uni.navigateBack() }) }