2 次代碼提交 9b2d987267 ... d09d9ea1c6

作者 SHA1 備註 提交日期
  任一存 d09d9ea1c6 优化人物序列帧 1 年之前
  任一存 faa7eccc8a 更换一张解说序列帧 2 年之前

二進制
web/src/assets/images/xuliezhen/speaking1.png


二進制
web/src/assets/images/xuliezhen/standlook.png


+ 10 - 10
web/src/views/scene/components/xuliezhen.vue

@@ -14,37 +14,37 @@ export default {
 </script>
 
 <style lang="less" scoped>
-@full: 21200px;
-@single: 500px;
-@scale: 0.7;
-
+@full-width: 19610px;
+@height: 500px;
+@frame-num: 53;
+@scale: 0.65;
 .jieshuo {
   position: fixed;
   z-index: 9;
-  width: @single * @scale;
-  height: @single* @scale;
+  width: @full-width / @frame-num * @scale;
+  height: @height * @scale;
   overflow: hidden;
   pointer-events: none;
   bottom: 0;
   right: 0;
   > img {
-    width: @full * @scale;
+    width: @full-width * @scale;
     left: 0;
     height: 100%;
     position: absolute;
-    animation: jieshuo 2.4s steps(53) infinite;
+    animation: jieshuo 2.4s steps(@frame-num) infinite;
   }
 }
 
 .jieshuospk {
   > img {
-    animation: jieshuo 3.4s steps(53) infinite;
+    animation: jieshuo 3.4s steps(@frame-num) infinite;
   }
 }
 
 @keyframes jieshuo {
   100% {
-    left: -@full* @scale;
+    left: -@full-width* @scale;
   }
 }
 </style>