common_cjx.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. .common {
  2. height: 100vh;
  3. width: 100vw;
  4. background-image:
  5. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/bgi.png");
  6. /* 使用绝对路径 */
  7. background-size: cover;
  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: 7vh;
  31. line-height: 7vh;
  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: #F9D395;
  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: #DE00FF;
  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% - 170rpx);
  76. overflow: auto;
  77. }
  78. .row-class {
  79. height: 80rpx;
  80. }
  81. .logo-rules{
  82. height: 124rpx;
  83. width: 80rpx;
  84. margin-left: 110rpx;
  85. }
  86. .logo-img {
  87. background-size: cover;
  88. /* 确保背景图片自适应填充整个容器 */
  89. background-position: center;
  90. /* 背景图片居中显示 */
  91. background-repeat: no-repeat;
  92. /* 防止背景图重复 */
  93. height: 100rpx;
  94. width: 62%;
  95. margin-right: 80rpx;
  96. }
  97. .commodity-img {
  98. background-size: cover;
  99. /* 确保背景图片自适应填充整个容器 */
  100. background-position: center;
  101. /* 背景图片居中显示 */
  102. background-repeat: no-repeat;
  103. /* 防止背景图重复 */
  104. height: 72rpx;
  105. width: 100%;
  106. }
  107. .topImg{
  108. display: flex;
  109. justify-content: center;
  110. margin-top: 30rpx;
  111. }
  112. .topImg .img_1{
  113. height: 100rpx;
  114. margin-top: 20rpx;
  115. }
  116. .topImg .img_2{
  117. height: 80rpx;
  118. }
  119. .cardTop{
  120. margin-bottom: 10rpx;
  121. background-image:
  122. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png");
  123. background-size: cover;
  124. background-position: center;
  125. background-repeat: no-repeat;
  126. height: 80rpx;
  127. margin-top: 20rpx;
  128. }