index.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* pages/work/index.wxss */
  2. .w_body {
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .w_body > .work {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .w_video {
  11. background: #fff;
  12. position: fixed;
  13. top: 40%;
  14. left: 50%;
  15. transform: translate(-50%, -50%);
  16. z-index: 9999;
  17. font-size: 0;
  18. width: calc(100% - 40rpx);
  19. box-sizing: border-box;
  20. background: no-repeat center / 100% 100%;
  21. }
  22. .w_video > video,
  23. .w_video > image {
  24. width: 100%;
  25. }
  26. .work_bg,
  27. .work_bg_filter {
  28. position: fixed;
  29. z-index: 999;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .work_bg.filter::after {
  36. content: "";
  37. position: absolute;
  38. top: 0;
  39. left: 0;
  40. width: 100%;
  41. height: 100%;
  42. background: rgba(0, 0, 0, 0.7);
  43. }
  44. .work_bg_filter {
  45. z-index: 1000;
  46. }
  47. .w_btn {
  48. position: fixed;
  49. z-index: 9999;
  50. left: 0;
  51. bottom: 0;
  52. width: 100%;
  53. display: flex;
  54. align-items: center;
  55. justify-content: space-around;
  56. }
  57. .w_btn > view:not(:nth-child(2)) {
  58. flex: 1;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. }
  63. .w_btn image {
  64. width: 281rpx;
  65. }
  66. .btn_paise__border {
  67. width: 4rpx;
  68. height: 89rpx;
  69. background: #d9d9d9;
  70. }