Compare commits

...

2 Commits

Author SHA1 Message Date
bd6ee74eaa fix(courseDetail): 修复视频播放逻辑和调整代码格式
调整视频播放逻辑,将事件监听移除和播放位置设置移到setTimeout外部
统一缩进格式,修复模板中的多余空格
2025-08-01 15:50:34 +08:00
608bcd0753 Remove dist folder from git tracking 2025-08-01 15:49:26 +08:00
213 changed files with 7 additions and 28050 deletions

View File

@ -1 +0,0 @@
3LqAhujoIT0AfmfW

1
dist/index.html vendored
View File

@ -1 +0,0 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=msapplication-tap-highlight content=no><meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>讲堂360</title><script src=/static//ckplayer/ckplayer.js type=text/javascript charset=utf-8></script><link href=/static/css/app.afaf651036b18f4169bdf6d0c14f52cd.css rel=stylesheet></head><body style="background: white;"><div id=app></div><script type=text/javascript src=/static/js/manifest.2b7c0e9222e0184c8a71.js></script><script type=text/javascript src=/static/js/vendor.dba3e8b9308baa84679c.js></script><script type=text/javascript src=/static/js/app.d0d47ff98ff183ef4c33.js></script></body></html>

BIN
dist/static/Thumbs.db vendored

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,28 +0,0 @@
Copyright (c) 2017 Dailymotion (http://www.dailymotion.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
src/remux/mp4-generator.js and src/demux/exp-golomb.js implementation in this project
are derived from the HLS library for video.js (https://github.com/videojs/videojs-contrib-hls)
That work is also covered by the Apache 2 License, following copyright:
Copyright (c) 2013-2015 Brightcove
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<language>
<adCountdown>[$second]</adCountdown><!--广告播放结束倒计时-->
<skipDelay>[$second]</skipDelay>
<buttonOver>
<play>点击播放</play>
<pause>暂停播放</pause>
<mute>静音</mute>
<escMute>恢复音量</escMute>
<full>全屏</full>
<escFull>退出全屏</escFull>
<previousPage>上一集</previousPage>
<nextPage>下一集</nextPage>
<definition>点击选择清晰度</definition>
</buttonOver>
<volumeSliderOver>
音量:[$volume]%
</volumeSliderOver>
<buffer>[$percentage]%</buffer>
<timeSliderOver><!--鼠标经过进度条显示的时间格式-->
[$timeh]:[$timei]:[$times]
</timeSliderOver>
<liveAndVod>
[$timeh]:[$timei]:[$times]
</liveAndVod>
<live>
直播中 [$liveTimeY]-[$liveTimem]-[$liveTimed] [$liveTimeh]:[$liveTimei]:[$liveTimes]
</live>
<m3u8Definition>
<name>流畅</name>
<name>低清</name>
<name>标清</name>
<name>高清</name>
<name>超清</name>
<name>蓝光</name>
<name>未知</name>
</m3u8Definition>
<error>
<cannotFindUrl>视频地址不存在</cannotFindUrl>
<streamNotFound>加载失败</streamNotFound>
<formatError>视频格式错误</formatError>
</error>
<definition>自动</definition>
</language>

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 KiB

BIN
dist/static/img/bg.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

BIN
dist/static/img/tu.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

BIN
dist/static/imgs/2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

BIN
dist/static/imgs/3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

BIN
dist/static/imgs/4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

BIN
dist/static/imgs/5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="32px" height="30px" viewBox="0 0 32 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
<title>Fill 1</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="我的课表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-67.000000, -754.000000)">
<g id="收藏-2-copy" transform="translate(68.000000, 755.000000)" fill="#4A90E2" stroke="#CFCFCF" stroke-width="0.2">
<path d="M29.7949286,10.7465143 C28.6911857,7.37382857 21.9887143,6.97774286 21.4061571,6.95031429 L21.3656143,6.82422857 C21.3656143,6.82422857 18.6480429,0.0328714286 14.9395714,0.0328714286 C11.5263857,0.0328714286 9.02057143,5.78412857 8.64205714,6.70234286 L8.55201429,6.8274 C7.97275714,6.86472857 1.26694286,7.37382857 0.1644,10.7465143 C-1.00731429,14.3331 4.46301429,18.8401286 4.6254,18.9673714 C4.60448571,19.0442143 2.80628571,26.0297571 5.79827143,28.1877 C8.79008571,30.3469286 14.9166429,26.4806143 14.9824286,26.4400714 C15.0472286,26.4806143 21.1746,30.3469286 24.1655571,28.1877 C27.1739571,26.0165143 25.3372714,18.9662143 25.3372714,18.9662143 L25.3372714,18.963 C25.4842714,18.8521714 31.0073143,14.4548143 29.7949286,10.7465143 Z M4.62945,18.9702643 C4.62945,18.9662143 4.62945,18.9662143 4.6254,18.9662143 L4.62945,18.9702643 Z M23.7672857,18.399 L23.9318571,18.7917429 C23.9318571,18.7917429 26.0141143,25.0773429 23.3076,27.0325286 C20.6151429,28.9755 15.0426857,24.9204857 14.9846143,24.882 C14.9253429,24.9204857 9.29147143,28.9097143 6.59914286,26.9655857 C3.90668571,25.0224429 6.25247143,18.5582143 6.27004286,18.4878857 C6.12407143,18.3738857 0.457371429,14.4362143 1.51272857,11.2083857 C2.50461429,8.17157143 8.8341,8.05855714 9.35524286,8.0244 L9.43744286,7.9104 C9.77764286,7.0854 11.9114571,1.26051429 14.9846143,1.26051429 C18.3232714,1.26051429 20.4888857,8.05855714 20.4888857,8.05855714 L20.5262143,8.17157143 C21.0495429,8.19668571 27.6006857,8.17255714 28.5936,11.2083857 C29.6841,14.5458857 23.8989,18.2980714 23.7672857,18.399 Z" id="Fill-1"></path>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="32px" height="29px" viewBox="0 0 32 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
<title>Group 12</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="弹出框" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-67.000000, -1731.000000)">
<g id="Group-12" transform="translate(68.000000, 1732.000000)" stroke="#CFCFCF">
<path d="M0,3.28710938 C2.45904152e-16,7.9514974 2.45904152e-16,14.5179036 0,22.9863281 C4.19042969,25.5890299 9.32128906,26.3095703 15.3925781,25.1479492 C15.3925781,17.7954536 15.3925781,13.3597439 15.3925781,11.8408203 C15.7942708,10.0864258 18.2410482,9.10083008 22.7329102,8.8840332 C22.7329102,5.20890299 22.7329102,3.34326172 22.7329102,3.28710938 C15.5125326,-1.09570313 7.93489583,-1.09570313 0,3.28710938 Z" id="Path-3"></path>
<g id="Group-11" transform="translate(0.000000, 5.000000)">
<path d="M0,0.831557987 C6.83062566,4.82242338 14.4972923,4.82242338 23,0.831557987" id="Path-4"></path>
<path d="M0,10 C4.25716146,12.7076823 9.35970052,13.4705404 15.3076172,12.2885742" id="Path-5"></path>
</g>
<g id="Group-9" transform="translate(15.000000, 8.000000)">
<path d="M0,6 C4.6735026,8.2109375 9.53531901,8.2109375 14.5854492,6" id="Path-6"></path>
<path d="M0,17 C5.41617839,19.1355794 10.3560384,19.0275065 14.8195801,16.6757812" id="Path-8"></path>
<path d="M0,11.9003906 C5.02701823,14.3567708 9.96435547,14.1647135 14.8120117,11.3242188" id="Path-7"></path>
<path d="M14.5454102,17.0541992 L14.5454102,3.46191406 C13.9482422,2.07910156 11.6634928,1.20572917 7.69116211,0.841796875" id="Path-9"></path>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="94px" height="94px" viewBox="0 0 94 94" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
<title>Group 3</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="个人中心(主页)" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-57.000000, -792.000000)">
<g id="Group-3" transform="translate(57.000000, 792.000000)">
<circle id="Oval-2" fill="#F4F4F4" cx="47" cy="47" r="47"></circle>
<g id="等级-2-copy-2" transform="translate(22.000000, 24.000000)" fill="#4A90E2" stroke="#4A90E2" stroke-width="0.4">
<path d="M49.6286908,16.1597153 L26.9052228,47.0339686 C26.4869081,47.6872036 25.7678969,48.0814575 24.9956825,48.0814575 C24.2233983,48.0814575 23.5043872,47.6872036 23.086351,47.0339686 L0.362883008,16.1597153 C-0.0832172702,15.4640761 -0.120473538,14.5808071 0.264693593,13.8492821 L12.5715181,1.2709345 C12.9654596,0.522658059 13.7382312,0.0547399684 14.5793175,0.0547399684 L35.1301532,0.0547399684 C35.9568245,0.0547399684 36.7190111,0.507028081 37.1185933,1.23504863 L49.707312,13.8133962 C50.1123259,14.5506686 50.0824513,15.4527917 49.6286908,16.1597153 Z M24.8969359,41.8837156 L33.5725627,16.0636224 L16.3450557,16.0636224 L24.8969359,41.8837156 Z M22.8211003,42.8395273 L13.9522981,16.0636224 L3.11385794,16.0636224 L22.8211003,42.8395273 Z M14.5793175,2.34169314 L3.39129526,13.7766693 L14.2164345,13.7766693 L22.737883,2.34169314 L14.5793175,2.34169314 Z M17.0286212,13.7766693 L33.2637883,13.7766693 L25.0889276,2.95932259 L17.0286212,13.7766693 Z M35.1301532,2.34169314 L27.4634401,2.34169314 L36.0933844,13.7611094 L36.0778552,13.7766693 L46.5741643,13.7766693 L35.1301532,2.34169314 Z M35.9867688,16.0636224 L26.8396936,43.2885212 L46.8779944,16.0636224 L35.9867688,16.0636224 Z" id="Fill-1"></path>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Some files were not shown because too many files have changed in this diff Show More