mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
[improvement][headless-fe] Optimized the logic for initializing indicators in dimension value settings. (#929)
* [improvement][semantic-fe] Add model alias setting & Add view permission restrictions to the model permission management tab. [improvement][semantic-fe] Add permission control to the action buttons for the main domain; apply high sensitivity filtering to the authorization of metrics/dimensions. [improvement][semantic-fe] Optimize the editing mode in the dimension/metric/datasource components to use the modelId stored in the database for data, instead of relying on the data from the state manager. * [improvement][semantic-fe] Add time granularity setting in the data source configuration. * [improvement][semantic-fe] Dictionary import for dimension values supported in Q&A visibility * [improvement][semantic-fe] Modification of data source creation prompt wording" * [improvement][semantic-fe] metric market experience optimization * [improvement][semantic-fe] enhance the analysis of metric trends * [improvement][semantic-fe] optimize the presentation of metric trend permissions * [improvement][semantic-fe] add metric trend download functionality * [improvement][semantic-fe] fix the dimension initialization issue in metric correlation * [improvement][semantic-fe] Fix the issue of database changes not taking effect when creating based on an SQL data source. * [improvement][semantic-fe] Optimizing pagination logic and some CSS styles * [improvement][semantic-fe] Fixing the API for the indicator list by changing "current" to "pageNum" * [improvement][semantic-fe] Fixing the default value setting for the indicator list * [improvement][semantic-fe] Adding batch operations for indicators/dimensions/models * [improvement][semantic-fe] Replacing the single status update API for indicators/dimensions with a batch update API * [improvement][semantic-fe] Redesigning the indicator homepage to incorporate trend charts and table functionality for indicators * [improvement][semantic-fe] Optimizing the logic for setting dimension values and editing data sources, and adding system settings functionality * [improvement][semantic-fe] Upgrading antd version to 5.x, extracting the batch operation button component, optimizing the interaction for system settings, and expanding the configuration generation types for list-to-select component. * [improvement][semantic-fe] Adding the ability to filter dimensions based on whether they are tags or not. * [improvement][semantic-fe] Adding the ability to edit relationships between models in the canvas. * [improvement][semantic-fe] Updating the datePicker component to use dayjs instead. * [improvement][semantic-fe] Fixing the issue with passing the model ID for dimensions in the indicator market. * [improvement][semantic-fe] Fixing the abnormal state of the popup when creating a model. * [improvement][semantic-fe] Adding permission logic for bulk operations in the indicator market. * [improvement][semantic-fe] Adding the ability to download and transpose data. * [improvement][semantic-fe] Fixing the initialization issue with the date selection component in the indicator details page when switching time granularity. * [improvement][semantic-fe] Fixing the logic error in the dimension value setting. * [improvement][semantic-fe] Fixing the synchronization issue with the question and answer settings information. * [improvement][semantic-fe] Optimizing the canvas functionality for better performance and user experience. * [improvement][semantic-fe] Optimizing the update process for drawing model relationship edges in the canvas. * [improvement][semantic-fe] Changing the line type for canvas connections. * [improvement][semantic-fe] Replacing the initialization variable from "semantic" to "headless". * [improvement][semantic-fe] Fixing the missing migration issue for default drill-down dimension configuration in model editing. Additionally, optimizing the data retrieval method for initializing fields in the model. * [improvement][semantic-fe] Updating the logic for the fieldName. * [improvement][semantic-fe] Adjusting the position of the metrics tab. * [improvement][semantic-fe] Changing the 字段名称 to 英文名称. * [improvement][semantic-fe] Fix metric measurement deletion. * [improvement][semantic-fe] UI optimization for metric details page. * [improvement][semantic-fe] UI optimization for metric details page. * [improvement][semantic-fe] UI adjustment for metric details page. * [improvement][semantic-fe] The granularity field in the time type of model editing now supports setting it as empty. * [improvement][semantic-fe] Added field type and metric type to the metric creation options. * [improvement][semantic-fe] The organization structure selection feature has been added to the permission management. * [improvement][semantic-fe] Improved user experience for the metric list. * [improvement][semantic-fe] fix update the metric list. * [improvement][headless-fe] Added view management functionality. * [improvement][headless-fe] The view management functionality has been added. This feature allows users to create, edit, and manage different views within the system. * [improvement][headless-fe] Added model editing side effect detection. * [improvement][headless-fe] Fixed the logic error in view editing. * [improvement][headless-fe] Fixed the issue with initializing dimension associations in metric settings. * [improvement][headless-fe] Added the ability to hide the Q&A settings entry point. * [improvement][headless-fe] Fixed the issue with selecting search results in metric field creation. * [improvement][headless-fe] Added search functionality to the field list in model editing. * [improvement][headless-fe] fix the field list in model editing * [improvement][headless-fe] Restructured the data for the dimension value settings interface. * [improvement][headless-fe] Added dynamic variable functionality to model creation based on SQL scripts. * [improvement][headless-fe] Added support for passing dynamic variables as parameters in the executeSql function. * [improvement][headless-fe] Resolved the issue where users were unable to select all options for dimensions, metrics, and fields in the metric generation process. * [improvement][headless-fe] Replaced the term "view" with "dataset" * [improvement][headless-fe] Added the ability to export metrics and dimensions to a specific target. * [improvement][headless-fe] Enhanced dataset creation to support the tag mode. * [improvement][headless-fe] Added tag value setting. * [improvement][headless-fe] Optimized the tag setting system. * [improvement][headless-fe] Optimized the tag setting system. * [improvement][headless-fe] Updated the data initialization for model editing to use API requests instead. * [improvement][headless-fe] Added search functionality to model management. * [improvement][headless-fe] Removed field null validation during model editing. * [improvement][headless-fe] Updated the batch operation button component. * [improvement][headless-fe] Optimized the logic for initializing indicators in dimension value settings. * [improvement][headless-fe] Adjusted the length of the input field for model editing names. * [improvement][headless-fe] Lock the version of the @ant-design/pro-table component and replace it with @ant-design/pro-components. * [improvement][headless-fe] Optimized the style of the metrics market and tags market.
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
"@umijs/route-utils": "^1.0.33",
|
"@umijs/route-utils": "^1.0.33",
|
||||||
"ace-builds": "^1.4.12",
|
"ace-builds": "^1.4.12",
|
||||||
"ahooks": "^3.7.7",
|
"ahooks": "^3.7.7",
|
||||||
"antd": "^5.11.0",
|
"antd": "5.11.0",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"compression-webpack-plugin": "^11.0.0",
|
"compression-webpack-plugin": "^11.0.0",
|
||||||
"copy-to-clipboard": "^3.3.1",
|
"copy-to-clipboard": "^3.3.1",
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export const layout: RunTimeLayoutConfig = (params) => {
|
|||||||
color="#fff"
|
color="#fff"
|
||||||
style={{ display: 'inline-block', marginTop: 8 }}
|
style={{ display: 'inline-block', marginTop: 8 }}
|
||||||
/>
|
/>
|
||||||
<div className="logo">超音数(SuperSonic)</div>
|
<div className="logo">SuperSonic</div>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
contentStyle: { ...(initialState?.contentStyle || {}) },
|
contentStyle: { ...(initialState?.contentStyle || {}) },
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ const LoginPage: React.FC = () => {
|
|||||||
color="#296DF3"
|
color="#296DF3"
|
||||||
style={{ display: 'inline-block', marginTop: 8 }}
|
style={{ display: 'inline-block', marginTop: 8 }}
|
||||||
/>
|
/>
|
||||||
<div>超音数(SuperSonic)</div>
|
<div>SuperSonic</div>
|
||||||
</Space>
|
</Space>
|
||||||
</h3>
|
</h3>
|
||||||
<Item name="name" rules={[{ required: true }]} label="">
|
<Item name="name" rules={[{ required: true }]} label="">
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ import { SENSITIVE_LEVEL_ENUM } from '../constant';
|
|||||||
import { getTagList, deleteTag, batchDeleteTag, getTagObjectList } from '../service';
|
import { getTagList, deleteTag, batchDeleteTag, getTagObjectList } from '../service';
|
||||||
import TagFilter from './components/TagFilter';
|
import TagFilter from './components/TagFilter';
|
||||||
import TagInfoCreateForm from './components/TagInfoCreateForm';
|
import TagInfoCreateForm from './components/TagInfoCreateForm';
|
||||||
import { StatusEnum } from '../enum';
|
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import styles from './style.less';
|
import styles from './style.less';
|
||||||
import { ISemantic } from '../data';
|
import { ISemantic } from '../data';
|
||||||
@@ -338,6 +337,17 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
<TagFilter
|
<TagFilter
|
||||||
tagObjectList={tagObjectList}
|
tagObjectList={tagObjectList}
|
||||||
initFilterValues={filterParams}
|
initFilterValues={filterParams}
|
||||||
|
extraNode={
|
||||||
|
<BatchCtrlDropDownButton
|
||||||
|
key="ctrlBtnList"
|
||||||
|
downloadLoading={downloadLoading}
|
||||||
|
onDeleteConfirm={() => {
|
||||||
|
queryBatchDeleteTag(selectedRowKeys);
|
||||||
|
}}
|
||||||
|
hiddenList={['batchDownload', 'batchStart', 'batchStop']}
|
||||||
|
disabledList={hasAllPermission ? [] : ['batchStart', 'batchDelete']}
|
||||||
|
/>
|
||||||
|
}
|
||||||
onFilterInit={(values) => {
|
onFilterInit={(values) => {
|
||||||
setFilterParams({
|
setFilterParams({
|
||||||
...filterParams,
|
...filterParams,
|
||||||
@@ -373,18 +383,6 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
...rowSelection,
|
...rowSelection,
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => [
|
|
||||||
<BatchCtrlDropDownButton
|
|
||||||
key="ctrlBtnList"
|
|
||||||
downloadLoading={downloadLoading}
|
|
||||||
onDeleteConfirm={() => {
|
|
||||||
queryBatchDeleteTag(selectedRowKeys);
|
|
||||||
}}
|
|
||||||
hiddenList={['batchDownload', 'batchStart', 'batchStop']}
|
|
||||||
disabledList={hasAllPermission ? [] : ['batchStart', 'batchDelete']}
|
|
||||||
// onMenuClick={onMenuClick}
|
|
||||||
/>,
|
|
||||||
]}
|
|
||||||
loading={loading}
|
loading={loading}
|
||||||
onChange={(data: any) => {
|
onChange={(data: any) => {
|
||||||
const { current, pageSize, total } = data;
|
const { current, pageSize, total } = data;
|
||||||
@@ -396,7 +394,7 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
setPagination(pagin);
|
setPagination(pagin);
|
||||||
queryTagList({ ...pagin, ...filterParams });
|
queryTagList({ ...pagin, ...filterParams });
|
||||||
}}
|
}}
|
||||||
options={{ reload: false, density: false, fullScreen: false }}
|
options={false}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ const FormItem = Form.Item;
|
|||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
tagObjectList: ISemantic.ITagObjectItem[];
|
tagObjectList: ISemantic.ITagObjectItem[];
|
||||||
|
extraNode?: ReactNode;
|
||||||
initFilterValues?: any;
|
initFilterValues?: any;
|
||||||
onFilterInit?: (values: any) => void;
|
onFilterInit?: (values: any) => void;
|
||||||
onFiltersChange: (_: any, values: any) => void;
|
onFiltersChange: (_: any, values: any) => void;
|
||||||
@@ -19,6 +20,7 @@ type Props = {
|
|||||||
|
|
||||||
const TagFilter: React.FC<Props> = ({
|
const TagFilter: React.FC<Props> = ({
|
||||||
tagObjectList,
|
tagObjectList,
|
||||||
|
extraNode,
|
||||||
initFilterValues = {},
|
initFilterValues = {},
|
||||||
onFilterInit,
|
onFilterInit,
|
||||||
onFiltersChange,
|
onFiltersChange,
|
||||||
@@ -63,12 +65,6 @@ const TagFilter: React.FC<Props> = ({
|
|||||||
}
|
}
|
||||||
}, [currentDomainId, tagObjectList]);
|
}, [currentDomainId, tagObjectList]);
|
||||||
|
|
||||||
// useEffect(() => {
|
|
||||||
// if (currentDomainId) {
|
|
||||||
// onFilterInit?.();
|
|
||||||
// }
|
|
||||||
// }, [currentDomainId])
|
|
||||||
|
|
||||||
const handleValuesChange = (value: any, values: any) => {
|
const handleValuesChange = (value: any, values: any) => {
|
||||||
onFiltersChange(value, values);
|
onFiltersChange(value, values);
|
||||||
};
|
};
|
||||||
@@ -158,44 +154,49 @@ const TagFilter: React.FC<Props> = ({
|
|||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
</StandardFormRow>
|
</StandardFormRow>
|
||||||
<Space size={40}>
|
<Row style={{ width: '100%' }}>
|
||||||
<StandardFormRow key="domainId" title="主题域" block>
|
<Col flex="auto">
|
||||||
<FormItem name="domainId">
|
<Space size={40}>
|
||||||
<DomainTreeSelect
|
<StandardFormRow key="domainId" title="主题域" block>
|
||||||
firstLevelOnly={true}
|
<FormItem name="domainId">
|
||||||
treeSelectProps={{ multiple: false, allowClear: false }}
|
<DomainTreeSelect
|
||||||
onDefaultValue={(value) => {
|
firstLevelOnly={true}
|
||||||
setCurrentDomainId(value);
|
treeSelectProps={{ multiple: false, allowClear: false }}
|
||||||
}}
|
onDefaultValue={(value) => {
|
||||||
/>
|
setCurrentDomainId(value);
|
||||||
</FormItem>
|
}}
|
||||||
</StandardFormRow>
|
/>
|
||||||
<StandardFormRow key="tagObjectId" title="标签对象" block>
|
|
||||||
<FormItem name="tagObjectId">
|
|
||||||
<Select
|
|
||||||
style={{ minWidth: 150 }}
|
|
||||||
placeholder="请选择所属对象"
|
|
||||||
options={tagObjectOptions}
|
|
||||||
/>
|
|
||||||
</FormItem>
|
|
||||||
</StandardFormRow>
|
|
||||||
{filterList.map((item) => {
|
|
||||||
const { title, key, options } = item;
|
|
||||||
return (
|
|
||||||
<StandardFormRow key={key} title={title} block>
|
|
||||||
<FormItem name={key}>
|
|
||||||
<TagSelect reverseCheckAll single>
|
|
||||||
{options.map((item: any) => (
|
|
||||||
<TagSelect.Option key={item.value} value={item.value}>
|
|
||||||
{item.label}
|
|
||||||
</TagSelect.Option>
|
|
||||||
))}
|
|
||||||
</TagSelect>
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</StandardFormRow>
|
</StandardFormRow>
|
||||||
);
|
<StandardFormRow key="tagObjectId" title="标签对象" block>
|
||||||
})}
|
<FormItem name="tagObjectId">
|
||||||
</Space>
|
<Select
|
||||||
|
style={{ minWidth: 150 }}
|
||||||
|
placeholder="请选择所属对象"
|
||||||
|
options={tagObjectOptions}
|
||||||
|
/>
|
||||||
|
</FormItem>
|
||||||
|
</StandardFormRow>
|
||||||
|
{filterList.map((item) => {
|
||||||
|
const { title, key, options } = item;
|
||||||
|
return (
|
||||||
|
<StandardFormRow key={key} title={title} block>
|
||||||
|
<FormItem name={key}>
|
||||||
|
<TagSelect reverseCheckAll single>
|
||||||
|
{options.map((item: any) => (
|
||||||
|
<TagSelect.Option key={item.value} value={item.value}>
|
||||||
|
{item.label}
|
||||||
|
</TagSelect.Option>
|
||||||
|
))}
|
||||||
|
</TagSelect>
|
||||||
|
</FormItem>
|
||||||
|
</StandardFormRow>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</Space>
|
||||||
|
</Col>
|
||||||
|
{extraNode && <Col flex="130px">{extraNode}</Col>}
|
||||||
|
</Row>
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,340 +1,339 @@
|
|||||||
.TagFilterWrapper {
|
.TagFilterWrapper {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 10px;
|
padding-bottom: 5px;
|
||||||
padding-bottom: 5px;
|
background: #fff;
|
||||||
background: #fff;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagTable {
|
.tagTable {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
|
:global {
|
||||||
|
.ant-pro-card-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.searchBox {
|
.searchBox {
|
||||||
// margin-bottom: 12px;
|
width: 740px;
|
||||||
background: #fff;
|
margin: 0 auto;
|
||||||
|
// margin-bottom: 12px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
.searchInput {
|
||||||
|
width: 100%;
|
||||||
|
border: 1px solid rgba(35, 104, 184, 0.6);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
width: 740px;
|
}
|
||||||
margin: 0 auto;
|
:global {
|
||||||
.searchInput {
|
.ant-select-auto-complete {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(35, 104, 184, 0.6);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
:global {
|
.ant-input {
|
||||||
|
height: 50px;
|
||||||
|
padding: 0 15px;
|
||||||
|
color: #515a6e;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 50px;
|
||||||
|
background: hsla(0, 0%, 100%, 0.2);
|
||||||
|
border: none;
|
||||||
|
border-top-left-radius: 10px;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
|
caret-color: #296df3;
|
||||||
|
|
||||||
.ant-select-auto-complete {
|
&:focus {
|
||||||
width: 100%;
|
border-right-width: 0 !important;
|
||||||
}
|
box-shadow: none;
|
||||||
.ant-input {
|
}
|
||||||
height: 50px;
|
|
||||||
padding: 0 15px;
|
|
||||||
color: #515a6e;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 50px;
|
|
||||||
background: hsla(0, 0%, 100%, 0.2);
|
|
||||||
border: none;
|
|
||||||
border-top-left-radius: 10px;
|
|
||||||
border-bottom-left-radius: 10px;
|
|
||||||
caret-color: #296df3;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
border-right-width: 0 !important;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-input-group-addon {
|
|
||||||
left: 0 !important;
|
|
||||||
padding: 0;
|
|
||||||
background: hsla(0, 0%, 100%, 0.2);
|
|
||||||
border: none;
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-top-right-radius: 10px;
|
|
||||||
border-bottom-right-radius: 10px;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
|
|
||||||
.ant-btn {
|
|
||||||
width: 72px;
|
|
||||||
height: 50px;
|
|
||||||
margin: 0;
|
|
||||||
color: rgba(35, 104, 184, 0.6);
|
|
||||||
font-size: 16px;
|
|
||||||
background-color: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none !important;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon {
|
|
||||||
font-size: 28px;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: @primary-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-input-group-addon {
|
||||||
|
left: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
background: hsla(0, 0%, 100%, 0.2);
|
||||||
|
border: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 10px;
|
||||||
|
border-bottom-right-radius: 10px;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
|
||||||
|
.ant-btn {
|
||||||
|
width: 72px;
|
||||||
|
height: 50px;
|
||||||
|
margin: 0;
|
||||||
|
color: rgba(35, 104, 184, 0.6);
|
||||||
|
font-size: 16px;
|
||||||
|
background-color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none !important;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon {
|
||||||
|
font-size: 28px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: @primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.tagDetailWrapper {
|
.tagDetailWrapper {
|
||||||
height: calc(100vh - 56px);
|
height: calc(100vh - 56px);
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
.tagDetailTab {
|
.tagDetailTab {
|
||||||
:global {
|
:global {
|
||||||
.ant-tabs-nav {
|
.ant-tabs-nav {
|
||||||
background-color: rgb(255, 255, 255);
|
margin: 10px 20px 0 20px;
|
||||||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
padding: 0 20px;
|
||||||
margin: 10px 20px 0 20px;
|
background-color: rgb(255, 255, 255);
|
||||||
padding: 0 20px;
|
border-radius: 8px;
|
||||||
border-radius: 8px;
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
}
|
}
|
||||||
.ant-tabs-tab {
|
.ant-tabs-tab {
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
color: #344767;
|
color: #344767;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.tagDetail {
|
}
|
||||||
display: flex;
|
.tagDetail {
|
||||||
padding: 0px;
|
position: relative;
|
||||||
width: 100%;
|
display: flex;
|
||||||
background-color: transparent;
|
flex-direction: row;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: transparent;
|
||||||
|
.tabContainer {
|
||||||
|
width: calc(100vw - 450px);
|
||||||
|
background-color: rgb(240, 242, 245);
|
||||||
|
}
|
||||||
|
.metricInfoContent {
|
||||||
|
padding: 25px;
|
||||||
|
.title {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-direction: row;
|
margin-bottom: 12px;
|
||||||
.tabContainer {
|
color: #0e73ff;
|
||||||
background-color: rgb(240, 242, 245);
|
font-weight: bold;
|
||||||
width: calc(100vw - 450px);
|
font-size: 16px;
|
||||||
}
|
&::before {
|
||||||
.metricInfoContent {
|
position: absolute;
|
||||||
padding:25px;
|
top: 10px;
|
||||||
.title {
|
left: -10px;
|
||||||
margin-bottom: 12px;
|
display: block;
|
||||||
font-size: 16px;
|
width: 3px;
|
||||||
color: #0e73ff;
|
height: 14px;
|
||||||
font-weight: bold;
|
font-size: 0;
|
||||||
position: relative;
|
background: #0e73ff;
|
||||||
&::before {
|
border: 1px solid #0e73ff;
|
||||||
display: block;
|
border-radius: 2px;
|
||||||
position: absolute;
|
content: '';
|
||||||
content: "";
|
|
||||||
left: -10px;
|
|
||||||
top: 10px;
|
|
||||||
height: 14px;
|
|
||||||
width: 3px;
|
|
||||||
font-size: 0;
|
|
||||||
background: #0e73ff;
|
|
||||||
border-radius: 2px;
|
|
||||||
border: 1px solid #0e73ff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.siderContainer {
|
|
||||||
background-color: rgb(255, 255, 255);
|
|
||||||
width: 450px;
|
|
||||||
min-height: calc(100vh - 78px);
|
|
||||||
margin: 10px 20px 20px 0;
|
|
||||||
border-radius: 6px;
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.08) 6px 0px 16px 0px, rgba(0, 0, 0, 0.12) 3px 0px 6px -4px, rgba(0, 0, 0, 0.05) 9px 0px 28px 8px;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.siderContainer {
|
||||||
|
width: 450px;
|
||||||
|
min-height: calc(100vh - 78px);
|
||||||
|
margin: 10px 20px 20px 0;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.08) 6px 0px 16px 0px, rgba(0, 0, 0, 0.12) 3px 0px 6px -4px,
|
||||||
|
rgba(0, 0, 0, 0.05) 9px 0px 28px 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionBox {
|
.sectionBox {
|
||||||
margin: 20px;
|
position: relative;
|
||||||
padding: 10px;
|
margin: 20px;
|
||||||
box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
padding: 10px;
|
||||||
background-color: rgb(255, 255, 255);
|
overflow: hidden;
|
||||||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
background-color: rgb(255, 255, 255);
|
||||||
border-radius: 6px;
|
background-image: none;
|
||||||
background-image: none;
|
border-radius: 6px;
|
||||||
overflow: hidden;
|
box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
||||||
position: relative;
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.metricInfoSider {
|
||||||
.metricInfoSider{
|
padding: 24px;
|
||||||
padding: 24px;
|
color: #344767;
|
||||||
color: #344767;
|
.gotoMetricListIcon {
|
||||||
.gotoMetricListIcon {
|
color: #3182ce;
|
||||||
color: #3182ce;
|
cursor: pointer;
|
||||||
cursor: pointer;
|
&:hover {
|
||||||
&:hover {
|
color: #5493ff;
|
||||||
color: #5493ff;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.title {
|
}
|
||||||
.name {
|
.title {
|
||||||
font-size: 18px;
|
.name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
font-size: 18px;
|
||||||
.bizName {
|
|
||||||
margin: 5px 0 0 25px;
|
|
||||||
color: #7b809a;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.desc {
|
.bizName {
|
||||||
font-size: 14px;
|
margin: 5px 0 0 25px;
|
||||||
font-weight: 500;
|
color: #7b809a;
|
||||||
line-height: 1.9;
|
font-weight: 400;
|
||||||
margin-top: 8px;
|
|
||||||
display: block;
|
|
||||||
color: #7b809a;
|
|
||||||
}
|
}
|
||||||
.subTitle {
|
}
|
||||||
margin: 0px;
|
.desc {
|
||||||
font-size: 14px;
|
display: block;
|
||||||
line-height: 1.25;
|
margin-top: 8px;
|
||||||
letter-spacing: 0.03333em;
|
color: #7b809a;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.9;
|
||||||
|
}
|
||||||
|
.subTitle {
|
||||||
|
margin: 0px;
|
||||||
|
color: rgb(123, 128, 154);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.25;
|
||||||
|
letter-spacing: 0.03333em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: unset;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.sectionContainer {
|
||||||
|
margin-top: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
// box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
||||||
|
background-image: none;
|
||||||
|
// transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
|
border-radius: 6px;
|
||||||
|
.section {
|
||||||
|
padding: 16px;
|
||||||
|
color: rgb(52, 71, 103);
|
||||||
|
line-height: 1.25;
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 1;
|
||||||
|
.sectionTitleBox {
|
||||||
|
padding: 8px 0;
|
||||||
|
color: rgb(52, 71, 103);
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
text-transform: uppercase;
|
.sectionTitle {
|
||||||
vertical-align: unset;
|
margin: 0px;
|
||||||
text-decoration: none;
|
color: rgb(52, 71, 103);
|
||||||
color: rgb(123, 128, 154);
|
font-weight: 600;
|
||||||
font-weight: 700;
|
font-size: 16px;
|
||||||
}
|
line-height: 1.625;
|
||||||
.sectionContainer{
|
letter-spacing: 0.0075em;
|
||||||
// transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
text-transform: capitalize;
|
||||||
border-radius: 6px;
|
text-decoration: none;
|
||||||
// box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
vertical-align: unset;
|
||||||
background-image: none;
|
opacity: 1;
|
||||||
margin-top: 20px;
|
}
|
||||||
overflow: hidden;
|
}
|
||||||
.section {
|
|
||||||
padding: 16px;
|
|
||||||
line-height: 1.25;
|
|
||||||
opacity: 1;
|
|
||||||
background: transparent;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
box-shadow: none;
|
|
||||||
.sectionTitleBox {
|
|
||||||
padding: 8px 0;
|
|
||||||
opacity: 1;
|
|
||||||
background: transparent;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
box-shadow: none;
|
|
||||||
.sectionTitle {
|
|
||||||
margin: 0px;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.625;
|
|
||||||
letter-spacing: 0.0075em;
|
|
||||||
opacity: 1;
|
|
||||||
text-transform: capitalize;
|
|
||||||
vertical-align: unset;
|
|
||||||
text-decoration: none;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-right: 16px;
|
||||||
padding-right: 16px;
|
padding-bottom: 8px;
|
||||||
opacity: 1;
|
color: rgb(52, 71, 103);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: rgb(52, 71, 103);
|
box-shadow: none;
|
||||||
box-shadow: none;
|
opacity: 1;
|
||||||
.itemLable {
|
.itemLable {
|
||||||
margin: 0px;
|
min-width: fit-content;
|
||||||
font-size: 14px;
|
margin: 0px;
|
||||||
line-height: 1.5;
|
margin-right: 10px;
|
||||||
letter-spacing: 0.02857em;
|
color: #344767;
|
||||||
opacity: 1;
|
font-weight: 700;
|
||||||
text-transform: capitalize;
|
font-size: 14px;
|
||||||
vertical-align: unset;
|
line-height: 1.5;
|
||||||
text-decoration: none;
|
letter-spacing: 0.02857em;
|
||||||
color: #344767;
|
text-transform: capitalize;
|
||||||
margin-right: 10px;
|
text-decoration: none;
|
||||||
min-width: fit-content;
|
vertical-align: unset;
|
||||||
font-weight: 700;
|
opacity: 1;
|
||||||
}
|
|
||||||
.itemValue{
|
|
||||||
margin: 0px;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1.5;
|
|
||||||
letter-spacing: 0.02857em;
|
|
||||||
opacity: 1;
|
|
||||||
text-transform: none;
|
|
||||||
vertical-align: unset;
|
|
||||||
text-decoration: none;
|
|
||||||
color: #7b809a;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.hr {
|
.itemValue {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
flex-shrink: 0;
|
color: #7b809a;
|
||||||
// border-width: 0px 0px thin;
|
font-weight: 400;
|
||||||
border-style: solid;
|
font-size: 14px;
|
||||||
border-color: rgb(242, 244, 247);
|
line-height: 1.5;
|
||||||
}
|
letter-spacing: 0.02857em;
|
||||||
.ctrlBox{
|
text-transform: none;
|
||||||
.ctrlList{
|
text-decoration: none;
|
||||||
list-style: none;
|
vertical-align: unset;
|
||||||
margin: 0px;
|
opacity: 1;
|
||||||
padding: 8px 0px;
|
|
||||||
position: relative;
|
|
||||||
background-color: rgb(249, 250, 251);
|
|
||||||
li {
|
|
||||||
-webkit-tap-highlight-color: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
outline: 0px;
|
|
||||||
border: 0px;
|
|
||||||
margin: 4px;
|
|
||||||
border-radius: 0px;
|
|
||||||
cursor: pointer;
|
|
||||||
user-select: none;
|
|
||||||
vertical-align: middle;
|
|
||||||
appearance: none;
|
|
||||||
color: inherit;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
flex-grow: 1;
|
|
||||||
-webkit-box-pack: start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
text-decoration: none;
|
|
||||||
min-width: 0px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
text-align: left;
|
|
||||||
padding: 4px 16px;
|
|
||||||
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: rgba(16, 24, 40, 0.04);
|
|
||||||
color: #3182ce;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.ctrlItemIcon {
|
|
||||||
flex-shrink: 0;
|
|
||||||
font-size: 14px;
|
|
||||||
margin-right: 5px;
|
|
||||||
min-width: unset;
|
|
||||||
}
|
|
||||||
.styles.ctrlItemLable {
|
|
||||||
margin: 0px;
|
|
||||||
line-height: 1.6;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 14px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
.hr {
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin: 0px;
|
||||||
|
border-color: rgb(242, 244, 247);
|
||||||
|
// border-width: 0px 0px thin;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.ctrlBox {
|
||||||
|
.ctrlList {
|
||||||
|
position: relative;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 8px 0px;
|
||||||
|
list-style: none;
|
||||||
|
background-color: rgb(249, 250, 251);
|
||||||
|
li {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-width: 0px;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 4px 16px;
|
||||||
|
color: inherit;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
outline: 0px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
|
appearance: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-webkit-box-pack: start;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
&:hover {
|
||||||
|
color: #3182ce;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: rgba(16, 24, 40, 0.04);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ctrlItemIcon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
min-width: unset;
|
||||||
|
margin-right: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.styles.ctrlItemLable {
|
||||||
|
display: block;
|
||||||
|
margin: 0px;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -372,9 +372,6 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
}
|
}
|
||||||
setSelectedRowKeys(selectedRowKeys);
|
setSelectedRowKeys(selectedRowKeys);
|
||||||
},
|
},
|
||||||
// getCheckboxProps: (record: ISemantic.IMetricItem) => ({
|
|
||||||
// disabled: !record.hasAdminRes,
|
|
||||||
// }),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const onMenuClick = (key: string) => {
|
const onMenuClick = (key: string) => {
|
||||||
@@ -395,6 +392,20 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
<div className={styles.metricFilterWrapper}>
|
<div className={styles.metricFilterWrapper}>
|
||||||
<MetricFilter
|
<MetricFilter
|
||||||
initFilterValues={filterParams}
|
initFilterValues={filterParams}
|
||||||
|
extraNode={
|
||||||
|
<BatchCtrlDropDownButton
|
||||||
|
key="ctrlBtnList"
|
||||||
|
downloadLoading={downloadLoading}
|
||||||
|
onDeleteConfirm={() => {
|
||||||
|
queryBatchUpdateStatus(selectedRowKeys, StatusEnum.DELETED);
|
||||||
|
}}
|
||||||
|
disabledList={hasAllPermission ? [] : ['batchStart', 'batchStop', 'batchDelete']}
|
||||||
|
onMenuClick={onMenuClick}
|
||||||
|
onDownloadDateRangeChange={(searchDateRange, pickerType) => {
|
||||||
|
downloadMetricQuery(selectedRowKeys, searchDateRange, pickerType);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
}
|
||||||
onFiltersChange={(_, values) => {
|
onFiltersChange={(_, values) => {
|
||||||
if (_.showType !== undefined) {
|
if (_.showType !== undefined) {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
@@ -441,20 +452,6 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
...rowSelection,
|
...rowSelection,
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => [
|
|
||||||
<BatchCtrlDropDownButton
|
|
||||||
key="ctrlBtnList"
|
|
||||||
downloadLoading={downloadLoading}
|
|
||||||
onDeleteConfirm={() => {
|
|
||||||
queryBatchUpdateStatus(selectedRowKeys, StatusEnum.DELETED);
|
|
||||||
}}
|
|
||||||
disabledList={hasAllPermission ? [] : ['batchStart', 'batchStop', 'batchDelete']}
|
|
||||||
onMenuClick={onMenuClick}
|
|
||||||
onDownloadDateRangeChange={(searchDateRange, pickerType) => {
|
|
||||||
downloadMetricQuery(selectedRowKeys, searchDateRange, pickerType);
|
|
||||||
}}
|
|
||||||
/>,
|
|
||||||
]}
|
|
||||||
loading={loading}
|
loading={loading}
|
||||||
onChange={(data: any) => {
|
onChange={(data: any) => {
|
||||||
const { current, pageSize, total } = data;
|
const { current, pageSize, total } = data;
|
||||||
@@ -466,7 +463,7 @@ const ClassMetricTable: React.FC<Props> = ({ domainManger, dispatch }) => {
|
|||||||
setPagination(pagin);
|
setPagination(pagin);
|
||||||
queryMetricList({ ...pagin, ...filterParams });
|
queryMetricList({ ...pagin, ...filterParams });
|
||||||
}}
|
}}
|
||||||
options={{ reload: false, density: false, fullScreen: false }}
|
options={false}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { Form, Input, Space, Row, Col, Switch } from 'antd';
|
import { Form, Input, Space, Row, Col, Switch } from 'antd';
|
||||||
import StandardFormRow from '@/components/StandardFormRow';
|
import StandardFormRow from '@/components/StandardFormRow';
|
||||||
import TagSelect from '@/components/TagSelect';
|
import TagSelect from '@/components/TagSelect';
|
||||||
import React, { useEffect } from 'react';
|
import React, { ReactNode, useEffect } from 'react';
|
||||||
import { SENSITIVE_LEVEL_OPTIONS } from '../../constant';
|
import { SENSITIVE_LEVEL_OPTIONS } from '../../constant';
|
||||||
import { SearchOutlined } from '@ant-design/icons';
|
import { SearchOutlined } from '@ant-design/icons';
|
||||||
import DomainTreeSelect from '../../components/DomainTreeSelect';
|
import DomainTreeSelect from '../../components/DomainTreeSelect';
|
||||||
@@ -11,10 +11,11 @@ const FormItem = Form.Item;
|
|||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
initFilterValues?: any;
|
initFilterValues?: any;
|
||||||
|
extraNode?: ReactNode;
|
||||||
onFiltersChange: (_: any, values: any) => void;
|
onFiltersChange: (_: any, values: any) => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
const MetricFilter: React.FC<Props> = ({ initFilterValues = {}, onFiltersChange }) => {
|
const MetricFilter: React.FC<Props> = ({ initFilterValues = {}, extraNode, onFiltersChange }) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -97,39 +98,44 @@ const MetricFilter: React.FC<Props> = ({ initFilterValues = {}, onFiltersChange
|
|||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
</StandardFormRow>
|
</StandardFormRow>
|
||||||
<Space size={40}>
|
<Row style={{ width: '100%' }}>
|
||||||
{/* <StandardFormRow key="showType" title="切换为卡片" block>
|
<Col flex="auto">
|
||||||
|
<Space size={40}>
|
||||||
|
{/* <StandardFormRow key="showType" title="切换为卡片" block>
|
||||||
<FormItem name="showType" valuePropName="checked">
|
<FormItem name="showType" valuePropName="checked">
|
||||||
<Switch size="small" />
|
<Switch size="small" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</StandardFormRow> */}
|
</StandardFormRow> */}
|
||||||
{/* <StandardFormRow key="onlyShowMe" title="仅显示我的" block>
|
{/* <StandardFormRow key="onlyShowMe" title="仅显示我的" block>
|
||||||
<FormItem name="onlyShowMe" valuePropName="checked">
|
<FormItem name="onlyShowMe" valuePropName="checked">
|
||||||
<Switch size="small" />
|
<Switch size="small" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</StandardFormRow> */}
|
</StandardFormRow> */}
|
||||||
<StandardFormRow key="domainIds" title="主题域" block>
|
<StandardFormRow key="domainIds" title="主题域" block>
|
||||||
<FormItem name="domainIds">
|
<FormItem name="domainIds">
|
||||||
<DomainTreeSelect />
|
<DomainTreeSelect />
|
||||||
</FormItem>
|
|
||||||
</StandardFormRow>
|
|
||||||
{filterList.map((item) => {
|
|
||||||
const { title, key, options } = item;
|
|
||||||
return (
|
|
||||||
<StandardFormRow key={key} title={title} block>
|
|
||||||
<FormItem name={key}>
|
|
||||||
<TagSelect reverseCheckAll single>
|
|
||||||
{options.map((item: any) => (
|
|
||||||
<TagSelect.Option key={item.value} value={item.value}>
|
|
||||||
{item.label}
|
|
||||||
</TagSelect.Option>
|
|
||||||
))}
|
|
||||||
</TagSelect>
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</StandardFormRow>
|
</StandardFormRow>
|
||||||
);
|
{filterList.map((item) => {
|
||||||
})}
|
const { title, key, options } = item;
|
||||||
</Space>
|
return (
|
||||||
|
<StandardFormRow key={key} title={title} block>
|
||||||
|
<FormItem name={key}>
|
||||||
|
<TagSelect reverseCheckAll single>
|
||||||
|
{options.map((item: any) => (
|
||||||
|
<TagSelect.Option key={item.value} value={item.value}>
|
||||||
|
{item.label}
|
||||||
|
</TagSelect.Option>
|
||||||
|
))}
|
||||||
|
</TagSelect>
|
||||||
|
</FormItem>
|
||||||
|
</StandardFormRow>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</Space>
|
||||||
|
</Col>
|
||||||
|
{extraNode && <Col flex="130px">{extraNode}</Col>}
|
||||||
|
</Row>
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,422 +1,422 @@
|
|||||||
.metricFilterWrapper {
|
.metricFilterWrapper {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 10px;
|
padding-bottom: 5px;
|
||||||
padding-bottom: 5px;
|
background: #fff;
|
||||||
background: #fff;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metricTable {
|
.metricTable {
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
|
:global {
|
||||||
|
.ant-pro-card-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metricBasicInfo {
|
.metricBasicInfo {
|
||||||
.label {
|
.label {
|
||||||
font-size: 14px;
|
color: rgb(95, 116, 141);
|
||||||
color: rgb(95, 116, 141);
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
font-size: 15px;
|
margin-bottom: 10px;
|
||||||
margin-bottom: 10px;
|
|
||||||
color: rgb(18, 31, 67);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.caliberTitle {
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
color: rgb(18, 31, 67);
|
color: rgb(18, 31, 67);
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.caliberTitle {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: rgb(18, 31, 67);
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.caliberSubTitle {
|
.caliberSubTitle {
|
||||||
font-weight: 500;
|
color: rgb(33, 43, 54);
|
||||||
font-size: 14px;
|
font-weight: 500;
|
||||||
color: rgb(33, 43, 54);
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.defineDataTable{
|
.defineDataTable {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
background-color: rgb(255, 255, 255);
|
overflow: hidden;
|
||||||
color: rgb(67, 71, 75);
|
color: rgb(67, 71, 75);
|
||||||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
background-color: rgb(255, 255, 255);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
box-shadow: rgba(114, 117, 120, 0.14) 0px 9px 16px, rgba(179, 181, 183, 0.38) 0px 0px 2px;
|
box-shadow: rgba(114, 117, 120, 0.14) 0px 9px 16px, rgba(179, 181, 183, 0.38) 0px 0px 2px;
|
||||||
overflow: hidden;
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
:global {
|
:global {
|
||||||
.ant-table-thead {
|
.ant-table-thead {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.caliberDesc {
|
.caliberDesc {
|
||||||
font-size: 14px;
|
color: #bdbdbd;
|
||||||
color: #bdbdbd;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.searchBox {
|
.searchBox {
|
||||||
// margin-bottom: 12px;
|
width: 740px;
|
||||||
background: #fff;
|
margin: 0 auto;
|
||||||
|
// margin-bottom: 12px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
.searchInput {
|
||||||
|
width: 100%;
|
||||||
|
border: 1px solid rgba(35, 104, 184, 0.6);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
width: 740px;
|
}
|
||||||
margin: 0 auto;
|
:global {
|
||||||
.searchInput {
|
.ant-select-auto-complete {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid rgba(35, 104, 184, 0.6);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
:global {
|
.ant-input {
|
||||||
|
height: 50px;
|
||||||
|
padding: 0 15px;
|
||||||
|
color: #515a6e;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 50px;
|
||||||
|
background: hsla(0, 0%, 100%, 0.2);
|
||||||
|
border: none;
|
||||||
|
border-top-left-radius: 10px;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
|
caret-color: #296df3;
|
||||||
|
|
||||||
.ant-select-auto-complete {
|
&:focus {
|
||||||
width: 100%;
|
border-right-width: 0 !important;
|
||||||
}
|
box-shadow: none;
|
||||||
.ant-input {
|
}
|
||||||
height: 50px;
|
|
||||||
padding: 0 15px;
|
|
||||||
color: #515a6e;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 50px;
|
|
||||||
background: hsla(0, 0%, 100%, 0.2);
|
|
||||||
border: none;
|
|
||||||
border-top-left-radius: 10px;
|
|
||||||
border-bottom-left-radius: 10px;
|
|
||||||
caret-color: #296df3;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
border-right-width: 0 !important;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-input-group-addon {
|
|
||||||
left: 0 !important;
|
|
||||||
padding: 0;
|
|
||||||
background: hsla(0, 0%, 100%, 0.2);
|
|
||||||
border: none;
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-top-right-radius: 10px;
|
|
||||||
border-bottom-right-radius: 10px;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
|
|
||||||
.ant-btn {
|
|
||||||
width: 72px;
|
|
||||||
height: 50px;
|
|
||||||
margin: 0;
|
|
||||||
color: rgba(35, 104, 184, 0.6);
|
|
||||||
font-size: 16px;
|
|
||||||
background-color: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none !important;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon {
|
|
||||||
font-size: 28px;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: @primary-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-input-group-addon {
|
||||||
|
left: 0 !important;
|
||||||
|
padding: 0;
|
||||||
|
background: hsla(0, 0%, 100%, 0.2);
|
||||||
|
border: none;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 10px;
|
||||||
|
border-bottom-right-radius: 10px;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
|
||||||
|
.ant-btn {
|
||||||
|
width: 72px;
|
||||||
|
height: 50px;
|
||||||
|
margin: 0;
|
||||||
|
color: rgba(35, 104, 184, 0.6);
|
||||||
|
font-size: 16px;
|
||||||
|
background-color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none !important;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon {
|
||||||
|
font-size: 28px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: @primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.overviewExtraContainer {
|
.overviewExtraContainer {
|
||||||
|
display: flex;
|
||||||
|
font-size: 14px;
|
||||||
|
.extraWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 14px;
|
width: 100%;
|
||||||
.extraWrapper {
|
.extraStatistic {
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
width: 100%;
|
box-sizing: border-box;
|
||||||
.extraStatistic {
|
margin: 0;
|
||||||
display: inline-flex;
|
padding: 0;
|
||||||
color: rgba(42, 46, 54, 0.65);
|
color: rgba(42, 46, 54, 0.65);
|
||||||
box-sizing: border-box;
|
font-size: 14px;
|
||||||
margin: 0;
|
line-height: 1.5714285714285714;
|
||||||
padding: 0;
|
list-style: none;
|
||||||
font-size: 14px;
|
.extraTitle {
|
||||||
line-height: 1.5714285714285714;
|
// font-size: 12px;
|
||||||
list-style: none;
|
min-width: 50px;
|
||||||
.extraTitle {
|
margin-bottom: 4px;
|
||||||
// font-size: 12px;
|
color: rgba(42, 46, 54, 0.45);
|
||||||
min-width: 50px;
|
margin-inline-end: 6px;
|
||||||
margin-inline-end: 6px;
|
margin-block-end: 0;
|
||||||
margin-block-end: 0;
|
}
|
||||||
margin-bottom: 4px;
|
.extraValue {
|
||||||
color: rgba(42, 46, 54, 0.45);
|
display: inline-block;
|
||||||
}
|
color: rgba(42, 46, 54, 0.65);
|
||||||
.extraValue {
|
font-size: 12px;
|
||||||
font-size: 12px;
|
direction: ltr;
|
||||||
color: rgba(42, 46, 54, 0.65);
|
}
|
||||||
display: inline-block;
|
|
||||||
direction: ltr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.metricDetailWrapper {
|
.metricDetailWrapper {
|
||||||
height: calc(100vh - 56px);
|
height: calc(100vh - 56px);
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
.metricDetailTab {
|
.metricDetailTab {
|
||||||
:global {
|
:global {
|
||||||
.ant-tabs-nav {
|
.ant-tabs-nav {
|
||||||
background-color: rgb(255, 255, 255);
|
margin: 10px 20px 0 20px;
|
||||||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
padding: 0 20px;
|
||||||
margin: 10px 20px 0 20px;
|
background-color: rgb(255, 255, 255);
|
||||||
padding: 0 20px;
|
border-radius: 8px;
|
||||||
border-radius: 8px;
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
}
|
}
|
||||||
.ant-tabs-tab {
|
.ant-tabs-tab {
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
color: #344767;
|
color: #344767;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.metricDetail {
|
}
|
||||||
display: flex;
|
.metricDetail {
|
||||||
padding: 0px;
|
position: relative;
|
||||||
width: 100%;
|
display: flex;
|
||||||
background-color: transparent;
|
flex-direction: row;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0px;
|
||||||
|
background-color: transparent;
|
||||||
|
.tabContainer {
|
||||||
|
width: calc(100vw - 450px);
|
||||||
|
background-color: rgb(240, 242, 245);
|
||||||
|
}
|
||||||
|
.metricInfoContent {
|
||||||
|
padding: 25px;
|
||||||
|
.title {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-direction: row;
|
margin-bottom: 12px;
|
||||||
.tabContainer {
|
color: #0e73ff;
|
||||||
background-color: rgb(240, 242, 245);
|
font-weight: bold;
|
||||||
width: calc(100vw - 450px);
|
font-size: 16px;
|
||||||
}
|
&::before {
|
||||||
.metricInfoContent {
|
position: absolute;
|
||||||
padding:25px;
|
top: 10px;
|
||||||
.title {
|
left: -10px;
|
||||||
margin-bottom: 12px;
|
display: block;
|
||||||
font-size: 16px;
|
width: 3px;
|
||||||
color: #0e73ff;
|
height: 14px;
|
||||||
font-weight: bold;
|
font-size: 0;
|
||||||
position: relative;
|
background: #0e73ff;
|
||||||
&::before {
|
border: 1px solid #0e73ff;
|
||||||
display: block;
|
border-radius: 2px;
|
||||||
position: absolute;
|
content: '';
|
||||||
content: "";
|
|
||||||
left: -10px;
|
|
||||||
top: 10px;
|
|
||||||
height: 14px;
|
|
||||||
width: 3px;
|
|
||||||
font-size: 0;
|
|
||||||
background: #0e73ff;
|
|
||||||
border-radius: 2px;
|
|
||||||
border: 1px solid #0e73ff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.siderContainer {
|
|
||||||
background-color: rgb(255, 255, 255);
|
|
||||||
width: 450px;
|
|
||||||
min-height: calc(100vh - 78px);
|
|
||||||
margin: 10px 20px 20px 0;
|
|
||||||
border-radius: 6px;
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.08) 6px 0px 16px 0px, rgba(0, 0, 0, 0.12) 3px 0px 6px -4px, rgba(0, 0, 0, 0.05) 9px 0px 28px 8px;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.siderContainer {
|
||||||
|
width: 450px;
|
||||||
|
min-height: calc(100vh - 78px);
|
||||||
|
margin: 10px 20px 20px 0;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.08) 6px 0px 16px 0px, rgba(0, 0, 0, 0.12) 3px 0px 6px -4px,
|
||||||
|
rgba(0, 0, 0, 0.05) 9px 0px 28px 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionBox {
|
.sectionBox {
|
||||||
margin: 20px;
|
position: relative;
|
||||||
padding: 10px;
|
margin: 20px;
|
||||||
box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
padding: 10px;
|
||||||
background-color: rgb(255, 255, 255);
|
overflow: hidden;
|
||||||
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
background-color: rgb(255, 255, 255);
|
||||||
border-radius: 6px;
|
background-image: none;
|
||||||
background-image: none;
|
border-radius: 6px;
|
||||||
overflow: hidden;
|
box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
||||||
position: relative;
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.metricInfoSider {
|
||||||
.metricInfoSider{
|
padding: 24px;
|
||||||
padding: 24px;
|
color: #344767;
|
||||||
color: #344767;
|
.gotoMetricListIcon {
|
||||||
.gotoMetricListIcon {
|
color: #3182ce;
|
||||||
color: #3182ce;
|
cursor: pointer;
|
||||||
cursor: pointer;
|
&:hover {
|
||||||
&:hover {
|
color: #5493ff;
|
||||||
color: #5493ff;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.title {
|
}
|
||||||
.name {
|
.title {
|
||||||
font-size: 18px;
|
.name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
font-size: 18px;
|
||||||
.bizName {
|
|
||||||
margin: 5px 0 0 25px;
|
|
||||||
color: #7b809a;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.desc {
|
.bizName {
|
||||||
font-size: 14px;
|
margin: 5px 0 0 25px;
|
||||||
font-weight: 500;
|
color: #7b809a;
|
||||||
line-height: 1.9;
|
font-weight: 400;
|
||||||
margin-top: 8px;
|
|
||||||
display: block;
|
|
||||||
color: #7b809a;
|
|
||||||
}
|
}
|
||||||
.subTitle {
|
}
|
||||||
margin: 0px;
|
.desc {
|
||||||
font-size: 14px;
|
display: block;
|
||||||
line-height: 1.25;
|
margin-top: 8px;
|
||||||
letter-spacing: 0.03333em;
|
color: #7b809a;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.9;
|
||||||
|
}
|
||||||
|
.subTitle {
|
||||||
|
margin: 0px;
|
||||||
|
color: rgb(123, 128, 154);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.25;
|
||||||
|
letter-spacing: 0.03333em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: unset;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.sectionContainer {
|
||||||
|
margin-top: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
// box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
||||||
|
background-image: none;
|
||||||
|
// transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
|
border-radius: 6px;
|
||||||
|
.section {
|
||||||
|
padding: 16px;
|
||||||
|
color: rgb(52, 71, 103);
|
||||||
|
line-height: 1.25;
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 1;
|
||||||
|
.sectionTitleBox {
|
||||||
|
padding: 8px 0;
|
||||||
|
color: rgb(52, 71, 103);
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
text-transform: uppercase;
|
.sectionTitle {
|
||||||
vertical-align: unset;
|
margin: 0px;
|
||||||
text-decoration: none;
|
color: rgb(52, 71, 103);
|
||||||
color: rgb(123, 128, 154);
|
font-weight: 600;
|
||||||
font-weight: 700;
|
font-size: 16px;
|
||||||
}
|
line-height: 1.625;
|
||||||
.sectionContainer{
|
letter-spacing: 0.0075em;
|
||||||
// transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
text-transform: capitalize;
|
||||||
border-radius: 6px;
|
text-decoration: none;
|
||||||
// box-shadow: #888888 0px 0px 1px, rgba(29, 41, 57, 0.08) 0px 1px 3px;
|
vertical-align: unset;
|
||||||
background-image: none;
|
opacity: 1;
|
||||||
margin-top: 20px;
|
}
|
||||||
overflow: hidden;
|
}
|
||||||
.section {
|
|
||||||
padding: 16px;
|
|
||||||
line-height: 1.25;
|
|
||||||
opacity: 1;
|
|
||||||
background: transparent;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
box-shadow: none;
|
|
||||||
.sectionTitleBox {
|
|
||||||
padding: 8px 0;
|
|
||||||
opacity: 1;
|
|
||||||
background: transparent;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
box-shadow: none;
|
|
||||||
.sectionTitle {
|
|
||||||
margin: 0px;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.625;
|
|
||||||
letter-spacing: 0.0075em;
|
|
||||||
opacity: 1;
|
|
||||||
text-transform: capitalize;
|
|
||||||
vertical-align: unset;
|
|
||||||
text-decoration: none;
|
|
||||||
color: rgb(52, 71, 103);
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 8px;
|
padding-right: 16px;
|
||||||
padding-right: 16px;
|
padding-bottom: 8px;
|
||||||
opacity: 1;
|
color: rgb(52, 71, 103);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: rgb(52, 71, 103);
|
box-shadow: none;
|
||||||
box-shadow: none;
|
opacity: 1;
|
||||||
.itemLable {
|
.itemLable {
|
||||||
margin: 0px;
|
min-width: fit-content;
|
||||||
font-size: 14px;
|
margin: 0px;
|
||||||
line-height: 1.5;
|
margin-right: 10px;
|
||||||
letter-spacing: 0.02857em;
|
color: #344767;
|
||||||
opacity: 1;
|
font-weight: 700;
|
||||||
text-transform: capitalize;
|
font-size: 14px;
|
||||||
vertical-align: unset;
|
line-height: 1.5;
|
||||||
text-decoration: none;
|
letter-spacing: 0.02857em;
|
||||||
color: #344767;
|
text-transform: capitalize;
|
||||||
margin-right: 10px;
|
text-decoration: none;
|
||||||
min-width: fit-content;
|
vertical-align: unset;
|
||||||
font-weight: 700;
|
opacity: 1;
|
||||||
}
|
|
||||||
.itemValue{
|
|
||||||
margin: 0px;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1.5;
|
|
||||||
letter-spacing: 0.02857em;
|
|
||||||
opacity: 1;
|
|
||||||
text-transform: none;
|
|
||||||
vertical-align: unset;
|
|
||||||
text-decoration: none;
|
|
||||||
color: #7b809a;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.hr {
|
.itemValue {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
flex-shrink: 0;
|
color: #7b809a;
|
||||||
// border-width: 0px 0px thin;
|
font-weight: 400;
|
||||||
border-style: solid;
|
font-size: 14px;
|
||||||
border-color: rgb(242, 244, 247);
|
line-height: 1.5;
|
||||||
}
|
letter-spacing: 0.02857em;
|
||||||
.ctrlBox{
|
text-transform: none;
|
||||||
.ctrlList{
|
text-decoration: none;
|
||||||
list-style: none;
|
vertical-align: unset;
|
||||||
margin: 0px;
|
opacity: 1;
|
||||||
padding: 8px 0px;
|
|
||||||
position: relative;
|
|
||||||
background-color: rgb(249, 250, 251);
|
|
||||||
li {
|
|
||||||
-webkit-tap-highlight-color: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
outline: 0px;
|
|
||||||
border: 0px;
|
|
||||||
margin: 4px;
|
|
||||||
border-radius: 0px;
|
|
||||||
cursor: pointer;
|
|
||||||
user-select: none;
|
|
||||||
vertical-align: middle;
|
|
||||||
appearance: none;
|
|
||||||
color: inherit;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
flex-grow: 1;
|
|
||||||
-webkit-box-pack: start;
|
|
||||||
justify-content: flex-start;
|
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
text-decoration: none;
|
|
||||||
min-width: 0px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
text-align: left;
|
|
||||||
padding: 4px 16px;
|
|
||||||
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: rgba(16, 24, 40, 0.04);
|
|
||||||
color: #3182ce;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.ctrlItemIcon {
|
|
||||||
flex-shrink: 0;
|
|
||||||
font-size: 14px;
|
|
||||||
margin-right: 5px;
|
|
||||||
min-width: unset;
|
|
||||||
}
|
|
||||||
.styles.ctrlItemLable {
|
|
||||||
margin: 0px;
|
|
||||||
line-height: 1.6;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 14px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
.hr {
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin: 0px;
|
||||||
|
border-color: rgb(242, 244, 247);
|
||||||
|
// border-width: 0px 0px thin;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
.ctrlBox {
|
||||||
|
.ctrlList {
|
||||||
|
position: relative;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 8px 0px;
|
||||||
|
list-style: none;
|
||||||
|
background-color: rgb(249, 250, 251);
|
||||||
|
li {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-width: 0px;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 4px 16px;
|
||||||
|
color: inherit;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
outline: 0px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
|
appearance: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-webkit-box-pack: start;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
&:hover {
|
||||||
|
color: #3182ce;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: rgba(16, 24, 40, 0.04);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ctrlItemIcon {
|
||||||
|
flex-shrink: 0;
|
||||||
|
min-width: unset;
|
||||||
|
margin-right: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.styles.ctrlItemLable {
|
||||||
|
display: block;
|
||||||
|
margin: 0px;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<meta http-equiv="Pragma" content="no-cache">
|
<meta http-equiv="Pragma" content="no-cache">
|
||||||
<meta http-equiv="Expires" content="0">
|
<meta http-equiv="Expires" content="0">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
||||||
<title>超音数(SuperSonic)</title>
|
<title>SuperSonic</title>
|
||||||
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
|
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user