index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. page {
  2. }
  3. .container {
  4. min-height: 100vh;
  5. background: linear-gradient(180deg, #f0f7ff 0%, #fff1f9 100%);
  6. padding: 0;
  7. background: url("../../static/make/make_bg.png") center top/100% auto
  8. no-repeat,
  9. #f2f6f2;
  10. }
  11. .header-box {
  12. padding: calc(44rpx + var(--status-bar-height)) 20rpx 12rpx 36rpx;
  13. display: flex;
  14. align-items: center;
  15. justify-content: space-between;
  16. .title {
  17. font-size: 40rpx;
  18. font-weight: bold;
  19. color: #333;
  20. font-family: "CustomFont" !important;
  21. }
  22. .currency-area {
  23. display: flex;
  24. gap: 20rpx;
  25. align-items: center;
  26. // min-width: 400rpx;
  27. // width: 260rpx;
  28. .coin-box,
  29. .gold-box {
  30. display: flex;
  31. align-items: center;
  32. background: #fff;
  33. border-radius: 30rpx;
  34. // box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  35. padding: 6rpx 12rpx 6rpx 8rpx;
  36. transition: transform 0.2s;
  37. &:active {
  38. transform: scale(0.98);
  39. }
  40. text {
  41. display: inline-block;
  42. padding-left: 4rpx;
  43. line-height: 0;
  44. }
  45. image {
  46. width: 40rpx;
  47. height: 40rpx;
  48. // margin-right: 12rpx;
  49. }
  50. }
  51. }
  52. }
  53. // 添加点击动画的混入
  54. @mixin click-animation {
  55. transition: transform 0.2s ease;
  56. &:active {
  57. transform: scale(0.95);
  58. }
  59. }
  60. .guide-title {
  61. font-size: 16px;
  62. color: #1f1f1f;
  63. font-family: "PingFang SC-Bold";
  64. padding-left: 36rpx;
  65. padding-bottom: 12rpx;
  66. }
  67. .guide-content{
  68. padding: 0 20rpx;
  69. display: grid;
  70. grid-template-columns: 1fr 1fr;
  71. gap: 20rpx;
  72. padding-bottom: 200rpx;
  73. image{
  74. width: 100%;
  75. height: 100%;
  76. }
  77. }
  78. .major-function {
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-between;
  82. height: 336rpx;
  83. width: 100vw;
  84. box-sizing: border-box;
  85. padding: 0 20rpx;
  86. .major-function-left,
  87. .major-function-right {
  88. width: 346rpx;
  89. height: 336rp;
  90. }
  91. .major-function-right{
  92. padding-top: 10rpx;
  93. box-sizing: border-box;
  94. image{
  95. width: 100%;
  96. margin-top: 10rpx;
  97. }
  98. }
  99. }