This commit is contained in:
zengBin 2024-09-29 11:44:04 +08:00
parent fa9846c2cf
commit 1c5e1b5d8a
4 changed files with 9 additions and 7 deletions

View File

@ -233,7 +233,7 @@
<view class="~ui-pl-16" @tap="changeReply(item)"> <view class="~ui-pl-16" @tap="changeReply(item)">
<view class="~f-fcl"> <view class="~f-fcl">
<view class="ui-name">{{ item.nickname || '未设置名称' }}</view> <view class="ui-name">{{ item.nickname || '未设置名称' }}</view>
<image v-if="item.user.sex == 1" class="ui-sex-icon ~ui-ml-10" src="https://images.ufutx.com/202103/23/3e7ac93e7bff26a9b62fe3232c776a96.png" lazy-load="false"></image> <image v-if="item.sex == 1" class="ui-sex-icon ~ui-ml-10" src="https://images.ufutx.com/202103/23/3e7ac93e7bff26a9b62fe3232c776a96.png" lazy-load="false"></image>
<image v-else class="ui-sex-icon ~ui-ml-10" src="https://images.ufutx.com/202103/23/4fd7a85e7073152fde91190b8957910e.png" lazy-load="false"></image> <image v-else class="ui-sex-icon ~ui-ml-10" src="https://images.ufutx.com/202103/23/4fd7a85e7073152fde91190b8957910e.png" lazy-load="false"></image>
<!-- <image class="referencesIcon" src="https://image.fulllinkai.com/202207/19/7e78a1dd367f1250d4cba4e85bfd60f1.png" mode="widthFix" v-if="item.user.type != 'single'"></image>--> <!-- <image class="referencesIcon" src="https://image.fulllinkai.com/202207/19/7e78a1dd367f1250d4cba4e85bfd60f1.png" mode="widthFix" v-if="item.user.type != 'single'"></image>-->
</view> </view>

View File

@ -6,8 +6,8 @@ var host = ''
var hostGo = '' var hostGo = ''
// if (_NODE_) { // if (_NODE_) {
// host = 'https://love.ufutx.com/api' // 线上环境 host = 'https://love.ufutx.com/go/api' // 线上环境
hostGo = 'https://love.ufutx.com/go/api' // 线上环境 hostGo = 'https://love.ufutx.com/go/api' // 线上环境
// host = 'http://love.ufutx.net/go/api' // 本地环境 // host = 'http://love.ufutx.net/go/api' // 本地环境
// hostGo = 'http://health.ufutx.net/go/api' // 本地环境 // hostGo = 'http://health.ufutx.net/go/api' // 本地环境
// } else { // } else {

View File

@ -964,11 +964,11 @@ wepy.page({
callbackSend(type) { callbackSend(type) {
let vm = this let vm = this
let data = { let data = {
other_user_id: vm.otherUserId * 1, them_id: vm.otherUserId * 1,
field_7: vm.msg, content: vm.msg,
field_6: type type: type
} }
vm.$post({url: `${service.host}/chat/message/send`, data}).then(() => { vm.$post({url: `${service.host}/chat/team/message/send`, data}).then(() => {
wx.hideLoading() wx.hideLoading()
vm.msg = '' vm.msg = ''
vm.emojiShow = false vm.emojiShow = false

View File

@ -56,6 +56,8 @@ const wx_login = () => {
name: data.user.nickname, name: data.user.nickname,
avatar: data.user.photo || 'https://image.fulllinkai.com/202203/09/cc1c73eb1a4941fef25a15cd1ff2f9df.png', avatar: data.user.photo || 'https://image.fulllinkai.com/202203/09/cc1c73eb1a4941fef25a15cd1ff2f9df.png',
showId: data.user.id, showId: data.user.id,
is_real_approved: data.user.is_real_approved,
is_base_profile: data.user.is_base_profile,
rank_id: data.user.rank_id, rank_id: data.user.rank_id,
sex: data.user.sex, sex: data.user.sex,
id: data.user.id, id: data.user.id,