online.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /* pages/online/online.wxss */
  2. page{
  3. background: #F4F7F9;
  4. }
  5. .content{
  6. min-height: 90vh;
  7. background: #fff;
  8. padding-bottom: 100px;
  9. padding-top: 20rpx;
  10. }
  11. .tab{
  12. background: #fff;
  13. display: flex;
  14. margin-bottom: 12px;
  15. }
  16. .tab text{
  17. width: 50%;
  18. text-align: center;
  19. color: #333;
  20. line-height: 90rpx;
  21. position: relative;
  22. }
  23. .tab .act{
  24. color: #358BFF;
  25. transition: all .3s linear;
  26. }
  27. .act::after{
  28. content: '';
  29. width:24px;
  30. height:2px;
  31. background:rgba(53,139,255,1);
  32. border-radius:2px;
  33. position: absolute;
  34. left: 0;
  35. right: 0;
  36. bottom: 5px;
  37. margin: auto;
  38. }
  39. .list{
  40. background: #fff;
  41. display: flex;
  42. padding: 12px;
  43. }
  44. .img{
  45. width: 35%;
  46. border-radius: 4px;
  47. overflow: hidden;
  48. background: #f5f5f5;
  49. position: relative;
  50. }
  51. .img image{
  52. width: 100%;
  53. height: 60px;
  54. }
  55. .img .play{
  56. width: 48rpx;
  57. height: 48rpx;
  58. position: absolute;
  59. left: 0;
  60. top: 0;
  61. bottom: 0;
  62. right: 0;
  63. margin: auto;
  64. }
  65. .info{
  66. width: 65%;
  67. padding-left: 20rpx;
  68. position: relative;
  69. }
  70. .info view{
  71. font-size: 24rpx;
  72. color: #333;
  73. }
  74. .info .title{
  75. font-size: 28rpx;
  76. margin-bottom: 10px;
  77. }
  78. .info text{
  79. font-size: 24rpx;
  80. color: #999;
  81. }
  82. .info .check{
  83. position: absolute;
  84. right: 0;
  85. bottom: 0;
  86. color: #28C06B;
  87. font-size: 24rpx;
  88. }
  89. .check image{
  90. width: 32rpx;
  91. position: relative;
  92. top: 3px;
  93. left: -3px;
  94. }
  95. .info .not{
  96. color: #FF5E4E;
  97. }
  98. .test{
  99. padding: 12px;
  100. border-bottom: 1px solid #F9F9F9;
  101. }
  102. .test text{
  103. color: #999;
  104. font-size: 24rpx;
  105. }
  106. .test navigator{
  107. float: right;
  108. width:64px;
  109. height:21px;
  110. background:rgba(53,139,255,1);
  111. border-radius:16px;
  112. line-height: 21px;
  113. text-align: center;
  114. color: #fff;
  115. font-size: 24rpx;
  116. position: relative;
  117. top: -2px;
  118. }
  119. .score{
  120. float: right;
  121. color: #28C06B;
  122. font-size: 24rpx;
  123. }
  124. .score image{
  125. width: 32rpx;
  126. margin-left: 20rpx;
  127. position: relative;
  128. top: 2px;
  129. }
  130. .score text{
  131. color: #358BFF;
  132. font-size: 28rpx;
  133. margin-right: 10px;
  134. }
  135. .section{
  136. display: flex;
  137. justify-content: space-between;
  138. padding: 12px;
  139. background: #fff;
  140. }
  141. .section image{
  142. width: 32rpx;
  143. }
  144. .complete{
  145. width: calc(100% - 24px);
  146. line-height: 38px;
  147. color: #fff;
  148. text-align: center;
  149. position: fixed;
  150. left: 12px;
  151. bottom: 10px;
  152. background: #07c160;
  153. border-radius: 4px;
  154. }
  155. .picker image{
  156. width: 30rpx;
  157. position: relative;
  158. top: 5rpx;
  159. }
  160. .picker_view{
  161. display: flex;
  162. }
  163. .picker_view picker{
  164. width: 25%;
  165. text-align: center;
  166. }