rules.wxss 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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. }
  129. .row-class {
  130. height: 80rpx;
  131. }
  132. .logo-rules {
  133. height: 124rpx;
  134. width: 80rpx;
  135. margin-left: 110rpx;
  136. }
  137. .logo-img {
  138. background-size: cover;
  139. /* 确保背景图片自适应填充整个容器 */
  140. background-position: center;
  141. /* 背景图片居中显示 */
  142. background-repeat: no-repeat;
  143. /* 防止背景图重复 */
  144. height: 100rpx;
  145. width: 62%;
  146. margin-right: 80rpx;
  147. }
  148. .commodity-img {
  149. background-size: cover;
  150. /* 确保背景图片自适应填充整个容器 */
  151. background-position: center;
  152. /* 背景图片居中显示 */
  153. background-repeat: no-repeat;
  154. /* 防止背景图重复 */
  155. height: 72rpx;
  156. width: 100%;
  157. }
  158. .text {
  159. height: 10vh;
  160. text-align: center;
  161. line-height: 13vh;
  162. margin-bottom: 10rpx;
  163. }
  164. .textImage {
  165. height: 80rpx;
  166. width: 400rpx;
  167. }
  168. .content {
  169. height: 60vh;
  170. border-radius: 10rpx;
  171. margin: 0rpx 40rpx;
  172. padding: 10rpx 24rpx;
  173. overflow: auto;
  174. align-items: center;
  175. justify-content: center;
  176. background-image:
  177. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
  178. background-size: cover;
  179. background-position: center;
  180. background-repeat: no-repeat;
  181. }
  182. .text-1 {
  183. text-align: center;
  184. font-size: 24rpx;
  185. font-weight: 600;
  186. color: white;
  187. background-color: #9A1712;
  188. width: 160rpx;
  189. border-radius: 4rpx;
  190. height: 40rpx;
  191. line-height: 40rpx;
  192. }
  193. .text-2 {
  194. text-align: center;
  195. font-size: 24rpx;
  196. font-weight: 600;
  197. color: #F9D395;
  198. background-color: #9A1712;
  199. width: 120rpx;
  200. border-radius: 4rpx;
  201. height: 40rpx;
  202. line-height: 40rpx;
  203. margin-left: 80rpx;
  204. }
  205. .cards {
  206. display: grid;
  207. grid-template-columns: repeat(3, 1fr);
  208. gap: 30rpx;
  209. width: 100%;
  210. }
  211. .card {
  212. width: 100%;
  213. height: 250rpx;
  214. position: relative;
  215. background: none;
  216. border-radius: 16rpx;
  217. margin: 0;
  218. -webkit-perspective: 1000px;
  219. perspective: 1000px;
  220. }
  221. .card-inner {
  222. position: relative;
  223. width: 100%;
  224. height: 100%;
  225. transition: -webkit-transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
  226. transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
  227. transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1), -webkit-transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
  228. -webkit-transform-style: preserve-3d;
  229. transform-style: preserve-3d;
  230. }
  231. .card.flipping .card-inner {
  232. -webkit-transform: rotateY(180deg);
  233. transform: rotateY(180deg);
  234. }
  235. .card.flipped .card-inner {
  236. -webkit-transform: rotateY(180deg);
  237. transform: rotateY(180deg);
  238. }
  239. .card-front,
  240. .card-back {
  241. position: absolute;
  242. width: 100%;
  243. height: 100%;
  244. -webkit-backface-visibility: hidden;
  245. backface-visibility: hidden;
  246. }
  247. .card-back {
  248. -webkit-transform: rotateY(180deg);
  249. transform: rotateY(180deg);
  250. }
  251. .card-back-text {
  252. position: absolute;
  253. top: 50%;
  254. left: 0;
  255. width: 100%;
  256. text-align: center;
  257. color: #9A1712;
  258. font-weight: bold;
  259. font-size: 28rpx;
  260. -webkit-transform: translateY(-50%);
  261. transform: translateY(-50%);
  262. z-index: 2;
  263. pointer-events: none;
  264. }
  265. .card-img {
  266. width: 100%;
  267. height: 100%;
  268. display: block;
  269. }
  270. .u-popup__content {
  271. height: 720rpx;
  272. width: 600rpx;
  273. background-color: rgba(0, 0, 0, 0) !important;
  274. background-image:
  275. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiPopup.png");
  276. background-size: cover;
  277. background-position: center;
  278. background-repeat: no-repeat;
  279. }
  280. .u-popup__content__close--top-right {
  281. top: 720rpx !important;
  282. right: 288rpx !important;
  283. }
  284. .winImgClss {
  285. height: 60rpx;
  286. width: 320rpx;
  287. }
  288. .popup-view {
  289. text-align: center;
  290. margin-top: 100rpx;
  291. }
  292. .popup-content {
  293. margin: 15px 54px;
  294. overflow: auto;
  295. }
  296. .popup-text {
  297. font-weight: 400;
  298. font-size: 20rpx;
  299. color: #9B0000;
  300. }
  301. .prize {
  302. height: 130rpx;
  303. width: 130rpx;
  304. }
  305. .u-form-item__body {
  306. padding: 8rpx;
  307. }
  308. uni-view.u-form-item__body__left {
  309. background: #AD7F55;
  310. border-radius: 5px 0px 0px 5px;
  311. border: 2px solid #63462B;
  312. border-right: none;
  313. }
  314. .u-form-item__body__right {
  315. background-color: #fff;
  316. border-radius: 0px 5px 5px 0px;
  317. border: 2px solid #63462B;
  318. }
  319. uni-text.u-form-item__body__left__content__label {
  320. color: #fff !important;
  321. padding-left: 4px;
  322. letter-spacing: 2px;
  323. }
  324. .popup-flex {
  325. display: flex;
  326. flex-direction: column;
  327. height: 100%;
  328. /* 或具体高度如340px,确保撑满弹窗 */
  329. min-width: 600rpx;
  330. }
  331. .popup-content-scroll {
  332. flex: 1;
  333. }
  334. .popup-footer {
  335. flex-shrink: 0;
  336. padding: 0rpx 0 60rpx 0px;
  337. text-align: center;
  338. background: transparent;
  339. /* 可选,确保无背景遮挡 */
  340. }
  341. .save-button {
  342. width: 90rpx;
  343. margin: 0 auto;
  344. background: #b22222;
  345. color: #F9D395;
  346. border-radius: 12rpx;
  347. padding: 18rpx 0;
  348. font-size: 24rpx;
  349. font-weight: bold;
  350. height: 16rpx;
  351. line-height: 16rpx;
  352. letter-spacing: 4rpx;
  353. }
  354. .unWin {
  355. width: 130rpx !important;
  356. }
  357. .productImg {
  358. width: 400rpx;
  359. }
  360. .u-swiper {
  361. background-color: rgba(0, 0, 0, 0) !important;
  362. padding: 0px 20rpx !important;
  363. width: 90%;
  364. }
  365. .u-col-4 {
  366. display: flex !important;
  367. justify-content: center !important;
  368. /* 水平居中 */
  369. align-items: center !important;
  370. /* 垂直居中 */
  371. }
  372. .right-col .u-col-4 {
  373. display: flex !important;
  374. justify-content: flex-end !important;
  375. /* 水平居中 */
  376. align-items: center !important;
  377. /* 垂直居中 */
  378. }
  379. .card-img-f {
  380. height: 100rpx;
  381. width: 100rpx;
  382. }
  383. .card-text {
  384. font-size: 26rpx;
  385. }
  386. .select-tag {
  387. position: absolute;
  388. right: 0px;
  389. font-weight: 400;
  390. font-size: 20rpx;
  391. color: #FFFFFF;
  392. width: 40px;
  393. text-align: center;
  394. background-color: #11BC64;
  395. height: 15px;
  396. border-radius: 3px;
  397. line-height: 15px;
  398. z-index: 5;
  399. }
  400. .h1 {
  401. font-weight: bold;
  402. font-size: 28rpx;
  403. color: #E22ADD;
  404. margin-bottom: 10rpx;
  405. }
  406. .text_1 {
  407. font-weight: 400;
  408. font-size: 12px;
  409. color: #FFFFFF;
  410. margin-bottom: 10rpx;
  411. }