diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index 3ddf7ccd..acffde3a 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -1072,4 +1072,25 @@ export default { height: 100px; } } +video::cue { + color: #fff; + background-color: transparent; + font-size: 0.85em; + font-family: 'Arial', sans-serif; + /* 1. WebKit内核粗描边(Chrome/Safari/Edge) */ + -webkit-text-stroke: 4px #000; /* 宽度调至4px(可继续加大,如6px/8px) */ + text-stroke: 4px #000; /* 标准属性兜底 */ + + /* 2. 多重阴影模拟粗描边(核心:增加偏移量+多层叠加) */ + text-shadow: + 2px 2px 0 #000, + -2px 2px 0 #000, + 2px -2px 0 #000, + -2px -2px 0 #000, + /* 追加外层阴影,让描边更厚 */ + 0 2px 0 #000, + 2px 0 0 #000, + 0 -2px 0 #000, + -2px 0 0 #000; +} diff --git a/src/views/course/ManageList.vue b/src/views/course/ManageList.vue index f5eca22a..4fea94ee 100644 --- a/src/views/course/ManageList.vue +++ b/src/views/course/ManageList.vue @@ -306,7 +306,7 @@
