pages.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. /********** 这里放页面样式 **********/
  2. /*** 登录页面***/
  3. .phone-login-page{
  4. width:100%;height:100vh; background-color: #fff;
  5. .login-wrap-box{
  6. width:100%;height: 1283rpx;background-image: url("@/static/images/login/login-bj-img.png");@include ezy-no-repeat-cover(top);
  7. }
  8. .bjcx-head-box{width: 100%;text-align: center;margin-bottom: 100rpx;
  9. margin-top: calc(180rpx + var(--status-bar-height));display: inline-block;}
  10. .bjcx-logo-box{
  11. width:200rpx;height: 200rpx;background-image: url("@/static/images/login/login-logo.png");@include ezy-no-repeat-cover;
  12. }
  13. .bjcx-logo-title{font-size: 34rpx;color: #000;margin-top: 16rpx;}
  14. .login-input-box{
  15. display: flex;align-items: center;border-bottom: 1rpx solid #eee;margin:32rpx 56rpx;
  16. padding: 24rpx 0;
  17. .login-input{flex: 1;font-size: 32rpx;}
  18. .user-icon,.tel-icon{width:40rpx;height:40rpx;@include ezy-no-repeat-cover;margin-right: 32rpx;}
  19. .user-icon{background-image: url("@/static/images/login/login-tel-icon.png");}
  20. .tel-icon{background-image: url("@/static/images/login/login-lock-icon.png");}
  21. .close-btn,.login-eye{width:30rpx;height:30rpx;@include ezy-no-repeat-cover;border-radius: 50%;}
  22. .close-btn{background-image: url("@/static/images/login/login-close-icon.png");}
  23. .login-eye{background-image: url("@/static/images/login/login-eye-icon.png");}
  24. .login-eye + .close-btn{margin-left: 24rpx;}
  25. }
  26. .login-btn{margin:48rpx 56rpx;}
  27. }
  28. /*** 首页 ***/
  29. .client-shouye-page{
  30. overflow: auto;height: 100vh;padding-bottom: 150rpx;
  31. .shouye-card-box{
  32. margin: 20rpx;border: 1rpx solid;border-radius: 6rpx;
  33. }
  34. // head
  35. .card-head-box{
  36. height: 70rpx;display: flex;align-items: center;padding: 0 6rpx 0 20rpx;
  37. .card-line-title {display: block;color: #fff;font-size: 30rpx;line-height: 1;}
  38. .card-line-title:before{content: ' ';width: 6rpx;height: 28rpx;background-color:#fff;
  39. margin-right: 12rpx;display: inline-block;vertical-align: middle;}
  40. .card-more{
  41. font-size: 24rpx;color: #fff;margin-left: auto;
  42. .more-num{border: 1rpx solid;border-radius: 50%;box-sizing:border-box;
  43. min-width: 26rpx;display: inline-flex;justify-content: center;margin-left:6rpx;
  44. span{font-size: 18rpx;}
  45. }
  46. .more-jt{
  47. width: 0;height: 0;display: inline-block;vertical-align: middle;
  48. border-right: 5px solid transparent;border-bottom: 5px solid transparent;border-left: 6px solid #fff;
  49. margin-left: 8rpx;border-top: 5px solid transparent;
  50. }
  51. }
  52. }
  53. // name
  54. .card-name-box{
  55. border-bottom: 1rpx dashed #ccc;margin: 0 10rpx 0 16rpx;padding: 16rpx 0;
  56. display: flex;justify-content: space-between;align-items: center;
  57. .card-name{
  58. font-size: 28rpx;display: flex;align-items: center;
  59. icon{width: 10rpx;height: 10rpx;border-radius: 10rpx;margin-right: 10rpx;}
  60. }
  61. .card-level{font-size: 26rpx;border: 1rpx solid;border-radius: 6rpx;padding: 2rpx 20rpx;}
  62. }
  63. // content
  64. .card-content-box{
  65. display: flex;display: flex;flex-wrap: wrap;padding: 20rpx 0;
  66. .card-content-item{
  67. display: flex;flex-direction: row;justify-content: center;align-items: center;margin: 10rpx 0;
  68. icon{width: 70rpx;height: 70rpx;@include ezy-no-repeat-cover;margin-right: 10rpx;}
  69. .card-time-icon{background-image: url("@/static/images/index/index-content-icon1.png");}
  70. .card-sum-icon{background-image: url("@/static/images/index/index-content-icon3.png");}
  71. .card-num-icon{background-image: url("@/static/images/index/index-content-icon4.png");}
  72. .card-pass-icon{background-image: url("@/static/images/index/index-content-icon2.png");}
  73. .content-text-box{
  74. min-width: 140rpx;
  75. text{font-size: 26rpx;color: #666;}
  76. view{font-size: 32rpx;color: #333;}
  77. }
  78. }
  79. }
  80. // bottom
  81. .card-bottom-box{
  82. border-top: 1rpx dashed #ccc;margin: 0 10rpx;
  83. .index-card-btn{width: 360rpx;height: 70rpx;line-height: 70rpx;margin:16rpx auto;font-size: 30rpx;}
  84. }
  85. // kaoshi
  86. .kaoshi-card-box{
  87. border-color:#3fd2a1;
  88. .card-head-box{background-color:#4fe1b0;}
  89. .card-level{color:#00a573;}
  90. .card-name{color:#1e9472;}
  91. .card-name icon{background-color:#1e9472;}
  92. .kaoshi-content-box .card-content-item{width: 50%;}
  93. .index-card-btn[type='default']{background-color: #4fe1b0;color: #fff;}
  94. }
  95. // lianxi
  96. .lianxi-card-box{
  97. border-color:#6186fb;
  98. .card-head-box{background-color:#6186fb;}
  99. .card-level{color:#4794ff;}
  100. .card-name{color:#4794ff;}
  101. .kaoshi-content-box{
  102. padding: 42rpx 0;
  103. .card-content-item{width: 33.33%;}
  104. }
  105. .index-card-btn[type='default']{background-color: #6186fb;color: #fff;}
  106. }
  107. // kecheng
  108. .kecheng-card-box{
  109. border-color:#febb6a;
  110. .card-head-box{background-color:#febb6a;}
  111. .card-level{color:#ffba03;}
  112. .card-name{color:#ffba03;}
  113. .index-card-btn[type='default']{background-color: #febb6a;color: #fff;}
  114. }
  115. }
  116. /*** 考试页面***/
  117. .admin-kaoshi-page,.client-kaoshi-page {
  118. box-sizing: border-box;
  119. .kaoshi-scroll-view {height: calc(100vh - 212rpx);}
  120. .admin-list-box{
  121. .admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}
  122. .uni-list--border{display: none;}
  123. }
  124. // 列表区域
  125. .item-kaoshi-row {
  126. width: 100%;
  127. .ks-item-top {
  128. display: flex;justify-content: space-between;margin-bottom: 20rpx;
  129. .ks-name {font-size: 34rpx;color: #000;}
  130. .ks-zyLevelName {font-size: 26rpx;padding: 4rpx 24rpx;border-radius: 4px;border: 1px solid #3fd2a1;color:#3fd2a1;}
  131. }
  132. .ks-totalTm {font-size: 26rpx;color: #333;margin-bottom: 20rpx;line-height: 1;margin-left: 40rpx;}
  133. .phone-time-icon,.phone-cishu-icon,.phone-zongfen-icon,.phone-jigefen-icon{width: 24rpx;height: 24rpx;@include ezy-no-repeat-cover();
  134. vertical-align: middle;margin-right: 10rpx;}
  135. .phone-time-icon{background-image: url("@/static/images/common/time-icon.png");}
  136. .phone-cishu-icon{background-image: url("@/static/images/common/cishu-icon.png");}
  137. .phone-zongfen-icon{background-image: url("@/static/images/common/zongfen-icon.png");vertical-align: unset;}
  138. .phone-jigefen-icon{background-image: url("@/static/images/common/jigefen-icon.png");vertical-align: unset;}
  139. .ks-score-content{
  140. font-size: 26rpx;background-color: #f4f6fa;width: 500rpx;line-height: 1;border-radius: 8rpx;
  141. margin-bottom: 20rpx;display: flex;padding: 16rpx 30rpx;box-sizing: border-box;
  142. .ks-score {
  143. padding-right: 60rpx;
  144. text{color: #ff7023;}
  145. }
  146. .ks-okScore {
  147. text{color: #3fd2a1;}
  148. }
  149. }
  150. .kaoshi-btn {width:220rpx;font-size: 26rpx;background-color: #3fd2a1;}
  151. }
  152. }
  153. /*** 进入考试页面***/
  154. .phone-kaoshi-page {
  155. height: 100vh;display: flex;flex-direction: column;background-color: #f4f6fa;position: relative;
  156. .kaoshi-page-title {
  157. height: 80rpx;line-height: 80rpx;background-color: #fff;margin-top: 20rpx;font-size: 26rpx;color: #333;
  158. display: flex;justify-content: space-between;padding: 0 24rpx;border-bottom: 1rpx solid #ebebeb;
  159. .title-types{font-size: 32rpx;color: #000;}
  160. }
  161. .kaoshi-shiti-content {padding: 24rpx 24rpx 0 24rpx;background-color: #fff;flex: 1;}
  162. .kaoshi-bottom-box {
  163. width: 100%;height: 100rpx;background-color: #f0f0f0;
  164. display: flex;align-items: center;justify-content: space-between;
  165. padding: 0 24rpx;box-sizing: border-box;
  166. .bj-btn{margin-left: unset;}
  167. .jx-btn{margin-right: unset;}
  168. .shiti-num-icon{
  169. width: 27px;height: 24px;vertical-align: middle;
  170. background-image: url("@/static/images/exam/shiti-num-icon.png");@include ezy-no-repeat-cover();
  171. }
  172. .active-num{color: #30c190;}
  173. }
  174. .ks-btn-prev {position: absolute;bottom: 130rpx;left:24rpx;}
  175. .ks-btn-next {position: absolute;bottom: 130rpx;right: 24rpx;}
  176. }
  177. /*** 课程学习 ***/
  178. .kecheng-study-page{
  179. display: flex;height: 100vh;flex-direction: column;
  180. .phone-video-box{
  181. width:100%;height: 460rpx;
  182. .kecheng-video{height: 460rpx!important;}
  183. }
  184. .kc-info-box{width: 100%;box-sizing: border-box;padding: 24rpx 36rpx;border-bottom: 1rpx solid #ebebeb;
  185. display: flex;align-items: center;justify-content: space-between;color: #555;}
  186. .kecheng-mulu-box{
  187. width: 100%;box-sizing: border-box;padding: 0 36rpx;
  188. .collapse-item-icon,.kejian-item-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();}
  189. .my-collapse-item {
  190. border-bottom: 1rpx solid #ebebeb;padding: 32rpx 0;
  191. display: flex;align-items: center;justify-content: space-between;
  192. }
  193. .collapse-text{font-size: 30rpx;color: #333;}
  194. .collapse-item-icon{background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");flex-shrink: 0;margin-left: 10rpx;}
  195. .item-open .collapse-item-icon{transform: rotate(180deg);}
  196. .my-card-content {height: 0rpx;overflow: hidden;margin: 0 32rpx;}
  197. .content-open{
  198. display: block;height: auto;
  199. .content-open{margin: 0 16rpx;}
  200. .item-open{
  201. border:0;
  202. .collapse-text{color: #333;}
  203. }
  204. }
  205. .kejian-item{display: flex;align-items: center;padding: 16rpx;font-size: 28rpx;
  206. color: #666;border-radius: 4rpx;background-color: #f4f7ff;margin-bottom:20rpx;}
  207. .kejian-item-icon{background-image: url("@/static/images/common/play-icon.svg");flex-shrink: 0;margin-right: 8rpx;}
  208. .kejian-active{
  209. color: #3fd2a1;background-color: #3fd2a11a;
  210. .kejian-item-icon{background-image: url("@/static/images/common/play-icon-a.svg");}
  211. }
  212. }
  213. .kecheng-content-box{flex: 1;overflow: auto;}
  214. .kecheng-jieshao-box{
  215. display: block;box-sizing: border-box;padding: 24rpx;font-size: 30rpx;color: #666;
  216. word-break: break-all;line-height: 1.6;
  217. img{max-width: 100%;margin: 0 auto;}
  218. }
  219. }
  220. /*** 答题卡 ***/
  221. .answer-card-popup{
  222. height: 100vh;
  223. .answer-card-content{
  224. display: flex;flex-wrap: wrap;box-sizing: border-box;padding: 20rpx 16rpx;
  225. }
  226. .paragraph-title{width: 100%;font-size: 30rpx;margin:0 0 10rpx 24rpx;}
  227. .paragraph-qa {
  228. width: 80rpx;height: 80rpx;line-height: 78rpx;margin: 20rpx 30rpx;border: 1rpx solid transparent;
  229. border-radius: 50%;text-align: center;overflow: hidden;
  230. }
  231. // 答题卡 答完样式
  232. .paragraph-qa-block-done {
  233. background-color: #cbcbcb;color: #fff;border: 1rpx solid transparent;
  234. }
  235. // 答题卡 未答完样式
  236. .paragraph-qa-block-init {
  237. background-color: #fff;color: #000;border: 1rpx solid #ccc;
  238. }
  239. // 答题卡 标记样式
  240. .paragraph-qa-block-mark {
  241. background-color: #3fd2a1;color: #fff;border: 1rpx solid #3fd2a1;
  242. }
  243. }
  244. /*** 答题解析***/
  245. .phone-question-answer-box{
  246. font-size: 30rpx;color: #666;box-sizing: border-box;padding: 32rpx;
  247. line-height: 1.6;max-height: 60vh;overflow: auto;
  248. .phone-line-title{margin-bottom: 24rpx;}
  249. .btdf-row{
  250. margin-bottom: 10rpx;
  251. text{color: #3fd2a1;margin-right: 6rpx;}
  252. }
  253. .ndda-row{
  254. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  255. text{color: #ff6b67;}
  256. }
  257. .zqda-row{
  258. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  259. text{color: #3fd2a1;}
  260. }
  261. }
  262. /*** 家政页面***/
  263. .jiazheng-search-box{
  264. width: 100%;box-sizing: border-box;padding: 20rpx 20rpx;position: relative;
  265. display: flex;justify-content: space-between;align-items: center;
  266. .jiazheng-search-right{display: flex;margin-left: auto;}
  267. .all-type-list{
  268. position: absolute;top: 80rpx;left: 0;right: 0;background-color: #fff;font-size: 30rpx;
  269. box-sizing: border-box;padding: 0 20rpx;
  270. .all-type-item{box-sizing: border-box;padding: 10rpx 0;position: relative;}
  271. .all-type-active{color: #3fd2a1;}
  272. .all-type-active::after{content: '';width: 30rpx;height: 30rpx;display: block;
  273. position: absolute;right: 20rpx;top:50%;transform: translateY(-50%);
  274. background-image: url("@/static/images/common/duihao-icon.svg");@include ezy-no-repeat-contain();
  275. }
  276. }
  277. .select-item-box{
  278. font-size: 30rpx;
  279. .select-jt-default,.select-jt-click{
  280. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 10rpx;
  281. background-image: url("@/static/images/common/sanjiao-shixin-icon.svg");@include ezy-no-repeat-contain();
  282. }
  283. .select-jt-click{transform: rotate(180deg);}
  284. }
  285. .saixuan-item-box{
  286. margin-right: 42rpx;font-size: 26rpx;color: #000;
  287. text{vertical-align: middle;}
  288. .saixuan-jt-default,.saixuan-jt-click{
  289. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 6rpx;@include ezy-no-repeat-cover();
  290. }
  291. .saixuan-jt-default{background-image: url("@/static/images/common/sanjiao-xia-icon.svg");}
  292. .saixuan-jt-click{
  293. background-image: url("@/static/images/common/sanjiao-shang-icon.svg");
  294. }
  295. }
  296. .saixuan-active text{color: #3fd2a1;}
  297. .uni-icons{display: flex;align-items:center;}
  298. }