body-model.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /* pages/home/body-model/body-model.wxss */
  2. .body-model-wrapper {
  3. position: relative;
  4. box-sizing: border-box;
  5. --button-line-1: 10px;
  6. .container-bg-image {
  7. position: static;
  8. margin: auto;
  9. }
  10. .container {
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. }
  15. }
  16. .index-wrapper {
  17. position: absolute;
  18. top: 60px;
  19. left: 50%;
  20. transform: translateX(-55%);
  21. max-width: 80px;
  22. max-height: 150px;
  23. box-shadow: inset 0px 1px 18px 7px rgba(161, 19, 57, 0.55);
  24. border: 1px solid #BD1D34;
  25. font-size: 12px;
  26. }
  27. .frame-wrapper {
  28. position: relative;
  29. width: 110px;
  30. height: 64px;
  31. box-sizing: border-box;
  32. image {
  33. width: 100%;
  34. height: 100%;
  35. }
  36. .content {
  37. position: absolute;
  38. top: 0;
  39. left: 0;
  40. display: flex;
  41. flex-direction: column;
  42. justify-content: space-evenly;
  43. align-items: center;
  44. width: 100%;
  45. height: 100%;
  46. font-size: 12px;
  47. box-sizing: border-box;
  48. }
  49. }
  50. .card {
  51. position: absolute;
  52. display: flex;
  53. flex-direction: row;
  54. align-items: center;
  55. $border: 1px solid rgba(56, 255, 110, 0.7);
  56. .line {
  57. box-sizing: border-box;
  58. }
  59. &.LT,
  60. &.LB {
  61. transform: translateX(-100%);
  62. }
  63. &.LT {
  64. .line {
  65. border-top: $border;
  66. border-right: $border;
  67. width: 24px;
  68. height: 16px;
  69. }
  70. .content text {
  71. width: 90%;
  72. }
  73. }
  74. &.LB {
  75. flex-direction: column;
  76. .frame-wrapper {
  77. height: 50px;
  78. }
  79. .line {
  80. width: 100px;
  81. height: 12px;
  82. border-left: $border;
  83. border-bottom: $border;
  84. transform: translateX(50%);
  85. }
  86. }
  87. &.RT {
  88. .line-wrapper {
  89. display: flex;
  90. flex-direction: row;
  91. }
  92. .line {
  93. width: 20px;
  94. height: 18px;
  95. &-1 {
  96. border-bottom: $border;
  97. }
  98. &-2 {
  99. border-top: $border;
  100. border-left: $border;
  101. }
  102. }
  103. }
  104. &.RB {
  105. .line {
  106. border-bottom: $border;
  107. width: 48px;
  108. height: 2px;
  109. }
  110. }
  111. }