diff --git a/package.json b/package.json index 8108a5e..2d643c7 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,6 @@ "dependencies": { "@element-plus/icons-vue": "2.3.1", "@highlightjs/vue-plugin": "2.1.0", - "@tencentcloud/chat": "^3.5.5", - "@tencentcloud/chat-uikit-vue": "^2.4.3", "@vueup/vue-quill": "1.2.0", "@vueuse/core": "13.1.0", "animate.css": "4.1.1", diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts index a2ec546..232ea88 100644 --- a/src/api/system/tenant/index.ts +++ b/src/api/system/tenant/index.ts @@ -81,7 +81,27 @@ export function updateTenant(data: any) { data: data }); } +// 新增团长 +export function addTenantdarren(data: any) { + return request({ + url: '/system/reference/add', + method: 'post', + headers: { + // isEncrypt: true // 加密传输 + validateRepeat: true // 校验重复提交 + }, + data: data + }); +} +// 修改团长 +export function updateTenantdarren(data: any) { + return request({ + url: '/system/reference/update', + method: 'post', + data: data + }); +} // 租户状态修改 export function changeTenantStatus(id: string | number, tenantId: string | number, status: string) { const data = { diff --git a/src/api/system/tenant/types.ts b/src/api/system/tenant/types.ts index 247b211..ed89dcd 100644 --- a/src/api/system/tenant/types.ts +++ b/src/api/system/tenant/types.ts @@ -37,6 +37,7 @@ export interface TenantForm { id: number | string | undefined; tenantId: number | string | undefined; username: string; + joinTime: string; type: number; templateName: string; password: string; diff --git a/src/utils/dict.ts b/src/utils/dict.ts index e0dbdd3..e4eb932 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -1,7 +1,7 @@ import { getDicts } from '@/api/system/dict/data'; import { useDictStore } from '@/store/modules/dict'; -import { TUIChatService } from '@tencentcloud/chat-uikit-engine'; -import { IChatResponese } from '@/TUIKit/interface'; +// import { TUIChatService } from '@tencentcloud/chat-uikit-engine'; +// import { IChatResponese } from '@/TUIKit/interface'; /** * 获取字典数据 */ diff --git a/src/views/darren/d.png b/src/views/darren/d.png new file mode 100644 index 0000000..af853ff Binary files /dev/null and b/src/views/darren/d.png differ diff --git a/src/views/darren/index.vue b/src/views/darren/index.vue new file mode 100644 index 0000000..da1bbe3 --- /dev/null +++ b/src/views/darren/index.vue @@ -0,0 +1,745 @@ + + + + diff --git a/src/views/im/assets/icon/adv-arrow.svg b/src/views/im/assets/icon/adv-arrow.svg deleted file mode 100644 index b73602a..0000000 --- a/src/views/im/assets/icon/adv-arrow.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - 编组 5 - - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/arrow-down-line.png b/src/views/im/assets/icon/arrow-down-line.png deleted file mode 100644 index 3e76ba3..0000000 Binary files a/src/views/im/assets/icon/arrow-down-line.png and /dev/null differ diff --git a/src/views/im/assets/icon/arrow-down.png b/src/views/im/assets/icon/arrow-down.png deleted file mode 100644 index e442d26..0000000 Binary files a/src/views/im/assets/icon/arrow-down.png and /dev/null differ diff --git a/src/views/im/assets/icon/calendar.svg b/src/views/im/assets/icon/calendar.svg deleted file mode 100644 index 50712a6..0000000 --- a/src/views/im/assets/icon/calendar.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/im/assets/icon/global.png b/src/views/im/assets/icon/global.png deleted file mode 100644 index bba4fa4..0000000 Binary files a/src/views/im/assets/icon/global.png and /dev/null differ diff --git a/src/views/im/assets/icon/menu.png b/src/views/im/assets/icon/menu.png deleted file mode 100644 index d31bedf..0000000 Binary files a/src/views/im/assets/icon/menu.png and /dev/null differ diff --git a/src/views/im/assets/icon/message-real.svg b/src/views/im/assets/icon/message-real.svg deleted file mode 100644 index 0a0c85d..0000000 --- a/src/views/im/assets/icon/message-real.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/message-selected.svg b/src/views/im/assets/icon/message-selected.svg deleted file mode 100644 index 1592b97..0000000 --- a/src/views/im/assets/icon/message-selected.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/message.svg b/src/views/im/assets/icon/message.svg deleted file mode 100644 index 03d10cd..0000000 --- a/src/views/im/assets/icon/message.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - 编组 8 - - - - - - - - - - - diff --git a/src/views/im/assets/icon/profile-selected.svg b/src/views/im/assets/icon/profile-selected.svg deleted file mode 100644 index 6c446c7..0000000 --- a/src/views/im/assets/icon/profile-selected.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/profile.svg b/src/views/im/assets/icon/profile.svg deleted file mode 100644 index f75ecc5..0000000 --- a/src/views/im/assets/icon/profile.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/relation-real.svg b/src/views/im/assets/icon/relation-real.svg deleted file mode 100644 index f2692ed..0000000 --- a/src/views/im/assets/icon/relation-real.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/relation-selected.svg b/src/views/im/assets/icon/relation-selected.svg deleted file mode 100644 index dc16663..0000000 --- a/src/views/im/assets/icon/relation-selected.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/relation.svg b/src/views/im/assets/icon/relation.svg deleted file mode 100644 index 97923aa..0000000 --- a/src/views/im/assets/icon/relation.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - - - - diff --git a/src/views/im/assets/icon/setting.png b/src/views/im/assets/icon/setting.png deleted file mode 100644 index df45602..0000000 Binary files a/src/views/im/assets/icon/setting.png and /dev/null differ diff --git a/src/views/im/assets/image/adv-background.svg b/src/views/im/assets/image/adv-background.svg deleted file mode 100644 index 4086d91..0000000 --- a/src/views/im/assets/image/adv-background.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/views/im/assets/image/adv-bg.svg b/src/views/im/assets/image/adv-bg.svg deleted file mode 100644 index 3172c24..0000000 --- a/src/views/im/assets/image/adv-bg.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - 矩形 - - - - - - - - - - - - - - - - diff --git a/src/views/im/assets/image/create-group.png b/src/views/im/assets/image/create-group.png deleted file mode 100644 index b2dc3dc..0000000 Binary files a/src/views/im/assets/image/create-group.png and /dev/null differ diff --git a/src/views/im/assets/image/h5/adv-im.svg b/src/views/im/assets/image/h5/adv-im.svg deleted file mode 100644 index 288edd1..0000000 --- a/src/views/im/assets/image/h5/adv-im.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/im/assets/image/h5/adv-more.svg b/src/views/im/assets/image/h5/adv-more.svg deleted file mode 100644 index ca68d48..0000000 --- a/src/views/im/assets/image/h5/adv-more.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - 编组 - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/views/im/assets/image/h5/login-bg.png b/src/views/im/assets/image/h5/login-bg.png deleted file mode 100644 index a47aa91..0000000 Binary files a/src/views/im/assets/image/h5/login-bg.png and /dev/null differ diff --git a/src/views/im/assets/image/login-background.png b/src/views/im/assets/image/login-background.png deleted file mode 100644 index 4b5b29a..0000000 Binary files a/src/views/im/assets/image/login-background.png and /dev/null differ diff --git a/src/views/im/assets/image/logo.svg b/src/views/im/assets/image/logo.svg deleted file mode 100644 index 1b324bd..0000000 --- a/src/views/im/assets/image/logo.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/views/im/assets/image/txc-logo.svg b/src/views/im/assets/image/txc-logo.svg deleted file mode 100644 index a128615..0000000 --- a/src/views/im/assets/image/txc-logo.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - 编组 8 - - - - - - - - - - - - diff --git a/src/views/im/assets/image/warn.svg b/src/views/im/assets/image/warn.svg deleted file mode 100644 index 33a34fb..0000000 --- a/src/views/im/assets/image/warn.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - 椭圆形 - - - - - - - - - - - - - - diff --git a/src/views/im/components/About.vue b/src/views/im/components/About.vue deleted file mode 100644 index 8449f5e..0000000 --- a/src/views/im/components/About.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - diff --git a/src/views/im/components/AdvList.vue b/src/views/im/components/AdvList.vue deleted file mode 100644 index cde069b..0000000 --- a/src/views/im/components/AdvList.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - - diff --git a/src/views/im/components/AdvListItem.vue b/src/views/im/components/AdvListItem.vue deleted file mode 100644 index d4c83c6..0000000 --- a/src/views/im/components/AdvListItem.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - diff --git a/src/views/im/components/ChatDefaultContent.vue b/src/views/im/components/ChatDefaultContent.vue deleted file mode 100644 index 280e82b..0000000 --- a/src/views/im/components/ChatDefaultContent.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/im/components/EditProfile.vue b/src/views/im/components/EditProfile.vue deleted file mode 100644 index 8201bb3..0000000 --- a/src/views/im/components/EditProfile.vue +++ /dev/null @@ -1,463 +0,0 @@ - - - diff --git a/src/views/im/components/EditProfilePopup.vue b/src/views/im/components/EditProfilePopup.vue deleted file mode 100644 index 3780856..0000000 --- a/src/views/im/components/EditProfilePopup.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/im/components/Header.vue b/src/views/im/components/Header.vue deleted file mode 100644 index d929bc5..0000000 --- a/src/views/im/components/Header.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - diff --git a/src/views/im/components/Menu.vue b/src/views/im/components/Menu.vue deleted file mode 100644 index b96be71..0000000 --- a/src/views/im/components/Menu.vue +++ /dev/null @@ -1,389 +0,0 @@ - - - - - diff --git a/src/views/im/components/NavBar.vue b/src/views/im/components/NavBar.vue deleted file mode 100644 index 4871a83..0000000 --- a/src/views/im/components/NavBar.vue +++ /dev/null @@ -1,256 +0,0 @@ - - - diff --git a/src/views/im/components/Profile.vue b/src/views/im/components/Profile.vue deleted file mode 100644 index 0e6a57a..0000000 --- a/src/views/im/components/Profile.vue +++ /dev/null @@ -1,423 +0,0 @@ - - - - diff --git a/src/views/im/index.vue b/src/views/im/index.vue deleted file mode 100644 index b3056e8..0000000 --- a/src/views/im/index.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - - - diff --git a/src/views/im/styles/common.scss b/src/views/im/styles/common.scss deleted file mode 100644 index e375b5f..0000000 --- a/src/views/im/styles/common.scss +++ /dev/null @@ -1,115 +0,0 @@ -@import "@/TUIKit/assets/styles/common.scss"; -// button -@mixin btn { - border-radius: 5px; - padding: 13px 0; - cursor: pointer; -} -@mixin btn-default { - @include btn; - background: #006eff; - border: 1px solid #006eff; - color: #fff; -} -@mixin btn-error { - @include btn; - border: 1px solid #e54545; - color: #e54545; - background: #fff; -} -@mixin btn-normal { - @include btn; - background: #fff; - border: 1px solid #ddd; - color: #000; -} - -// flex -// flex布局 默认 纵向垂直居中水平居中 -@mixin flex($direction: column, $js: center, $al: center) { - box-sizing: border-box; - display: -webkit-box; - display: -moz-box; - display: -webkit-flex; - display: -moz-flex; - display: -ms-flexbox; - display: flex; - flex-direction: $direction; - justify-content: $js; - align-items: $al; - border: 0px solid black; - margin: 0; - padding: 0; - min-width: 0; -} - -// 文本超出隐藏 ...隐藏文本 -@mixin single-line-ellipsis($width: 100%) { - width: $width; - overflow: hidden; - -ms-text-overflow: ellipsis; - text-overflow: ellipsis; - white-space: nowrap; -} - -// 文本最多(n)行,超出部分用...表示 -@mixin line($num) { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: $num; - -webkit-box-orient: vertical; -} - -// position居中 -@mixin positionCenter { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - -moz-transform: translate(-50%, -50%); - -ms-transform: translate(-50%, -50%); - -o-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} - -.container { - @include flex; - position: fixed; - width: 100vw; - height: 100vh; - top: 0; - left: 0; - z-index: 3; - background: rgba(0, 0, 0, 0.3); - overflow: hidden; - .box { - @include flex; - border-radius: 0.5rem; - background: #fff; - overflow: hidden; - color: #000; - } - .box-h5 { - width: 100%; - height: 100%; - padding: 0px; - border-radius: 0px; - .title { - @include flex; - box-sizing: border-box; - width: 100%; - padding: 15px 18px; - position: relative; - .title-back { - position: absolute; - left: 18px; - } - .title-name { - font-size: 18px; - font-weight: 500; - font-family: PingFangSC-Medium; - } - } - } -} diff --git a/src/views/im/styles/h5/home.scss b/src/views/im/styles/h5/home.scss deleted file mode 100644 index 05b76c2..0000000 --- a/src/views/im/styles/h5/home.scss +++ /dev/null @@ -1,63 +0,0 @@ -/* stylelint-disable */ -.home-h5 { - flex-direction: column; - min-width: 100%; - min-height: 100%; - background: #fff; - - .home-menu { - position: fixed; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); - z-index: 10; - align-items: flex-end; - } - - .home-container { - .home-main { - padding: 0; - min-width: 0; - - .home-TUIKit { - flex-direction: column-reverse; - border-radius: 0; - max-width: 100%; - - .home-TUIKit-navbar { - width: 100%; - padding: 12px 18px; - } - - .home-TUIKit-main { - flex: 1; - display: flex; - flex-direction: column; - - .chat-popup { - position: absolute; - } - } - - .callkit-drag-container { - &-h5 { - width: 100%; - height: 100%; - left: 0; - top: 0; - border-radius: 0; - box-shadow: none; - } - - &-mini { - width: 72px; - height: 72px; - left: calc(100% - 100px); - top: 20px; - background-color: transparent; - } - } - } - } - } -} diff --git a/src/views/im/styles/h5/login.scss b/src/views/im/styles/h5/login.scss deleted file mode 100644 index 36ca52d..0000000 --- a/src/views/im/styles/h5/login.scss +++ /dev/null @@ -1,154 +0,0 @@ -@import "../common.scss"; -.login-h5 { - min-width: 100%; - max-width: 100%; - padding: 17px 0; - .login-header { - padding: 0 23px; - } - .login-main { - .login-main-content { - padding: 0 23px; - background: url("../assets/image/h5/login-bg.png") no-repeat; - background-size: 65%; - background-position-x: right; - align-items: flex-start; - .login-form { - flex: 1; - .login-title { - flex-direction: column; - padding: 60px 0 18px; - p { - padding-left: 0; - font-size: 27px; - line-height: 40px; - } - } - .login-form-item { - font-size: 18px; - .el-checkbox { - .checked-text { - font-size: 14px; - } - } - .login-form-item-disabled { - font-size: 18px; - padding: 20px; - } - } - .login-btn { - button { - height: auto !important; - font-size: 20px; - line-height: 27px; - padding: 13px 0; - } - } - } - } - } - .login-footer { - background: none; - padding: 10px 10px; - - &-list { - flex: 1; - display: flex; - - &-item { - flex: 1; - display: flex; - background: url("../assets/image/h5/adv-more.svg") no-repeat; - background-size: 100% 100%; - border: solid #96c3ff 1px; - - &:last-child { - background: url("../assets/image/h5/adv-im.svg") no-repeat; - background-size: 100% 100%; - } - - a { - flex: 1; - display: flex; - justify-content: space-around; - align-items: center; - box-sizing: border-box; - padding: 20px; - - span { - padding: 5px 20px; - background: #147aff; - box-shadow: 0 4px 5px 0 rgba(255, 255, 255, 0.7), 0 3px 8px 0 rgba(20, 122, 255, 0.55); - border-radius: 30.5px; - display: flex; - align-items: center; - justify-content: center; - font-family: PingFangSC-Regular; - font-weight: 400; - font-size: 15px; - color: #ffffff; - letter-spacing: 0; - } - - aside { - display: flex; - flex-direction: column; - - h1 { - font-family: PingFangSC-Regular; - font-size: 16px; - color: #000000; - letter-spacing: 0; - } - - .sub { - align-self: flex-end; - } - } - } - } - - &-bottom { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - - .text-header { - display: flex; - align-items: center; - - span { - padding: 20px 20px; - width: 84px; - font-family: "PingFang SC"; - font-style: normal; - font-weight: 400; - color: #bbbbbb; - } - } - - i { - width: 120px; - height: 1px; - background: #dbdbdb; - } - - &-image { - display: flex; - - .platform { - width: 41px; - height: 41px; - padding: 0 20px; - - img { - width: 100%; - height: 100%; - } - } - } - } - } - } -} diff --git a/src/views/im/styles/h5/profile.scss b/src/views/im/styles/h5/profile.scss deleted file mode 100644 index 6ea4861..0000000 --- a/src/views/im/styles/h5/profile.scss +++ /dev/null @@ -1,94 +0,0 @@ -.TUI-profile-h5 { - background: #efefef; - flex: 1; - display: flex; - flex-direction: column; - width: 100%; - &-basic { - width: 100%; - box-sizing: border-box; - background: #ffffff; - padding: 14px 18px; - flex-direction: row; - align-items: flex-start; - margin-bottom: 10px; - &-avatar { - width: 78px; - height: 78px; - border-radius: 8px; - } - &-info { - &-nick { - font-size: 14px; - flex: 1; - word-break: keep-all; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - padding: 6px 0; - font-family: PingFangSC-Medium; - font-weight: 500; - color: #000; - letter-spacing: 0; - } - &-id { - font-family: PingFangSC-Regular; - font-weight: 400; - color: #999; - letter-spacing: 0; - font-size: 14px; - word-break: keep-all; - padding: 6px 0; - &-label { - } - &-value { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } - } - } - } - &-setting { - width: 100%; - flex-direction: column; - - &-item { - margin-bottom: 10px; - background: #ffffff; - padding: 10px; - &-exit { - .TUI-profile-h5-setting-item-label { - justify-content: center; - .label-left { - .label-title { - color: red; - } - } - } - } - &-label { - .label-left { - display: flex; - flex-direction: column; - .label-title { - color: #444444; - font-size: 14px; - } - } - .label-right { - color: #000000; - font-size: 14px; - display: flex; - flex-direction: row; - } - } - &-bottom-popup { - font-size: 16px; - color: #147aff; - padding: 10px; - border-bottom: 1px solid #DBDBDB; - } - } - } -} diff --git a/src/views/im/styles/home.scss b/src/views/im/styles/home.scss deleted file mode 100644 index 08fce9a..0000000 --- a/src/views/im/styles/home.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import './web/home.scss'; -@import './h5/home.scss'; -@import "./common.scss"; diff --git a/src/views/im/styles/login.scss b/src/views/im/styles/login.scss deleted file mode 100644 index d11caa8..0000000 --- a/src/views/im/styles/login.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "./web/login.scss"; -@import "./h5/login.scss"; -@import "./common.scss"; diff --git a/src/views/im/styles/profile.scss b/src/views/im/styles/profile.scss deleted file mode 100644 index a0416a0..0000000 --- a/src/views/im/styles/profile.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import "./web/profile.scss"; -@import "./h5/profile.scss"; -@import "./common.scss"; \ No newline at end of file diff --git a/src/views/im/styles/web/home.scss b/src/views/im/styles/web/home.scss deleted file mode 100644 index 14f6af4..0000000 --- a/src/views/im/styles/web/home.scss +++ /dev/null @@ -1,121 +0,0 @@ -#preloadedImages { - background: linear-gradient(135deg, #f1f4f7 0%, #edf5ff 100%) no-repeat; - background-size: cover; - background-image: url("https://web.sdk.qcloud.com/im/assets/images/background-zip.png"); -} - -.home { - box-sizing: border-box; - flex: 1; - display: flex; - flex-direction: row; - min-width: 1024px; - background-size: contain; - width: 100%; - height: 100%; - overflow: hidden; - .home-menu { - box-sizing: border-box; - display: flex; - } - .home-container { - box-sizing: border-box; - display: flex; - flex: 1; - flex-direction: column; - overflow: hidden; - align-items: stretch; - .home-header { - box-sizing: border-box; - overflow: hidden; - .header-menu-show { - padding-left: 0px; - } - } - .home-main { - box-sizing: border-box; - flex: 1; - display: flex; - justify-content: center; - overflow: hidden; - padding: 50px; - min-width: 968px; - .home-TUIKit { - box-sizing: border-box; - display: flex; - flex: 1; - width: 100%; - height: 100%; - max-width: 1400px; - overflow: hidden; - min-height: 640px; - border-radius: 12px; - background-color: #ffffff; - box-shadow: 0 11px 20px 0 rgba(0, 0, 0, 0.3); - .home-TUIKit-navbar { - box-sizing: border-box; - display: flex; - } - .home-TUIKit-main { - box-sizing: border-box; - flex: 1; - display: flex; - overflow: hidden; - flex-direction: row; - border: 0 solid black; - .home-conversation, - .home-relation { - min-width: 285px; - box-sizing: border-box; - flex: 0 0 24%; - display: flex; - flex-direction: column; - border-right: 1px solid #f4f5f9; - } - .home-chat { - box-sizing: border-box; - min-width: 0; - flex: 1; - display: flex; - flex-direction: column; - overflow: hidden; - position: relative; - } - } - .callkit-drag-container { - position: fixed; - z-index: 100; - background-color: #ffffff; - user-select: none; - &-pc { - left: calc(50% - 25rem); - top: calc(50% - 18rem); - width: 50rem; - height: 36rem; - border-radius: 16px; - box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; - } - &-mini { - width: 168px; - height: 56px; - right: 10px; - top: 70px; - background-color: transparent; - border-radius: 0px; - box-shadow: none; - } - } - } - } - } - .home-container.menu-expand { - .dialog, - .container { - width: calc(100% - 300px) !important; - left: 300px !important; - } - .home-main .home-TUIKit .callkit-drag-container.callkit-drag-container-pc { - left: calc(50% - 25rem + 150px); - } - } -} \ No newline at end of file diff --git a/src/views/im/styles/web/login.scss b/src/views/im/styles/web/login.scss deleted file mode 100644 index 53caf04..0000000 --- a/src/views/im/styles/web/login.scss +++ /dev/null @@ -1,237 +0,0 @@ -@import "../common.scss"; -.login { - flex: 1; - @include flex(column, center, stretch); - min-width: 980px; - width: 100%; - height: 100%; - background: #ffffff; - .login-main { - flex: 1; - @include flex(column, center, stretch); - padding-bottom: 5vw; - .login-main-content { - flex: 1; - @include flex(row, space-between, center); - padding: 0 6vh; - width: 100%; - max-width: 100rem; - align-self: center; - background: url("../assets/image/login-background.png") no-repeat; - background-position: center left; - .login-main-adv { - @include flex(column, flex-start, flex-start); - .login-main-adv-introduce { - font-size: 3rem; - line-height: 4.2rem; - font-family: PingFangSC-Regular; - font-weight: 400; - color: #000000; - } - } - - .login-sale { - margin-top: 40px; - padding: 8px 16px; - font-size: 1.4rem; - line-height: 2rem; - border-radius: 6px; - display: flex; - align-items: center; - cursor: pointer; - color: #ffffff; - background: url("../assets/image/adv-bg.svg") no-repeat; - background-size: cover; - background-position: center; - .icon { - margin: 0 8px; - } - } - - .small-txt { - width: 42rem; - font-size: 2.6rem; - line-height: 3.6rem; - } - - .checked-text { - display: flex; - flex-wrap: wrap; - font-size: 0.88rem; - line-height: 1.73rem; - font-family: PingFangSC-Regular; - font-weight: 400; - color: #bbbbbb; - letter-spacing: 0; - a { - color: #006ef0; - } - } - .login-form { - box-sizing: border-box; - width: 22.41rem; - - .login-title { - display: flex; - letter-spacing: 0; - font-family: PingFangSC-Medium; - font-weight: 500; - color: #000000; - img { - width: 4.61rem; - height: 3.23rem; - } - p { - padding-left: 10.5px; - font-size: 1.8rem; - line-height: 2.7rem; - align-items: center; - display: flex; - } - } - - .login-form-item { - margin: 18px 0; - .el-select { - width: 100%; - font-size: 1rem; - padding-top: 28px; - line-height: 1.73rem; - font-weight: 400; - color: #000000; - } - - .el-input__inner { - width: 356.4px; - height: 54px; - margin-top: 12px; - border-radius: 4.8px; - background: #ffffff; - border: 1.2px solid #dddddd; - } - - .input-with-select { - margin-top: 14px; - input { - height: 40px; - } - } - .el-input-group__append { - .code-box { - color: #006eff; - } - } - .login-form-item-disabled { - cursor: pointer; - background: #f4f5f9; - border: 1.2px solid #dddddd; - color: #111111; - letter-spacing: 0; - border-radius: 4.8px; - width: 100%; - margin-top: 28px; - padding: 14px 11px; - box-sizing: border-box; - font-size: 1rem; - line-height: 1.2rem; - - label { - cursor: pointer; - color: #999999; - padding-right: 16px; - } - } - } - .login-form-footer { - display: flex; - flex-direction: row; - justify-content: space-between; - text-decoration: none; - a { - color: #006ef0; - } - } - - .login-btn { - flex: 1; - @include flex(column, center, stretch); - .btn { - width: 100%; - flex: 1; - height: 3rem; - font-size: 1.25rem; - font-weight: 400; - letter-spacing: 0; - border: 1px solid #006eff; - border-radius: 5px; - color: #006eff; - margin-bottom: 10px; - background-color: transparent; - cursor: pointer; - - &:disabled { - opacity: 0.3; - } - - &-primary { - background: #006eff; - color: #ffffff; - } - } - } - } - } - - .login-main-middle { - height: 130px; - width: 100%; - max-width: 100rem; - align-self: center; - padding: 0 1.6rem 20px; - box-sizing: border-box; - display: flex; - - .login-main-middle-box { - flex: 1; - display: flex; - } - } - .login-main-footer { - box-sizing: border-box; - padding: 0 1.6rem; - width: 100%; - max-width: 100rem; - display: flex; - align-items: center; - align-self: center; - background: rgba(231, 242, 255, 0.4); - .mask { - flex: 0 0 25%; - padding: 1.6rem 0; - display: flex; - flex-direction: column; - align-items: center; - .mask-top { - word-break: break-all; - white-space: nowrap; - font-size: 3rem; - height: 4.19rem; - font-family: PingFangSC-Regular; - font-weight: 400; - color: #006eff; - letter-spacing: 0; - } - .mask-under { - opacity: 0.49; - font-weight: 400; - font-size: 1.2rem; - font-family: PingFangSC-Regular; - color: #000; - letter-spacing: 0; - height: 62px; - text-align: center; - } - } - } - } -} diff --git a/src/views/im/styles/web/profile.scss b/src/views/im/styles/web/profile.scss deleted file mode 100644 index 58b34ae..0000000 --- a/src/views/im/styles/web/profile.scss +++ /dev/null @@ -1,124 +0,0 @@ -/* stylelint-disable-next-line selector-class-pattern */ -.TUI-profile { - background: #fff; - display: flex; - flex-direction: column; - box-sizing: border-box; - overflow: hidden; - - &-basic { - display: flex; - flex-direction: row; - box-sizing: border-box; - overflow: hidden; - - &-avatar { - width: 30px; - height: 30px; - border-radius: 5px; - margin-right: 10px; - } - - &-info { - flex: 1; - display: flex; - flex-direction: column; - box-sizing: border-box; - overflow: hidden; - font-size: 14px; - - &-nick { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - &-id { - display: flex; - flex-direction: row; - overflow: hidden; - - &-label { - font-weight: 400; - color: #999; - } - - &-value { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - } - } - } - - &-setting { - &-item { - height: 40px; - padding-left: 14px; - padding-right: 8px; - display: flex; - line-height: 40px; - text-align: center; - align-items: center; - justify-content: space-between; - cursor: pointer; - - &:hover { - background-color: rgba(0, 110, 255, 0.1); - - /* stylelint-disable-next-line selector-class-pattern */ - .TUI-profile-setting-item-children { - display: block; - } - } - - &-label { - font-size: 14px; - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - flex: 1; - } - - /* stylelint-disable-next-line no-descending-specificity */ - &-children { - display: none; - position: absolute; - left: 100%; - min-width: 167px; - border-radius: 0 4px 4px 0; - z-index: 2; - background: #fff; - box-shadow: 2px 1px 6px 0 rgba(2, 16, 43, 0.15); - - &-item { - height: 40px; - padding-left: 14px; - padding-right: 8px; - display: flex; - line-height: 40px; - text-align: center; - align-items: center; - justify-content: space-between; - cursor: pointer; - - &:hover { - background-color: rgba(0, 110, 255, 0.1); - } - - &-label { - font-size: 14px; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - flex: 1; - padding-right: 5px; - } - } - } - } - } -}