Section11.jsx 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import { Action } from "../action";
  2. // import { css } from "@emotion/react";
  3. import Viewer from "../components/Viewer";
  4. import { Style } from "../style/section";
  5. import {
  6. TimeLineLabelText,
  7. TimeLineWallText,
  8. ButtonText,
  9. } from "../components/TimeLineText";
  10. export default function Section11(props) {
  11. // eslint-disable-next-line react/prop-types
  12. const debug = props.debug || false;
  13. // pause: {
  14. // 1: 80,
  15. // },
  16. // enterTween: {
  17. // from: {
  18. // autoAlpha: 0,
  19. // y: 500,
  20. // },
  21. // },
  22. // exitTween: vo.pinForExit,
  23. return (
  24. <Viewer
  25. debug={debug}
  26. height={"200vh"}
  27. name="Enheduanna Steadi"
  28. path="enheduanna-steadi-10fps-873-rev1"
  29. frameCount={40}
  30. pause={{
  31. 1: 80,
  32. }}
  33. enterTween={{
  34. form: {
  35. autoAlpha: 0,
  36. y: 500,
  37. },
  38. }}
  39. exitTween={Action.pinForExit}
  40. >
  41. <TimeLineLabelText
  42. fade={0.01}
  43. verticalOffset={"63vh"}
  44. duration={0.3}
  45. progressPosition={0.09}
  46. >
  47. <div>
  48. 测试文案: Section11 四维时代致力于人工智能三维数字化技术的.
  49. 研究与应用,以实现“数字万物”为愿景. 让数字化飞入寻常百姓家。
  50. </div>
  51. </TimeLineLabelText>
  52. <TimeLineWallText
  53. className={"wall-text"}
  54. progressPosition={0}
  55. duration={0.35}
  56. fade={0.1}
  57. >
  58. <div css={Style.DescriptionStyle}>
  59. <div className="desc-title">测试文案:不知名文物</div>
  60. <div className="desc-sub-title">公元前11-1010年</div>
  61. <div className="desc-t-title">不知名文物</div>
  62. <ButtonText>
  63. <i>不知名文物</i>
  64. ,测试文案:不知名文物,测试文案:不知名文物,测试文案:不知名文物,测试文案:不知名文物F。©中国艺术博物馆版权所有
  65. </ButtonText>
  66. </div>
  67. </TimeLineWallText>
  68. </Viewer>
  69. );
  70. }