common_qilang.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .common {
  2. height: 100vh;
  3. width: 100vw;
  4. background-image:
  5. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/bgi.png");
  6. /* 使用绝对路径 */
  7. background-size: 100% 100%;
  8. /* 确保背景图片自适应填充整个容器 */
  9. background-position: center;
  10. /* 背景图片居中显示 */
  11. background-repeat: no-repeat;
  12. /* 防止背景图重复 */
  13. overflow: auto;
  14. }
  15. .top-class {
  16. height: 5vh;
  17. }
  18. .head {
  19. height: 4vh;
  20. line-height: 4vh;
  21. }
  22. .body {
  23. height: calc(100vh - 160rpx);
  24. }
  25. .title {
  26. font-weight: bold;
  27. font-size: 40rpx;
  28. color: #FFFFFF;
  29. text-align: center;
  30. height: 6vh;
  31. line-height: 6vh;
  32. }
  33. .footer-btn {
  34. position: fixed;
  35. /* 固定位置 */
  36. left: 0;
  37. /* 距离页面左侧为0 */
  38. bottom: 30rpx;
  39. /* 距离页面底部为0 */
  40. width: 100%;
  41. /* 宽度为100%,确保按钮横跨整个底部 */
  42. display: flex;
  43. /* 启用 Flexbox 布局 */
  44. justify-content: center;
  45. /* 水平居中 */
  46. align-items: center;
  47. /* 垂直居中 */
  48. z-index: 999;
  49. /* 确保按钮在最上层 */
  50. }
  51. .return-button {
  52. width: 120rpx;
  53. border: none;
  54. color: #ffffff;
  55. font-size: 26rpx;
  56. text-align: center;
  57. letter-spacing: 4rpx;
  58. /* 设置文字间距为2px */
  59. font-weight: 600;
  60. height: 50rpx;
  61. line-height: 50rpx;
  62. border-radius: 8rpx;
  63. cursor: pointer;
  64. /* 鼠标指针效果 */
  65. background: #F94C28;
  66. border-radius: 20rpx;
  67. border: 3px solid #FFBD70;
  68. }
  69. .return_view {
  70. display: flex;
  71. justify-content: center;
  72. height: 30px;
  73. }
  74. .content_text{
  75. height: calc(100% - 80rpx);
  76. overflow: auto;
  77. }
  78. .row-class {
  79. height: 80rpx;
  80. }
  81. .logo-img {
  82. background-size: cover;
  83. /* 确保背景图片自适应填充整个容器 */
  84. background-position: center;
  85. /* 背景图片居中显示 */
  86. background-repeat: no-repeat;
  87. /* 防止背景图重复 */
  88. height: 100rpx;
  89. width: 62%;
  90. margin-right: 80rpx;
  91. }
  92. .commodity-img {
  93. background-size: cover;
  94. /* 确保背景图片自适应填充整个容器 */
  95. background-position: center;
  96. /* 背景图片居中显示 */
  97. background-repeat: no-repeat;
  98. /* 防止背景图重复 */
  99. height: 72rpx;
  100. width: 100%;
  101. }
  102. .topImg{
  103. display: flex;
  104. justify-content: center;
  105. margin-top: 120rpx;
  106. }
  107. .topImg .img_1{
  108. height: 100rpx;
  109. margin-top: 20rpx;
  110. }
  111. .topImg .img_2{
  112. height: 80rpx;
  113. }
  114. .cardTop{
  115. margin-bottom: 10rpx;
  116. background-image:
  117. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png");
  118. background-size: cover;
  119. background-position: center;
  120. background-repeat: no-repeat;
  121. height: 80rpx;
  122. margin-top: 40rpx;
  123. }
  124. .logo-rules {
  125. height: 60rpx; /* 固定高度 */
  126. width: auto; /* 宽度自适应 */
  127. display: block;
  128. margin-left: 90rpx;
  129. margin-right: 20rpx;
  130. }