优化页面
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const groupIntroConfig = [
|
||||
{
|
||||
icon: "https://web.sdk.qcloud.com/im/assets/images/Public.svg",
|
||||
label: "陌生人社交群(Public)",
|
||||
type: common_vendor.qt.TYPES.GRP_PUBLIC,
|
||||
detail: "类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见",
|
||||
src: "产品文档"
|
||||
},
|
||||
{
|
||||
icon: "https://web.sdk.qcloud.com/im/assets/images/Meeting.svg",
|
||||
label: "临时会议群(Meeting)",
|
||||
type: common_vendor.qt.TYPES.GRP_MEETING,
|
||||
detail: "创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见",
|
||||
src: "产品文档"
|
||||
},
|
||||
{
|
||||
icon: "https://web.sdk.qcloud.com/im/assets/images/Work.svg",
|
||||
label: "好友工作群(Work)",
|
||||
type: common_vendor.qt.TYPES.GRP_WORK,
|
||||
detail: "类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主审批。详见",
|
||||
src: "产品文档"
|
||||
},
|
||||
{
|
||||
icon: "https://web.sdk.qcloud.com/im/assets/images/AVChatroom.svg",
|
||||
label: "直播群(AVChatroom)",
|
||||
type: common_vendor.qt.TYPES.GRP_AVCHATROOM,
|
||||
detail: "创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见",
|
||||
src: "产品文档"
|
||||
},
|
||||
{
|
||||
icon: "https://web.sdk.qcloud.com/im/assets/images/Community.png",
|
||||
label: "社群(Community)",
|
||||
type: common_vendor.qt.TYPES.GRP_COMMUNITY,
|
||||
detail: "创建后可以随意进出,最多支持100000人,支持历史消息存储,用户搜索群 ID 发起加群申请后,无需管理员审批即可进群。详见",
|
||||
src: "产品文档"
|
||||
}
|
||||
];
|
||||
const findGroupIntroConfig = (type) => {
|
||||
return groupIntroConfig.filter((item) => {
|
||||
return item.type === type;
|
||||
})[0];
|
||||
};
|
||||
exports.findGroupIntroConfig = findGroupIntroConfig;
|
||||
exports.groupIntroConfig = groupIntroConfig;
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/config.js.map
|
||||
70
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/index.js
vendored
Normal file
70
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/index.js
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
const TUIKit_utils_documentLink = require("../../../../utils/documentLink.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
const TUIKit_components_TUIGroup_createGroup_groupIntroduction_config = require("./config.js");
|
||||
const TUIKit_utils_env = require("../../../../utils/env.js");
|
||||
if (!Math) {
|
||||
Icon();
|
||||
}
|
||||
const Icon = () => "../../../common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: {
|
||||
groupType: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
emits: ["selectType"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const props = __props;
|
||||
const type = TUIKit_components_TUIGroup_createGroup_groupIntroduction_config.groupIntroConfig;
|
||||
const selectType = common_vendor.ref();
|
||||
const emit = __emit;
|
||||
common_vendor.watchEffect(() => {
|
||||
selectType.value = props.groupType;
|
||||
});
|
||||
const selected = (item) => {
|
||||
selectType.value = item.type;
|
||||
emit("selectType", item.type);
|
||||
};
|
||||
const openUrl = (link) => {
|
||||
var _a;
|
||||
if (!TUIKit_utils_env.isUniFrameWork) {
|
||||
(_a = common_vendor.i) == null ? void 0 : _a.open(link);
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(type), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "ec1da4f5-0-" + i0,
|
||||
b: common_vendor.p({
|
||||
file: item.icon
|
||||
}),
|
||||
c: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`TUIGroup.${item.label}`)),
|
||||
d: common_vendor.unref(selectType) === item.type
|
||||
}, common_vendor.unref(selectType) === item.type ? {
|
||||
e: "ec1da4f5-1-" + i0,
|
||||
f: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.selectedIcon)
|
||||
})
|
||||
} : {}, {
|
||||
g: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`TUIGroup.${item.detail}`)),
|
||||
h: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`TUIGroup.${item.src}`)),
|
||||
i: common_vendor.o$1(($event) => openUrl(common_vendor.unref(TUIKit_utils_documentLink.Link).product.url), index),
|
||||
j: index,
|
||||
k: common_vendor.n(common_vendor.unref(selectType) === item.type && "selected"),
|
||||
l: common_vendor.o$1(($event) => selected(item), index)
|
||||
});
|
||||
}),
|
||||
b: common_vendor.unref(TUIKit_utils_documentLink.Link).product.url
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ec1da4f5"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/index.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../../common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="group-introduction-list select data-v-ec1da4f5"><view wx:for="{{a}}" wx:for-item="item" wx:key="j" class="{{['select-item', 'data-v-ec1da4f5', item.k]}}" bindtap="{{item.l}}"><view class="select-item-type data-v-ec1da4f5"><view class="select-item-header data-v-ec1da4f5"><view class="left data-v-ec1da4f5"><icon wx:if="{{item.b}}" class="icon data-v-ec1da4f5" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/><label class="select-item-label data-v-ec1da4f5">{{item.c}}</label></view><icon wx:if="{{item.d}}" class="data-v-ec1da4f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"/></view><label class="select-item-detail data-v-ec1da4f5">{{item.g}}</label><navigator class="link data-v-ec1da4f5" href="{{b}}" target="_blank" bindtap="{{item.i}}">{{item.h}}</navigator></view></view></view>
|
||||
324
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/index.wxss
vendored
Normal file
324
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/group-introduction/index.wxss
vendored
Normal file
@@ -0,0 +1,324 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-ec1da4f5, div.data-v-ec1da4f5, ul.data-v-ec1da4f5, ol.data-v-ec1da4f5, dt.data-v-ec1da4f5, dd.data-v-ec1da4f5, li.data-v-ec1da4f5, dl.data-v-ec1da4f5, h1.data-v-ec1da4f5, h2.data-v-ec1da4f5, h3.data-v-ec1da4f5, h4.data-v-ec1da4f5, p.data-v-ec1da4f5 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-ec1da4f5, ul.data-v-ec1da4f5, li.data-v-ec1da4f5 {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-ec1da4f5 {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-ec1da4f5 {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-ec1da4f5 {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-ec1da4f5 {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-ec1da4f5:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-ec1da4f5, textarea.data-v-ec1da4f5 {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-ec1da4f5:focus, input.data-v-ec1da4f5:active, textarea.data-v-ec1da4f5:focus, textarea.data-v-ec1da4f5:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-ec1da4f5 {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.group.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-list-item.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-list-item label.data-v-ec1da4f5 {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
.group-list input.data-v-ec1da4f5 {
|
||||
border: 1px solid rgba(131, 137, 153, 0.4);
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
.group-list-edit.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-profile-footer.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-h5.data-v-ec1da4f5 {
|
||||
background: #F7F8FA;
|
||||
}
|
||||
.group-h5-list-item-introduction.data-v-ec1da4f5 {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #888;
|
||||
}
|
||||
.group-h5-list-item-introduction a.data-v-ec1da4f5 {
|
||||
color: #006EFF;
|
||||
}
|
||||
.select.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
}
|
||||
.select a.data-v-ec1da4f5 {
|
||||
color: #006EFF;
|
||||
}
|
||||
.select-item.data-v-ec1da4f5 {
|
||||
border: 1px solid rgba(131, 137, 153, 0.4);
|
||||
}
|
||||
.select-item-header .left.data-v-ec1da4f5 {
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.select-item-detail.data-v-ec1da4f5 {
|
||||
color: #4F4F4F;
|
||||
}
|
||||
.select .selected.data-v-ec1da4f5 {
|
||||
border: 1px solid #006EFF;
|
||||
}
|
||||
header.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
}
|
||||
header h1.data-v-ec1da4f5 {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.btn-default.data-v-ec1da4f5 {
|
||||
background: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
color: #828282;
|
||||
}
|
||||
.btn-submit.data-v-ec1da4f5 {
|
||||
background: #3370FF;
|
||||
border: 0 solid #2F80ED;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #FFF;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.btn-submit.data-v-ec1da4f5:disabled {
|
||||
background: #e8e8e9;
|
||||
border: 1px solid #DDD;
|
||||
color: #FFF;
|
||||
}
|
||||
.group.data-v-ec1da4f5 {
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
width: 750px;
|
||||
max-height: calc(100vh - 100px);
|
||||
overflow-y: auto;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.group .group-box .group-box-header.data-v-ec1da4f5 {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.group .group-box .group-box-header .group-box-header-title.data-v-ec1da4f5 {
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.group-list-item.data-v-ec1da4f5 {
|
||||
display: flex;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.group-list-item-label.data-v-ec1da4f5 {
|
||||
width: 84px;
|
||||
}
|
||||
.group-list input.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
box-sizing: border-box;
|
||||
padding: 6px 10px;
|
||||
border-radius: 2px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.select.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
}
|
||||
.select-item.data-v-ec1da4f5 {
|
||||
padding: 12px 20px !important;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
.select-item-header.data-v-ec1da4f5 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.select-item-header .left.data-v-ec1da4f5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
.select-item-header .left .icon.data-v-ec1da4f5 {
|
||||
margin-right: 12px;
|
||||
}
|
||||
.select-item-header .icon-selected.data-v-ec1da4f5 {
|
||||
position: relative;
|
||||
left: 12px;
|
||||
top: -4px;
|
||||
}
|
||||
.select-item-type.data-v-ec1da4f5 {
|
||||
text-align: left;
|
||||
}
|
||||
.select-item-detail.data-v-ec1da4f5 {
|
||||
padding-top: 6px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.select-item .link.data-v-ec1da4f5 {
|
||||
display: inline-block;
|
||||
}
|
||||
.group-profile-footer.data-v-ec1da4f5 {
|
||||
padding-top: 10px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.btn-default.data-v-ec1da4f5 {
|
||||
width: 82px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.btn-submit.data-v-ec1da4f5 {
|
||||
width: 82px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
margin-left: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.group-h5.data-v-ec1da4f5 {
|
||||
max-height: none;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.group-h5 .group-box.data-v-ec1da4f5 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5 .group-box .group-box-header.data-v-ec1da4f5 {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding: 16px 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-box-header .icon-close.data-v-ec1da4f5 {
|
||||
position: absolute;
|
||||
left: 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-list.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
justify-content: flex-end;
|
||||
margin-top: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5 .group-box .group-list .group-introduction-list.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: auto;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-list-item.data-v-ec1da4f5 {
|
||||
padding: 14px 18px;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
.group-h5 .group-box .group-list-item-label.data-v-ec1da4f5 {
|
||||
font-size: 14px;
|
||||
}
|
||||
.group-h5 .group-box .group-list-edit.data-v-ec1da4f5 {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.group-h5 .group-box .group-list-edit .group-name-input.data-v-ec1da4f5 {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
}
|
||||
.group-h5 .group-box .group-profile-footer.data-v-ec1da4f5 {
|
||||
box-shadow: inset 0 1px 0 0 #eee;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
.group-h5-list-item-content.data-v-ec1da4f5 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5-list-item-content .content.data-v-ec1da4f5 {
|
||||
width: 0;
|
||||
flex: 1;
|
||||
padding: 0 12px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: end;
|
||||
}
|
||||
.group-h5-list-item-introduction.data-v-ec1da4f5 {
|
||||
padding: 12px 18px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
.group-h5 .select-item-type.data-v-ec1da4f5 {
|
||||
text-align: left;
|
||||
}
|
||||
241
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.js
vendored
Normal file
241
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.js
vendored
Normal file
@@ -0,0 +1,241 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const TUIKit_utils_documentLink = require("../../../utils/documentLink.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
const common_assets = require("../../../../common/assets.js");
|
||||
const TUIKit_components_TUIGroup_createGroup_groupIntroduction_config = require("./group-introduction/config.js");
|
||||
const TUIKit_components_common_Toast_index = require("../../common/Toast/index.js");
|
||||
const TUIKit_components_TUIGroup_server = require("../server.js");
|
||||
const TUIKit_components_common_Toast_type = require("../../common/Toast/type.js");
|
||||
if (!Math) {
|
||||
(Icon + Avatar + GroupIntroduction + Dialog)();
|
||||
}
|
||||
const Icon = () => "../../common/Icon.js";
|
||||
const GroupIntroduction = () => "./group-introduction/index.js";
|
||||
const Dialog = () => "../../common/Dialog/index.js";
|
||||
const Avatar = () => "../../common/Avatar/index.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const TUIGroupServer = TUIKit_components_TUIGroup_server.TUIGroupServer.getInstance();
|
||||
const TUIConstants = TUIGroupServer.constants;
|
||||
const groupInfo = common_vendor.reactive({
|
||||
profile: {
|
||||
groupID: "",
|
||||
name: "",
|
||||
type: TUIKit_components_TUIGroup_createGroup_groupIntroduction_config.groupIntroConfig[0].type,
|
||||
avatar: TUIKit_components_TUIGroup_createGroup_groupIntroduction_config.groupIntroConfig[0].icon,
|
||||
introduction: "",
|
||||
notification: "",
|
||||
// joinOption: '',
|
||||
memberList: [],
|
||||
isSupportTopic: false
|
||||
},
|
||||
groupConfig: {
|
||||
title: "",
|
||||
value: "",
|
||||
key: "",
|
||||
type: "",
|
||||
placeholder: ""
|
||||
},
|
||||
isEdit: false
|
||||
});
|
||||
common_vendor.watchEffect(() => {
|
||||
const params = TUIGroupServer.getOnCallParams(TUIConstants.TUIGroup.SERVICE.METHOD.CREATE_GROUP);
|
||||
groupInfo.profile.memberList = params.memberList;
|
||||
groupInfo.groupConfig.title = params.title;
|
||||
});
|
||||
const groupTypeDetail = common_vendor.computed(() => {
|
||||
return TUIKit_components_TUIGroup_createGroup_groupIntroduction_config.findGroupIntroConfig(groupInfo.profile.type);
|
||||
});
|
||||
const headerTitle = common_vendor.computed(() => {
|
||||
let name = "添加群聊";
|
||||
if (groupInfo.isEdit) {
|
||||
name = groupInfo.groupConfig.title;
|
||||
}
|
||||
return common_vendor.Wt.t(`TUIGroup.${name}`);
|
||||
});
|
||||
const createInfo = common_vendor.computed(() => {
|
||||
const groupNameInput = {
|
||||
name: common_vendor.Wt.t("TUIGroup.群名称"),
|
||||
key: "name",
|
||||
placeholder: common_vendor.Wt.t("TUIGroup.请输入群名称")
|
||||
};
|
||||
const groupIDInput = {
|
||||
name: `${common_vendor.Wt.t("TUIGroup.群ID")}(${common_vendor.Wt.t("TUIGroup.选填")})`,
|
||||
key: "groupID",
|
||||
placeholder: common_vendor.Wt.t("TUIGroup.请输入群ID")
|
||||
};
|
||||
return groupInfo.profile.type === common_vendor.qt.TYPES.GRP_COMMUNITY ? [groupNameInput] : [groupNameInput, groupIDInput];
|
||||
});
|
||||
const submitDisabledStatus = common_vendor.computed(() => {
|
||||
return groupInfo.profile.name === "" && !groupInfo.isEdit;
|
||||
});
|
||||
const selected = (type) => {
|
||||
if (groupInfo.profile.type !== type) {
|
||||
groupInfo.profile.type = type;
|
||||
groupInfo.profile.avatar = TUIKit_components_TUIGroup_createGroup_groupIntroduction_config.findGroupIntroConfig(type).icon;
|
||||
if (groupInfo.isEdit) {
|
||||
groupInfo.groupConfig.value = type;
|
||||
}
|
||||
}
|
||||
};
|
||||
const createGroup = async (options) => {
|
||||
try {
|
||||
options.memberList = options.memberList.map((item) => {
|
||||
return { userID: item.userID };
|
||||
});
|
||||
if (options.type === common_vendor.qt.TYPES.GRP_COMMUNITY) {
|
||||
delete options.groupID;
|
||||
}
|
||||
const res = await common_vendor.es.createGroup(options);
|
||||
const { type } = res.data.group;
|
||||
if (type === common_vendor.qt.TYPES.GRP_AVCHATROOM) {
|
||||
await common_vendor.es.joinGroup({
|
||||
groupID: res.data.group.groupID,
|
||||
applyMessage: ""
|
||||
});
|
||||
}
|
||||
handleCompleteCreate(res.data.group);
|
||||
TUIKit_components_common_Toast_index.Toast({
|
||||
message: common_vendor.Wt.t("TUIGroup.群组创建成功"),
|
||||
type: TUIKit_components_common_Toast_type.TOAST_TYPE.SUCCESS
|
||||
});
|
||||
} catch (err) {
|
||||
TUIKit_components_common_Toast_index.Toast({
|
||||
message: err.message,
|
||||
type: TUIKit_components_common_Toast_type.TOAST_TYPE.ERROR
|
||||
});
|
||||
}
|
||||
};
|
||||
const submit = () => {
|
||||
const { profile } = groupInfo;
|
||||
if (groupInfo.isEdit) {
|
||||
groupInfo.profile[groupInfo.groupConfig.key] = groupInfo.groupConfig.value;
|
||||
return groupInfo.isEdit = !groupInfo.isEdit;
|
||||
} else {
|
||||
createGroup(profile);
|
||||
}
|
||||
};
|
||||
const closeCreated = () => {
|
||||
if (groupInfo.isEdit) {
|
||||
return groupInfo.isEdit = !groupInfo.isEdit;
|
||||
}
|
||||
handleCompleteCreate(null);
|
||||
};
|
||||
const edit = (label) => {
|
||||
groupInfo.isEdit = !groupInfo.isEdit;
|
||||
groupInfo.groupConfig.key = label;
|
||||
groupInfo.groupConfig.value = groupInfo.profile[label];
|
||||
switch (label) {
|
||||
case "name":
|
||||
groupInfo.groupConfig.title = "设置群名称";
|
||||
groupInfo.groupConfig.placeholder = "请输入群名称";
|
||||
groupInfo.groupConfig.type = "input";
|
||||
break;
|
||||
case "groupID":
|
||||
groupInfo.groupConfig.title = "设置群ID";
|
||||
groupInfo.groupConfig.placeholder = "请输入群ID";
|
||||
groupInfo.groupConfig.type = "input";
|
||||
break;
|
||||
case "type":
|
||||
groupInfo.groupConfig.title = "选择群类型";
|
||||
groupInfo.groupConfig.type = "select";
|
||||
break;
|
||||
}
|
||||
};
|
||||
const handleCompleteCreate = (group) => {
|
||||
common_vendor.Jt.update(common_vendor.o.GRP, "isShowCreateComponent", false);
|
||||
const callback = TUIGroupServer.getOnCallCallback(TUIConstants.TUIGroup.SERVICE.METHOD.CREATE_GROUP);
|
||||
callback && callback(group);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o$1(closeCreated),
|
||||
b: common_vendor.p({
|
||||
file: common_vendor.unref(TUIKit_utils_env.isPC) ? common_vendor.unref(common_assets.closeIcon$2) : common_vendor.unref(common_assets.backIcon),
|
||||
size: "16px"
|
||||
}),
|
||||
c: common_vendor.t(common_vendor.unref(headerTitle)),
|
||||
d: !common_vendor.unref(groupInfo).isEdit
|
||||
}, !common_vendor.unref(groupInfo).isEdit ? common_vendor.e({
|
||||
e: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIGroup.群头像")),
|
||||
f: common_vendor.p({
|
||||
url: common_vendor.unref(groupInfo).profile.avatar
|
||||
}),
|
||||
g: common_vendor.f(common_vendor.unref(createInfo), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.name)
|
||||
}, common_vendor.unref(TUIKit_utils_env.isPC) ? {
|
||||
b: item.placeholder,
|
||||
c: common_vendor.unref(groupInfo).profile[item.key],
|
||||
d: common_vendor.o$1(($event) => common_vendor.unref(groupInfo).profile[item.key] = $event.detail.value, index)
|
||||
} : {
|
||||
e: common_vendor.t(common_vendor.unref(groupInfo).profile[item.key]),
|
||||
f: "3db83c6c-3-" + i0 + ",3db83c6c-0",
|
||||
g: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.rightIcon)
|
||||
}),
|
||||
h: common_vendor.o$1(($event) => edit(item.key), index)
|
||||
}, {
|
||||
i: index
|
||||
});
|
||||
}),
|
||||
h: common_vendor.unref(TUIKit_utils_env.isPC),
|
||||
i: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIGroup.群类型")),
|
||||
j: common_vendor.unref(TUIKit_utils_env.isPC)
|
||||
}, common_vendor.unref(TUIKit_utils_env.isPC) ? {
|
||||
k: common_vendor.o$1(selected),
|
||||
l: common_vendor.p({
|
||||
groupType: common_vendor.unref(groupInfo).profile.type
|
||||
})
|
||||
} : {
|
||||
m: common_vendor.t(common_vendor.unref(groupTypeDetail).label),
|
||||
n: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.rightIcon)
|
||||
}),
|
||||
o: common_vendor.o$1(($event) => edit("type"))
|
||||
}, {
|
||||
p: !common_vendor.unref(TUIKit_utils_env.isPC)
|
||||
}, !common_vendor.unref(TUIKit_utils_env.isPC) ? {
|
||||
q: common_vendor.t(common_vendor.unref(groupTypeDetail).label),
|
||||
r: common_vendor.t(common_vendor.unref(groupTypeDetail).detail),
|
||||
s: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`TUIGroup.${common_vendor.unref(groupTypeDetail).src}`)),
|
||||
t: common_vendor.unref(TUIKit_utils_documentLink.Link).product.url
|
||||
} : {}) : common_vendor.e({
|
||||
v: common_vendor.unref(groupInfo).groupConfig.type === "input"
|
||||
}, common_vendor.unref(groupInfo).groupConfig.type === "input" ? {
|
||||
w: common_vendor.unref(common_vendor.Wt).t(`TUIGroup.${common_vendor.unref(groupInfo).groupConfig.placeholder}`),
|
||||
x: common_vendor.unref(groupInfo).groupConfig.value,
|
||||
y: common_vendor.o$1(($event) => common_vendor.unref(groupInfo).groupConfig.value = $event.detail.value)
|
||||
} : {
|
||||
z: common_vendor.o$1(selected),
|
||||
A: common_vendor.p({
|
||||
groupType: common_vendor.unref(groupInfo).groupConfig.value
|
||||
})
|
||||
}), {
|
||||
B: common_vendor.unref(TUIKit_utils_env.isPC) && !common_vendor.unref(groupInfo).isEdit
|
||||
}, common_vendor.unref(TUIKit_utils_env.isPC) && !common_vendor.unref(groupInfo).isEdit ? {
|
||||
C: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIGroup.取消")),
|
||||
D: common_vendor.o$1(closeCreated)
|
||||
} : {}, {
|
||||
E: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIGroup.确认")),
|
||||
F: common_vendor.unref(submitDisabledStatus),
|
||||
G: common_vendor.o$1(submit),
|
||||
H: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) ? "group-h5" : ""),
|
||||
I: common_vendor.o$1(closeCreated),
|
||||
J: common_vendor.p({
|
||||
show: true,
|
||||
isH5: !common_vendor.unref(TUIKit_utils_env.isPC),
|
||||
isHeaderShow: false,
|
||||
isFooterShow: false,
|
||||
background: false
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-3db83c6c"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIGroup/create-group/index.js.map
|
||||
9
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.json
vendored
Normal file
9
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../common/Icon",
|
||||
"group-introduction": "./group-introduction/index",
|
||||
"dialog": "../../common/Dialog/index",
|
||||
"avatar": "../../common/Avatar/index"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<dialog wx:if="{{J}}" class="data-v-3db83c6c" u-s="{{['d']}}" bindupdateShow="{{I}}" u-i="3db83c6c-0" bind:__l="__l" u-p="{{J}}"><view class="{{['group', 'data-v-3db83c6c', H]}}"><view class="group-box data-v-3db83c6c"><view class="group-box-header data-v-3db83c6c"><icon wx:if="{{b}}" class="icon-close data-v-3db83c6c" bindonClick="{{a}}" u-i="3db83c6c-1,3db83c6c-0" bind:__l="__l" u-p="{{b}}"/><view class="group-box-header-title data-v-3db83c6c">{{c}}</view></view><view wx:if="{{d}}" class="group-list data-v-3db83c6c"><view class="group-list-item data-v-3db83c6c"><label class="group-list-item-label data-v-3db83c6c">{{e}}</label><avatar wx:if="{{f}}" class="data-v-3db83c6c" u-i="3db83c6c-2,3db83c6c-0" bind:__l="__l" u-p="{{f}}"/></view><view class="data-v-3db83c6c"><view wx:for="{{g}}" wx:for-item="item" wx:key="i" class="group-list-item data-v-3db83c6c"><label class="group-list-item-label data-v-3db83c6c">{{item.a}}</label><input wx:if="{{h}}" class="data-v-3db83c6c" type="text" placeholder="{{item.b}}" value="{{item.c}}" bindinput="{{item.d}}"></input><label wx:else class="group-h5-list-item-content data-v-3db83c6c" bindtap="{{item.h}}"><view class="content data-v-3db83c6c">{{item.e}}</view><icon wx:if="{{item.g}}" class="data-v-3db83c6c" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"/></label></view><view class="group-list-introduction data-v-3db83c6c"><view class="group-list-item data-v-3db83c6c"><label class="group-list-item-label data-v-3db83c6c">{{i}}</label><group-introduction wx:if="{{j}}" class="data-v-3db83c6c" bindselectType="{{k}}" u-i="3db83c6c-4,3db83c6c-0" bind:__l="__l" u-p="{{l}}"/><label wx:else class="group-h5-list-item-content data-v-3db83c6c" bindtap="{{o}}"><view class="content data-v-3db83c6c">{{m}}</view><icon wx:if="{{n}}" class="data-v-3db83c6c" u-i="3db83c6c-5,3db83c6c-0" bind:__l="__l" u-p="{{n}}"/></label></view><view wx:if="{{p}}" class="group-h5-list-item-introduction data-v-3db83c6c"><label class="introduction-name data-v-3db83c6c">{{q}}:</label><label class="introduction-detail data-v-3db83c6c">{{r}}</label><navigator class="data-v-3db83c6c" href="{{t}}" target="view_window">{{s}}</navigator></view></view></view></view><view wx:else class="group-list group-list-edit data-v-3db83c6c"><input wx:if="{{v}}" class="group-name-input data-v-3db83c6c" type="text" placeholder="{{w}}" value="{{x}}" bindinput="{{y}}"></input><group-introduction wx:else class="group-introduction-list data-v-3db83c6c" bindselectType="{{z}}" u-i="3db83c6c-6,3db83c6c-0" bind:__l="__l" u-p="{{A||''}}"/></view><view class="group-profile-footer data-v-3db83c6c"><button wx:if="{{B}}" class="btn-default data-v-3db83c6c" bindtap="{{D}}">{{C}}</button><button class="btn-submit data-v-3db83c6c" disabled="{{F}}" bindtap="{{G}}">{{E}}</button></view></view></view></dialog>
|
||||
324
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.wxss
vendored
Normal file
324
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIGroup/create-group/index.wxss
vendored
Normal file
@@ -0,0 +1,324 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-3db83c6c, div.data-v-3db83c6c, ul.data-v-3db83c6c, ol.data-v-3db83c6c, dt.data-v-3db83c6c, dd.data-v-3db83c6c, li.data-v-3db83c6c, dl.data-v-3db83c6c, h1.data-v-3db83c6c, h2.data-v-3db83c6c, h3.data-v-3db83c6c, h4.data-v-3db83c6c, p.data-v-3db83c6c {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-3db83c6c, ul.data-v-3db83c6c, li.data-v-3db83c6c {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-3db83c6c {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-3db83c6c {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-3db83c6c {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-3db83c6c {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-3db83c6c:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-3db83c6c, textarea.data-v-3db83c6c {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-3db83c6c:focus, input.data-v-3db83c6c:active, textarea.data-v-3db83c6c:focus, textarea.data-v-3db83c6c:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-3db83c6c {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
width: 360px !important;
|
||||
border-radius: 8px 0 0 8px;
|
||||
z-index: 9999;
|
||||
max-height: calc(100% - 50px);
|
||||
}
|
||||
.group.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-list-item.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-list-item label.data-v-3db83c6c {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
.group-list input.data-v-3db83c6c {
|
||||
border: 1px solid rgba(131, 137, 153, 0.4);
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
.group-list-edit.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-profile-footer.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
}
|
||||
.group-h5.data-v-3db83c6c {
|
||||
background: #F7F8FA;
|
||||
}
|
||||
.group-h5-list-item-introduction.data-v-3db83c6c {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #888;
|
||||
}
|
||||
.group-h5-list-item-introduction a.data-v-3db83c6c {
|
||||
color: #006EFF;
|
||||
}
|
||||
.select.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
}
|
||||
.select a.data-v-3db83c6c {
|
||||
color: #006EFF;
|
||||
}
|
||||
.select-item.data-v-3db83c6c {
|
||||
border: 1px solid rgba(131, 137, 153, 0.4);
|
||||
}
|
||||
.select-item-header .left.data-v-3db83c6c {
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.select-item-detail.data-v-3db83c6c {
|
||||
color: #4F4F4F;
|
||||
}
|
||||
.select .selected.data-v-3db83c6c {
|
||||
border: 1px solid #006EFF;
|
||||
}
|
||||
header.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
}
|
||||
header h1.data-v-3db83c6c {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.btn-default.data-v-3db83c6c {
|
||||
background: #FFF;
|
||||
border: 1px solid #DDD;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
color: #828282;
|
||||
}
|
||||
.btn-submit.data-v-3db83c6c {
|
||||
background: #3370FF;
|
||||
border: 0 solid #2F80ED;
|
||||
font-family: PingFangSC-Regular;
|
||||
font-weight: 400;
|
||||
color: #FFF;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.btn-submit.data-v-3db83c6c:disabled {
|
||||
background: #e8e8e9;
|
||||
border: 1px solid #DDD;
|
||||
color: #FFF;
|
||||
}
|
||||
.group.data-v-3db83c6c {
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
width: 750px;
|
||||
max-height: calc(100vh - 100px);
|
||||
overflow-y: auto;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.group .group-box .group-box-header.data-v-3db83c6c {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.group .group-box .group-box-header .group-box-header-title.data-v-3db83c6c {
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.group-list-item.data-v-3db83c6c {
|
||||
display: flex;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.group-list-item-label.data-v-3db83c6c {
|
||||
width: 84px;
|
||||
}
|
||||
.group-list input.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
box-sizing: border-box;
|
||||
padding: 6px 10px;
|
||||
border-radius: 2px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.select.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
}
|
||||
.select-item.data-v-3db83c6c {
|
||||
padding: 12px 20px !important;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
.select-item-header.data-v-3db83c6c {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.select-item-header .left.data-v-3db83c6c {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
.select-item-header .left .icon.data-v-3db83c6c {
|
||||
margin-right: 12px;
|
||||
}
|
||||
.select-item-header .icon-selected.data-v-3db83c6c {
|
||||
position: relative;
|
||||
left: 12px;
|
||||
top: -4px;
|
||||
}
|
||||
.select-item-type.data-v-3db83c6c {
|
||||
text-align: left;
|
||||
}
|
||||
.select-item-detail.data-v-3db83c6c {
|
||||
padding-top: 6px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.select-item .link.data-v-3db83c6c {
|
||||
display: inline-block;
|
||||
}
|
||||
.group-profile-footer.data-v-3db83c6c {
|
||||
padding-top: 10px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.btn-default.data-v-3db83c6c {
|
||||
width: 82px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.btn-submit.data-v-3db83c6c {
|
||||
width: 82px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
margin-left: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.group-h5.data-v-3db83c6c {
|
||||
max-height: none;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.group-h5 .group-box.data-v-3db83c6c {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5 .group-box .group-box-header.data-v-3db83c6c {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
padding: 16px 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-box-header .icon-close.data-v-3db83c6c {
|
||||
position: absolute;
|
||||
left: 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-list.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
justify-content: flex-end;
|
||||
margin-top: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5 .group-box .group-list .group-introduction-list.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: auto;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
.group-h5 .group-box .group-list-item.data-v-3db83c6c {
|
||||
padding: 14px 18px;
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
}
|
||||
.group-h5 .group-box .group-list-item-label.data-v-3db83c6c {
|
||||
font-size: 14px;
|
||||
}
|
||||
.group-h5 .group-box .group-list-edit.data-v-3db83c6c {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.group-h5 .group-box .group-list-edit .group-name-input.data-v-3db83c6c {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
}
|
||||
.group-h5 .group-box .group-profile-footer.data-v-3db83c6c {
|
||||
box-shadow: inset 0 1px 0 0 #eee;
|
||||
padding: 12px 18px;
|
||||
}
|
||||
.group-h5-list-item-content.data-v-3db83c6c {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.group-h5-list-item-content .content.data-v-3db83c6c {
|
||||
width: 0;
|
||||
flex: 1;
|
||||
padding: 0 12px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: end;
|
||||
}
|
||||
.group-h5-list-item-introduction.data-v-3db83c6c {
|
||||
padding: 12px 18px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
.group-h5 .select-item-type.data-v-3db83c6c {
|
||||
text-align: left;
|
||||
}
|
||||
Reference in New Issue
Block a user