index.wxss 8.6 KB

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