Commit 934875ebae07493b3bee45c5a897480486482c16

Authored by ykxie
1 parent 35349457

添加多文件修改提示

src/css/recording.css
... ... @@ -491,14 +491,14 @@ button {
491 491 border: 1px solid #1FB6FF;
492 492 color: #1FB6FF; }
493 493  
494   -.pause-shodow {
  494 +.pause-shodow, .confirm-tip {
495 495 position: absolute;
496 496 top: 0;
497 497 width: 100%;
498 498 height: 100%;
499 499 background-color: rgba(0, 0, 0, 0.8);
500 500 z-index: 999; }
501   - .pause-shodow .compile-loading {
  501 + .pause-shodow .compile-loading, .confirm-tip .compile-loading {
502 502 position: absolute;
503 503 top: 50%;
504 504 left: 50%;
... ...
src/js/gb.js
... ... @@ -2420,6 +2420,9 @@ $(function() {
2420 2420 console.log(GBCodePlayBack.records);
2421 2421 })
2422 2422  
  2423 + $('#confirm').on('click', function(){
  2424 + $('.confirm-tip').hide();
  2425 + })
2423 2426  
2424 2427  
2425 2428 // 继续录制配置
... ...
src/scss/recording.scss
... ... @@ -635,7 +635,7 @@ button{
635 635 }
636 636 }
637 637  
638   -.pause-shodow{
  638 +.pause-shodow, .confirm-tip{
639 639 position: absolute;
640 640 top: 0;
641 641 width: 100%;
... ...
src/v1.1/index.html
... ... @@ -194,7 +194,20 @@
194 194 <div class="upload-tip" style="display: none;">
195 195 <img src="../img/upload_tip.png" alt="">
196 196 </div>
197   -
  197 +
  198 + <div class="confirm-tip">
  199 + <div class="compile-reslut" style="display: ;">
  200 + <div class="tip-header">
  201 + <span>提示</span>
  202 + </div>
  203 + <div class="tip-content">
  204 + <p>在开始录制之前可双击文件名进行修改,开始录制后文件名将不可修改。?</p>
  205 + </div>
  206 + <div class="tip-footer">
  207 + <button class="btn btn-success btn-sm" id="confirm">确定</button>
  208 + </div>
  209 + </div>
  210 + </div>
198 211  
199 212 <!-- 准备开始 -->
200 213 <div id="countdown" style="display: none;">
... ...