新增聊天系统

This commit is contained in:
gyq
2025-06-16 17:51:09 +08:00
parent f103df619b
commit b7e12cd0d1
12 changed files with 1656 additions and 505 deletions

View File

@@ -15,9 +15,7 @@
<iconfont name="icon-login-down-arrow" size="16rpx"></iconfont>
</view>
</view> -->
<view style="height: 100upx;">
</view>
<view style="height: 100upx"> </view>
</view>
<!-- 绑定手机 -->
@@ -415,6 +413,7 @@
</template>
<script>
const app = getApp();
import socket from '@/utils/socket';
import base64 from '@/common/js/lib/base64.js';
import componentCommon from '@/components/common/common';
import componentPopup from '@/components/popup/popup';
@@ -1369,6 +1368,7 @@
app.globalData.showToast(msg, 'success');
var event_callback = this.params.event_callback || null;
setTimeout(function () {
socket.connectSocket();
var pages = getCurrentPages();
if (pages.length > 1) {
// 触发回调函数