|
@@ -1,40 +1,5 @@
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<head>
|
|
- <script>
|
|
|
|
- try {
|
|
|
|
- window.onlyUserID = {{session "userId"}}
|
|
|
|
- } catch (e) {
|
|
|
|
- console.log('获取ID失败')
|
|
|
|
- }
|
|
|
|
- function clearOtherUserLocalStorage () {
|
|
|
|
- var readUserID = JSON.parse(localStorage.getItem('big_member_full_video_play_reads') || '[]')
|
|
|
|
- if (readUserID.length) {
|
|
|
|
- try {
|
|
|
|
- var oCookie = window.onlyUserID || null
|
|
|
|
- var isUserNext = readUserID.indexOf(oCookie) === -1
|
|
|
|
- if (isUserNext) {
|
|
|
|
- localStorage.removeItem('big_member_full_video_play')
|
|
|
|
- } else {
|
|
|
|
- localStorage.setItem('big_member_full_video_play', 'true')
|
|
|
|
- }
|
|
|
|
- } catch (e) {
|
|
|
|
- console.log('cookie 获取失败02')
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- localStorage.removeItem('big_member_full_video_play')
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- clearOtherUserLocalStorage()
|
|
|
|
- if (localStorage.getItem('big_member_full_video_play')) {
|
|
|
|
- console.log('已经播放')
|
|
|
|
- } else {
|
|
|
|
- console.log('应该跳转')
|
|
|
|
- window.onload = function () {
|
|
|
|
- history.pushState({state: 'full'}, null)
|
|
|
|
- location.href = '/jyapp/big/page/full'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- </script>
|
|
|
|
{{include "/common/meta.html"}}
|
|
{{include "/common/meta.html"}}
|
|
<!--S-当前页必定需要预加载的资源-->
|
|
<!--S-当前页必定需要预加载的资源-->
|
|
<link rel="preload" as="script" href='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/swiper.min.js' />
|
|
<link rel="preload" as="script" href='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/swiper.min.js' />
|