index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. margin-top: 100rpx;
  55. }
  56. .ai_bottom >view {
  57. width: 280rpx;
  58. margin: 0 auto;
  59. display: inline-block;
  60. }
  61. .ai_bottom >view > image{
  62. width: 100%;
  63. }
  64. .ai_bottom >view > text{
  65. font-size: 28rpx;
  66. position: absolute;
  67. top: 50%;
  68. left: 50%;
  69. line-height: 100%;
  70. transform: translate(-50%,-50%);
  71. }
  72. .show_mask{
  73. position: fixed;
  74. top: 0;
  75. left: 0;
  76. background: rgba(0, 0, 0, 0.6);
  77. width: 100%;
  78. height: 100%;
  79. }
  80. .show_demo{
  81. position: fixed;
  82. top: 50%;
  83. left: 50%;
  84. transform: translate(-50%,-50%);
  85. z-index: 9999;
  86. text-align: center;
  87. width: 80%;
  88. }
  89. .show_demo image{
  90. width: 100%;
  91. border-radius: 20rpx;
  92. border: 2px solid #C9C9C9;
  93. }
  94. .show_demo text{
  95. color: #fff;
  96. margin-top: 20rpx;
  97. font-size: 80rpx;
  98. display: inline-block;
  99. }