|
@@ -7,8 +7,7 @@
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
<meta name="x5-orientation" content="portrait" />
|
|
|
<meta name="screen-orientation" content="portrait" />
|
|
|
- <meta name="viewport"
|
|
|
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover" />
|
|
|
+ <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover" />
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
<!-- 删除苹果默认的工具栏和菜单栏 -->
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
@@ -45,9 +44,7 @@
|
|
|
<body class="scroll h-player" style="overscroll-behavior: contain">
|
|
|
<template id="template-phone-size-item">
|
|
|
{{~ it.list :value:index }}
|
|
|
- <div class="phone-size-item {{? value.width === it.active.width && value.height === it.active.height }}active{{?}}"
|
|
|
- data-id="{{= value.id }}" data-dpi="{{= value.dpi }}" data-width="{{= value.width }}"
|
|
|
- data-height="{{= value.height }}">
|
|
|
+ <div class="phone-size-item {{? value.width === it.active.width && value.height === it.active.height }}active{{?}}" data-id="{{= value.id }}" data-dpi="{{= value.dpi }}" data-width="{{= value.width }}" data-height="{{= value.height }}">
|
|
|
<span>{{= value.width }}x{{= value.height }}</span>
|
|
|
</div>
|
|
|
{{~}}
|
|
@@ -84,17 +81,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div id="wine">
|
|
|
- <video id="playerVideo" x5-video-orientation="landscape" playsinline="true" autoplay="true"
|
|
|
- webkit-playsinline="true" x5-playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="false"
|
|
|
- style="
|
|
|
+ <video id="playerVideo" x5-video-orientation="landscape" playsinline="true" autoplay="true" webkit-playsinline="true" x5-playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="false" style="
|
|
|
pointer-events: none;
|
|
|
object-fit: fill;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
"></video>
|
|
|
<div id="box"></div>
|
|
|
- <audio preload="auto" autoplay controls poster="images/loader-thumb.jpg" id="audioPlayer"
|
|
|
- style="position: absolute; top: 0; width: 0; height: 0"></audio>
|
|
|
+ <audio preload="auto" autoplay controls poster="images/loader-thumb.jpg" id="audioPlayer" style="position: absolute; top: 0; width: 0; height: 0"></audio>
|
|
|
<div class="count-view" id="countView">
|
|
|
<div class="fnca"><span class="countdown-time" style="color: #ffffff;"></span>
|
|
|
<div class="line"></div><img class="wh22" src="../static/img/close.png" alt="" onclick="handleclose()">
|
|
@@ -107,11 +101,11 @@
|
|
|
<div class="menu-btn PictureQuality avit" data-id="3">标清</div>
|
|
|
<div class="menu-btn PictureQuality" data-id="2">极速</div>
|
|
|
</div>
|
|
|
- <!-- <div class="open-set-phone-size-dialog-btn-wrap">
|
|
|
- <div class="menu-btn" id="open-set-phone-size-dialog-btn">
|
|
|
- <span>分辨率</span>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
+ <div class="open-set-phone-size-dialog-btn-wrap">
|
|
|
+ <div class="menu-btn" id="open-set-phone-size-dialog-btn">
|
|
|
+ <span>分辨率</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="operation">
|
|
|
<div class="upload" id="showsuss" data-text="uploads">
|
|
|
<img src="../static/img/wx/shangchuan_icon.png" />
|
|
@@ -160,8 +154,7 @@
|
|
|
|
|
|
<div class="try-use-wrap">
|
|
|
<div class="try-use-container">
|
|
|
- <video width="100%" height="100%" id="source" autoplay="autoplay" loop="loop" webkit-playsinline="true"
|
|
|
- playsinline="true" x5-video-player-type="h5-page">
|
|
|
+ <video width="100%" height="100%" id="source" autoplay="autoplay" loop="loop" webkit-playsinline="true" playsinline="true" x5-video-player-type="h5-page">
|
|
|
您的浏览器不支持 video 标签。
|
|
|
</video>
|
|
|
<div class="time-close-wrap"><span class="time-node"></span> 关闭</div>
|
|
@@ -228,7 +221,7 @@
|
|
|
<div class="countdown-container">
|
|
|
<img class="countdown-img" src="img/countdown.png" />
|
|
|
<div class="countdown-title">计费规则</div>
|
|
|
- <div class="countdown-tip">进入云机开始计时,点击退出并下机停止<br/>计时。点击退出云机仍处于计时状态。</div>
|
|
|
+ <div class="countdown-tip">进入云机开始计时,点击退出并下机停止<br />计时。点击退出云机仍处于计时状态。</div>
|
|
|
<div class="countdown-tip2">云机时长剩余:<span class="countdown-time"></span></div>
|
|
|
<div class="countdown-btn">我知道了</div>
|
|
|
</div>
|
|
@@ -378,12 +371,12 @@
|
|
|
// 根据id删除数据
|
|
|
function deleteDB(db, storeName, id) {
|
|
|
let request = db.transaction([storeName], 'readwrite').objectStore(storeName).delete(id)
|
|
|
-
|
|
|
- request.onsuccess = function() {
|
|
|
+
|
|
|
+ request.onsuccess = function () {
|
|
|
console.log('数据删除成功')
|
|
|
}
|
|
|
-
|
|
|
- request.onerror = function() {
|
|
|
+
|
|
|
+ request.onerror = function () {
|
|
|
console.log('数据删除失败')
|
|
|
}
|
|
|
}
|
|
@@ -1433,7 +1426,7 @@
|
|
|
type: 'get',
|
|
|
dataType: 'json',
|
|
|
contentType: 'application/json;charset=UTF-8',
|
|
|
- }).then(function (res) {});
|
|
|
+ }).then(function (res) { });
|
|
|
}
|
|
|
|
|
|
// 秒转化为时分秒
|
|
@@ -1580,7 +1573,7 @@
|
|
|
// 播放广告
|
|
|
function playAD() {
|
|
|
var nowTime = Date.now();
|
|
|
- if ( adData && $('.try-use-wrap').eq(0).is(':hidden') && nowTime > adLastTime + intervalTime ) {
|
|
|
+ if (adData && $('.try-use-wrap').eq(0).is(':hidden') && nowTime > adLastTime + intervalTime) {
|
|
|
$('#source').attr('src', adData.adVideoBase.videoUrl);
|
|
|
$('.try-use-wrap').eq(0).show();
|
|
|
$('#source')[0].play();
|