Commit 755bde57 authored by 李波's avatar 李波

2021-04-27

parent 67a8b814
...@@ -2,11 +2,7 @@ ...@@ -2,11 +2,7 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="f0421ba8-2ee0-449a-9a4a-029934c6b8ab" name="默认更改列表" comment=""> <list default="true" id="f0421ba8-2ee0-449a-9a4a-029934c6b8ab" name="默认更改列表" comment="">
<change afterPath="$PROJECT_DIR$/page/data.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/page/index.css" beforeDir="false" afterPath="$PROJECT_DIR$/page/index.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/page/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/page/index.html" afterDir="false" /> <change beforePath="$PROJECT_DIR$/page/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/page/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/page/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/page/index.js" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/temp/" />
...@@ -22,8 +18,8 @@ ...@@ -22,8 +18,8 @@
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/page/index.html"> <entry file="file://$PROJECT_DIR$/page/index.html">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="728"> <state relative-caret-position="714">
<caret line="399" column="35" lean-forward="true" selection-start-line="399" selection-start-column="35" selection-end-line="399" selection-end-column="35" /> <caret line="55" column="9" selection-start-line="55" selection-start-column="9" selection-end-line="55" selection-end-column="9" />
<folding> <folding>
<element signature="n#style#0;n#div#0;n#div#0;n#div#1;n#div#5;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#div#0;n#div#1;n#div#5;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#b#0;n#p#0;n#div#0;n#div#0;n#div#1;n#div#4;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#b#0;n#p#0;n#div#0;n#div#0;n#div#1;n#div#4;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
...@@ -74,6 +70,7 @@ ...@@ -74,6 +70,7 @@
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
<findStrings> <findStrings>
<find>xcAttr1</find> <find>xcAttr1</find>
<find>index</find>
</findStrings> </findStrings>
</component> </component>
<component name="Git.Settings"> <component name="Git.Settings">
...@@ -155,7 +152,7 @@ ...@@ -155,7 +152,7 @@
<option name="number" value="Default" /> <option name="number" value="Default" />
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1619449663855</updated> <updated>1619449663855</updated>
<workItem from="1619449668450" duration="7155000" /> <workItem from="1619449668450" duration="7971000" />
</task> </task>
<task id="LOCAL-00001" summary="2021-04-26"> <task id="LOCAL-00001" summary="2021-04-26">
<created>1619451069058</created> <created>1619451069058</created>
...@@ -171,11 +168,18 @@ ...@@ -171,11 +168,18 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1619451954729</updated> <updated>1619451954729</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="2021-04-27">
<created>1619486667763</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1619486667763</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="7155000" /> <option name="totallyTimeSpent" value="7971000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
...@@ -207,7 +211,8 @@ ...@@ -207,7 +211,8 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="2021-04-26" /> <MESSAGE value="2021-04-26" />
<option name="LAST_COMMIT_MESSAGE" value="2021-04-26" /> <MESSAGE value="2021-04-27" />
<option name="LAST_COMMIT_MESSAGE" value="2021-04-27" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/page/index.css"> <entry file="file://$PROJECT_DIR$/page/index.css">
...@@ -233,8 +238,8 @@ ...@@ -233,8 +238,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/page/index.html"> <entry file="file://$PROJECT_DIR$/page/index.html">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="728"> <state relative-caret-position="714">
<caret line="399" column="35" lean-forward="true" selection-start-line="399" selection-start-column="35" selection-end-line="399" selection-end-column="35" /> <caret line="55" column="9" selection-start-line="55" selection-start-column="9" selection-end-line="55" selection-end-column="9" />
<folding> <folding>
<element signature="n#style#0;n#div#0;n#div#0;n#div#1;n#div#5;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#div#0;n#div#0;n#div#1;n#div#5;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#b#0;n#p#0;n#div#0;n#div#0;n#div#1;n#div#4;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" /> <element signature="n#style#0;n#b#0;n#p#0;n#div#0;n#div#0;n#div#1;n#div#4;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
......
...@@ -18,7 +18,42 @@ ...@@ -18,7 +18,42 @@
<script src="data.js?v=1"></script> <script src="data.js?v=1"></script>
</head> </head>
<body> <body>
<script>
function autoPlayVideo() {
/* 自动播放视频效果,解决浏览器或者APP自动播放问题 */
function videoInBrowserHandler() {
videoPlay(true);
document.body.removeEventListener('touchstart', videoInBrowserHandler);
}
document.body.addEventListener('touchstart', videoInBrowserHandler);
/* 自动播放视频效果,解决微信自动播放问题 */
function videoInWeixinHandler() {
videoPlay(true);
document.addEventListener("WeixinJSBridgeReady", function () {
videoPlay(true);
}, false);
document.removeEventListener('DOMContentLoaded', videoInWeixinHandler);
}
document.addEventListener('DOMContentLoaded', videoInWeixinHandler);
}
function videoPlay(isPlay) {
var media = document.getElementById('myVideo');
if (isPlay && media.paused) {
media.play();
}
if (!isPlay && !media.paused) {
media.pause();
}
}
autoPlayVideo();
</script>
<div id="app"> <div id="app">
<!-- 视频 --> <!-- 视频 -->
<div class="video-box"> <div class="video-box">
...@@ -28,40 +63,6 @@ ...@@ -28,40 +63,6 @@
您的浏览器不支持Video标签。 您的浏览器不支持Video标签。
</video> </video>
</div> </div>
<script>
function autoPlayVideo() {
/* 自动播放视频效果,解决浏览器或者APP自动播放问题 */
function videoInBrowserHandler() {
videoPlay(true);
document.body.removeEventListener('touchstart', videoInBrowserHandler);
}
document.body.addEventListener('touchstart', videoInBrowserHandler);
/* 自动播放视频效果,解决微信自动播放问题 */
function videoInWeixinHandler() {
videoPlay(true);
document.addEventListener("WeixinJSBridgeReady", function () {
videoPlay(true);
}, false);
document.removeEventListener('DOMContentLoaded', videoInWeixinHandler);
}
document.addEventListener('DOMContentLoaded', videoInWeixinHandler);
}
function videoPlay(isPlay) {
var media = document.getElementById('myVideo');
if (isPlay && media.paused) {
media.play();
}
if (!isPlay && !media.paused) {
media.pause();
}
}
autoPlayVideo();
</script>
<!-- 百牛渡江 天下奇观 --> <!-- 百牛渡江 天下奇观 -->
<div class="full-box"> <div class="full-box">
<img src="img/1.png" alt="" srcset="" class="full-img"> <img src="img/1.png" alt="" srcset="" class="full-img">
...@@ -239,7 +240,7 @@ ...@@ -239,7 +240,7 @@
<div class="sc-tip-img"></div> <div class="sc-tip-img"></div>
<span>4.29行程(星期四)</span> <span>4.29行程(星期四)</span>
</div> </div>
<div class="xc-item" v-for="item in vip.xcAttr1" :key="index"> <div class="xc-item" v-for="item in vip.xcAttr1">
<div class="xc-item-tip"> <div class="xc-item-tip">
<span class="item-tip-icon"></span> <span class="item-tip-icon"></span>
<span>{{item.title}}</span> <span>{{item.title}}</span>
...@@ -258,7 +259,7 @@ ...@@ -258,7 +259,7 @@
<div class="sc-tip-img"></div> <div class="sc-tip-img"></div>
<span>4.30行程(星期五)</span> <span>4.30行程(星期五)</span>
</div> </div>
<div class="xc-item" v-for="item in vip.xcAttr2" :key="index"> <div class="xc-item" v-for="item in vip.xcAttr2">
<div class="xc-item-tip"> <div class="xc-item-tip">
<span class="item-tip-icon"></span> <span class="item-tip-icon"></span>
<span>{{item.title}}</span> <span>{{item.title}}</span>
...@@ -278,7 +279,6 @@ ...@@ -278,7 +279,6 @@
</div> </div>
</div> </div>
</body>
<!-- import JavaScript --> <!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script> <script src="https://unpkg.com/element-ui/lib/index.js"></script>
...@@ -423,5 +423,5 @@ ...@@ -423,5 +423,5 @@
}, },
}) })
</script> </script>
</body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment