From 1dceff28c5b9fd0e222156b12b5ffcd2510566ef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 31 五月 2022 15:33:32 +0800
Subject: [PATCH] 2022-05-31

---
 src/menu/components/card/cardcellcomponent/dragaction/card.jsx |    3 ++-
 src/tabviews/custom/components/card/cardcellList/index.jsx     |    2 +-
 src/templates/zshare/modalform/datatable/index.scss            |    1 +
 src/assets/css/main.scss                                       |    7 +++++++
 4 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss
index a6d7923..eb16632 100644
--- a/src/assets/css/main.scss
+++ b/src/assets/css/main.scss
@@ -486,4 +486,11 @@
       }
     }
   }
+}
+
+.video-wrap {
+  overflow: hidden;
+  .video-react .video-react-poster {
+    background-size: cover;
+  }
 }
\ No newline at end of file
diff --git a/src/menu/components/card/cardcellcomponent/dragaction/card.jsx b/src/menu/components/card/cardcellcomponent/dragaction/card.jsx
index acf2043..b5ae599 100644
--- a/src/menu/components/card/cardcellcomponent/dragaction/card.jsx
+++ b/src/menu/components/card/cardcellcomponent/dragaction/card.jsx
@@ -140,8 +140,9 @@
         </div>
       )
     } else if (card.eleType === 'video') {
+      _style.overflow = 'hidden'
       return (
-        <div>
+        <div className="video-wrap">
           <Video card={card} poster={card.posterUrl || ''} value={card.url || 'http://qingqiumarket.cn/mkwms/Content/images/upload/20210104/trailer.mp4'}/>
         </div>
       )
diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index dd37a29..e4d5f90 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -610,7 +610,7 @@
 
       return (
         <Col key={card.uuid} span={card.width}>
-          <div style={card.style}>
+          <div className="video-wrap" style={card.style}>
             <Video card={card} poster={poster} value={url}/>
           </div>
         </Col>
diff --git a/src/templates/zshare/modalform/datatable/index.scss b/src/templates/zshare/modalform/datatable/index.scss
index fbd1e54..252bc80 100644
--- a/src/templates/zshare/modalform/datatable/index.scss
+++ b/src/templates/zshare/modalform/datatable/index.scss
@@ -19,6 +19,7 @@
     }
     > td {
       padding: 13px 10px;
+      word-break: break-all;
     }
     .fileupload-form-container .ant-upload-list-picture-card .ant-upload-list-item {
       margin: 0;

--
Gitblit v1.8.0