app.wxss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /**app.wxss**/
  2. @import '/component/iView/button/index.wxss';
  3. @import '/component/iView/radio/index.wxss';
  4. @import '/component/iView/input/index.wxss';
  5. @import '/assets/css/style.wxss';
  6. @import '/assets/css/select.wxss';
  7. page {
  8. /* Color 可以自定义相关配色 *//* 标准色 */
  9. --red: #e54d42;
  10. --orange: #f37b1d;
  11. --yellow: #fbbd08;
  12. --olive: #8dc63f;
  13. --green: #39b54a;
  14. --cyan: #1cbbb4;
  15. --blue: #0081ff;
  16. --purple: #6739b6;
  17. --mauve: #9c26b0;
  18. --pink: #e03997;
  19. --brown: #a5673f;
  20. --grey: #8799a3;
  21. --black: #333;
  22. --darkGray: #666;
  23. --gray: #aaa;
  24. --ghostWhite: #f1f1f1;
  25. --white: #fff;
  26. /* 浅色 */
  27. --redLight: #fadbd9;
  28. --orangeLight: #fde6d2;
  29. --yellowLight: #fef2ce;
  30. --oliveLight: #e8f4d9;
  31. --greenLight: #d7f0db;
  32. --cyanLight: #d2f1f0;
  33. --blueLight: #cce6ff;
  34. --purpleLight: #e1d7f0;
  35. --mauveLight: #ebd4ef;
  36. --pinkLight: #f9d7ea;
  37. --brownLight: #ede1d9;
  38. --greyLight: #e7ebed;
  39. /* 渐变色 */
  40. --gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
  41. --gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24);
  42. --gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
  43. --gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
  44. --gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
  45. --gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
  46. /* 阴影透明色 */
  47. --ShadowSize: 6rpx 6rpx 8rpx;
  48. --redShadow: rgba(204, 69, 59, 0.2);
  49. --orangeShadow: rgba(217, 109, 26, 0.2);
  50. --yellowShadow: rgba(224, 170, 7, 0.2);
  51. --oliveShadow: rgba(124, 173, 55, 0.2);
  52. --greenShadow: rgba(48, 156, 63, 0.2);
  53. --cyanShadow: rgba(28, 187, 180, 0.2);
  54. --blueShadow: rgba(0, 102, 204, 0.2);
  55. --purpleShadow: rgba(88, 48, 156, 0.2);
  56. --mauveShadow: rgba(133, 33, 150, 0.2);
  57. --pinkShadow: rgba(199, 50, 134, 0.2);
  58. --brownShadow: rgba(140, 88, 53, 0.2);
  59. --greyShadow: rgba(114, 130, 138, 0.2);
  60. --grayShadow: rgba(114, 130, 138, 0.2);
  61. --blackShadow: rgba(26, 26, 26, 0.2);
  62. background-color: var(--ghostWhite);
  63. font-size: 28rpx;
  64. color: var(--black);
  65. font-family: Helvetica Neue, Helvetica, sans-serif;
  66. }
  67. .container {
  68. height: 100%;
  69. display: flex;
  70. flex-direction: column;
  71. align-items: center;
  72. justify-content: space-between;
  73. padding: 200rpx 0;
  74. box-sizing: border-box;
  75. }
  76. .student-page {
  77. background: white;
  78. }
  79. .student-page button {
  80. height: 30px;
  81. line-height: 30px;
  82. margin-top: 7px;
  83. }
  84. .gapfilling-span {
  85. color: red;
  86. padding: 0px 30px;
  87. margin: 0px 5px;
  88. border-bottom: 3px double red;
  89. }
  90. .ueditor-p {
  91. display: inline !important;
  92. }
  93. .exam-hidden {
  94. display: none;
  95. }
  96. .exam-pick-input{
  97. height: 30px;
  98. }
  99. .radio-answer {
  100. line-height: 60rpx;
  101. margin-top:16rpx;
  102. }
  103. .checkbox-answer{
  104. margin-top:16rpx;
  105. line-height: 60rpx;
  106. }
  107. .fs30{font-size: 30rpx;}
  108. .fs40{font-size: 40rpx;}
  109. .fs50{font-size: 50rpx;}
  110. .fs60{font-size: 60rpx;}
  111. .ml20{margin-left: 20rpx;}
  112. .ml40{margin-left: 40rpx;}
  113. .ml50{margin-left: 50rpx;}
  114. .mt5{margin-top: 5rpx;}
  115. .mt10{margin-top: 10rpx;}
  116. .mt20{margin-top: 20rpx;}
  117. .mt30{margin-top: 30rpx;}
  118. .mt40{margin-top: 40rpx;}
  119. .mt50{margin-top: 50rpx;}
  120. .mt120{margin-top: 120rpx;}
  121. .tc{text-align: center;}
  122. .tl{text-align: left;}
  123. .tr{text-align: right;}
  124. .fl{float: left;}
  125. .fr{float: right;}
  126. .pt20{ padding-top: 20rpx;}
  127. .pt30{ padding-top: 30rpx;}
  128. .p10{ padding:10rpx;}
  129. .p20{ padding:20rpx;}
  130. .p30{ padding:30rpx;}
  131. .m10{ margin:10rpx;}
  132. .m20{ margin:20rpx;}
  133. .m30{ margin:30rpx;}
  134. .cu-tabbar-height {
  135. min-height: 100rpx;
  136. height: calc(100rpx + env(safe-area-inset-bottom) / 2);
  137. }
  138. .bg-white{ background:var(--white); }
  139. .cate-section {
  140. display: -webkit-box;
  141. display: -webkit-flex;
  142. display: -ms-flexbox;
  143. display: flex;
  144. -webkit-justify-content: space-around;
  145. -ms-flex-pack: distribute;
  146. justify-content: space-around;
  147. -webkit-box-align: center;
  148. -webkit-align-items: center;
  149. -ms-flex-align: center;
  150. align-items: center;
  151. -webkit-flex-wrap: wrap;
  152. -ms-flex-wrap: wrap;
  153. flex-wrap: wrap;
  154. padding: 30rpx 22rpx;
  155. background: #fff;
  156. /* 原图标颜色太深,不想改图了,所以加了透明度 */
  157. }
  158. .cate-section .cate-item {
  159. display: -webkit-box;
  160. display: -webkit-flex;
  161. display: -ms-flexbox;
  162. display: flex;
  163. -webkit-box-orient: vertical;
  164. -webkit-box-direction: normal;
  165. -webkit-flex-direction: column;
  166. -ms-flex-direction: column;
  167. flex-direction: column;
  168. -webkit-box-align: center;
  169. -webkit-align-items: center;
  170. -ms-flex-align: center;
  171. align-items: center;
  172. font-size: 26rpx;
  173. background: #fff;
  174. color: #5d626b;
  175. }
  176. .cate-section image {
  177. width: 60rpx;
  178. height: 60rpx;
  179. margin-bottom: 14rpx;
  180. border-radius: 10%;
  181. opacity: .7;
  182. -webkit-box-shadow: 4rpx 4rpx 20rpx rgba(250, 67, 106, 0.3);
  183. box-shadow: 4rpx 4rpx 20rpx rgba(250, 67, 106, 0.3);
  184. }
  185. button::after {
  186. border: none
  187. }
  188. .cate-item-3{
  189. width:33.33%;
  190. height:160rpx;
  191. margin-top:40rpx
  192. }
  193. .cate-item-4{
  194. width:25%;
  195. height:160rpx;
  196. margin-top:40rpx
  197. }