index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /* pages/select/index.wxss */
  2. .app {
  3. -webkit-font-smoothing: antialiased;
  4. -moz-osx-font-smoothing: grayscale;
  5. width: 100%;
  6. height: 100%;
  7. color: #fff;
  8. /* linear-gradient(180deg, #D8585E 0%, #630005 100%) */
  9. background-size:100% 100%;
  10. overflow: hidden;
  11. }
  12. .ai_top{
  13. width: 100%;
  14. height: 76%;
  15. text-align: center;
  16. display: block;
  17. }
  18. .ai_title{
  19. margin: 6% auto;
  20. width: 100%;
  21. }
  22. .ai_pic{
  23. display: inline-block;
  24. width: calc(100% - calc(var(--margin) * 2) * 2);
  25. }
  26. .ai_pic >view{
  27. display: inline-block;
  28. list-style: none;
  29. width: calc((100% - var(--margin) * 2) / 3);
  30. margin-bottom: calc(var(--margin) * 2);
  31. }
  32. .ai_pic > .active{
  33. border-radius: 14rpx;
  34. background: linear-gradient(180deg, #FFE5A5 0%, #DFA827 93%, #F3C24A 100%);
  35. box-shadow: 0px 10rpx 20rpx rgba(74, 11, 11, 0.48);
  36. }
  37. .ai_pic >view > image{
  38. width: calc(100% - var(--margin) * 2);
  39. border-radius: 10rpx;
  40. }
  41. .ai_pic >view> text{
  42. display: inline-block;
  43. margin-bottom: calc(var(--margin) * 2);
  44. }
  45. .ai_pic > .active > text{
  46. color: #962C30;
  47. }
  48. .ai_bottom{
  49. width: 100%;
  50. display: inline-block;
  51. text-align: center;
  52. position: relative;
  53. font-size: 0;
  54. }
  55. .ai_bottom >view {
  56. width: 28%;
  57. margin: 0 auto;
  58. display: inline-block;
  59. }
  60. .ai_bottom >view > image{
  61. width: 100%;
  62. }
  63. .ai_bottom >view > text{
  64. font-size: 28rpx;
  65. position: absolute;
  66. top: 50%;
  67. left: 50%;
  68. line-height: 100%;
  69. transform: translate(-50%,-50%);
  70. }
  71. .show_mask{
  72. position: fixed;
  73. top: 0;
  74. left: 0;
  75. background: rgba(0, 0, 0, 0.6);
  76. width: 100%;
  77. height: 100%;
  78. }
  79. .show_demo{
  80. position: fixed;
  81. top: 50%;
  82. left: 50%;
  83. transform: translate(-50%,-50%);
  84. z-index: 9999;
  85. text-align: center;
  86. width: 80%;
  87. }
  88. .show_demo image{
  89. width: 100%;
  90. border-radius: 20rpx;
  91. border: 2px solid #C9C9C9;
  92. }
  93. .show_demo text{
  94. color: #fff;
  95. margin-top: 20rpx;
  96. font-size: 80rpx;
  97. display: inline-block;
  98. }