@titaui/pc 1.7.100 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/dialog/index.css +4 -0
- package/lib/components/dialog/index.js +7 -6
- package/lib/components/form/form-fields/input/index.css +19 -5
- package/lib/components/form/form-fields/input/index.js +11 -8
- package/lib/components/form/form-fields/input-verification-code/index.css +117 -0
- package/lib/components/form/form-fields/input-verification-code/index.js +230 -0
- package/lib/components/form/form-fields/password/index.css +2 -2
- package/lib/components/form/form-fields/radios/index.js +1 -1
- package/lib/components/form/index.js +4 -1
- package/lib/components/grid-layout/near-visitors/index.js +4 -2
- package/lib/components/grid-layout/okr-align/index.js +4 -4
- package/lib/components/grid-layout/okr-progress/index.js +6 -6
- package/lib/components/grid-layout/okr-target/index.js +2 -2
- package/lib/components/grid-layout/over-view/index.js +1 -1
- package/lib/components/grid-layout/personal-info/index.js +5 -3
- package/lib/components/grid-layout/sub-employee-okr/index.js +1 -1
- package/lib/components/grid-layout/week-task/index.js +4 -4
- package/lib/components/grid-layout/words-cloud/index.js +5 -3
- package/lib/components/grid-page/personal-info/index.js +5 -3
- package/lib/components/img-viewer/index.js +1 -1
- package/lib/components/mblog/style.js +4 -4
- package/lib/components/nav-top/components/user-message/components/empty/index.js +4 -2
- package/lib/components/nav-top/components/user-message/msg/index.js +1 -1
- package/lib/components/okr-detail/base-info/base-info.js +4 -3
- package/lib/components/okr-detail/base-info/o-desc/index.js +2 -8
- package/lib/components/point-demo/constant.js +1 -3
- package/lib/components/point-demo/drop-down-box/index.js +1 -3
- package/lib/components/point-demo/index.js +8 -10
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.css +1 -1
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +2 -1
- package/lib/components/table/index.css +4 -0
- package/lib/components/table/index.js +3 -0
- package/lib/components/upload-photo-modal/constant.js +99 -0
- package/lib/components/upload-photo-modal/img/browser-preview-bgc.png +0 -0
- package/lib/components/upload-photo-modal/index.css +276 -0
- package/lib/components/upload-photo-modal/index.js +332 -0
- package/lib/components/upload-photo-modal/request-api.js +44 -0
- package/lib/components/user-selector/category-selector-panel/depart-tree.js +3 -0
- package/lib/components/user-selector/export-modules/field-tree-selector/index.css +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +2 -0
- package/lib/components/user-selector/request-apis.js +1 -1
- package/lib/components/word-cloud/index.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
- package/lib/index.js +8 -0
- package/lib/pages/home/components/data-list/index.js +2 -2
- package/lib/pages/home/components/data-list/nav-selector/index.js +2 -2
- package/lib/pages/home/components/data-list/table/columns/index.js +1 -1
- package/lib/pages/home/components/guide/index.js +14 -12
- package/lib/pages/home/components/header/index.js +3 -1
- package/lib/pages/home-page-data-list/index.js +2 -2
- package/lib/pages/personal-info/components/base-info/index.css +36 -1
- package/lib/pages/personal-info/components/base-info/index.js +22 -90
- package/lib/pages/personal-info/components/edit-info/index.js +192 -0
- package/lib/pages/personal-info/components/edit-info/input/index.css +89 -0
- package/lib/pages/personal-info/components/edit-info/input/index.js +199 -0
- package/lib/pages/personal-info/components/person-photo/index.css +88 -0
- package/lib/pages/personal-info/components/person-photo/index.js +86 -0
- package/lib/pages/personal-info/index.js +3 -1
- package/package.json +3 -1
- package/src/components/dialog/index.js +2 -1
- package/src/components/dialog/index.scss +3 -0
- package/src/components/form/form-fields/input/index.scss +16 -5
- package/src/components/form/form-fields/input/index.tsx +9 -4
- package/src/components/form/form-fields/input-verification-code/index.scss +108 -0
- package/src/components/form/form-fields/input-verification-code/index.tsx +171 -0
- package/src/components/form/form-fields/password/index.scss +2 -2
- package/src/components/form/form-fields/radios/index.tsx +2 -2
- package/src/components/form/index.tsx +2 -0
- package/src/components/grid-layout/near-visitors/index.tsx +3 -2
- package/src/components/grid-layout/okr-align/index.tsx +4 -4
- package/src/components/grid-layout/okr-progress/index.tsx +6 -6
- package/src/components/grid-layout/okr-target/index.tsx +2 -2
- package/src/components/grid-layout/over-view/index.tsx +1 -1
- package/src/components/grid-layout/personal-info/index.tsx +4 -3
- package/src/components/grid-layout/sub-employee-okr/index.tsx +1 -1
- package/src/components/grid-layout/week-task/index.tsx +3 -3
- package/src/components/grid-layout/words-cloud/index.tsx +4 -3
- package/src/components/grid-page/personal-info/index.tsx +4 -3
- package/src/components/img-viewer/index.tsx +1 -1
- package/src/components/mblog/style.ts +5 -5
- package/src/components/nav-top/components/user-message/components/empty/index.tsx +3 -2
- package/src/components/nav-top/components/user-message/msg/index.tsx +1 -1
- package/src/components/okr-detail/base-info/base-info.tsx +2 -4
- package/src/components/okr-detail/base-info/o-desc/index.tsx +0 -7
- package/src/components/point-demo/constant.ts +1 -3
- package/src/components/point-demo/drop-down-box/index.js +1 -2
- package/src/components/point-demo/index.js +8 -9
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.scss +1 -1
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.tsx +1 -0
- package/src/components/table/index.js +1 -0
- package/src/components/table/index.scss +5 -0
- package/src/components/upload-photo-modal/constant.ts +71 -0
- package/src/components/upload-photo-modal/img/browser-preview-bgc.png +0 -0
- package/src/components/upload-photo-modal/index.scss +248 -0
- package/src/components/upload-photo-modal/index.tsx +236 -0
- package/src/components/upload-photo-modal/request-api.ts +23 -0
- package/src/components/user-selector/category-selector-panel/depart-tree.tsx +3 -2
- package/src/components/user-selector/export-modules/field-tree-selector/index.scss +1 -1
- package/src/components/user-selector/export-modules/field-tree-selector/index.tsx +3 -0
- package/src/components/user-selector/request-apis.js +1 -1
- package/src/components/word-cloud/index.js +1 -1
- package/src/components-v1/userSelector/components/MultiMode/CommonList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/DepartmentList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/SubsList.tsx +1 -1
- package/src/components-v1/userSelector/components/SingleMode.tsx +1 -1
- package/src/index.js +1 -0
- package/src/pages/home/components/data-list/index.tsx +2 -2
- package/src/pages/home/components/data-list/nav-selector/index.tsx +2 -2
- package/src/pages/home/components/data-list/table/columns/index.tsx +1 -1
- package/src/pages/home/components/guide/index.tsx +13 -12
- package/src/pages/home/components/header/index.tsx +2 -1
- package/src/pages/home-page-data-list/index.tsx +2 -2
- package/src/pages/personal-info/components/base-info/index.scss +30 -1
- package/src/pages/personal-info/components/base-info/index.tsx +26 -97
- package/src/pages/personal-info/components/edit-info/index.tsx +152 -0
- package/src/pages/personal-info/components/edit-info/input/index.scss +82 -0
- package/src/pages/personal-info/components/edit-info/input/index.tsx +145 -0
- package/src/pages/personal-info/components/person-photo/index.scss +80 -0
- package/src/pages/personal-info/components/person-photo/index.tsx +49 -0
- package/src/pages/personal-info/index.tsx +2 -0
|
@@ -21,7 +21,6 @@ const ODesc: FC<IODescProps> = ({
|
|
|
21
21
|
const [hasError, setHasError] = useState(false);
|
|
22
22
|
const [isShowMore, setIsShowMore] = useState(false);
|
|
23
23
|
const [desc, setDesc] = useState(originalDesc);
|
|
24
|
-
// const [originalDesc,setOriginalDesc] = useState(decodeURI(encodeURI(data.description))||'')
|
|
25
24
|
const [showMoreBtn, setShowMoreBtn] = useState(false);
|
|
26
25
|
const textareaRef = useRef(document.createElement("textarea"));
|
|
27
26
|
const textRef = useRef(document.createElement("div"));
|
|
@@ -69,12 +68,6 @@ const ODesc: FC<IODescProps> = ({
|
|
|
69
68
|
[originalDesc, desc, onChangeDesc, hasError]
|
|
70
69
|
);
|
|
71
70
|
|
|
72
|
-
// const handleEnsureDesc = useCallback((e) => {
|
|
73
|
-
// setIsFocus(false);
|
|
74
|
-
// setIsAddDesc(false)
|
|
75
|
-
// onChangeDesc && onChangeDesc();
|
|
76
|
-
// }, [onChangeDesc]);
|
|
77
|
-
|
|
78
71
|
useEffect(() => {
|
|
79
72
|
if (isFocus) {
|
|
80
73
|
setShowMoreBtn(false);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { getLocale } from "../../utils/getLocale";
|
|
2
|
-
|
|
3
1
|
export const getOkrClassifyList = () => {
|
|
4
2
|
return [
|
|
5
3
|
{ label: "1-10", value: 1 },
|
|
@@ -24,6 +22,6 @@ export const getOkrClassifyList1 = () => {
|
|
|
24
22
|
{ label: "IT 负责人", value: 4 },
|
|
25
23
|
{ label: "采购专员", value: 5 },
|
|
26
24
|
{ label: "业务部门主管", value: 6 },
|
|
27
|
-
{ label:
|
|
25
|
+
{ label: `其他`, value: 7 },
|
|
28
26
|
]
|
|
29
27
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { FC, useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
2
2
|
import Popup from "../popup";
|
|
3
|
-
import { getLocale } from '../../../utils/getLocale'
|
|
4
3
|
import SuffixIcon from "../image/down.svg"
|
|
5
4
|
import "./index.scss";
|
|
6
5
|
|
|
7
|
-
const SelectLayer = ({ style,errMsg,className,title,required=false, initValue, onChangeClassify, items, initText =
|
|
6
|
+
const SelectLayer = ({ style,errMsg,className,title,required=false, initValue, onChangeClassify, items, initText = `暂无`, popupProps, renderPrefixIcon, renderSuffixIcon, renderPrefixIconClass, renderSuffixIconClass, textClass, forceRenderText = false }) => {
|
|
8
7
|
const [visible, setVisible] = useState(false);
|
|
9
8
|
const [selectItem, setSelectItem] = useState(items.find(item => item.value === initValue));
|
|
10
9
|
|
|
@@ -5,7 +5,6 @@ import Dialog from "../dialog";
|
|
|
5
5
|
import axios from 'axios'
|
|
6
6
|
import ReactDOM from 'react-dom'
|
|
7
7
|
import {getTenantInfo} from '../../utils/helpers';
|
|
8
|
-
import { getLocale } from '../../utils/getLocale'
|
|
9
8
|
// const isMobile = window.userAgent === 'mobile'
|
|
10
9
|
const isMobile = document.body.clientWidth < 768
|
|
11
10
|
import Input from './input'
|
|
@@ -250,7 +249,7 @@ export default (props) => {
|
|
|
250
249
|
<div className="tita-appointment-demo-right-form">
|
|
251
250
|
<div className="tita-appointment-demo-right-form-item">
|
|
252
251
|
<Input className="tita-appointment-demo-right-form-item-left"
|
|
253
|
-
label={
|
|
252
|
+
label={'名称'} placeholder="请输入您的名称"
|
|
254
253
|
id="name"
|
|
255
254
|
errMsg={errMsg}
|
|
256
255
|
required={true}
|
|
@@ -259,7 +258,7 @@ export default (props) => {
|
|
|
259
258
|
onBlur={onBlurName}
|
|
260
259
|
/>
|
|
261
260
|
<Input className="tita-appointment-demo-right-form-item-right"
|
|
262
|
-
label="手机号码" placeholder={
|
|
261
|
+
label="手机号码" placeholder={'请输入手机号'}
|
|
263
262
|
id="phone"
|
|
264
263
|
errMsg={errMsg1}
|
|
265
264
|
required={true}
|
|
@@ -276,7 +275,7 @@ export default (props) => {
|
|
|
276
275
|
items={getOkrClassifyList1()}
|
|
277
276
|
initValue={selectValue1}
|
|
278
277
|
renderSuffixIcon
|
|
279
|
-
initText={
|
|
278
|
+
initText={'请选择'}
|
|
280
279
|
onChangeClassify={handleSelectOkrClassify1}
|
|
281
280
|
title="您的身份"
|
|
282
281
|
errMsg={errMsgIde}
|
|
@@ -287,7 +286,7 @@ export default (props) => {
|
|
|
287
286
|
items={getOkrClassifyList()}
|
|
288
287
|
initValue={selectValue}
|
|
289
288
|
renderSuffixIcon
|
|
290
|
-
initText={
|
|
289
|
+
initText={'请选择'}
|
|
291
290
|
onChangeClassify={handleSelectOkrClassify}
|
|
292
291
|
title="公司人数"
|
|
293
292
|
errMsg={errMsgNum}
|
|
@@ -325,9 +324,9 @@ export default (props) => {
|
|
|
325
324
|
<div className={`${has('OKR 目标管理') ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
|
|
326
325
|
onClick={() => onClickAddModules('OKR 目标管理')}
|
|
327
326
|
>OKR 目标管理</div>
|
|
328
|
-
<div className={`${has(
|
|
329
|
-
onClick={() => onClickAddModules(
|
|
330
|
-
|
|
327
|
+
<div className={`${has("绩效考核") ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
|
|
328
|
+
onClick={() => onClickAddModules("绩效考核")}
|
|
329
|
+
>绩效考核</div>
|
|
331
330
|
<div className={`${has('项目管理') ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
|
|
332
331
|
onClick={() => onClickAddModules('项目管理')}
|
|
333
332
|
>项目管理</div>
|
|
@@ -360,7 +359,7 @@ export default (props) => {
|
|
|
360
359
|
}
|
|
361
360
|
<div className="tita-appointment-demo-right-form-submit"
|
|
362
361
|
onClick={onClickSubmit}
|
|
363
|
-
|
|
362
|
+
>提交</div>
|
|
364
363
|
</div>
|
|
365
364
|
</div>
|
|
366
365
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { saveUserInfo, saveTenantLogo } from "./request-api";
|
|
2
|
+
import Toast from '../../components/toast';
|
|
3
|
+
|
|
4
|
+
export const List = [
|
|
5
|
+
{
|
|
6
|
+
id: 'person',
|
|
7
|
+
accept: '.jpg,.jpeg,.gif,.png',
|
|
8
|
+
autoCropArea: 0.5,
|
|
9
|
+
initialAspectRatio: 1,
|
|
10
|
+
tips: '仅支持 jpg、jpeg、gif、png 格式 建议图片最小尺寸 150*150px',
|
|
11
|
+
previewTitle: '预览',
|
|
12
|
+
handleSaveInfo: (data, onCancel, image) => {
|
|
13
|
+
if (!image) {
|
|
14
|
+
return;
|
|
15
|
+
} else {
|
|
16
|
+
saveUserInfo({ data: data }).then((resp) => {
|
|
17
|
+
if (resp.Code === 1) {
|
|
18
|
+
Toast.Success('保存成功', { canClose: false });
|
|
19
|
+
onCancel();
|
|
20
|
+
} else {
|
|
21
|
+
Toast.Error(resp.Message, { canClose: false });
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'enterprise',
|
|
29
|
+
accept: '.jpg,.jpeg,.gif,.png',
|
|
30
|
+
autoCropArea: 1,
|
|
31
|
+
initialAspectRatio: 5,
|
|
32
|
+
tips: '建议 logo 尺寸 400*80 logo 最佳适配颜色为白色 仅支持 jpg、jpeg、gif、png 格式',
|
|
33
|
+
previewTitle: 'logo 预览',
|
|
34
|
+
handleSaveInfo: (data, onCancel, image) => {
|
|
35
|
+
if (!image) {
|
|
36
|
+
return;
|
|
37
|
+
} else {
|
|
38
|
+
saveTenantLogo({ data: data }).then((resp) => {
|
|
39
|
+
if (resp.Code === 1) {
|
|
40
|
+
Toast.Success('保存成功', { canClose: false });
|
|
41
|
+
onCancel();
|
|
42
|
+
} else {
|
|
43
|
+
Toast.Error(resp.Message, { canClose: false });
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: 'browser',
|
|
51
|
+
accept: '',
|
|
52
|
+
autoCropArea: 0.5,
|
|
53
|
+
initialAspectRatio: 1,
|
|
54
|
+
tips: '图标尺寸 18*18,超过将被浏览器压缩',
|
|
55
|
+
previewTitle: '浏览器图标预览',
|
|
56
|
+
handleSaveInfo: (data, onCancel, image) => {
|
|
57
|
+
if (!image) {
|
|
58
|
+
return;
|
|
59
|
+
} else {
|
|
60
|
+
saveTenantLogo({ data: data }).then((resp) => {
|
|
61
|
+
if (resp.Code === 1) {
|
|
62
|
+
Toast.Success('保存成功', { canClose: false });
|
|
63
|
+
onCancel();
|
|
64
|
+
} else {
|
|
65
|
+
Toast.Error(resp.Message, { canClose: false });
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
}
|
|
71
|
+
];
|
|
Binary file
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
.tita-ui-change-person-photo {
|
|
2
|
+
&__img {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
padding: 0 32px;
|
|
7
|
+
.cropper-wrap-box {
|
|
8
|
+
border-radius: 12px;
|
|
9
|
+
}
|
|
10
|
+
.cropper-canvas {
|
|
11
|
+
border-radius: 12px;
|
|
12
|
+
}
|
|
13
|
+
.cropper-crop {
|
|
14
|
+
border-radius: 12px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
&__upload {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
padding: 0 32px;
|
|
22
|
+
|
|
23
|
+
&-preview {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
&-right {
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 240px;
|
|
31
|
+
height: 240px;
|
|
32
|
+
background: #f0f2f5;
|
|
33
|
+
border-radius: 12px;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
padding: 30px;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
align-items: center;
|
|
39
|
+
&-input {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 76px;
|
|
42
|
+
width: 240px;
|
|
43
|
+
height: 60px;
|
|
44
|
+
opacity: 0;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
&-icon {
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
margin-top: 46px;
|
|
50
|
+
font-size: 32px;
|
|
51
|
+
color: #2879ff;
|
|
52
|
+
}
|
|
53
|
+
&-title {
|
|
54
|
+
margin-top: 4px;
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
color: #2879ff;
|
|
58
|
+
line-height: 18px;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
&-tips {
|
|
62
|
+
margin-top: 8px;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
font-weight: 400;
|
|
65
|
+
color: #a4acb9;
|
|
66
|
+
line-height: 18px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
&-left {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: center;
|
|
74
|
+
margin-left: 36px;
|
|
75
|
+
width: 136px;
|
|
76
|
+
height: 100%;
|
|
77
|
+
&-box1 {
|
|
78
|
+
width: 136px;
|
|
79
|
+
height: 136px;
|
|
80
|
+
background: #f0f2f5;
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
}
|
|
83
|
+
&-box2 {
|
|
84
|
+
width: 48px;
|
|
85
|
+
height: 48px;
|
|
86
|
+
background: #f0f2f5;
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
margin-top: 14px;
|
|
89
|
+
}
|
|
90
|
+
&-box3 {
|
|
91
|
+
width: 28px;
|
|
92
|
+
height: 28px;
|
|
93
|
+
background: #f0f2f5;
|
|
94
|
+
border-radius: 50%;
|
|
95
|
+
margin-top: 14px;
|
|
96
|
+
}
|
|
97
|
+
&-box {
|
|
98
|
+
width: 160px;
|
|
99
|
+
height: 32px;
|
|
100
|
+
background: #F0F2F5;
|
|
101
|
+
border-radius: 2px;
|
|
102
|
+
border: 1px solid #E9ECF0;
|
|
103
|
+
}
|
|
104
|
+
&-preview {
|
|
105
|
+
margin-top: 8px;
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
font-weight: 400;
|
|
108
|
+
color: #3F4755;
|
|
109
|
+
line-height: 22px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
&__preview {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
&-box {
|
|
119
|
+
position: relative;
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
&-bgc {
|
|
124
|
+
width: 160px;
|
|
125
|
+
height: 32px;
|
|
126
|
+
background: #2879FF;
|
|
127
|
+
border-radius: 2px;
|
|
128
|
+
border: 1px solid #E9ECF0;
|
|
129
|
+
}
|
|
130
|
+
&-browser {
|
|
131
|
+
margin-left: 16px;
|
|
132
|
+
width: 176px;
|
|
133
|
+
height: 48px;
|
|
134
|
+
background: #F0F2F5;
|
|
135
|
+
border-radius: 2px;
|
|
136
|
+
border: 1px solid #E9ECF0;
|
|
137
|
+
background-image: url('./img/browser-preview-bgc.png');
|
|
138
|
+
background-size: 170px 28px;
|
|
139
|
+
background-position: center center;
|
|
140
|
+
background-repeat: no-repeat;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
&-box1 {
|
|
144
|
+
width: 136px;
|
|
145
|
+
height: 136px;
|
|
146
|
+
border-radius: 50%;
|
|
147
|
+
}
|
|
148
|
+
&-box2 {
|
|
149
|
+
margin-top: 14px;
|
|
150
|
+
width: 48px;
|
|
151
|
+
height: 48px;
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
}
|
|
154
|
+
&-box3 {
|
|
155
|
+
margin-top: 14px;
|
|
156
|
+
width: 28px;
|
|
157
|
+
height: 28px;
|
|
158
|
+
border-radius: 50%;
|
|
159
|
+
}
|
|
160
|
+
&-enterprise {
|
|
161
|
+
&-img {
|
|
162
|
+
position: absolute;
|
|
163
|
+
top: 2px;
|
|
164
|
+
right: 45px;
|
|
165
|
+
width: 70px;
|
|
166
|
+
height: 28px;
|
|
167
|
+
}
|
|
168
|
+
&-title {
|
|
169
|
+
margin-top: 36px;
|
|
170
|
+
font-size: 14px;
|
|
171
|
+
font-weight: 400;
|
|
172
|
+
color: #3F4755;
|
|
173
|
+
line-height: 22px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
&-browser {
|
|
177
|
+
&-img {
|
|
178
|
+
position: absolute;
|
|
179
|
+
top: 15px;
|
|
180
|
+
left: 16px;
|
|
181
|
+
width: 18px;
|
|
182
|
+
height: 18px;
|
|
183
|
+
}
|
|
184
|
+
&-name {
|
|
185
|
+
position: absolute;
|
|
186
|
+
top: 15px;
|
|
187
|
+
right:10px;
|
|
188
|
+
font-size: 12px;
|
|
189
|
+
font-weight: 400;
|
|
190
|
+
color: #3F4755;
|
|
191
|
+
line-height: 18px;
|
|
192
|
+
}
|
|
193
|
+
&-title {
|
|
194
|
+
margin-top: 58px;
|
|
195
|
+
font-size: 14px;
|
|
196
|
+
font-weight: 400;
|
|
197
|
+
color: #3F4755;
|
|
198
|
+
line-height: 22px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
&-title {
|
|
202
|
+
margin-top: 8px;
|
|
203
|
+
font-size: 14px;
|
|
204
|
+
font-weight: 400;
|
|
205
|
+
color: #6f7886;
|
|
206
|
+
line-height: 22px;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
&__title {
|
|
210
|
+
position: relative;
|
|
211
|
+
display: flex;
|
|
212
|
+
align-items: center;
|
|
213
|
+
justify-content: space-between;
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
padding: 8px 32px 0 32px;
|
|
216
|
+
&-input {
|
|
217
|
+
display: none;
|
|
218
|
+
position: absolute;
|
|
219
|
+
width: 240px;
|
|
220
|
+
height: 30px;
|
|
221
|
+
&--show {
|
|
222
|
+
display: block;
|
|
223
|
+
opacity: 0;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
&-again {
|
|
228
|
+
margin-left: 92px;
|
|
229
|
+
margin-top: 8px;
|
|
230
|
+
font-size: 14px;
|
|
231
|
+
font-weight: 400;
|
|
232
|
+
color: #bfc7d5;
|
|
233
|
+
line-height: 22px;
|
|
234
|
+
&--show {
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
color: #2879ff;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
&-preview {
|
|
240
|
+
margin-right: 54px;
|
|
241
|
+
margin-top: 8px;
|
|
242
|
+
font-size: 14px;
|
|
243
|
+
font-weight: 400;
|
|
244
|
+
color: #6f7886;
|
|
245
|
+
line-height: 22px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|