fix: 边框颜色主题色,实时监控窗口有图片和选中,预警记录文字溢出

This commit is contained in:
苑宏博 2024-05-11 11:56:24 +08:00
parent 93bc21a29a
commit 6eb14f8eef
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import { Card, Space, CardProps, Spin, Button } from 'antd'; import { Card, Space, CardProps, Spin, Button, theme } from 'antd';
import { theme } from 'antd/lib';
import { ConfigProvider, VideoPlayer, CropperImage, type VideoViewRef, } from '@zhst/meta'; import { ConfigProvider, VideoPlayer, CropperImage, type VideoViewRef, } from '@zhst/meta';
import React, { useState, useEffect, ReactNode, useRef, useContext } from 'react'; import React, { useState, useEffect, ReactNode, useRef, useContext } from 'react';
import { CloseOutlined, LoadingOutlined } from '@ant-design/icons'; import { CloseOutlined, LoadingOutlined } from '@ant-design/icons';
@ -63,6 +62,7 @@ export const VideoPlayerCard: React.FC<VideoPlayerCardProps> = (props) => {
<div style={{ width: "100%", height: "100%" }}> <div style={{ width: "100%", height: "100%" }}>
<CropperImage <CropperImage
// editAble={true} // editAble={true}
selectAble={false}
odList={odRectDefault} odList={odRectDefault}
url={imageKey} url={imageKey}
/> />

View File

@ -2,7 +2,6 @@ import { Card, Space, Divider, CardProps, theme } from 'antd';
import React, { useContext } from 'react'; import React, { useContext } from 'react';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { ConfigProvider, CropperImage } from '@zhst/meta'; import { ConfigProvider, CropperImage } from '@zhst/meta';
import './index.less' import './index.less'
export interface IRecord { export interface IRecord {

View File

@ -9,6 +9,7 @@
&-card { &-card {
border-radius: 4px; border-radius: 4px;
max-width: 380px;
&-img { &-img {
width: 356px ; width: 356px ;