common_xhc.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .common {
  2. height: 100vh;
  3. width: 100vw;
  4. background-image:
  5. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/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. .head {
  34. display: flex;
  35. justify-content: flex-end;
  36. }
  37. .logo-rules {
  38. height: 160rpx;
  39. width: 54rpx;
  40. display: block;
  41. margin-right: 20rpx;
  42. margin-top: 50rpx;
  43. }
  44. .logo-rules-2 {
  45. height: 160rpx;
  46. width: 54rpx;
  47. display: block;
  48. margin-right: 150rpx;
  49. margin-top: 50rpx;
  50. }
  51. .logo-text{
  52. height: 60rpx;
  53. width: 140rpx;
  54. }
  55. .logo-container {
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. margin: 20rpx 0;
  60. }
  61. .logo-container image {
  62. max-width: 100%;
  63. max-height: 100%;
  64. object-fit: contain;
  65. }
  66. .title-image {
  67. width: 600rpx;
  68. height: 100rpx;
  69. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/textImg.png);
  70. background-size: contain;
  71. background-repeat: no-repeat;
  72. background-position: center;
  73. margin: 0 auto;
  74. }
  75. .title-image-2 {
  76. width: 500rpx;
  77. height: 70rpx;
  78. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/textImg.png);
  79. background-size: contain;
  80. background-repeat: no-repeat;
  81. background-position: center;
  82. margin: 0 auto;
  83. }
  84. .footer-btn {
  85. position: fixed;
  86. /* 固定位置 */
  87. left: 0;
  88. /* 距离页面左侧为0 */
  89. bottom: 30rpx;
  90. /* 距离页面底部为0 */
  91. width: 100%;
  92. /* 宽度为100%,确保按钮横跨整个底部 */
  93. display: flex;
  94. /* 启用 Flexbox 布局 */
  95. justify-content: center;
  96. /* 水平居中 */
  97. align-items: center;
  98. /* 垂直居中 */
  99. z-index: 999;
  100. /* 确保按钮在最上层 */
  101. }
  102. .return-button {
  103. width: 120rpx;
  104. border: none;
  105. color: #000000;
  106. font-weight: 600;
  107. font-size: 26rpx;
  108. text-align: center;
  109. letter-spacing: 4rpx;
  110. /* 设置文字间距为2px */
  111. font-weight: 600;
  112. height: 50rpx;
  113. line-height: 50rpx;
  114. border-radius: 8rpx;
  115. cursor: pointer;
  116. /* 鼠标指针效果 */
  117. background: #FFBD70;
  118. border-radius: 20rpx;
  119. }
  120. .return_view {
  121. display: flex;
  122. justify-content: center;
  123. height: 30px;
  124. margin-top: 30rpx;
  125. }
  126. .content_text{
  127. height: calc(100% - 80rpx);
  128. overflow: auto;
  129. margin-top: 30rpx;
  130. }
  131. .row-class {
  132. height: 80rpx;
  133. }
  134. .logo-img {
  135. background-size: cover;
  136. /* 确保背景图片自适应填充整个容器 */
  137. background-position: center;
  138. /* 背景图片居中显示 */
  139. background-repeat: no-repeat;
  140. /* 防止背景图重复 */
  141. height: 100rpx;
  142. width: 62%;
  143. margin-right: 80rpx;
  144. }
  145. .commodity-img {
  146. background-size: cover;
  147. /* 确保背景图片自适应填充整个容器 */
  148. background-position: center;
  149. /* 背景图片居中显示 */
  150. background-repeat: no-repeat;
  151. /* 防止背景图重复 */
  152. height: 72rpx;
  153. width: 100%;
  154. }
  155. .topImg{
  156. display: flex;
  157. justify-content: center;
  158. margin-top: 120rpx;
  159. }
  160. .topImg .img_1{
  161. height: 100rpx;
  162. margin-top: 20rpx;
  163. }
  164. .topImg .img_2{
  165. height: 80rpx;
  166. }
  167. .cardTop{
  168. margin-bottom: 10rpx;
  169. background-image:
  170. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png");
  171. background-size: cover;
  172. background-position: center;
  173. background-repeat: no-repeat;
  174. height: 80rpx;
  175. margin-top: 40rpx;
  176. }
  177. .head-ttile {
  178. width: 100%;
  179. margin: 20rpx 0;
  180. text-align: center; /* 确保内容居中 */
  181. position: relative;
  182. }
  183. .head-ttile-img {
  184. position: relative;
  185. width: 100%;
  186. display: flex;
  187. justify-content: center;
  188. align-items: center;
  189. }
  190. .ttile-img{
  191. z-index: 1;
  192. height: 70rpx;
  193. width: auto;
  194. }
  195. .head-ttile-text {
  196. position: absolute;
  197. top: 8px;
  198. width: 100%;
  199. height: 100%;
  200. z-index: 2;
  201. color: #fff;
  202. font-size: 28rpx;
  203. font-weight: bold;
  204. text-align: center;
  205. }
  206. .img_3{
  207. height: 240rpx;
  208. width: 460rpx;
  209. margin-top: -150rpx;
  210. }
  211. .content-index {
  212. margin-top: 8vh;
  213. }
  214. .content-2 {
  215. height: 62vh;
  216. padding: 10rpx 24rpx;
  217. overflow: auto;
  218. align-items: center;
  219. justify-content: center;
  220. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/xhc/common/bgi_2.png);
  221. background-repeat: no-repeat;
  222. background-position: center;
  223. background-size: cover;
  224. margin: 3vh 40rpx 0rpx;
  225. }
  226. .content-title{
  227. text-align: center;
  228. font-size: 30rpx;
  229. font-weight: 700;
  230. margin-top: 10rpx;
  231. }