index.wxss 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**index.wxss**/
  2. .page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/bg2.png');
  7. background-position: center top;
  8. background-repeat: no-repeat;
  9. background-size: contain;
  10. justify-content: space-between;
  11. }
  12. .top {
  13. padding-top: 15vh;
  14. width: 100%;
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: flex-start;
  18. align-items: center;
  19. }
  20. .section {
  21. width: 339px;
  22. height: 136px;
  23. display: flex;
  24. flex-direction: column;
  25. justify-content: flex-start;
  26. margin-bottom: 25px;
  27. position: relative;
  28. }
  29. .section .cover {
  30. background-repeat: no-repeat;
  31. background-position: top top;
  32. background-size: cover;
  33. width: 100%;
  34. height: 114px;
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. z-index: 100;
  39. }
  40. .section .cover1 {
  41. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic1.png');
  42. }
  43. .section .cover2 {
  44. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic2.png');
  45. }
  46. .section .cover3 {
  47. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic3.png');
  48. }
  49. .section .text {
  50. background-color: #ffffff;
  51. width: calc(100% - 28px);
  52. height: 38px;
  53. border-radius: 10px;
  54. position: absolute;
  55. z-index: 0;
  56. bottom: 0;
  57. left: 50%;
  58. transform: translateX(-50%);
  59. display: flex;
  60. align-items: flex-end;
  61. padding: 0 10px;
  62. padding-bottom: 5px;
  63. box-shadow: 2px 6px 14px 3px rgb(0 0 0 / 20%);
  64. }
  65. .section2 {
  66. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic2.png');
  67. }
  68. .section3 {
  69. background-image: url('https://houseoss.4dkankan.com/mini-ar-test/assets/pic3.png');
  70. }