From fa0faa6be6e668c31fd6181b5e7c8445a0b781d1 Mon Sep 17 00:00:00 2001 From: cbb <1055026847@qq.com> Date: Mon, 2 Feb 2026 15:45:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .../red-envelope/index.vue | 2 - .../message-elements/read-status/index.vue | 357 +++++++++--------- pages.json | 7 +- pages/anchor/index.nvue | 22 +- pages/discover/discover.vue | 2 +- pages/my-index/my-index.vue | 4 +- pages/my-index/my-team.vue | 2 +- pages/my-index/wallet/invite.vue | 12 +- stores/user.js | 4 +- 10 files changed, 220 insertions(+), 194 deletions(-) diff --git a/.env b/.env index 2738c31..50796f8 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # API -# VITE_SYSTEM_URL = "http://ea252b67.natappfree.cc" +# VITE_SYSTEM_URL = "http://s7d69cfc.natappfree.cc" VITE_SYSTEM_URL = "https://dev.cqjcteach.cn/prod-api" # 第三方客户 channelId diff --git a/TUIKit/components/TUIChat/message-input-toolbar/red-envelope/index.vue b/TUIKit/components/TUIChat/message-input-toolbar/red-envelope/index.vue index d87fe2a..7820e3f 100644 --- a/TUIKit/components/TUIChat/message-input-toolbar/red-envelope/index.vue +++ b/TUIKit/components/TUIChat/message-input-toolbar/red-envelope/index.vue @@ -275,7 +275,6 @@ :placeholder-style="`font-family: PingFang SC, PingFang SC; font-weight: 500; color: ${ errorData.numShow ? '#f56c6c' : '#a9a9a9' }; font-size: 32rpx; font-style: normal; text-transform: none;`" - confirm-type="done" type="number" placeholder="填写红包个数" @input="numInput" @@ -303,7 +302,6 @@ :placeholder-style="`font-family: PingFang SC, PingFang SC; font-weight: 500; color: ${ errorData.integralShow ? '#f56c6c' : '#a9a9a9' }; font-size: 32rpx; font-style: normal; text-transform: none;`" - confirm-type="done" type="digit" placeholder="0.00" @input="monitorInput" diff --git a/TUIKit/components/TUIChat/message-list/message-elements/read-status/index.vue b/TUIKit/components/TUIChat/message-list/message-elements/read-status/index.vue index 9c7fba9..38b589e 100644 --- a/TUIKit/components/TUIChat/message-list/message-elements/read-status/index.vue +++ b/TUIKit/components/TUIChat/message-list/message-elements/read-status/index.vue @@ -3,8 +3,8 @@ v-show="isShowReadStatus" :class="{ 'message-label': true, - 'unread': isUseUnreadStyle, - 'finger-point': isHoverFingerPointer, + unread: isUseUnreadStyle, + 'finger-point': isHoverFingerPointer }" @click="openReadUserPanel" > @@ -13,188 +13,209 @@ diff --git a/pages.json b/pages.json index 3e76b35..09da6b4 100644 --- a/pages.json +++ b/pages.json @@ -204,7 +204,7 @@ { "path": "pages/my-index/my-team", "style": { - "navigationBarTitleText": "我的团队", + "navigationBarTitleText": "拼团伙伴", "navigationBarBackgroundColor": "#ffffff" } }, @@ -339,7 +339,7 @@ { "path": "pages/shop-together/index", "style": { - "navigationBarTitleText": "我的拼团" + "navigationBarTitleText": "拼团" } }, { @@ -429,7 +429,8 @@ "backgroundColor": "#000000", "navigationBarTextStyle": "white", "app-plus": { - "titleNView": false + "titleNView": false, + "popGesture": "none" } } }, diff --git a/pages/anchor/index.nvue b/pages/anchor/index.nvue index 8fd8de0..49cf2e7 100644 --- a/pages/anchor/index.nvue +++ b/pages/anchor/index.nvue @@ -60,11 +60,10 @@ {{ audienceCount }} - + @@ -811,6 +810,7 @@ imDataEndLive(roomDataId.value, audienceCount.value).then(() => { uni.redirectTo({ url: '/pages/liveend/index' }) }) + // ===================原本代码 // endLive({ // success: () => { // console.warn(` 退出直播 imDataEndLive`) @@ -830,8 +830,9 @@ const roomDataId = ref('') const startLive = async () => { + console.log(uni.$liveID, '点击开始直播') + try { - console.log('点击开始直播') const data = { coverUrl: coverURL.value, roomName: liveTitle.value, @@ -842,8 +843,8 @@ uni.$liveID = roomId liveID.value = roomId const res = await imDataStartLive(roomId) - console.log(roomData, '========11111') - console.log(res, '========22222') + console.log('========11111', roomData) + console.log('========22222', res) roomDataId.value = roomId const params = { cursor: '', // 首次拉起传空(不能是null),然后根据回调数据的cursor确认是否拉完 @@ -859,9 +860,6 @@ console.log(err, '====22') } // ======================原本代码 - // uni.$liveID = `live_${212211}` - - // console.log(uni?.$liveID, '=====点击开始直播') // createLive({ // liveInfo: { // liveID: uni?.$liveID, @@ -886,6 +884,8 @@ // setLocalVideoMuteImage() // }, // fail: (errCode, errMsg) => { + // console.log('============1111',errCode) + // console.log('============2222',errMsg) // uni.showToast({ // title: '创建直播间失败' // }) @@ -1215,9 +1215,9 @@ } .control-icon { - width: 36rpx; - height: 36rpx; - margin-left: 16rpx; + width: 40rpx; + height: 40rpx; + margin-left: 20rpx; } .live-content { diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 010a7b0..938263c 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -11,7 +11,7 @@ { name: '公司介绍', icon: 'company' }, { name: '朋友圈', icon: 'circle' }, { name: '线上商城', icon: 'mall' }, - { name: '我的拼团', icon: 'team' }, + { name: '我的拼团伙伴', icon: 'team' }, { name: '项目入口', icon: 'project' }, { name: '直播列表', icon: 'liveStream' } ] diff --git a/pages/my-index/my-index.vue b/pages/my-index/my-index.vue index 7672702..985fa4f 100644 --- a/pages/my-index/my-index.vue +++ b/pages/my-index/my-index.vue @@ -12,14 +12,12 @@ icon: 'wallet', url: '/pages/my-index/wallet/index' }, - // #ifdef H5 { name: '邀请好友', icon: 'user-code', url: '/pages/my-index/wallet/invite' }, - // #endif - { name: '我的拼团', icon: 'team', url: '/pages/my-index/my-team' }, + { name: '我的拼团伙伴', icon: 'team', url: '/pages/my-index/my-team' }, // { name: '群创建直播', icon: 'videocam', url: '' }, { name: '直播记录', diff --git a/pages/my-index/my-team.vue b/pages/my-index/my-team.vue index e2fb953..1dd4274 100644 --- a/pages/my-index/my-team.vue +++ b/pages/my-index/my-team.vue @@ -9,7 +9,7 @@ - 我的拼团(人) + 我的拼团伙伴(人) {{ userInfo.teamCount }} { uni.setClipboardData({ @@ -42,7 +42,7 @@ - + @@ -54,11 +54,19 @@ + + + + 将邀请码发送给好友即可完成邀请 + + + 将链接或邀请码发送给好友即可完成邀请 + diff --git a/stores/user.js b/stores/user.js index 8c016fb..dacb067 100644 --- a/stores/user.js +++ b/stores/user.js @@ -110,13 +110,13 @@ export const useUserStore = defineStore('user', () => { // #ifdef APP-PLUS await useLoginState().login({ - sdkappID: tencentUserSig.value.sdkappID, + sdkAppID: tencentUserSig.value.sdkappID, userID: tencentUserSig.value.userId, userSig: tencentUserSig.value.userSig }) uni.$TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit') - console.log(uni.$TUICallKit, "TUICallKit | ok"); // 本地日志 + console.log(uni.$TUICallKit, "TUICallKit | ok"); // 本地日志 // try { // await uni.$TUICallKit.login({ // SDKAppID: tencentUserSig.value.sdkappID,