mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
ai视频一期功能提交-样式修改;字幕没翻译完视频组件不展示字幕信息
This commit is contained in:
@@ -339,7 +339,7 @@ export default {
|
||||
computed: {
|
||||
...mapGetters(['selectableLang','currentLang','courseInfo']),
|
||||
isAiTranslate () {
|
||||
return this.courseInfo?.aiSet == 1 && this.courseInfo?.aiTranslate == 1;
|
||||
return this.courseInfo?.aiSet == 1 && this.courseInfo?.aiTranslate == 1 && this.selectableLang && this.selectableLang.length > 0;
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -1073,24 +1073,21 @@ export default {
|
||||
}
|
||||
}
|
||||
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; /* 标准属性兜底 */
|
||||
/* color: #fff; */
|
||||
/* background-color: transparent; */
|
||||
/* font-size: 0.85em; */
|
||||
/* font-family: 'Arial', sans-serif;
|
||||
-webkit-text-stroke: 4px #000;
|
||||
text-stroke: 4px #000; */
|
||||
|
||||
/* 2. 多重阴影模拟粗描边(核心:增加偏移量+多层叠加) */
|
||||
text-shadow:
|
||||
/* 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;
|
||||
-2px 0 0 #000; */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user