Jelajahi Sumber

Merge branch '2018zt' of http://svn.ouj.com:3000/FED/dwweb-pc into 2018zt

Eechon 6 tahun lalu
induk
melakukan
071e4fe543
22 mengubah file dengan 647 tambahan dan 342 penghapusan
  1. 33 23
      2018专题/1808万象物语专题-商务/src/_index.html
  2. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img1.png
  3. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img2.png
  4. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img3.png
  5. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img4.png
  6. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img5.png
  7. TEMPAT SAMPAH
      2018专题/1808万象物语专题-商务/src/img/book-img6.png
  8. 30 0
      2018专题/1808万象物语专题-商务/src/modules/data/role.js
  9. 1 1
      2018专题/1808万象物语专题-商务/src/modules/data/world.js
  10. 345 275
      2018专题/1808万象物语专题-商务/src/modules/page/index.js
  11. 25 1
      2018专题/1808万象物语专题-商务/src/sass/global.scss
  12. 12 2
      2018专题/1808万象物语专题-商务/src/sass/page/_primary.scss
  13. 75 17
      2018专题/1808万象物语专题-商务/src/sass/page/_role.scss
  14. 29 3
      2018专题/1808万象物语专题-商务/src/sass/page/_scene.scss
  15. 4 3
      2018专题/1808万象物语专题-商务/src/sass/page/_subscribe.scss
  16. 89 14
      2018专题/1808万象物语专题-商务/src/sass/page/_world.scss
  17. 1 1
      2018专题/剑灵1809/src/_index.html
  18. TEMPAT SAMPAH
      2018专题/剑灵1809/src/img/banner.jpg
  19. TEMPAT SAMPAH
      2018专题/剑灵1809/src/img/banner.png
  20. TEMPAT SAMPAH
      2018专题/剑灵1809/src/img/bg-btn-accept.jpg
  21. TEMPAT SAMPAH
      2018专题/剑灵1809/src/img/bg-gif2.jpg
  22. 3 2
      2018专题/剑灵1809/src/sass/global.scss

+ 33 - 23
2018专题/1808万象物语专题-商务/src/_index.html

@@ -49,7 +49,7 @@
                     </div>
                     <div class="primary-from">
                         <a href="//duowan.com" class="icon-xsj" target="_blank"></a>
-                        <a href="#" class="icon-ear" target="_blank"></a>
+                        <a href="#" class="icon-ear" target="_blank" v-if="!isMobile"></a>
                     </div>
                     <div :class="['primary-nav','animated delay-1s', isPrimaryEnter ? 'fadeIn' : '']"
                          v-show="isPrimaryEnter">
@@ -62,7 +62,7 @@
                             <i class="icon-download"></i>
                             <span>下载</span>
                         </a>
-                        <a class=" primary-nav-item" @mouseenter="shareShow = true">
+                        <a class=" primary-nav-item" @mouseenter="shareShow = true" @click="toggleShareShow">
                             <i class="icon-share"></i>
                             <span>分享</span>
                         </a>
@@ -93,26 +93,28 @@
                         <img src="img/text-scroll-down.png" v-if="!isMobile">
                         <i class="icon-down"></i>
                     </div>
-                    <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/4f8ebaf180976f2981e3d361220b05bf/5b99c1ed/47/9/1837/8951717-101-1536655530.mp4'"
+                    <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/7dd2d5d74b91d72fab7c444b5c563910/5ba0a1b5/51/10/1838/8953949-101-1537164520.mp4'"
                            autoplay loop
                            ref="primary-start-video"
                            v-if="!isMobile"
                            class='animated'></video>
                     <video style="display: none;"
-                           :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/214cd17590d97210fab485435133b32a/5b99c1ed/89/8/1837/8951719-101-1536655538.mp4'"
+                           :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/a5123a8b87f9f2d975b776a68c3db3c4/5ba0a1b5/86/11/1838/8953951-101-1537164531.mp4'"
                            class="animated"
                            ref="primary-turn-video"
                            v-if="!isMobile"></video>
                     <video style="display: none;"
-                           :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/b2d1326e81fb228fef992ebf067dc191/5b99c1ed/87/2/1837/8951723-101-1536655555.mp4'"
+                           :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/deccfdb43c863e85000f5c4d7a22e8d7/5ba0a1b5/56/7/1838/8953955-101-1537164553.mp4'"
                            class="animated"
                            ref="primary-loop-video" loop
                            v-if="!isMobile"></video>
                     <transition name="fade">
                         <div class="primary-mobile-video-wrapper" v-if="isMobile" v-show="mobileVideoVisiable"
                              @click.stop="mobileVideoVisiable = false">
-                            <video src="https://dw-bw6.dwstatic.com/91e1e68a8c006ec35806c36e0c9d7aec/5b9b1df3/88/6/1837/8951715-101-1536655514.mp4"
-                                   ref="primary-mobile-video" class="primary-mobile-video" controls></video>
+                            <video src="https://dw-bw6.dwstatic.com/2ad6f2864f4d1efce1455a6ce2d4dee8/5ba0a1b5/89/7/1838/8953947-101-1537164510.mp4"
+                                   ref="primary-mobile-video" class="primary-mobile-video" controls
+                                   x5-video-player-type="h5" x5-video-player-fullscreen="true" airplay="allow" orientation="landscape"
+                                   webkit-playsinline="true" playsinline="true" x5-playsinline="true" x-webkit-airplay="allow"></video>
                         </div>
                     </transition>
                 </div>
@@ -126,7 +128,10 @@
                         <div class="book-wrap">
                             <ul>
                                 <li :class="['item' + (index + 1)]" v-for="(item,index) in worldList" :key="index">
-                                    <p><img :src="isWorldShow ? resourceAPI + item.cover : 'http://pub.dwstatic.com/common/img/blank.png'" alt="" /></p>
+                                    <p>
+                                        <span>{{item.desc}}</span>
+                                        <img :src="isWorldShow ? resourceAPI + item.cover : 'http://pub.dwstatic.com/common/img/blank.png'" alt="" />
+                                    </p>
                                 </li>
                             </ul>
                         </div>
@@ -149,8 +154,9 @@
                 <div class="content-wrapper" style="overflow: hidden">
                     <ul class="scene-list">
                         <li v-for="(item, index) in sceneList"
-                            :class="['scene-item item-bg' + (index + 1), currentSceneIndex === index ? 'active' : '']"
-                            :key="item" @click.self="currentSceneIndex = index">
+                            :class="['scene-item animated item-bg' + (index + 1), currentSceneIndex === index ? 'active' : '', isSceneEnter ? 'bounceInLeft' : '']"
+                            :key="item" @click.self="currentSceneIndex = index"
+                            :style="{'animation-delay': (index + 1) * 150 + 'ms'}">
                         </li>
                     </ul>
                     <img src="img/scene-cover.png" class="scene-cover">
@@ -164,7 +170,9 @@
                             </li>
                         </div>
                         <img src="src/img/scene-shadow.png" class="text-shadow">
-                        <p class="scene-desc">{{sceneList[currentSceneIndex].desc}}</p>
+                        <p class="scene-desc"
+                        :style="{bottom: currentSceneIndex === 1 || currentSceneIndex === 2 || currentSceneIndex === 6 ? '13vw' : '15w'}"
+                        >{{sceneList[currentSceneIndex].desc}}</p>
                     </ul>
                     <div :class="['scene-reader', isReading ? 'active' : '']" @click="isReading = !isReading"
                          v-show="!isMobile">
@@ -180,7 +188,7 @@
                         <div class="role-list">
                             <ul v-for="(item,index) in roleList" :key="index" :class="index == 0 ? 'is-active' : ''">
                                 <li v-for="(subItem,subIndex) in item" :key="subIndex" :class="['animated',isRoleListEnter ? 'fadeInDown' : '']" :animate-delay="(subIndex / 10 + subIndex * 0.2) + 's'">
-                                    <p class="item-mask"></p>
+                                    <p class="item-mask" v-if="!isMobile"></p>
                                     <img :src="isRoleShow ? resourceAPI + subItem.listCover : 'http://pub.dwstatic.com/common/img/blank.png'" alt="" />
                                     {{index}}
                                 </li>
@@ -246,8 +254,8 @@
                                                     <div class="role-cv">
                                                         <img src="/src/img/role-cv-bg.png" alt="" />
                                                         <p class="cv-name">{{ subItem.cv }}</p>
-                                                        <p class="horn"></p>
-                                                        <div class="cv-audio">
+                                                        <p class="horn" v-show="!isMobile"></p>
+                                                        <div class="cv-audio" v-if="!isMobile">
                                                             <audio :src="resourceAPI + 'audio/role/role' + (index * 5 + subIndex + 1) + '-cv1.mp3'" class="cv-m1"></audio>
                                                             <audio :src="resourceAPI + 'audio/role/role' + (index * 5 + subIndex + 1) + '-cv2.mp3'" class="cv-m2" v-if="subItem.name != '实验体'"></audio>
                                                         </div>
@@ -266,7 +274,7 @@
                                                     </div>
                                                     <div class="role-gif">
                                                         <img :src="resourceAPI + subItem.roleGif" alt="" />
-                                                        <i :class="subItem.roleAttr == 'white' ? 'white' : (subItem.roleAttr == 'black' ? 'black' : 'gold')"></i>
+                                                        <i :class="subItem.roleAttr == 'white' ? 'white' : (subItem.roleAttr == 'black' ? 'black' : (subItem.roleAttr == 'gold' ? 'gold' : ''))"></i>
                                                     </div>
                                                 </div>
                                                 <div class="desc-box content-part">
@@ -276,8 +284,8 @@
                                                     <div class="desc-text" data-role="scrollTeam">
                                                         {{ subItem.desc }}
                                                     </div>
-                                                    <p class="desc-audio-play is-active"></p>
-                                                    <audio :src="resourceAPI + 'audio/role/role' + (index * 5 + subIndex + 1) + '-desc.mp3'" class="role-desc"></audio>
+                                                    <p class="desc-audio-play is-active" v-show="!isMobile"></p>
+                                                    <audio :src="resourceAPI + 'audio/role/role' + (index * 5 + subIndex + 1) + '-desc.mp3'" class="role-desc" v-if="!isMobile"></audio>
                                                 </div>
                                             </div>
                                         </div>
@@ -289,7 +297,7 @@
                             </div>
                             <div class="info-mask"></div>
                         </div>
-                        <div v-if="isRoleShow">
+                        <div v-if="isRoleShow && !isMobile">
                             <audio :src="resourceAPI + 'audio/role/role-back.mp3'" class="role-back-m"></audio>
                             <audio :src="resourceAPI + 'audio/role/role-uihide.mp3'" class="role-uihide-m"></audio>
                             <audio :src="resourceAPI + 'audio/role/role-switch.mp3'" class="role-switch-m"></audio>
@@ -302,13 +310,13 @@
             <!-- 评测 s -->
             <div class="swiper-slide" v-show="!isMobile">
                 <div class="page-evaluation">
-                    <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/db9a624fe2168243e8766012ff75e726/5b9b1df3/51/8/1837/8952341-101-1536805115.mp4'"
+                    <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/c648f496e0cfe63a7f6d88fad3992a88/5ba0a1b5/57/4/1838/8953953-101-1537164539.mp4'"
                            class="evaluation-bg" autoplay loop v-if="!isMobile"></video>
                     <div class="evaluation-video-wrapper">
                         <i class="icon-videoPlay" v-show="!isEvaluationVideoPlaying"
                            @click.stop="isEvaluationVideoPlaying = true"></i>
-                        <video src="https://dw-bw6.dwstatic.com/91e1e68a8c006ec35806c36e0c9d7aec/5b9b1df3/88/6/1837/8951715-101-1536655514.mp4"
-                               class="evaluation-video" loop ref="evaluation-video" v-if="!isMobile"
+                        <video src="https://dw-bw6.dwstatic.com/2ad6f2864f4d1efce1455a6ce2d4dee8/5ba0a1b5/89/7/1838/8953947-101-1537164510.mp4"
+                               class="evaluation-video" ref="evaluation-video" v-if="!isMobile"
                                @click.stop="isEvaluationVideoPlaying = false"></video>
                     </div>
                     <div class="charactor-wrapper" ref="charactor-wrapper">
@@ -332,7 +340,7 @@
                         <a href="javascript: void 0" class="text-bg" @click="commentVisiable = true">发表评论</a>
                     </div>
                 </div>
-                <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/362c93817fb7f825721ac71a4d3ca76c/5b99c6e3/44/12/1837/8951909-101-1536717179.mp4'"
+                <video :src="isMobile ? '' : 'https://dw-bw6.dwstatic.com/eb43938a86b86de2a772911b3336d4fe/5ba0a1b5/51/12/1838/8953957-101-1537164562.mp4'"
                        v-if="!isMobile"
                        v-show="!isMobile"
                        autoplay loop
@@ -342,7 +350,7 @@
         </div>
     </div>
 
-    <div class="scene-role-bgm">
+    <div class="scene-role-bgm" v-if="!isMobile">
         <audio :src="resourceAPI + 'audio/scene-role-bgm1.mp3'" class="bgm-volume"></audio>
         <audio :src="resourceAPI + 'audio/scene-role-bgm2.mp3'" class="bgm-volume"></audio>
         <audio :src="resourceAPI + 'audio/scene-role-bgm3.mp3'" class="bgm-volume"></audio>
@@ -385,6 +393,8 @@
                 </div>
             </div>
         </transition>
+        <div :class="['mobile-bgm-controler', isMobileBGPlaying ? 'active' : '']"  v-show="mobileBGMControlerShow"
+             v-if="isMobile" @click="isMobileBGPlaying = !isMobileBGPlaying"></div>
     </div>
 <script src="//pub.dwstatic.com/zt2018/qjjx05/js/vue.js"></script>
 <script src="lib/mod.js"></script>

TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img1.png


TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img2.png


TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img3.png


TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img4.png


TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img5.png


TEMPAT SAMPAH
2018专题/1808万象物语专题-商务/src/img/book-img6.png


+ 30 - 0
2018专题/1808万象物语专题-商务/src/modules/data/role.js

@@ -6,6 +6,7 @@ var roleList = [
             age: '19岁',
             birth: '露月十六日',
             height: '165cm',
+            roleAttr: 'white',
             desc: '太阳王国的公主,善良温柔,聪明伶俐,优雅又惹人怜爱。具备对人民的怜爱之心。自幼在王城内被保护长大, 因而涉世未深。 在处事上带有理想主义,会将国家事务想的过分简单,单纯的个性加上不会怀疑他人,导致行为决策看似太过天真。 重视人与人之间的情感,所以遇到重要关键之时,容易优柔寡断,难以下决策。',
             cover: 'img/role-img1.jpg',
             roleGif: 'img/role-gif-img1.gif',
@@ -45,6 +46,7 @@ var roleList = [
             age: '47岁',
             birth: '雾月十八日',
             height: '178cm',
+            roleAttr: 'white',
             desc: '符文学院的前任教师,生命学派的学者,目前在晴空草原设置实验室,研究符文能量与生命能量的形式转换。 性格孤僻低调,情绪表现平淡并且冷漠,不易信任他人。带有疯狂科学家特质,喜欢让事情处于掌握之中。 若遇上自己解决不了的事情,则会显得歇斯底里、钻牛角尖,常被误会是不折不扣的怪胎。',
             cover: 'img/role-img2.jpg',
             roleGif: 'img/role-gif-img2.gif',
@@ -84,6 +86,7 @@ var roleList = [
             age: '19岁',
             birth: '冰月二十六日',
             height: '160cm',
+            roleAttr: 'white',
             desc: '符文学院的高材生,性格乐观,活泼外向,是个天真烂漫的电波乐天派。 爱出馊主意但容易搞砸事情,搞砸后会顺理成章把责任推给别人,顺利完成事情则会得意的邀功;经常逞一时威风接下超出自己能力所及的事后,却不知道该从何开始进行,有时还把闲言闲语当成称赞。',
             cover: 'img/role-img3.jpg',
             roleGif: 'img/role-gif-img3.gif',
@@ -123,6 +126,7 @@ var roleList = [
             age: '27岁',
             birth: '霞月一日',
             height: '166cm',
+            roleAttr: 'white',
             desc: '太阳王国军中的符文将军,身材性感火辣,战斗实力也属于顶尖程度。却由于天生懒散,加上随心所欲的不受控个性,使得西奥多将她发配边疆作为惩处。喜爱喝酒与挑逗异性,看见感兴趣的男性就会主动出击,却总是遇不到真爱。外表看似散漫,但该认真时还是会全力以赴,是位拥有独特个人魅力的美人将军。',
             cover: 'img/role-img4.jpg',
             roleGif: 'img/role-gif-img4.gif',
@@ -162,6 +166,7 @@ var roleList = [
             age: '推测12岁左右',
             birth: '生日未知',
             height: '163cm',
+            roleAttr: 'white',
             desc: '生活在枫湖畔湖底的人鱼,幼年时遭人绑架,并恶意放生于此。 性格古灵精怪、调皮,是个想到就做的及时行乐派;也因为好客热情的个性,很快就能和初识的人熟络。与所有枫湖畔生物关系良好,唯独极度讨厌邪恶的卡努拉。 虽然是人鱼但在陆上也有行动能力。唱起歌来有着动人的美妙音色。 ',
             cover: 'img/role-img5.jpg',
             roleGif: 'img/role-gif-img5.gif',
@@ -203,6 +208,7 @@ var roleList = [
             age: '1岁',
             birth: '生日未知',
             height: '65cm',
+            roleAttr: 'white',
             desc: '外表看似普通的野狼,但实际上却是濒临灭绝的传说种族──灿羽狼。 幼年时孤苦无依,因为太过弱小而遭到欺负,最后被猫眼捡回家。 库尔在猫眼身边表现得像一只忠犬,十分黏对方,也会撒娇,只要有人想伤害猫眼,都会挺身而出。',
             cover: 'img/role-img6.jpg',
             roleGif: 'img/role-gif-img6.gif',
@@ -242,6 +248,7 @@ var roleList = [
             age: '27岁',
             birth: '霞月二十八日',
             height: '172cm',
+            roleAttr: 'white',
             desc: '机器商人夏洛克的养女,居住于沙漠市集。因为夏洛克的过分溺爱,所以有些骄纵任性。 拥有着傲人的身材曲线与胸围,外表成熟性感。 性格豪放、吊儿郎当,不太避讳与别人的肢体接触,不认识的人总以为她是十分开放、随便的女性,但其实意外地是一位容易娇羞的少女,且十分专情。',
             cover: 'img/role-img7.jpg',
             roleGif: 'img/role-gif-img7.gif',
@@ -281,6 +288,7 @@ var roleList = [
             age: '11岁',
             birth: '阳月十一日',
             height: '145cm',
+            roleAttr: 'white',
             desc: '生长在贫民窟的小男孩,和璃是一对双胞胎。性格温柔,对任何人都抱持着信赖感,思想上有些超乎年龄的成熟懂事,却也有童心的一面,容易因接触到新鲜事情而感到兴奋。 总是被旁人笑是个爱哭鬼,所以内心努力想让自己更加坚强,因此憧憬坚强的纳杰尔。',
             cover: 'img/role-img8.jpg',
             roleGif: 'img/role-gif-img8.gif',
@@ -320,6 +328,7 @@ var roleList = [
             age: '秘密呦',
             birth: '花月十三日',
             height: '50cm',
+            roleAttr: 'white',
             desc: '庞的旅伴,爱惹是生非的鸟类生物。明明没啥本事却又有过剩的自信,认为自己超可爱,所以一定是主角级的人物,相信主角不会死的定律所以行为举止都很嚣张。 和庞个性相投,喜欢庞的冷笑话。平时的兴趣就是找乐子,但通常他所谓的乐子便是往危险的方向走,所以常招惹麻烦。',
             cover: 'img/role-img9.jpg',
             roleGif: 'img/role-gif-img9.gif',
@@ -359,6 +368,7 @@ var roleList = [
             age: '42岁',
             birth: '霜月二十日',
             height: '180cm',
+            roleAttr: 'white',
             desc: '前任国王威廉的弟弟,安洁莉亚的叔叔,安洁莉亚成年前的摄政王。性格冷酷严肃、不苟言笑、善于谋略,凡事会做很深远的打算。 擅长缓解贵族阶级之间的利益冲突,因此在上层社会的支持度很高,但中下阶层的人民十分痛恨他。 政策上采取先父的富国强兵策略,有计画的壮大太阳王国。',
             cover: 'img/role-img10.jpg',
             roleGif: 'img/role-gif-img10.gif',
@@ -400,6 +410,7 @@ var roleList = [
             age: '20岁',
             birth: '霜月九日',
             height: '158cm',
+            roleAttr: 'black',
             desc: '本名伊芙,是贫民窟出身的神秘亚人少女,现正作为密探在奥斯塔身旁工作,专门处理要暗中解决、见不得光的问题。 为了执行任务时不牵连到贫民窟,于是取了「黯月」这个代号。 性格沉默寡言,几乎没有情感表现,总是冷漠观察身旁的人事物,让人难以看透她心里在想什么,只有青梅竹马能察觉黯月的情绪变化。',
             cover: 'img/role-img11.jpg',
             roleGif: 'img/role-gif-img11.gif',
@@ -439,6 +450,7 @@ var roleList = [
             age: '25岁',
             birth: '雪月四日',
             height: '175cm',
+            roleAttr: 'black',
             desc: '居住在啼林谷的豹族兽人,体态健美性感、身手矫健,为豹族一支部队的小队长。 性格刚烈、剽悍并且好恶分明,观念保守,守护着豹族的传统文化,对符文科技抱持着抗拒之心。 有很强的领域意识,对熟识的人会稍微放松戒心,但对于进入势力范围的陌生人,就会带有强烈的敌意。',
             cover: 'img/role-img12.jpg',
             roleGif: 'img/role-gif-img12.gif',
@@ -478,6 +490,7 @@ var roleList = [
             age: '11岁',
             birth: '阳月十一日',
             height: '145cm',
+            roleAttr: 'black',
             desc: '为了保护弟弟,而立志成为符文使的少女。表面无辜可人,实际上相当聪明机灵,却喜欢装傻看别人的反应,想法偶尔会浮现在脸上,但马上就会收敛。 有意识到自己的相貌可爱讨喜这点,擅常利用这项优势。 会为了达成自己的目的而刻意安排一些恶作剧。和安静柔弱的琉比起来较为外向,非常照顾弟弟。',
             cover: 'img/role-img13.jpg',
             roleGif: 'img/role-gif-img13.gif',
@@ -517,6 +530,7 @@ var roleList = [
             age: '22岁',
             birth: '雨月十六日',
             height: '162cm',
+            roleAttr: 'black',
             desc: '头上长着一对猫耳的亚人少女,曾以助手的身份协助管理罗杰统领的盗贼团,只要是与罗杰有关的事,就会不顾后果去做。性格机灵并且充满元气,不管对谁都很友善、随和且不怕生。实际上心思细腻,必须承担一些不属于自己的心事时,时常会钻牛角尖,但猫眼习惯故作开朗,用坚强的笑容来掩饰不安。',
             cover: 'img/role-img14.jpg',
             roleGif: 'img/role-gif-img14.gif',
@@ -556,6 +570,7 @@ var roleList = [
             age: '24岁',
             birth: '雪月一日',
             height: '172cm',
+            roleAttr: 'black',
             desc: '太阳王国数一数二的神箭手,为晴空草原的保安官。性格上不拘小节,爽朗又大方,是个可靠的帅气大姐。 由于神经大条,有话就直说,所以偶尔会得罪其他人,而且多半不会察觉自己伤到人。 和公主安洁莉亚从小相识,两人关系亲昵,如同亲姐妹一般,并十分照顾对方。',
             cover: 'img/role-img15.jpg',
             roleGif: 'img/role-gif-img15.gif',
@@ -597,6 +612,7 @@ var roleList = [
             age: '27岁',
             birth: '炎月二十一日',
             height: '175cm',
+            roleAttr: 'black',
             desc: '居住于彭列瓦沙漠的鳞族猎户青年,下半身拥有蜥蜴的鳞片特征。 整体身材精壮、肤色黝黑,笑起来给人太阳一般温暖的感觉;内在心思细腻、温柔体贴,是个能给人安全感、值得信赖的男人。 凭着一身打猎技巧,以及沙漠盗贼的贸易往来,悠闲在沙漠度过平凡的每一天。',
             cover: 'img/role-img16.jpg',
             roleGif: 'img/role-gif-img16.gif',
@@ -636,6 +652,7 @@ var roleList = [
             age: '外表22/实际35岁',
             birth: '阳月十四日',
             height: '160cm',
+            roleAttr: 'black',
             desc: '晴空草原上贩卖木偶的流动摊贩,个性文静温柔,生性害羞,不太擅长与陌生人交谈,所以说话都是小小声。 母亲在怀孕时被亚特拉斯大爆发所波及,虽然在去世后没多久便紧急产下诺瓦,但诺瓦体内却因此残留着魔物魂能而染上『裂隙病』。 每逢裂隙吸时会难以控制陷入沉睡。',
             cover: 'img/role-img17.jpg',
             roleGif: 'img/role-gif-img17.gif',
@@ -675,6 +692,7 @@ var roleList = [
             age: '13岁',
             birth: '雨月三日',
             height: '220cm',
+            roleAttr: 'black',
             desc: '居住在图腾塔夫的熊族青年,个性冲动易怒,不理性,唯独对待古鲁兽的态度温柔和善。 刃年幼时,父亲就为了保护碎牙,而死于熊族对太阳王国的区域冲突,导致刃对太阳王国抱有强烈的敌意,也与收养他的碎牙关系有些疙瘩。刃与人类交好,与碎牙化解心结,一起负起保护熊族的责任。',
             cover: 'img/role-img18.jpg',
             roleGif: 'img/role-gif-img18.gif',
@@ -714,6 +732,7 @@ var roleList = [
             age: '外表33/实际60岁',
             birth: '枫月十万日',
             height: '175cm',
+            roleAttr: 'black',
             desc: '符文学院院长,外貌清秀,是学院内「实用学派」的领导者,研究能够带来给人们便利生活的符文魔法。与奥斯塔的老师莫里斯是莫逆之交。 个性温和幽默、脸上不论何时都带着一抹微笑,所以深受符文学院学生们的喜爱,但俊俏的外表和实际谈吐似乎有着年龄上落差。 生活白痴,偶尔会因为埋首研究忘记吃饭。',
             cover: 'img/role-img19.jpg',
             roleGif: 'img/role-gif-img19.gif',
@@ -753,6 +772,7 @@ var roleList = [
             age: '47岁',
             birth: '露月十二日',
             height: '190cm',
+            roleAttr: 'gold',
             desc: '太阳王国前任禁卫军团长,边境战争的传奇英雄。个性稳重,处事成熟,给人值得信赖的感觉。 提倡和平主义,遇到冲突都尽可能用言语谈判来化解,相信战争只是政治的延伸,是外交的最后手段,因此不到最后关头,不该动用武力。 被先王威廉交代要照顾公主,对安洁莉亚来说,迪兰是亦师亦父的存在。',
             cover: 'img/role-img20.jpg',
             roleGif: 'img/role-gif-img20.gif',
@@ -794,6 +814,7 @@ var roleList = [
             age: '推测40岁以上',
             birth: '生日未知',
             height: '250cm',
+            roleAttr: 'gold',
             desc: '居住在图腾塔夫洞窟中的其中一只古鲁兽,也是唯一有名字的古鲁兽,与大多数的古鲁兽一样性格温驯,却唯独只有它特别喜爱人类。 古鲁兽族自古以来就被熊族景仰,它们的背上会随着年龄增长而长出水晶晶矿,而这些晶矿能驱动符文道具,也因此导致人类的觊觎,成为人类与熊族冲突的主因之一。',
             cover: 'img/role-img21.jpg',
             roleGif: 'img/role-gif-img21.gif',
@@ -833,6 +854,7 @@ var roleList = [
             age: '32岁',
             birth: '露月三十一日',
             height: '168cm',
+            roleAttr: 'gold',
             desc: '太阳王国禁卫军团团长。出身落魄的低阶贵族家庭,自小就饱受其他贵族的嘲弄,因此决定不管用什么手段,都要爬到极高的地位。 心眼小,处事卑鄙,总是仗势欺人,喜欢刁难位阶比自己低的人,遇到位阶高的又无所不用其极拍马屁。 对西奥多十分巴结、阿谀奉承,自诩为西奥多的左右手。',
             cover: 'img/role-img22.jpg',
             roleGif: 'img/role-gif-img22.gif',
@@ -872,6 +894,7 @@ var roleList = [
             age: '5岁',
             birth: '炎月二十八日',
             height: '180cm',
+            roleAttr: 'gold',
             desc: '生活在枫湖畔的恶霸,自诩为湖畔霸王,个性蛮横无礼,为枫湖畔原生种蛙鳄。 生性凶恶又奸诈,讲话超大声,觉得全枫湖畔居民都是蛙鳄的食物。会用头上的可爱植物进行伪装,诱捕其他居住在湖中的生物。 领导着其他蛙鳄一同行动。和人鱼荷丝缇雅的关系很差,内心也极度憎恶老水豚扬波。',
             cover: 'img/role-img23.jpg',
             roleGif: 'img/role-gif-img23.gif',
@@ -911,6 +934,7 @@ var roleList = [
             age: '23岁',
             birth: '雾月七日',
             height: '182cm',
+            roleAttr: 'gold',
             desc: '在贫民窟从事染缸劳力工作的青年,相貌俊俏,却总是穿戴帽兜,个性上十分照顾贫民窟的众人,因此被当成意见领袖,亦是琉崇拜的对象。 性格相当冲动强势,看似冷漠又强硬,不喜欢有人与他意见相左,其实内心非常感性,但从不轻易在外人面前流露脆弱的一面。 黯月的青梅竹马,对太阳王国贵族抱持着强烈的敌意。',
             cover: 'img/role-img24.jpg',
             roleGif: 'img/role-gif-img24.gif',
@@ -950,6 +974,7 @@ var roleList = [
             age: '20岁',
             birth: '海月二十九日',
             height: '190cm',
+            roleAttr: 'gold',
             desc: '来自东方联盟的旅行者,武功高强的虎人,谈吐有着来自东方的特别腔调用语。 体格强壮,擅长使用拳法,家族为历代的守护者,因误信他人导致部族的威望受损而被流放,从此之后变得不太信任他人,直到和普吉结伴同行才逐渐软化,目前在太阳王国四处游历并且锻炼自己的身手。',
             cover: 'img/role-img25.jpg',
             roleGif: 'img/role-gif-img25.gif',
@@ -991,6 +1016,7 @@ var roleList = [
             age: '自称永远的17岁',
             birth: '枫月三十日',
             height: '160cm',
+            roleAttr: 'gold',
             desc: '突然出现在纳杰尔与黯月身边的神秘亚人。外貌可爱,实力高深莫测。脸上总是挂着轻松自信的笑容,实际上心思深沉,个性精明又无法捉捕。偶尔会用笑脸说出令人毛骨悚然的话。目前为了帮助亚人的未来而跟在纳杰尔身边,给与很多帮助。对纳杰尔有很深的兴趣,却被黯月怀疑不安好心。',
             cover: 'img/role-img26.jpg',
             roleGif: 'img/role-gif-img26.gif',
@@ -1030,6 +1056,7 @@ var roleList = [
             age: '制造满一年',
             birth: '炎月十日',
             height: '200cm',
+            roleAttr: 'gold',
             desc: '奥斯塔用尸体拼凑出来的躯壳,取名为编号MX46,奥斯塔第一次成功驱动的实验体。力气很大,动作粗鲁,智商只有三岁小孩程度,会说些简单的词汇,开心过头就容易做出不受控的行为,憧憬外面的世界。后颈镶的魂能结晶控制着实验体的一切行动,而奥斯塔本人相当重视这颗魂能结晶…',
             cover: 'img/role-img27.jpg',
             roleGif: 'img/role-gif-img27.gif',
@@ -1069,6 +1096,7 @@ var roleList = [
             age: '32岁',
             birth: '露月五日',
             height: '250cm',
+            roleAttr: 'gold',
             desc: '熊族酋长,威严有智慧、心思缜密。和炎日军团的团长迪兰之间有共识,认为战争不该是解决争端的唯一手段。 身为熊族酋长与刃的养父,因不擅长表达自己的情感,又得保持自己领导威严,于是对刃非常严格,也导致两人关系不好。 其实内心相当关心刃,对于曾经害死刃的亲生父亲这件事,一直抱持愧疚感。',
             cover: 'img/role-img28.jpg',
             roleGif: 'img/role-gif-img28.gif',
@@ -1108,6 +1136,7 @@ var roleList = [
             age: '21岁',
             birth: '冰月六日',
             height: '168cm',
+            roleAttr: 'gold',
             desc: '太阳王国的贵族世家之女,是个气质非凡,拥有一头美丽白发的冰山美人。外表看似冷漠,实际上个性认真又单纯直率,凡事喜欢追根究底。 因不习惯宫中明争暗斗的人际关系,也不想一辈子成为政治道具,所以选择加入军队而离家。过去曾在王城担任公主护卫,所以与公主的关系十分友好,崇拜者迪兰。',
             cover: 'img/role-img29.jpg',
             roleGif: 'img/role-gif-img29.gif',
@@ -1147,6 +1176,7 @@ var roleList = [
             age: '27岁',
             birth: '枫月三日',
             height: '164cm',
+            roleAttr: 'gold',
             desc: '神秘的羽族,为龙神教派从小培养的密探与杀手。性格多变,时而热情活泼,时而冷艳神秘,兼具宛若贵族一般的高雅与自信。雪莉先后卧底于符文学院与太阳王国,却于后者任务中爱上了西奥多,并怀上了西奥多的孩子。为了保护腹中的孩子,雪莉选择消失,却引来西奥多的猜忌,最终死于西奥多手下。',
             cover: 'img/role-img30.jpg',
             roleGif: 'img/role-gif-img30.gif',

+ 1 - 1
2018专题/1808万象物语专题-商务/src/modules/data/world.js

@@ -8,7 +8,7 @@ var worldList = [
         cover: 'img/book-img2.png'
     },
     {
-        desc: '面临龙与其他人类的攻击,凡泰缇毫无退却之意,誓言扭转自己的命运。他手中的长枪,最终刺入龙的心脏,一团火焰从巨龙体内窜出,其名为“太阳”。',
+        desc: '面临龙与其他人类的攻击,凡泰缇毫无退却之意,誓言扭转自己的命运。他手中的长枪,最终刺入龙的心脏,一团火焰从巨龙体内窜出,其名为“太阳”。',
         cover: 'img/book-img3.png'
     },
     {

+ 345 - 275
2018专题/1808万象物语专题-商务/src/modules/page/index.js

@@ -49,12 +49,12 @@ var util = {
 }
 
 var videoMap = {
-        'primary-start': {vid: 8951717},
-        'primary-turn': {vid: 8951719},
-        'primary-bg': {vid: 8951723},
-        'evaluation-video': {vid: 8951715},
-        'subscribe-video': {vid: 8951909},
-        'evaluation-bg': {vid: 8952341}
+        'primary-start': {vid: 8953949},
+        'primary-turn': {vid: 8953951},
+        'primary-bg': {vid: 8953955},
+        'evaluation-video': {vid: 8953947},
+        'subscribe-video': {vid: 8953957},
+        'evaluation-bg': {vid: 8953953}
     }
 // 获取视频地址  TODO:上线前删除下方函数
 ;!function () {
@@ -84,9 +84,9 @@ var app = new Vue({
     data: {
         resourceAPI: '//pub.dwstatic.com/zt2018/wxwy1809//',
         // resourceAPI: '../..//',
-        viewWidth : window.innerHeight,
-        viewHeight : window.innerWidth,
-        viewTransform : "",
+        viewWidth: window.innerHeight,
+        viewHeight: window.innerWidth,
+        viewTransform: "",
         loaded: true,
         mainSwiper: {},
         mainSwiperIndex: 0,
@@ -105,6 +105,7 @@ var app = new Vue({
         isWorldState: false,
         isWorldShow: false,
         /****场景页*****/
+        isSceneEnter: false,
         sceneList, //场景页场景列表,
         currentSceneIndex: 0,
         isReading: false, // 场景页播放状态
@@ -119,6 +120,7 @@ var app = new Vue({
         commentVisiable: false,
         /*****移动端*****/
         isMobile: false,
+        mobileBGMControlerShow: false,
         mobileNavBarShow: false,
         mobileVideoVisiable: false,
         isMobileBGPlaying: true,
@@ -129,20 +131,17 @@ var app = new Vue({
         var self = this;
         this.checkOrientation()
         this.initSwiper()
-        $('.box-mouse').on('click',function(){
-            self.mainSwiper.mousewheel.enable();
-        })
         this.registerWindowEvent()
         this.initScene()
         this.initEvaluation()
     },
-    created(){
+    created() {
         if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
             this.isMobile = true
         }
     },
     methods: {
-        initSwiper(){
+        initSwiper() {
             var self = this
             self.mainSwiper = new Swiper('.main-swiper', {
                 // initialSlide: 4,
@@ -150,7 +149,7 @@ var app = new Vue({
                 speed: 600,
                 mousewheel: true,
                 threshold: 50,
-                width: self.isMobile ? window.innerHeight :window.innerWidth,
+                width: self.isMobile ? window.innerHeight : window.innerWidth,
                 height: self.isMobile ? window.innerWidth : window.innerHeight,
                 on: {
                     init: function () {
@@ -159,7 +158,7 @@ var app = new Vue({
                         self.isMobile ? self.navbarVisible = true : void 0
                     },
                     slideChangeTransitionEnd: function () {
-                        if(this.activeIndex === 1){
+                        if (this.activeIndex === 1) {
                             self.loadSceneResources()
                         }
                     },
@@ -167,109 +166,128 @@ var app = new Vue({
                         self.mainSwiperIndex = this.activeIndex
                         self.navbarVisible = self.isMobile || this.activeIndex >= 1;
                         this.activeIndex === 2 && self.isMobile ? self.isReading = true : self.isReading = false
-                        if(!this.isMobile && this.activeIndex != 0){
-                            $('.main-navbar').show();
+                        this.activeIndex === 0 ? self.mobileBGMControlerShow = false : self.mobileBGMControlerShow = true
+                        if (!self.isMobile && this.activeIndex != 0) {
                             self.isMobileBGPlaying = false
-                        }else{
-                            $('.main-navbar').hide();
                         }
-                        var worldOldBgm = null;
                         if (this.activeIndex >= 1) {
                             self.isWorldShow = true;
                         }
+                        self.isEvaluationVideoPlaying && (self.isEvaluationVideoPlaying = false)
                         if (this.activeIndex == 1) {
-                            V.worldInit();
-                            if(worldOldBgm != null){
-                                worldOldBgm.play();
+                            if (!self.isMobile) {
+                                clearTimeout(bookTimer1);
+                                clearTimeout(bookTimer2);
                             }
-                        } else {
-                            var worldAudioLen = $('.page-world audio').length,
-                                worldAudio = $('.page-world audio');
-                            for(var i=0;i<worldAudioLen;i++){
-                                worldAudio[i].pause();
+                            if (!self.isWorldState) {
+                                self.isWorldState = true;
+                                V.worldInit(!self.isMobile);
+                            } else {
+                                if (!self.isMobile) {
+                                    $('.worldMp3').get(0).play();
+                                    $('.video-play').removeClass('pause');
+                                    $('.world-bgm1').get(0).play();
+                                    switchTimer();
+                                }
                             }
-                            if (bookPageCount == 0) {
-                                $('.worldMp3').get(0).currentTime = 0;
-                            } else if (bookPageCount == 1) {
-                                $('.worldMp3').get(0).currentTime = 38;
-                            } else if (bookPageCount == 2) {
-                                $('.worldMp3').get(0).currentTime = 68;
+                        } else {
+                            if (!self.isMobile) {
+                                var worldAudioLen = $('.page-world audio').length,
+                                    worldAudio = $('.page-world audio');
+                                for (var i = 0; i < worldAudioLen; i++) {
+                                    worldAudio[i].pause();
+                                }
+                                if (bookPageCount == 0) {
+                                    $('.worldMp3').get(0).currentTime = 0;
+                                } else if (bookPageCount == 1) {
+                                    $('.worldMp3').get(0).currentTime = 38;
+                                } else if (bookPageCount == 2) {
+                                    $('.worldMp3').get(0).currentTime = 68;
+                                }
+                                clearTimeout(bookTimer1);
+                                clearTimeout(bookTimer2);
                             }
-                            bookLeaveTime = $('.worldMp3').get(0).currentTime * 1000;
-                        $('.book-switch').off('click');
-                        $('.video-play').off('click');
-                        $('.worldMp3').unbind('ended');
-                        clearTimeout(bookTimer1);
-                            clearTimeout(bookTimer2);
                         }
                         if (this.activeIndex >= 2) {
                             self.isRoleShow = true;
                         }
+                        if (this.activeIndex === 2) {
+                            self.isSceneEnter = true
+                        }
                         if (this.activeIndex == 3) {
                             self.isRoleListEnter = true
                             if (!self.roleIntoState) {
                                 self.roleIntoState = true;
-                                setTimeout(function(){
-                                    V.roleInit();
-                                },100);
-                            }
-                            var $pageRole = $('.page-role'),
-                                $roleInfo = $pageRole.find('.role-info'),
-                            $roleItem = $roleInfo.find('.info-item.is-current'),
-                            roleDescActive = $roleItem.find('.role-desc.actived').length;
-                            if(roleDescActive > 0){
-                                $roleItem.find('.desc-audio-play').addClass('is-active');
+                                setTimeout(function () {
+                                    V.roleInit(!self.isMobile);
+                                }, 100);
                             }
-                            if (!$roleInfo.is(':hidden') && $roleItem.find('.attr-list li.is-active').index() == 2) {
-                                $roleItem.find('.desc-box audio').get(0).currentTime = 0;
-                                $roleItem.find('.desc-box audio').get(0).play();
+                            if (!self.isMobile) {
+                                var $pageRole = $('.page-role'),
+                                    $roleInfo = $pageRole.find('.role-info'),
+                                    $roleItem = $roleInfo.find('.info-item.is-current'),
+                                    roleDescActive = $roleItem.find('.role-desc.actived').length;
+                                if (roleDescActive > 0) {
+                                    $roleItem.find('.desc-audio-play').addClass('is-active');
+                                }
+                                if (!$roleInfo.is(':hidden') && $roleItem.find('.attr-list li.is-active').index() == 2) {
+                                    $roleItem.find('.desc-box audio').get(0).currentTime = 0;
+                                    $roleItem.find('.desc-box audio').get(0).play();
+                                }
                             }
                         } else {
                             self.isRoleListEnter = false
-                            var roleAudioLen = $('.page-role audio').length,
-                                roleAudio = $('.page-role audio');
-                            for (var i = 0; i < roleAudioLen; i++) {
-                                roleAudio[i].pause();
-                                roleAudio[i].currentTime = 0;
+                            if (!self.isMobile) {
+                                var roleAudioLen = $('.page-role audio').length,
+                                    roleAudio = $('.page-role audio');
+                                for (var i = 0; i < roleAudioLen; i++) {
+                                    roleAudio[i].pause();
+                                    roleAudio[i].currentTime = 0;
+                                }
                             }
                         }
-                        if(this.activeIndex == 2 || this.activeIndex == 3){
-                            sceneRoleBgm(true);
-                    }else{
-                        sceneRoleBgm(false);
+                        if (!self.isMobile) {
+                            if (this.activeIndex == 2 || this.activeIndex == 3) {
+                                sceneRoleBgm(true);
+                            } else {
+                                sceneRoleBgm(false);
+                            }
                         }
-                        function sceneRoleBgm(state){
+
+                        function sceneRoleBgm(state) {
                             var sceneRoleBgm = $('.scene-role-bgm audio');
-                            for(var i=0,l=sceneRoleBgm.length;i<l;i++){
+                            for (var i = 0, l = sceneRoleBgm.length; i < l; i++) {
                                 sceneRoleBgm[i].pause();
                                 sceneRoleBgm[i].currentTime = 0;
                             }
-                            if(state){
+                            if (state) {
                                 var oldIndex = 0,
-                                oldPlay = $('.scene-role-bgm audio');
-                            oldPlay.get(oldIndex).play();
+                                    oldPlay = $('.scene-role-bgm audio');
+                                oldPlay.get(oldIndex).play();
                                 $('.scene-role-bgm audio').eq(oldIndex).addClass('actived');
-                                $('.scene-role-bgm audio').bind('ended',function(){
+                                $('.scene-role-bgm audio').bind('ended', function () {
                                     oldIndex++;
-                                    if(oldIndex > 2){
+                                    if (oldIndex > 2) {
                                         oldIndex = 0;
-                                    }x
+                                    }
                                     $('.scene-role-bgm audio').get(oldIndex).play();
                                     $('.scene-role-bgm audio').eq(oldIndex).addClass('actived').siblings().removeClass('actived');
                                 })
-                            }else{
-                                for(var i=0,l=sceneRoleBgm.length;i<l;i++){
+                            } else {
+                                for (var i = 0, l = sceneRoleBgm.length; i < l; i++) {
                                     sceneRoleBgm[i].pause();
                                 }
                             }
                         }
+
                         self.bottomVisible = false
                     }
                 }
             });
-        $('.box-mouse').on('click',function(){
-            self.mainSwiper.mousewheel.enable();
-        })
+            self.mainSwiper.mousewheel.disable()
+            $('.box-mouse').on('click', function () {
+                self.mainSwiper.mousewheel.enable();
+            })
             ;!function () {
                 var sliders = document.querySelectorAll('.swiper-slide')
                 Array.prototype.forEach.call(sliders, function (slider) {
@@ -280,7 +298,7 @@ var app = new Vue({
         mainSwiperSlideTo: function (index, speed, runCallbacks) {
             this.mainSwiper.slideTo(index, speed, runCallbacks)
         },
-        registerWindowEvent(){
+        registerWindowEvent() {
             var self = this
             var touchStartY
             window.addEventListener('resize', function (event) {
@@ -300,6 +318,10 @@ var app = new Vue({
                 ev.changedTouches[0].screenY - touchStartY > 50 && self.mainSwiper.slidePrev()
                 touchStartY - ev.changedTouches[0].screenY > 50 && self.mainSwiper.slideNext()
             })
+            // 阻止微信浏览器默认下拉
+            document.body.addEventListener('touchmove', function (ev) {
+                ev.preventDefault()
+            }, {passive: false})
         },
         // 首页灯塔点击事件处理函数
         handleTowerClick() {
@@ -342,12 +364,15 @@ var app = new Vue({
             }
 
         },
+        toggleShareShow() {
+            this.isMobile && (this.shareShow = !this.shareShow)
+        },
         // 场景页初始化
         initScene() {
             !this.isMobile && new Parallax(this.$refs['scene-wrapper'])
         },
         // 加载场景页图片
-        loadSceneResources(){
+        loadSceneResources() {
             var that = this
             this.sceneList.forEach(function (scene, index) {
                 var image = that.$refs['scene' + (index + 1)][0]
@@ -359,13 +384,13 @@ var app = new Vue({
         initEvaluation() {
             !this.isMobile && new Parallax(this.$refs['charactor-wrapper'])
         },
-        getOrientationViewSize(flag){
+        getOrientationViewSize(flag) {
             var winWidth = window.innerWidth
             var winHeight = window.innerHeight
 
-            if(flag) { //竖屏
-                var translateX = winHeight - (winWidth+winHeight)/2 //屏幕旋转90deg-x轴偏移量
-                var translateY = winHeight - (winWidth+winHeight)/2 //屏幕旋转90deg-y轴偏移量
+            if (flag) { //竖屏
+                var translateX = winHeight - (winWidth + winHeight) / 2 //屏幕旋转90deg-x轴偏移量
+                var translateY = winHeight - (winWidth + winHeight) / 2 //屏幕旋转90deg-y轴偏移量
 
                 this.viewWidth = winHeight
                 this.viewHeight = winWidth
@@ -376,14 +401,14 @@ var app = new Vue({
                 this.viewTransform = ""
             }
         },
-        checkOrientation(){
+        checkOrientation() {
             var orientation = window.matchMedia("(orientation: portrait)");
 
             this.getOrientationViewSize(orientation.matches)
             this.initSwiper()
 
             // 添加一个媒体查询改变监听者
-            orientation.addListener((m) =>{
+            orientation.addListener((m) => {
                 this.getOrientationViewSize(m.matches)
             });
         },
@@ -402,21 +427,26 @@ var app = new Vue({
 
         },
         isReading(newVal) {
-            newVal ? this.$refs['scene-audio-player'].play() : this.$refs['scene-audio-player'].pause()
+            newVal && !this.isMobile ? this.$refs['scene-audio-player'].play() : this.$refs['scene-audio-player'].pause()
         },
         currentSceneIndex(newVal) {
+            if(this.isMobile) {
+                return
+            }
             this.$refs['scene-audio-player'].src = 'http://pub.dwstatic.com/zt2018/wxwy1809/audio/scenes/scene' + (newVal + 1) + '.mp3'
             this.isReading && this.$refs['scene-audio-player'].play()
-            console.log('播放了')
         },
         isEvaluationVideoPlaying(newVal) {
             newVal ? this.$refs['evaluation-video'].play() : this.$refs['evaluation-video'].pause()
         },
-        mobileVideoVisiable(newVal){
-            newVal ? void 0 : this.$refs['primary-mobile-video'].pause()
+        mobileVideoVisiable(newVal) {
+            newVal ? this.isMobileBGPlaying = false : this.$refs['primary-mobile-video'].pause()
         },
-        isMobileBGPlaying(newVal){
+        isMobileBGPlaying(newVal) {
             newVal ? this.$refs['mobile-bgm'].play() : this.$refs['mobile-bgm'].pause()
+        },
+        isSceneEnter(newval){
+            newval && (this.isReading = true)
         }
     },
     directives: {
@@ -430,66 +460,92 @@ var app = new Vue({
 
 
 // 世界观变量
-var bookIndex = 1, bookLen = $('.book-wrap li').length, bookTimer1 = null, bookTimer2 = null, bookPlayCount = 0,
-    bookLeaveTime = 0, bookPageCount = 0;
-$(function(){
-    for (var i = 0; i < bookLen; i++) {
-        var _index = bookLen - i;
-        if (i == 0 || i == bookLen - 1) {
-            _index = 'auto';
-        }
-        $('.book-wrap li').eq(i).css('z-index', _index);
-        $('.book-wrap li').eq(i).removeClass('topaging');
-    }
-})
+var bookTimer1 = null, bookTimer2 = null, bookPageCount = 0, bookLen = $('.book-wrap li').length, switchTimer = null;
 var V = {
-    worldInit: function () {
-        $('.world-bgm1').get(0).volume = 0.2;
-        $('.world-bgm2').get(0).volume = 0.2;
-        $('.world-bgm1').get(0).play();
-        $('.world-bgm').bind('ended', function () {
-            $('.world-bgm').get(1-$(this).index()).play();
-        });
-        $('.book-switch.prev').on('click',function () {
-            clearTimeout(bookTimer1);
-            clearTimeout(bookTimer2);
+    worldInit: function (mobileFlag) {
+        var bookIndex = 1, bookPlayCount = 0, playIndex = 0, pauseTime = 0;
+        if (mobileFlag) {
+            $('.world-bgm1').get(0).volume = 0.2;
+            $('.world-bgm2').get(0).volume = 0.2;
+            $('.world-bgm1').get(0).play();
+            $('.worldMp3').get(0).play();
+            $('.world-bgm').bind('ended', function () {
+                $('.world-bgm').get(1 - $(this).index()).play();
+            });
+        }
+        $('.book-switch.prev').on('click', function () {
             if (bookIndex > 1) {
-                bookPlayCount--;
-                $('.pagingMp3').get(0).play();
+                clearTimeout(bookTimer1);
+                clearTimeout(bookTimer2);
+                bookPageCount--;
+                if (mobileFlag) {
+                    $('.pagingMp3').get(0).play();
+                    $('.video-play').removeClass('pause');
+                    playIndex = 0;
+                }
                 var $current = $('.book-wrap li').eq(bookIndex - 1);
                 $current.prev().css('z-index', bookLen - $current.index() + 1)
                 $current.css('z-index', bookLen - $current.index())
                 $current.add($current.prev()).removeClass('topaging');
-                $('.worldMp3').get(0).pause();
-                if (bookPlayCount == 0) {
-                    $('.worldMp3').get(0).currentTime = 2
-                    $('.worldMp3').get(0).play();
-                }
-                if (bookPlayCount == 1) {
-                    $('.worldMp3').get(0).currentTime = 38
-                    $('.worldMp3').get(0).play();
+                if (mobileFlag) {
+                    $('.worldMp3').get(0).pause();
+                    judgePage();
+                    setTimer();
                 }
-                restartTimer();
                 bookIndex -= 2;
-                bookPageCount--;
             }
         });
-        $('.book-switch.next').on('click',function () {
+        $('.book-switch.next').on('click', function () {
             if (bookIndex < bookLen - 1) {
-                bookPlayCount++;
-                $('.worldMp3').get(0).pause();
-                if (bookPlayCount == 1) {
-                    $('.worldMp3').get(0).currentTime = 38
-                    $('.worldMp3').get(0).play();
-                }
-                if (bookPlayCount == 2) {
-                    $('.worldMp3').get(0).currentTime = 68
-                    $('.worldMp3').get(0).play();
+                clearTimeout(bookTimer1);
+                clearTimeout(bookTimer2);
+                bookNext();
+                if (mobileFlag) {
+                    $('.worldMp3').get(0).pause();
+                    judgePage();
+                    setTimer();
                 }
-                restartTimer();
             }
-            bookNext();
         });
+        if (mobileFlag) {
+            $('.video-play').on('click', function () {
+                clearTimeout(bookTimer1);
+                clearTimeout(bookTimer2);
+                if (playIndex == 0) {
+                    $('.worldMp3').get(0).pause();
+                    $(this).addClass('pause');
+                    playIndex = 1;
+                } else {
+                    pauseTime = $('.worldMp3').get(0).currentTime;
+                    $(this).removeClass('pause');
+                    judgePage();
+                    setTimer();
+                    playIndex = 0;
+                }
+            });
+            $('.worldMp3').bind('ended', function () {
+                $('.video-play').addClass('pause');
+                clearTimeout(bookTimer1);
+                clearTimeout(bookTimer2);
+                playIndex = 1;
+            });
+
+        }
+
+        function judgePage() {
+            if (bookPageCount == 0) {
+                $('.worldMp3').get(0).currentTime = 0
+                $('.worldMp3').get(0).play();
+            }
+            if (bookPageCount == 1) {
+                $('.worldMp3').get(0).currentTime = 38
+                $('.worldMp3').get(0).play();
+            }
+            if (bookPageCount == 2) {
+                $('.worldMp3').get(0).currentTime = 68
+                $('.worldMp3').get(0).play();
+            }
+        }
 
         function bookNext() {
             if (bookIndex < bookLen - 1) {
@@ -498,71 +554,41 @@ var V = {
                 setTimeout(function () {
                     $current.add($current.next()).css("z-index", "auto");
                 }, 500)
-                $('.pagingMp3').get(0).play();
+                if (mobileFlag) {
+                    $('.pagingMp3').get(0).play();
+                }
                 bookIndex += 2;
                 bookPageCount++;
             }
         }
 
-        $('.worldMp3').get(0).play();
-
-        function setTime(time) {
-            if (38000 - time <= 0) {
-                clearTimeout(bookTimer1);
-            } else {
+        function setTimer() {
+            if (bookPageCount < 1) {
                 bookTimer1 = setTimeout(() => {
                     bookNext();
-                }, 38000 - time);
+                }, 38000);
+            } else {
+                clearTimeout(bookTimer1);
             }
-            if (68000 - time <= 0) {
+            if (bookPageCount > 1) {
                 clearTimeout(bookTimer2);
             } else {
+                var timer2Time = 68000;
+                if (bookPageCount == 1) {
+                    timer2Time = 68000 - 38000;
+                }
                 bookTimer2 = setTimeout(() => {
                     bookNext();
-                }, 68000 - time);
+                }, timer2Time);
             }
         }
 
-        setTime(bookLeaveTime);
-        var playIndex = 0;
-        $('.video-play').removeClass('pause');
-        $('.video-play').on('click',function () {
-            if (playIndex == 0) {
-                $('.worldMp3').get(0).pause();
-                $(this).addClass('pause');
-                clearTimeout(bookTimer1);
-                clearTimeout(bookTimer2);
-                playIndex = 1;
-            } else {
-                $('.worldMp3').get(0).play();
-                $(this).removeClass('pause');
-                restartTimer();
-                playIndex = 0;
-                if (Math.ceil($('.worldMp3').get(0).currentTime) == 0) {
-                    bookIndex = 1, bookPlayCount = 0, bookLeaveTime = 0, bookPageCount = 0;
-                    for (var i = 0; i < bookLen; i++) {
-                        var _index = bookLen - i;
-                        if (i == 0 || i == bookLen - 1) {
-                            _index = 'auto';
-                        }
-                    }
-                    setTime(bookLeaveTime);
-                }
-            }
-        });
-
-        $('.worldMp3').bind('ended', function () {
-            $('.video-play').addClass('pause');
-            clearTimeout(bookTimer1);
-            clearTimeout(bookTimer2);
-            playIndex = 1;
-        });
-
-        function restartTimer() {
-            setTime(Math.ceil($('.worldMp3').get(0).currentTime) * 1000);
+        if (mobileFlag) {
+            setTimer();
+            switchTimer = setTimer;
         }
     },
-    roleInit: function(){
+    roleInit: function (mobileFlag) {
         var $parent = $('.page-role'),
             roleListLen = $('.role-bigList li').length,
             roleUlLen = $('.role-list ul').length,
@@ -571,111 +597,129 @@ var V = {
             currentIndex = 0;
         $('.role-list .role-bot-arrow').delay(roleListDelay).fadeIn().addClass('moveUp');
         // 点击角色目录跳转
-        $('.role-list li').on('click',function(){
+        $('.role-list li').on('click', function () {
             var ulIndex = $(this).parents('ul').index(),
                 _index = $(this).index();
-                currentIndex = ulIndex * 5 + _index;
+            currentIndex = ulIndex * 5 + _index;
             $('.role-bot-arrow').fadeOut();
             bigListShow(currentIndex);
-            allRoleDescMusic();
+            if (mobileFlag) {
+                allRoleDescMusic();
+            }
             changeRoleInfoBg($('.info-item.is-current').find('.attr-box li.is-active').attr('data-bg'));
         })
         // 角色目录底部箭头
         var ulChangeState = true;
-        $('.role-bot-arrow').on('click',function(){
-            if(ulChangeState){
+        $('.role-bot-arrow').on('click', function () {
+            if (ulChangeState) {
                 ulChangeState = false;
-                $('.role-list ul').eq(ulCurrentIndex).find('li').each(function(){
+                $('.role-list ul').eq(ulCurrentIndex).find('li').each(function () {
                     $(this).removeClass('fadeInDown').addClass('fadeOutDown');
                 })
                 ulCurrentIndex++;
-                if(ulCurrentIndex > roleUlLen - 1){
+                if (ulCurrentIndex > roleUlLen - 1) {
                     ulCurrentIndex = 0;
                 }
                 $('.role-list ul').eq(ulCurrentIndex).addClass('is-active');
-                setTimeout(function(){
+                setTimeout(function () {
                     $('.role-list ul').eq(ulCurrentIndex).siblings().removeClass('is-active');
-                    $('.role-list ul').eq(ulCurrentIndex).siblings().find('li').each(function(){
+                    $('.role-list ul').eq(ulCurrentIndex).siblings().find('li').each(function () {
                         $(this).removeClass('fadeOutDown').addClass('fadeInDown');
                     });
                     ulChangeState = true;
-                },roleListDelay + 1000);
+                }, roleListDelay + 1000);
             }
         });
         // 角色切换
-        $('.role-switch').on('click',function(ev){
+        $('.role-switch').on('click', function (ev) {
             stopBubble(ev);
-            if($(this).hasClass('prev')){
+            if ($(this).hasClass('prev')) {
                 currentIndex--;
-                if(currentIndex < 0){
+                if (currentIndex < 0) {
                     currentIndex = roleListLen - 1;
                 }
-            }else{
+            } else {
                 currentIndex++;
-                if(currentIndex > roleListLen - 1){
+                if (currentIndex > roleListLen - 1) {
                     currentIndex = 0;
                 }
             }
             roleBigSwitch(currentIndex);
-            allRoleDescMusic();
-            stopCvMusic();
+            if (mobileFlag) {
+                allRoleDescMusic();
+                stopCvMusic();
+            }
             changeRoleInfoBg($('.info-item.is-current').find('.attr-box li.is-active').attr('data-bg'));
         });
         // 返回角色目录
-        $('.role-back').on('click',function(ev){
+        $('.role-back').on('click', function (ev) {
             stopBubble(ev);
             $('.role-bot-arrow').fadeIn();
             $('.role-bigList').fadeOut();
             $('.role-info').fadeOut();
-            $('.role-list ul').eq(ulCurrentIndex).find('li').each(function(){
+            $('.role-list ul').eq(ulCurrentIndex).find('li').each(function () {
                 $(this).removeClass('fadeOutDown').addClass('fadeInDown');
             });
             $('.role-bigList li').removeClass('bigmode');
-            $('.role-back-m').get(0).currentTime = 0;
-            $('.role-back-m').get(0).play();
-            roleDescMusicOff(currentIndex);
-            stopCvMusic();
+            if (mobileFlag) {
+                $('.role-back-m').get(0).currentTime = 0;
+                $('.role-back-m').get(0).play();
+                roleDescMusicOff(currentIndex);
+                stopCvMusic();
+            }
         });
         // 进入角色立绘
-        $('.role-info-left').on('click',function(){
+        $('.role-info-left').on('click', function () {
             $('.role-info').fadeOut();
-            $('.role-bigList li').addClass('bigmode');
-            $('.role-uihide-m').get(0).currentTime = 0;
-            $('.role-uihide-m').get(0).play();
-            roleDescMusicOff(currentIndex);
-            stopCvMusic();
+            $('.role-bigList li').eq(currentIndex).addClass('bigmode');
+            if (mobileFlag) {
+                $('.role-uihide-m').get(0).currentTime = 0;
+                $('.role-uihide-m').get(0).play();
+                roleDescMusicOff(currentIndex);
+                stopCvMusic();
+            }
         });
         // 点击大图返回角色页
-        $('.role-bigList li').on('click',function(){
+        $('.role-bigList li').on('click', function () {
             $('.role-info').fadeIn();
-            $('.role-bigList li').removeClass('bigmode');
-            $('.role-uihide-m').get(0).currentTime = 0;
-            $('.role-uihide-m').get(0).play();
-            allRoleDescMusic();
+            $('.role-bigList li').eq(currentIndex).removeClass('bigmode');
+            if (mobileFlag) {
+                $('.role-uihide-m').get(0).currentTime = 0;
+                $('.role-uihide-m').get(0).play();
+                allRoleDescMusic();
+            }
         });
         // tab切换
-        $('[role-tab]').each(function(){
+        $('[role-tab]').each(function () {
             var $this = $(this),
                 $tabData = $this.attr('role-tab'),
                 $tabParent = $this.parents('[role-wrap]'),
                 $tabContent = $tabParent.find('[role-content="' + $tabData + '"]');
-            $this.find('li').on('click',function(){
+            $this.find('li').on('click', function () {
                 var _index = $(this).index();
-                if($tabData == 'skillTab'){
-                    $('.role-skill-m').get(0).play();
+                if ($tabData == 'skillTab') {
+                    if (mobileFlag) {
+                        if (mobileFlag) {
+                            $('.role-skill-m').get(0).play();
+                        }
+                    }
                 }
-                if($tabData == 'attrTab'){
+                if ($tabData == 'attrTab') {
                     changeRoleInfoBg($(this).attr('data-bg'));
-                    if($(this).index() == 2){
-                        $tabParent.find('.desc-box audio').get(0).play();
-                        $tabParent.find('.desc-box audio').addClass('actived');
-                        $tabParent.find('.desc-audio-play').addClass('is-active');
-                    }else{
+                    if ($(this).index() == 2) {
+                        if (mobileFlag) {
+                            $tabParent.find('.desc-box audio').get(0).play();
+                            $tabParent.find('.desc-box audio').addClass('actived');
+                            $tabParent.find('.desc-audio-play').addClass('is-active');
+                        }
+                    } else {
                         var infoItemIndex = $(this).parents('.info-item').index();
-                        roleDescMusicOff($(this).parents('.info-item').index());
-                        $('.info-item').eq(infoItemIndex).find('.desc-box audio').removeClass('actived');
+                        if (mobileFlag) {
+                            roleDescMusicOff($(this).parents('.info-item').index());
+                            $('.info-item').eq(infoItemIndex).find('.desc-box audio').removeClass('actived');
+                        }
                     }
-                    if($(this).index() != 1){
+                    if ($(this).index() != 1 && mobileFlag) {
                         stopCvMusic();
                     }
                 }
@@ -684,65 +728,73 @@ var V = {
             });
         });
         // 点击喇叭播放cv声音
-        $('.role-cv .horn').on('click',function(){
-            var $cvParent = $(this).parents('.role-cv'),
-                cvLen = $cvParent.find('.cv-audio audio').length,
-                randomNum = Math.floor(Math.random() * cvLen);
-            $cvParent.find('.cv-audio audio').get(randomNum).play();
-            if(cvLen > 1){
-                $cvParent.find('.cv-audio audio').get(1 - randomNum).pause();
-                $cvParent.find('.cv-audio audio').get(1 - randomNum).currentTime = 0;
-            }
-        });
-        // 角色介绍页停止音乐按钮
-        $('.desc-audio-play').each(function(){
-            $(this).on('click',function(){
-                if($(this).hasClass('is-active')){
-                    $(this).removeClass('is-active');
-                    $(this).parents('.desc-box').find('audio').get(0).pause();
-                }else{
-                    $(this).addClass('is-active');
-                    $(this).parents('.desc-box').find('audio').get(0).play();
+        if (mobileFlag) {
+            $('.role-cv .horn').on('click', function () {
+                var $cvParent = $(this).parents('.role-cv'),
+                    cvLen = $cvParent.find('.cv-audio audio').length,
+                    randomNum = Math.floor(Math.random() * cvLen);
+                $cvParent.find('.cv-audio audio').get(randomNum).play();
+                if (cvLen > 1) {
+                    $cvParent.find('.cv-audio audio').get(1 - randomNum).pause();
+                    $cvParent.find('.cv-audio audio').get(1 - randomNum).currentTime = 0;
                 }
+            });
+        }
+        // 角色介绍页停止音乐按钮
+        if (mobileFlag) {
+            $('.desc-audio-play').each(function () {
+                $(this).on('click', function () {
+                    if ($(this).hasClass('is-active')) {
+                        $(this).removeClass('is-active');
+                        $(this).parents('.desc-box').find('audio').get(0).pause();
+                    } else {
+                        $(this).addClass('is-active');
+                        $(this).parents('.desc-box').find('audio').get(0).play();
+                    }
+                })
+            });
+            $('.role-desc').bind('ended', function () {
+                $(this).parents('.desc-box').find('.desc-audio-play').removeClass('is-active');
             })
-        });
-        $('.role-desc').bind('ended',function(){
-            $(this).parents('.desc-box').find('.desc-audio-play').removeClass('is-active');
-        })
+        }
+
         // 关闭cv音乐播放
-        function stopCvMusic(){
-            for(var i=0;i<roleListLen;i++){
+        function stopCvMusic() {
+            for (var i = 0; i < roleListLen; i++) {
                 var itemCv = $parent.find('.info-item').eq(i).find('.cv-audio audio'),
                     itemCvLen = $parent.find('.info-item').eq(i).find('.cv-audio audio').length;
-                for(var j=0;j<itemCvLen;j++){
+                for (var j = 0; j < itemCvLen; j++) {
                     itemCv[j].pause();
                     itemCv[j].currentTime = 0;
                 }
             }
         }
+
         // 离开角色介绍页时关闭并重置音乐播放
-        function roleDescMusicOff(mParentsIndex){
+        function roleDescMusicOff(mParentsIndex) {
             $parent.find('.info-item').eq(mParentsIndex).find('.desc-box audio').get(0).pause();
             $parent.find('.info-item').eq(mParentsIndex).find('.desc-box audio').get(0).currentTime = 0;
             $parent.find('.info-item').eq(mParentsIndex).find('.desc-audio-play').removeClass('is-active');
         }
-        function allRoleDescMusic(){
+
+        function allRoleDescMusic() {
             var infoItemLen = $parent.find('.info-item').length,
                 descMusicState = $parent.find('.role-info-right .info-item').eq(currentIndex).find('.desc-box audio.actived').length;
-            for(var i=0;i<infoItemLen;i++){
+            for (var i = 0; i < infoItemLen; i++) {
                 $parent.find('.info-item').eq(i).find('.desc-box audio').get(0).pause();
                 $parent.find('.info-item').eq(i).find('.desc-box audio').get(0).currentTime = 0;
             }
-            if(descMusicState > 0){
+            if (descMusicState > 0) {
                 $parent.find('.info-item').eq(currentIndex).find('.desc-audio-play').addClass('is-active');
                 $parent.find('.info-item').eq(currentIndex).find('.desc-box audio').get(0).currentTime = 0;
                 $parent.find('.info-item').eq(currentIndex).find('.desc-box audio').get(0).play();
             }
         }
+
         // 显示大图
-        function bigListShow(_index){
+        function bigListShow(_index) {
             $('.role-bigList li').eq(_index).removeClass('ml').siblings().addClass('ml');
-            $('.role-list ul').eq(ulCurrentIndex).find('li').each(function(){
+            $('.role-list ul').eq(ulCurrentIndex).find('li').each(function () {
                 $(this).removeClass('fadeInDown').addClass('fadeOutDown');
             })
             $('.role-bigList').delay(roleListDelay).fadeIn();
@@ -750,24 +802,31 @@ var V = {
             $parent.find('.info-item').eq(_index).addClass('is-current').siblings().removeClass('is-current');
             $parent.find('.role-info-right .info-item').eq(_index).fadeIn().siblings().fadeOut();
             $parent.find('.role-info-left').eq(0).dataIndex = _index;
-            $parent.find('.role-bigList').find('li').eq(_index).css({'display':'block','z-index':2}).siblings().css({'display':'none','z-index':1});
+            $parent.find('.role-bigList').find('li').eq(_index).css({
+                'display': 'block',
+                'z-index': 2
+            }).siblings().css({'display': 'none', 'z-index': 1});
         }
+
         // 阻止冒泡
-        function stopBubble(e){
+        function stopBubble(e) {
             e = e || window.event;
-            if(e.stopPropagation){
+            if (e.stopPropagation) {
                 e.stopPropagation();
-            }else{
+            } else {
                 e.cancelBubble = true;
             }
         }
+
         // 大图切换
-        function roleBigSwitch(_index){
+        function roleBigSwitch(_index) {
             var $bigListDom = $parent.find('.role-bigList li');
-            $('.role-switch-m').get(0).play();
-            $('.info-mask').fadeIn('normal',function(){
+            if (mobileFlag) {
+                $('.role-switch-m').get(0).play();
+            }
+            $('.info-mask').fadeIn('normal', function () {
                 $bigListDom.eq(_index).siblings().addClass('ml');
-                $bigListDom.eq(_index).siblings().fadeOut('',function(){
+                $bigListDom.eq(_index).siblings().fadeOut('', function () {
                     $('.info-mask').fadeOut();
                     $bigListDom.eq(_index).fadeIn().removeClass('ml');
                 });
@@ -776,10 +835,12 @@ var V = {
             $parent.find('.info-item').eq(_index).addClass('is-current').siblings().removeClass('is-current');
             $parent.find('.role-info-right .info-item').eq(_index).show().siblings().hide();
         }
+
         // 切换角色信息背景
-        function changeRoleInfoBg(_index){
+        function changeRoleInfoBg(_index) {
             $('.role-info-bg').eq(_index).addClass('is-active').siblings().removeClass('is-active');
         }
+
         // 设置滚动条
         $('[data-role="scrollTeam"]').niceScroll({
             cursorcolor: '#e4cc72',
@@ -792,15 +853,24 @@ var V = {
     }
 }
 
-$(function(){
+$(function () {
+    // 世界观书页样式设置
+    for (var i = 0; i < bookLen; i++) {
+        var _index = bookLen - i;
+        if (i == 0 || i == bookLen - 1) {
+            _index = 'auto';
+        }
+        $('.book-wrap li').eq(i).css('z-index', _index);
+        $('.book-wrap li').eq(i).removeClass('topaging');
+    }
     // 设置animate延迟时间
-    $('[animate-delay]').each(function(){
+    $('[animate-delay]').each(function () {
         var delay = parseInt(parseFloat($(this).attr('animate-delay')) * 100) / 100 + 's';
         this.animateDelay = delay;
-        $(this).css('animation-delay',delay).removeAttr('animate-delay');
+        $(this).css('animation-delay', delay).removeAttr('animate-delay');
     });
     // 背景音乐音量调整
-    $('.bgm-volume').each(function(){
+    $('.bgm-volume').each(function () {
         var volumeSize = $(this).attr('data-volume') ? $(this).attr('data-volume') : 0.2;
         $('.bgm-volume').get($(this).index()).volume = volumeSize;
     });

+ 25 - 1
2018专题/1808万象物语专题-商务/src/sass/global.scss

@@ -230,6 +230,22 @@ a {
     }
 }
 
+.mobile-bgm-controler{
+    position: fixed;
+    width: 1rem;
+    height: 1rem;
+    background: url('src/img/music.png') no-repeat center center /100% 100%;
+    bottom: 3vh;
+    left: .8rem;
+    z-index: 9;
+    transform: rotateZ(90deg) ;
+    &.active{
+        background: url('src/img/music-active.png') no-repeat center center /100% 100%;
+        transform: rotateZ(90deg) scale(1.3);
+        background-position-y: -3px;
+    }
+}
+
 @media only screen and (max-width: 800px) {
     .main-navbar .menu-wrapper{
         position: relative;
@@ -242,7 +258,7 @@ a {
     }
     .main-navbar{
         top: 15rem !important;
-        right: 1.4rem !important;
+        right: 1rem !important;
         width: auto !important;
         background: none !important;
         height: 70% !important;
@@ -282,6 +298,14 @@ a {
         width: 1rem;
         background-size: contain;
     }
+    .bdshare-button-style0-16{
+        top: -1rem;
+        left: -1.3rem;
+        span{
+            font-size: 12px;
+            color: #fff;
+        }
+    }
 }
 
 .main-swiper {

+ 12 - 2
2018专题/1808万象物语专题-商务/src/sass/page/_primary.scss

@@ -309,7 +309,7 @@
     }
     .page-primary .tip-scroll-down{
         left: 55%;
-        bottom: -.8rem;
+        bottom: -5%;
     }
     .page-primary .tip-scroll-down i{
         height: 1.0333rem;
@@ -390,6 +390,16 @@
     .page-primary .banner-logo{
         width: 50vh;
         height: 33.33vh;
-        top: 45%;
+        top: 40%;
+    }
+    .mobile-video-play{
+        top: 65%;
+    }
+    .page-primary .tip-scroll-down i:after{
+        top: 0.35rem;
+    }
+    .page-primary .primary-from a.icon-xsj{
+        width: 2.20833rem;
+        height: 1.98333rem;
     }
 }

+ 75 - 17
2018专题/1808万象物语专题-商务/src/sass/page/_role.scss

@@ -157,9 +157,9 @@
                 }
                 &.bigmode{
                     .imgbox{
-                        transform: none;
-                        top: 0;
-                        left: 0;
+                        transform: none !important;
+                        top: 0 !important;
+                        left: 0 !important;
                     }
                 }
             }
@@ -581,20 +581,78 @@
 @media only screen and (max-width: 800px) {
     .page-role{
         top: 0;
-        .role-list ul li img{
-            height: 100%;
+        .role-list{
+            ul li img{
+                height: 100%;
+            }
+            .role-bot-arrow{
+                transform: scale(2);
+                transform-origin: 50% 100% 0;
+            }
+        }
+        .role-bigList ul li{
+            .imgbox{
+                top: 0 !important;
+                transform: scale(1) translate(60.9375%, 0);
+            }
+            &.item1,&.item3,&.item8,&.item10,&.item13,&.item14,&.item28{
+                .imgbox{
+                    left: -140vw;
+                }
+            }
+            &.item2,&.item16{
+                .imgbox{
+                    left: -145vw;
+                }
+            }
+            &.item4,&.item5,&.item6,&.item24,&.item29{
+                .imgbox{
+                    left: -138vw;
+                }
+            }
+            &.item7,&.item9,&.item11,&.item12,&.item15,&.item17,&.item18,&.item20,&.item21,&.item22,&.item23,&.item25,&.item26,&.item30{
+                .imgbox{
+                    left: -135vw;
+                }
+            }
+            &.item19{
+                .imgbox{
+                    left: -130vw;
+                }
+            }
+            &.item27{
+                .imgbox{
+                    left: -150vw;
+                }
+            }
+        }
+        .role-info{
+            .role-info-flex{
+                .role-info-right{
+                    .info-main{
+                        .info-item{
+                            .content-list{
+                                .skill-box{
+                                    .skill-content{
+                                        ul{
+                                            li{
+                                                h2{
+                                                    font-size: .5rem;
+                                                }
+                                                .skill-info{
+                                                    p.skill-desc,p.skill-attr{
+                                                        font-size: .4rem;
+                                                    }
+                                                }
+                                            }
+                                        }
+                                    }
+                                }
+                            }
+                        }
+                    }
+                }
+            }
         }
-    }
-    .page-role .role-bigList ul li .imgbox{
-        transform: scale(1.2) translate(-36%, 0);
-    }
-    .page-role .role-info .role-info-flex .role-info-right .info-main .info-item .content-list .skill-box .skill-content ul li h2{
-        font-size: .5rem;
-    }
-    .page-role .role-info .role-info-flex .role-info-right .info-main .info-item .content-list .skill-box .skill-content ul li .skill-info p.skill-desc{
-        font-size: .4rem;
-    }
-    .page-role .role-info .role-info-flex .role-info-right .info-main .info-item .content-list .skill-box .skill-content ul li .skill-info p.skill-attr{
-        font-size: .4rem;
     }
 }

+ 29 - 3
2018专题/1808万象物语专题-商务/src/sass/page/_scene.scss

@@ -52,6 +52,17 @@
                     }
                 }
             }
+            .item-bg1.active{
+                &::before{
+                    content: "";
+                    display: block;
+                    position: absolute;
+                    width: 0;
+                    height: 0;
+                    background-image: url("//pub.dwstatic.com/zt2018/wxwy1809//img/scene-bg1.png");
+                }
+
+            }
         }
         .scene-pic-list{
             position: absolute;
@@ -146,13 +157,28 @@
     }
     .page-scene .content-wrapper .scene-pic-list .scene-desc{
         padding: 0;
-        width:  68vw;
+        // width:  68vw;
+        width:  90vw;
         transform: translateX(-10%);
-        left: 22vh !important;
+        // left: 22vh !important;
+        left: 12vh !important;
         top: unset !important;
-        bottom: 17vw;
+        bottom: 13vw;
         font-size: .3rem;
         line-height: .3rem;
+        float: left;
+        &:before{
+            content: '';
+            float: left;
+            width: 11vh;
+            height: 21vw;
+            shape-outside: polygon(0 0, 0% 100%, 100% 100%);
+        }
+    }
+    .page-scene .content-wrapper .scene-pic-list .scene-pic-item img{
+        height: 86vw;
+		width: 172vw;
+        padding-top: 5vw;
     }
     .page-scene .content-wrapper .scene-pic-list{
         height: 100%;

+ 4 - 3
2018专题/1808万象物语专题-商务/src/sass/page/_subscribe.scss

@@ -115,9 +115,10 @@
 		}
 	}
 	.comment-shadow-cover .comment-wrapper{
-		width: 90%;
-		left: 10%;
-		top: 35%;
+		width: 75vh;
+		left: -15%;
+		top: 25%;
+		height: 84vw;
 		transform-origin: center;
 		transform: rotateZ(90deg);
 	}

+ 89 - 14
2018专题/1808万象物语专题-商务/src/sass/page/_world.scss

@@ -38,45 +38,109 @@
                     position: absolute;
                     top: 0;
                     box-sizing: border-box;
-                    transition-duration: 1s;
-                    transition-property: transform,opacity;
-                    transform-style: preserve-3d;
                     font-size: 18px;
                     line-height: 41px;
-                    opacity: 1;
-                    transition: transform 0.8s,opacity 0.35s;
+                    transform-style: preserve-3d;
                     @for $i from 1 through 6{
                         &.item#{$i}{
                             z-index: #{7 - $i};
+                            transform: translateZ(#{7 - $i}px);
+                        }
+                    }
+                    &.item1,&.item4,&.item5{
+                        p{
+                            span{
+                                top: 19%;
+                            }
+                        }
+                    }
+                    &.item2,&.item3,&.item6{
+                        p{
+                            span{
+                                top: 67%;
+                            }
+                        }
+                    }
+                    &.item1{
+                        p{
+                            img{
+                                height: 96.5%;
+                                width: 90%;
+                            }
+                        }
+                    }
+                    &.item2{
+                        p{
+                            img{
+                                height: 98%;
+                                width: 93%;
+                                top: 1.5%;
+                            }
                         }
                     }
                     &:nth-child(odd){
                         left: 0.08%;
-                        transform-origin: 100% 50% 0;
-                        background: url(/src/img/book-left.png) right center / 100% 100% no-repeat;
+                        p{
+                            transform-origin: 100% 50% 0;
+                            background: url(/src/img/book-left.png) right center / 100% 100% no-repeat;
+                            span{
+                                padding: 0 12% 0 14%;
+                            }
+                        }
                     }
                     &:nth-child(even){
                         left: 49.9%;
-                        transform-origin: 0 50% 0;
-                        background: url(/src/img/book-right.png) left center / auto 100% no-repeat;
+                        p{
+                            transform-origin: 0 50% 0;
+                            background: url(/src/img/book-right.png) left center / 100% 100% no-repeat;
+                            span{
+                                padding: 0 14% 0 12%;
+                            }
+                        }
                     }
                     &:not(:first-child):nth-child(odd){
-                        transform: rotateY(180deg);
+                        p{
+                            transform: rotateY(180deg);
+                        }
                     }
                     &.topaging:nth-child(odd){
-                        transform: rotateY(0deg);
+                        p{
+                            transform: rotateY(0deg);
+                        }
                     }
                     &.topaging:nth-child(even){
-                        transform: rotateY(180deg);
-                        opacity: 0;
+                        p{
+                            transform: rotateY(180deg);
+                            opacity: 0;
+                        }
                     }
                     p{
                         height: 100%;
                         width: 100%;
+                        position: absolute;
+                        top: 0;
+                        left: 0;
+                        transition-duration: 1s;
+                        transition-property: transform,opacity;
+                        transform-style: preserve-3d;
+                        opacity: 1;
+                        transition: opacity 0.35s,transform 0.8s;
                         img{
                             height: 100%;
                             width: 100%;
                             display: block;
+                            margin: 0 auto;
+                            position: relative;
+                        }
+                        span{
+                            width: 100%;
+                            display: block;
+                            position: absolute;
+                            letter-spacing: 1px;
+                            left: 0;
+                            font-size: px2rem(19);
+                            color: #5e3930;
+                            line-height: px2rem(38);
                         }
                     }
                 }
@@ -89,7 +153,7 @@
             position: absolute;
             z-index: 10;
             top: 50%;
-            transform: translate(0,-51.5%);
+            transform: translate(0,-51.5%) translateZ(10px);
             background: center / 100% auto no-repeat;
             cursor: pointer;
             &.prev{
@@ -116,5 +180,16 @@
         left: 0;
         width: 100%;
         background-size: contain;
+        .book-wrap{
+            transform: scale(1.1);
+        }
+        .book-switch{
+            &.prev{
+                left: -0.1rem;
+            }
+            &.next{
+                right: -0.1rem;
+            }
+        }
     }
 }

+ 1 - 1
2018专题/剑灵1809/src/_index.html

@@ -50,7 +50,7 @@
                                     <li class="reward-item"><img src="http://fed.webdev.ouj.com/150x150"><p>奖品2:Q币大量</p></li>
                                     <li class="reward-item"><img src="http://fed.webdev.ouj.com/150x150"><p>奖品3:Q币大量</p></li>
                                 </ul>
-                                <button type="button">参加活动</button>
+                                <a href="#" target="_blank">参加活动</a>
                             </div>
                         </li>
                     </ul>

TEMPAT SAMPAH
2018专题/剑灵1809/src/img/banner.jpg


TEMPAT SAMPAH
2018专题/剑灵1809/src/img/banner.png


TEMPAT SAMPAH
2018专题/剑灵1809/src/img/bg-btn-accept.jpg


TEMPAT SAMPAH
2018专题/剑灵1809/src/img/bg-gif2.jpg


+ 3 - 2
2018专题/剑灵1809/src/sass/global.scss

@@ -210,7 +210,7 @@ body {
     position: relative;
     font-family: "微软雅黑";
     padding-top: 650px;
-    background: url('/src/img/banner.png') top center no-repeat;
+    background: url('/src/img/banner.jpg') top center no-repeat;
     @media screen and (max-width: 1024px) {
         width: 1180px;
         margin: 0 auto;
@@ -766,7 +766,8 @@ body {
                         align-items: center;
                         justify-content: space-around;
                     }
-                    button{
+                    a{
+                        display: inline-block;
                         margin-top: 64px;
                         border: none;
                         outline: none;