{
+ const res = await getAnchorDetail()
+ if (res?.data) {
+ stateData.value = res.data.status
+ } else {
+ stateData.value = 9
+ }
+
+ container?.value?.toggleDialogDisplay(false)
+ if ([0, 2, 9].includes(stateData.value)) {
+ navigateTo(
+ '/TUIKit/components/TUIChat/message-input-toolbar/live-stream/apply',
+ { type: stateData.value }
+ )
+ return
+ }
+ if (stateData.value === 1) {
+ // 跳转到开播页面
+ uni.navigateTo({
+ url: `/pages/anchor/index?groupId=${encodeURIComponent(
+ props.groupId
+ )}&creatorType=1`
+ })
+ return
+ }
+ if (stateData.value === 3) {
+ showDialog('提示', '您已被封禁,请联系管理员解封', false)
+ return
+ }
+ return
if (
['Owner', 'Admin'].includes(
props.userData.groupProfile.selfInfo.role
diff --git a/TUIKit/plugins/extension-server/callkit.ts b/TUIKit/plugins/extension-server/callkit.ts
index 7f291d6..991ebeb 100644
--- a/TUIKit/plugins/extension-server/callkit.ts
+++ b/TUIKit/plugins/extension-server/callkit.ts
@@ -132,6 +132,7 @@ export default class CallkitPluginServer {
}
});
} catch (error: any) {
+ console.log(error, '====23232===')
TUIGlobal.showToast({
title: '拨打失败!',
icon: 'error',
diff --git a/manifest.json b/manifest.json
index 4fb33f4..8a97530 100644
--- a/manifest.json
+++ b/manifest.json
@@ -102,6 +102,22 @@
}
}
}
+ },
+ "nativePlugins" : {
+ "TencentCloud-TUICallKit" : {
+ "__plugin_info__" : {
+ "name" : "【官方】腾讯云音视频通话插件TencentCloud-TUICallKit",
+ "description" : "TUICallKit 是腾讯云官方推出的音视频通话插件,支持 1v1 通话和群组通话,并提供“类微信\"的 UI 交互,开发者仅需三个 API 就可实现。",
+ "platforms" : "Android,iOS",
+ "url" : "https://ext.dcloud.net.cn/plugin?id=9035",
+ "android_package_name" : "",
+ "ios_bundle_id" : "",
+ "isCloud" : true,
+ "bought" : 1,
+ "pid" : "9035",
+ "parameters" : {}
+ }
+ }
}
},
"h5" : {
diff --git a/stores/user.js b/stores/user.js
index 49dd7b6..11be662 100644
--- a/stores/user.js
+++ b/stores/user.js
@@ -103,6 +103,13 @@ export const useUserStore = defineStore('user', () => {
userID: tencentUserSig.value.userId,
userSig: tencentUserSig.value.userSig
})
+
+ uni.$TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit')
+ uni.$TUICallKit.login({
+ sdkAppID: tencentUserSig.value.sdkappID,
+ userID: tencentUserSig.value.userId,
+ userSig: tencentUserSig.value.userSig
+ })
// #endif
}
diff --git a/uni_modules/tuikit-atomic-x/changelog.md b/uni_modules/tuikit-atomic-x/changelog.md
index b3e748d..01f7e4b 100644
--- a/uni_modules/tuikit-atomic-x/changelog.md
+++ b/uni_modules/tuikit-atomic-x/changelog.md
@@ -1,7 +1,5 @@
## 1.1.3(2025-12-26)
-- 修复安卓包名冲突问题
-## 1.1.2(2025-12-16)
-- 修复缺少依赖引起的编译问题
+-修复安卓包名冲突问题
## 1.1.1(2025-12-16)
- 修复与第三方插件同时使用时的编译报错
## 1.1.0(2025-12-05)
diff --git a/uni_modules/tuikit-atomic-x/components/BarrageList.nvue b/uni_modules/tuikit-atomic-x/components/BarrageList.nvue
index 09ba33f..c072857 100644
--- a/uni_modules/tuikit-atomic-x/components/BarrageList.nvue
+++ b/uni_modules/tuikit-atomic-x/components/BarrageList.nvue
@@ -21,13 +21,9 @@
主播
- 游客:
- {{ message?.sender?.userName || message?.sender?.userID }}:
- {{ JSON.parse(message?.data).title }}
- 1
- {{ message?.textContent || '' }}
+ {{ message?.textContent || '' }}
@@ -57,7 +53,6 @@