Files
im-uniapp/pages/conversation/groupManage/index.vue

58 lines
1.2 KiB
Vue
Raw Normal View History

2025-07-04 16:18:58 +08:00
<template>
<view class="group_settings_container">
<custom-nav-bar title="群管理" />
<view class="setting_row">
<setting-item
@click="toTransfer"
title="群主管理权转让"
:border="false"
/>
</view>
</view>
</template>
<script>
import { mapGetters } from "vuex";
import { GroupMemberListTypes } from "@/constant";
import CustomNavBar from "@/components/CustomNavBar/index.vue";
import SettingItem from "@/components/SettingItem/index.vue";
export default {
components: {
CustomNavBar,
SettingItem,
},
data() {
return {};
},
computed: {
...mapGetters([
"storeCurrentConversation",
"storeCurrentMemberInGroup",
"storeCurrentGroup",
]),
},
methods: {
toTransfer() {
uni.navigateTo({
url: `/pages/conversation/groupMemberList/index?type=${GroupMemberListTypes.Transfer}&groupID=${this.storeCurrentGroup.groupID}`,
});
},
},
};
</script>
<style lang="scss" scoped>
.group_settings_container {
@include colBox(false);
height: 100vh;
background-color: #f6f6f6;
.setting_row {
background-color: #fff;
margin: 24rpx 24rpx 0;
border-radius: 6px;
overflow: hidden;
}
}
</style>