This commit is contained in:
lr 2025-02-20 15:46:10 +08:00
parent 5257e255e5
commit 46f55d8b0e
4 changed files with 7 additions and 15 deletions

View File

@ -7,6 +7,7 @@ const config = {
// #endif // #endif
// #ifndef H5 // #ifndef H5
host: 'http://91f.xyz:8080', host: 'http://91f.xyz:8080',
host: 'https://b433d23.r24.cpolar.top/',
// #endif // #endif
// 支付方式配置 // 支付方式配置
payType: { payType: {

View File

@ -317,13 +317,6 @@ function handleDate(timestamp) {
@click="handleMenu($event, item)"> @click="handleMenu($event, item)">
<view class="item rows ptb20 plr30" @click.stop="handleChat(item)"> <view class="item rows ptb20 plr30" @click.stop="handleChat(item)">
<view class="image wh90 pr"> <view class="image wh90 pr">
<!-- <template v-if="item.groupId == null">
<image class="cir wh90" :src="item.callbackJson.from_url" mode="aspectFill" />
</template>
<template v-else>
<image class="cir wh90" :src="item.groupChatDTO.groupFaceUrl" mode="aspectFill" />
</template> -->
<image class="cir wh90" :src="item.avatar" mode="aspectFill" /> <image class="cir wh90" :src="item.avatar" mode="aspectFill" />
<view class="mark pa t0 r0 cfff f22 cir" v-if="item.unreadCount">{{ item.unreadCount }} <view class="mark pa t0 r0 cfff f22 cir" v-if="item.unreadCount">{{ item.unreadCount }}
</view> </view>
@ -331,12 +324,6 @@ function handleDate(timestamp) {
<view class="col f1 ml20"> <view class="col f1 ml20">
<view class="rows"> <view class="rows">
<view class="name f1 thd c333 f32">{{ item.name }}</view> <view class="name f1 thd c333 f32">{{ item.name }}</view>
<!-- <template v-if="item.groupId == null">
<view class="name f1 thd c333 f32">{{ item.callbackJson.from_name }}</view>
</template>
<template v-else>
<view class="name f1 thd c333 f32">{{ item.groupChatDTO.name }}</view>
</template> -->
<view class="datetime c999 f22"> <view class="datetime c999 f22">
{{ util.formatTime('MM-dd HH:mm', item.MsgTime) }}</view> {{ util.formatTime('MM-dd HH:mm', item.MsgTime) }}</view>
</view> </view>

View File

@ -212,7 +212,10 @@ function sendMsg(param) {
data: param.data, data: param.data,
}).then((rs) => { }).then((rs) => {
if (rs.code == 200) { if (rs.code == 200) {
getHistory() getHistory({
msgId: '',
limit: 1,
})
param.success ? param.success() : '' param.success ? param.success() : ''
return return
} }

View File

@ -3,7 +3,8 @@ import {
} from 'vite'; } from 'vite';
import uni from '@dcloudio/vite-plugin-uni'; import uni from '@dcloudio/vite-plugin-uni';
let target = 'http://91f.xyz:8080' // let target = 'http://91f.xyz:8080'
let target = 'https://b433d23.r24.cpolar.top/'
export default defineConfig({ export default defineConfig({
plugins: [uni()], plugins: [uni()],