更新审核列表样式

This commit is contained in:
2022-02-18 13:19:02 +08:00
parent 080e70da73
commit eefea16cdc
4 changed files with 34 additions and 15 deletions

View File

@@ -264,6 +264,20 @@ const transferGroupOwner = (groupId, userId) => {
}) })
} }
// //群成员待审核表 -- 废弃
// const getGroupMakeSure = (groupId) => {
// return request({
// url:`im/groups/${groupId}/makesure`
// })
// }
// // 群成员审核通过
// const getGroupMakeSureAllow = (groupId, userId) => {
// return request({
// method: 'POST',
// url: 'im/groups/' + groupId + '/owner/' + userId
// })
// }
export { export {
getImToken, getImToken,
deleteFriend, deleteFriend,
@@ -294,5 +308,6 @@ export {
removeGroupUser, removeGroupUser,
setGroupAdmin, setGroupAdmin,
removeGroupAdmin, removeGroupAdmin,
transferGroupOwner // transferGroupOwner, // -废弃待审核列表
// getGroupMakeSure // -废弃待审核列表
} }

View File

@@ -33,9 +33,7 @@
} }
}, },
onLoad(e) { onLoad(e) {
console.log(e, 'e。。。。。。')
this.targetId = e.targetId this.targetId = e.targetId
// this.targetId = "TG2"
joinGroupPre(this.targetId).then(res => { joinGroupPre(this.targetId).then(res => {
console.log(res, 'res.返回群的基本信息') console.log(res, 'res.返回群的基本信息')
this.group = res this.group = res

View File

@@ -155,7 +155,7 @@
// 群聊邀请待确认 // 群聊邀请待确认
showGroupsSure(){ showGroupsSure(){
uni.navigateTo({ uni.navigateTo({
url:"/pages/im/group/reviewed" url:"/pages/im/group/reviewed?id="+this.targetId
}) })
}, },
onGroupName() { onGroupName() {

View File

@@ -2,9 +2,9 @@
<template> <template>
<view class="reviewed"> <view class="reviewed">
<view class="reviewed-item"> <view class="reviewed-item">
<u-avatar class="avatar" src="require('@/static/user/cover.png')" shape="square" size="44" /> <u-avatar class="avatar" src="require('@/static/user/cover.png')" shape="square" size="36" />
<view style="width: 500rpx;"> <view style="flex:1;">
<view class="nickname"><span>艾米的猫儿</span>想邀请<span>艾米的猫儿洛基艾米</span>加入群聊</view> <view class="nickname"><span>{{`艾米的猫儿 `}}</span>想邀请<span>{{` 艾米的猫儿洛基艾米`}}</span>加入群聊</view>
<view> 申请原因{{`呵呵哒。。`}}</view> <view> 申请原因{{`呵呵哒。。`}}</view>
</view> </view>
<view class="sure" @click="sure(2)"> 去确认 </view> <view class="sure" @click="sure(2)"> 去确认 </view>
@@ -13,17 +13,18 @@
</template> </template>
<script> <script>
import {
getGroupMakeSure,
getGroupMakeSureAllow
} from "@/apis/interfaces/im.js"
export default { export default {
data() { data() {
return { return {
lists: [], lists: [],
}; };
}, },
onLoad() {
},
methods: { methods: {
sure(id) { sure(id) {
console.log(id, '....') console.log(id, '....')
uni.navigateTo({ uni.navigateTo({
@@ -53,18 +54,23 @@
border-radius: 6rpx; border-radius: 6rpx;
margin-right: 20rpx; margin-right: 20rpx;
} }
.nickname { .nickname {
font-size: $title-size-m; font-size: $title-size-m;
span { span {
color: rgba($color: $main-color, $alpha: 0.5); color: $text-color;
} }
} }
.sure { .sure {
color: $main-color; background-color: $main-color;
color: #Fff;
text-align: center; text-align: center;
font-size: $title-size-m; font-size: $title-size-m;
padding: 6rpx 20rpx; padding: 6rpx 20rpx;
border-radius: 10rpx; border-radius: 10rpx;
margin-left: 10rpx;
} }
} }