online.wxss 2.2 KB

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