index.acss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .modal {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. background-color: transparent;
  8. }
  9. .modal-mask {
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. right: 0;
  14. bottom: 0;
  15. background-color: rgba(0, 0, 0, 0.4);
  16. z-index: 999;
  17. opacity: 0;
  18. }
  19. .modal-container {
  20. background-color: #fff;
  21. z-index: 1000;
  22. position: fixed;
  23. left: 0;
  24. width: 100%;
  25. bottom: 0;
  26. height: 88%;
  27. transform: translateY(100%);
  28. /* transition: all 2s ease; */
  29. }
  30. /* .modal-show {
  31. opacity: 1;
  32. transform: scale(1);
  33. }
  34. .modal-hide {
  35. opacity: 0;
  36. transform: scale(0);
  37. } */
  38. .modal-close {
  39. position: absolute;
  40. top: 34rpx;
  41. right: 60rpx;
  42. color: #888;
  43. font-size: 80rpx;
  44. font-weight: 200;
  45. }
  46. .modal-content {
  47. height: 100%;
  48. }
  49. .grid-child {
  50. padding-top: 40rpx;
  51. background-color: #fff;
  52. display: flex;
  53. flex-direction: column;
  54. height: 100%;
  55. }
  56. .grid-child-title {
  57. height: 54rpx;
  58. padding: 0 40rpx;
  59. }
  60. .grid-child-entitle {
  61. height: 48rpx;
  62. padding: 0 40rpx;
  63. }
  64. .c-title {
  65. font-size: 48rpx;
  66. }
  67. .c-entitle {
  68. font-size: 34rpx;
  69. color: #888;
  70. line-height: 1.5;
  71. }
  72. .clist {
  73. margin-top: 50rpx;
  74. padding: 0 40rpx 20rpx;
  75. flex: 1;
  76. overflow-y: scroll
  77. }
  78. .clist-item {
  79. display: flex;
  80. flex-direction: row;
  81. align-items: center;
  82. height: 144rpx;
  83. border-bottom: 1px solid #ddd;
  84. }
  85. .clist-item:active {
  86. background-color: #eee;
  87. }
  88. .clist-item-content {
  89. flex: 1;
  90. display: flex;
  91. flex-direction: column;
  92. }
  93. .clist-item-content-title {
  94. font-size: 34rpx;
  95. }
  96. .clist-item-content-subtitle {
  97. font-size: 28rpx;
  98. color: #888;
  99. line-height: 2;
  100. }
  101. .c-list-item-extra {
  102. width: 80rpx;
  103. }
  104. .c-list-item-arrow {
  105. width: 32rpx;
  106. height: 32rpx;
  107. }