pages.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  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. .phone-list-page{
  118. box-sizing: border-box;
  119. .phone-scroll-view {height: calc(100vh - 322rpx);}
  120. .client-kaoshi-scroll-view{height: calc(100vh - 212rpx);}
  121. .admin-list-box{
  122. .admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}
  123. .uni-list--border{display: none;}
  124. }
  125. // 列表区域
  126. .item-card-row {
  127. width: 100%;
  128. .ks-item-top {
  129. display: flex;justify-content: space-between;margin-bottom: 20rpx;
  130. .ks-name {font-size: 34rpx;color: #000;}
  131. .ks-zyLevelName {font-size: 26rpx;padding: 4rpx 24rpx;border-radius: 4px;border: 1px solid #3fd2a1;color:#3fd2a1;}
  132. }
  133. .ks-totalTm {font-size: 26rpx;color: #333;margin-bottom: 20rpx;line-height: 1;margin-left: 40rpx;}
  134. .phone-time-icon,.phone-cishu-icon,.phone-zongfen-icon,.phone-jigefen-icon{width: 24rpx;height: 24rpx;@include ezy-no-repeat-cover();
  135. vertical-align: middle;margin-right: 10rpx;}
  136. .phone-time-icon{background-image: url("@/static/images/common/time-icon.png");}
  137. .phone-cishu-icon{background-image: url("@/static/images/common/cishu-icon.png");}
  138. .phone-zongfen-icon{background-image: url("@/static/images/common/zongfen-icon.png");vertical-align: unset;}
  139. .phone-jigefen-icon{background-image: url("@/static/images/common/jigefen-icon.png");vertical-align: unset;}
  140. .ks-score-content{
  141. font-size: 26rpx;background-color: #f4f6fa;width: 500rpx;line-height: 1;border-radius: 8rpx;
  142. margin-bottom: 20rpx;display: flex;padding: 16rpx 30rpx;box-sizing: border-box;
  143. .ks-score {
  144. padding-right: 60rpx;
  145. text{color: #ff7023;}
  146. }
  147. .ks-okScore {
  148. text{color: #3fd2a1;}
  149. }
  150. .ks-getScore {
  151. text{color: #3fd2a1;}
  152. }
  153. }
  154. .item-view-btn {width:220rpx;font-size: 26rpx;background-color: #3fd2a1;}
  155. }
  156. }
  157. /*** 进入考试页面***/
  158. .phone-kaoshi-page {
  159. height: 100vh;display: flex;flex-direction: column;background-color: #f4f6fa;position: relative;
  160. .kaoshi-page-title {
  161. height: 80rpx;line-height: 80rpx;background-color: #fff;margin-top: 20rpx;font-size: 26rpx;color: #333;
  162. display: flex;justify-content: space-between;padding: 0 24rpx;border-bottom: 1rpx solid #ebebeb;
  163. .title-types{font-size: 32rpx;color: #000;}
  164. }
  165. .kaoshi-shiti-content {padding: 24rpx 24rpx 0 24rpx;background-color: #fff;flex: 1;}
  166. .kaoshi-bottom-box {
  167. width: 100%;height: 100rpx;background-color: #f0f0f0;
  168. display: flex;align-items: center;justify-content: space-between;
  169. padding: 0 24rpx;box-sizing: border-box;
  170. .bj-btn{margin-left: unset;}
  171. .jx-btn,.save-btn{margin-right: unset;}
  172. .shiti-num-icon{
  173. width: 27px;height: 24px;vertical-align: middle;
  174. background-image: url("@/static/images/exam/shiti-num-icon.png");@include ezy-no-repeat-cover();
  175. }
  176. .active-num{color: #30c190;}
  177. }
  178. .ks-btn-prev {position: absolute;bottom: 130rpx;left:24rpx;}
  179. .ks-btn-next {position: absolute;bottom: 130rpx;right: 24rpx;}
  180. }
  181. /*** 得分页面***/
  182. .exam-score-dialog{
  183. width: 100%;height: 100vh;line-height:1.6;background-color: #fff;
  184. .score-content-box{box-sizing: border-box;padding:32rpx;
  185. border: 1rpx solid #3fd2a1;margin: 30rpx;border-radius: 10rpx;}
  186. .score-content-name{color: #3fd2a1;font-size: 36rpx;margin-bottom:12rpx;}
  187. .score-content-text{color: #666;font-size: 32rpx;margin-bottom:4rpx;}
  188. .score-dialog-btn{width: 360rpx;margin: 100rpx auto 24rpx;font-size: 30rpx;}
  189. }
  190. /*** 课程学习 ***/
  191. .kecheng-study-page{
  192. display: flex;height: 100vh;flex-direction: column;
  193. .phone-video-box{
  194. width:100%;height: 460rpx;
  195. .kecheng-video{height: 460rpx!important;}
  196. .prism-big-play-btn{display: none!important;}
  197. }
  198. .kc-info-box{width: 100%;box-sizing: border-box;padding: 24rpx 36rpx;border-bottom: 1rpx solid #ebebeb;
  199. display: flex;align-items: center;justify-content: space-between;color: #555;}
  200. .kecheng-mulu-box{
  201. width: 100%;box-sizing: border-box;padding: 0 36rpx;
  202. .collapse-item-icon,.kejian-item-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();}
  203. .my-collapse-item {
  204. border-bottom: 1rpx solid #ebebeb;padding: 32rpx 0;
  205. display: flex;align-items: center;justify-content: space-between;
  206. }
  207. .collapse-text{font-size: 30rpx;color: #333;}
  208. .collapse-item-icon{background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");flex-shrink: 0;margin-left: 10rpx;}
  209. .item-open .collapse-item-icon{transform: rotate(180deg);}
  210. .my-card-content {height: 0rpx;overflow: hidden;margin: 0 32rpx;}
  211. .content-open{
  212. display: block;height: auto;
  213. .content-open{margin: 0 16rpx;}
  214. .item-open{
  215. border:0;
  216. .collapse-text{color: #333;}
  217. }
  218. }
  219. .kejian-item{display: flex;align-items: center;padding: 16rpx;font-size: 28rpx;
  220. color: #666;border-radius: 4rpx;background-color: #f4f7ff;margin-bottom:20rpx;}
  221. .kejian-item-icon{background-image: url("@/static/images/common/play-icon.svg");flex-shrink: 0;margin-right: 8rpx;}
  222. .kejian-active{
  223. color: #3fd2a1;background-color: #3fd2a11a;
  224. .kejian-item-icon{background-image: url("@/static/images/common/play-icon-a.svg");}
  225. }
  226. }
  227. .kecheng-content-box{flex: 1;overflow: auto;}
  228. .kecheng-jieshao-box{
  229. display: block;box-sizing: border-box;padding: 24rpx;font-size: 30rpx;color: #666;
  230. word-break: break-all;line-height: 1.6;
  231. img{max-width: 100%;margin: 0 auto;}
  232. }
  233. }
  234. /*** 进入成绩 ***/
  235. .phone-score-page{
  236. height: 100vh;display: flex;flex-direction: column;background-color: #f4f6fa;position: relative;
  237. .score-page-title{
  238. height: 80rpx;line-height: 80rpx;background-color: #fff;font-size: 26rpx;color: #333;
  239. display: flex;justify-content: space-between;padding: 0 24rpx;border-bottom: 10rpx solid #f4f6fa;
  240. .title-types{font-size: 32rpx;color: #000;}
  241. .user-score{color: #30c190;}
  242. }
  243. .score-shiti-content{
  244. padding: 24rpx 0 0;background-color: #fff;flex: 1;overflow: auto;
  245. .phone-danxuan-box,.phone-duoxuan-box,.phone-panduan-box,.phone-tiankong-box{height: auto;margin: 0 32rpx;}
  246. }
  247. .score-answer-box{
  248. background-color: #fff;border-top: 10rpx solid #f4f6fa;
  249. .score-line-title{margin-bottom: 0;}
  250. }
  251. // bottom
  252. .score-bottom-box{
  253. width: 100%;height: 100rpx;background-color: #f0f0f0;
  254. display: flex;align-items: center;justify-content: space-between;
  255. padding: 0 24rpx;box-sizing: border-box;
  256. .score-num-icon{
  257. width: 27px;height: 24px;vertical-align: middle;
  258. background-image: url("@/static/images/exam/shiti-num-icon.png");@include ezy-no-repeat-cover();
  259. }
  260. .active-num{color: #30c190;}
  261. .score-answer-btn{margin: 0;}
  262. .score-answer-btn + .score-answer-btn{margin-left:24rpx;}
  263. }
  264. }
  265. /*** 答题卡 ***/
  266. .answer-card-popup{
  267. height: 100vh;
  268. .answer-card-content{
  269. display: flex;flex-wrap: wrap;box-sizing: border-box;padding: 20rpx 16rpx;
  270. }
  271. .paragraph-title{width: 100%;font-size: 30rpx;margin:0 0 10rpx 24rpx;}
  272. .paragraph-qa {
  273. width: 80rpx;height: 80rpx;line-height: 78rpx;margin: 20rpx 30rpx;border: 1rpx solid transparent;
  274. border-radius: 50%;text-align: center;overflow: hidden;
  275. }
  276. // 答题卡 答完样式
  277. .paragraph-qa-block-done {
  278. background-color: #cbcbcb;color: #fff;border: 1rpx solid transparent;
  279. }
  280. // 答题卡 未答完样式
  281. .paragraph-qa-block-init {
  282. background-color: #fff;color: #000;border: 1rpx solid #ccc;
  283. }
  284. // 答题卡 标记样式
  285. .paragraph-qa-block-mark {
  286. background-color: #3fd2a1;color: #fff;border: 1rpx solid #3fd2a1;
  287. }
  288. }
  289. /*** 答题解析***/
  290. .phone-question-answer-box{
  291. font-size: 30rpx;color: #666;box-sizing: border-box;padding: 32rpx;
  292. line-height: 1.6;max-height: 60vh;overflow: auto;
  293. .phone-line-title{margin-bottom: 24rpx;}
  294. .btdf-row{
  295. margin-bottom: 10rpx;
  296. text{color: #3fd2a1;margin-right: 6rpx;}
  297. }
  298. .ndda-row{
  299. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  300. text{color: #ff6b67;}
  301. }
  302. .zqda-row{
  303. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  304. text{color: #3fd2a1;}
  305. }
  306. }
  307. /*** 家政页面***/
  308. .jiazheng-search-box{
  309. width: 100%;box-sizing: border-box;padding: 20rpx 20rpx;position: relative;
  310. display: flex;justify-content: space-between;align-items: center;
  311. .jiazheng-search-right{display: flex;margin-left: auto;}
  312. .all-type-list{
  313. position: absolute;top: 80rpx;left: 0;right: 0;background-color: #fff;font-size: 30rpx;
  314. box-sizing: border-box;padding: 0 20rpx;
  315. .all-type-item{box-sizing: border-box;padding: 10rpx 0;position: relative;}
  316. .all-type-active{color: #3fd2a1;}
  317. .all-type-active::after{content: '';width: 30rpx;height: 30rpx;display: block;
  318. position: absolute;right: 20rpx;top:50%;transform: translateY(-50%);
  319. background-image: url("@/static/images/common/duihao-icon.svg");@include ezy-no-repeat-contain();
  320. }
  321. }
  322. .select-item-box{
  323. font-size: 30rpx;
  324. .select-jt-default,.select-jt-click{
  325. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 10rpx;
  326. background-image: url("@/static/images/common/sanjiao-shixin-icon.svg");@include ezy-no-repeat-contain();
  327. }
  328. .select-jt-click{transform: rotate(180deg);}
  329. }
  330. .saixuan-item-box{
  331. margin-right: 42rpx;font-size: 26rpx;color: #000;
  332. text{vertical-align: middle;}
  333. .saixuan-jt-default,.saixuan-jt-click{
  334. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 6rpx;@include ezy-no-repeat-cover();
  335. }
  336. .saixuan-jt-default{background-image: url("@/static/images/common/sanjiao-xia-icon.svg");}
  337. .saixuan-jt-click{
  338. background-image: url("@/static/images/common/sanjiao-shang-icon.svg");
  339. }
  340. }
  341. .saixuan-active text{color: #3fd2a1;}
  342. .uni-icons{display: flex;align-items:center;}
  343. }
  344. /*** 我的页面***/
  345. .client-my-page{
  346. background-color:#f8f9fd;height: 100vh;
  347. // head
  348. .my-head-box{
  349. width: 100%;height:372rpx;display: flex;align-items: center;box-sizing: border-box;padding: 52rpx 52rpx 0 52rpx;
  350. background-image: url("@/static/images/my/client-my-bj.png");@include ezy-no-repeat-cover();
  351. }
  352. .head-img-box,.head-icon-box{
  353. max-width: 160rpx;max-height: 200rpx;
  354. border: 1rpx solid #fff;margin-right: 32rpx;
  355. }
  356. .head-icon-box{width: 413rpx;height: 582rpx;background-image: url("@/static/images/my/client-default-icon.png");@include ezy-no-repeat-cover();}
  357. .head-content-box{
  358. font-size: 46rpx;color: #fff;
  359. .idcard-row-box{display: flex;align-items: center;margin-top: 24rpx;}
  360. .idcard-icon{width: 56rpx;height:56rpx;background-image: url("@/static/images/my/my-card-icon.png");@include ezy-no-repeat-cover();flex-shrink: 0;}
  361. .idcard-text{font-size: 36rpx;margin-left: 10rpx;}
  362. }
  363. // num
  364. .my-num-box{
  365. background-color: #fff;box-sizing: border-box;padding: 36rpx;border-radius: 8rpx;
  366. display: flex;justify-content: space-around;margin: 20rpx;
  367. .num-item-box{
  368. display: flex;flex-direction: column;align-items: center;position: relative;
  369. icon{width: 100rpx;height: 100rpx;@include ezy-no-repeat-cover();margin-bottom: 10rpx;}
  370. .ks-icon{background-image: url("@/static/images/my/my-ks-icon.png");}
  371. .lx-icon{background-image: url("@/static/images/my/my-lx-icon.png");}
  372. .kc-icon{background-image: url("@/static/images/my/my-kc-icon.png");}
  373. .my-num-badge{position: absolute;right: -8rpx;top: -12rpx;}
  374. .num-title{font-size: 28rpx;color: #333;}
  375. }
  376. }
  377. // list
  378. .my-list-box{
  379. width:700rpx;margin: 0 auto;background-color: #fff;border-radius: 8rpx;padding: 0 36rpx;
  380. .list-row{border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 42rpx 0;
  381. display: flex;align-items: center;position: relative;}
  382. .list-row::after{
  383. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  384. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  385. position: absolute;right: 0;transform: rotate(270deg);
  386. }
  387. .list-row:last-child{border: 0;}
  388. .list-icon{width: 42rpx;height: 42rpx;@include ezy-no-repeat-cover;margin-right: 32rpx;}
  389. .user-icon{background-image: url("@/static/images/my/my-editor-icon.png");}
  390. .score-icon{background-image: url("@/static/images/my/my-score-icon.png");}
  391. .login-out-icon{background-image: url("@/static/images/my/login-out-icon.png");}
  392. }
  393. }
  394. /*** 个人信息页面 ***/
  395. .my-info-page{
  396. background-color: #f8f9fd;height: 100vh;
  397. .user-img-box{
  398. display: flex;background-color: #fff;margin-bottom: 24rpx;
  399. padding: 16rpx;box-sizing: border-box;
  400. .uni-file-picker__container{justify-content: center;border: 0;}
  401. .file-picker__box-content{border: 0;border-width: 0 !important;;}
  402. .user-file-picker{
  403. .file-picker-image{max-height: 200rpx;max-width: 160rpx;}
  404. }
  405. .head-icon-box{width: 160rpx;height: 200rpx;margin: 0 auto;
  406. background-image: url("@/static/images/my/client-default-icon.png");@include ezy-no-repeat-cover();}
  407. }
  408. .info-btn{width: 360rpx;margin: 100rpx auto 24rpx;font-size: 30rpx;}
  409. }
  410. /*** 家政人员管理 ***/
  411. .admin-jiazheng-page{
  412. height: 100vh;background-color: #f8f9fd;display: flex;flex-direction: column;
  413. .jz-content-box{flex: 1;overflow: auto;}
  414. .form-top-margin{margin-top: 20rpx;}
  415. .upload-img-box{background-color: #fff;padding: 20rpx 0;margin: 20rpx 0;}
  416. // 个人资料
  417. .xxdz-label-input{align-items: flex-start;}
  418. .form-textarea-box{width: 100%;height: 160rpx;padding: 10rpx;border: 1rpx solid #e5e5e5;border-radius: 4px;}
  419. .agree-section-box{
  420. background-color: #fff;padding: 30rpx;font-size: 28rpx;
  421. .phone-green-btn{font-size: 28rpx;margin: 20rpx 8rpx 36rpx;}
  422. }
  423. }