pages.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. .admin-kaoshi-page {
  30. box-sizing: border-box;
  31. .kaoshi-scroll-view {height: calc(100vh - 322rpx);}
  32. .admin-list-box{
  33. .admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}
  34. .uni-list--border{display: none;}
  35. }
  36. // 列表区域
  37. .item-kaoshi-row {
  38. width: 100%;
  39. .ks-item-top {
  40. display: flex;justify-content: space-between;margin-bottom: 20rpx;
  41. .ks-name {font-size: 34rpx;color: #000;}
  42. .ks-zyLevelName {font-size: 26rpx;padding: 4rpx 24rpx;border-radius: 4px;border: 1px solid #3fd2a1;color:#3fd2a1;}
  43. }
  44. .ks-totalTm {font-size: 26rpx;color: #333;margin-bottom: 20rpx;line-height: 1;margin-left: 40rpx;}
  45. .phone-time-icon,.phone-cishu-icon,.phone-zongfen-icon,.phone-jigefen-icon{width: 24rpx;height: 24rpx;@include ezy-no-repeat-cover();
  46. vertical-align: middle;margin-right: 10rpx;}
  47. .phone-time-icon{background-image: url("@/static/images/common/time-icon.png");}
  48. .phone-cishu-icon{background-image: url("@/static/images/common/cishu-icon.png");}
  49. .phone-zongfen-icon{background-image: url("@/static/images/common/zongfen-icon.png");vertical-align: unset;}
  50. .phone-jigefen-icon{background-image: url("@/static/images/common/jigefen-icon.png");vertical-align: unset;}
  51. .ks-score-content{
  52. font-size: 26rpx;background-color: #f4f6fa;width: 500rpx;line-height: 1;border-radius: 8rpx;
  53. margin-bottom: 20rpx;display: flex;padding: 16rpx 30rpx;box-sizing: border-box;
  54. .ks-score {
  55. padding-right: 60rpx;
  56. text{color: #ff7023;}
  57. }
  58. .ks-okScore {
  59. text{color: #3fd2a1;}
  60. }
  61. }
  62. .kaoshi-btn {width:220rpx;font-size: 26rpx;background-color: #3fd2a1;}
  63. }
  64. }
  65. /*** 进入考试页面***/
  66. .phone-kaoshi-page {
  67. height: 100vh;display: flex;flex-direction: column;background-color: #f4f6fa;position: relative;
  68. .kaoshi-page-title {
  69. height: 80rpx;line-height: 80rpx;background-color: #fff;margin-top: 20rpx;font-size: 26rpx;color: #333;
  70. display: flex;justify-content: space-between;padding: 0 24rpx;border-bottom: 1rpx solid #ebebeb;
  71. .title-types{font-size: 32rpx;color: #000;}
  72. }
  73. .kaoshi-shiti-content {padding: 24rpx 24rpx 0 24rpx;background-color: #fff;flex: 1;}
  74. .kaoshi-bottom-box {
  75. width: 100%;height: 100rpx;background-color: #f0f0f0;
  76. display: flex;align-items: center;justify-content: space-between;
  77. padding: 0 24rpx;box-sizing: border-box;
  78. .bj-btn{margin-left: unset;}
  79. .jx-btn{margin-right: unset;}
  80. .shiti-num-icon{
  81. width: 27px;height: 24px;vertical-align: middle;
  82. background-image: url("@/static/images/exam/shiti-num-icon.png");@include ezy-no-repeat-cover();
  83. }
  84. .active-num{color: #30c190;}
  85. }
  86. .ks-btn-prev {position: absolute;bottom: 130rpx;left:24rpx;}
  87. .ks-btn-next {position: absolute;bottom: 130rpx;right: 24rpx;}
  88. }
  89. /*** 课程学习 ***/
  90. .kecheng-study-page{
  91. display: flex;height: 100vh;flex-direction: column;
  92. .phone-video-box{
  93. width:100%;height: 460rpx;
  94. .kecheng-video{height: 460rpx!important;}
  95. }
  96. .kc-info-box{width: 100%;box-sizing: border-box;padding: 24rpx 36rpx;border-bottom: 1rpx solid #ebebeb;
  97. display: flex;align-items: center;justify-content: space-between;color: #555;}
  98. .kecheng-mulu-box{
  99. width: 100%;box-sizing: border-box;padding: 0 36rpx;
  100. .collapse-item-icon,.kejian-item-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();}
  101. .my-collapse-item {
  102. border-bottom: 1rpx solid #ebebeb;padding: 32rpx 0;
  103. display: flex;align-items: center;justify-content: space-between;
  104. }
  105. .collapse-text{font-size: 30rpx;color: #333;}
  106. .collapse-item-icon{background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");flex-shrink: 0;margin-left: 10rpx;}
  107. .item-open .collapse-item-icon{transform: rotate(180deg);}
  108. .my-card-content {height: 0rpx;overflow: hidden;margin: 0 32rpx;}
  109. .content-open{
  110. display: block;height: auto;
  111. .content-open{margin: 0 16rpx;}
  112. .item-open{
  113. border:0;
  114. .collapse-text{color: #333;}
  115. }
  116. }
  117. .kejian-item{display: flex;align-items: center;padding: 16rpx;font-size: 28rpx;
  118. color: #666;border-radius: 4rpx;background-color: #f4f7ff;margin-bottom:20rpx;}
  119. .kejian-item-icon{background-image: url("@/static/images/common/play-icon.svg");flex-shrink: 0;margin-right: 8rpx;}
  120. .kejian-active{
  121. color: #3fd2a1;background-color: #3fd2a11a;
  122. .kejian-item-icon{background-image: url("@/static/images/common/play-icon-a.svg");}
  123. }
  124. }
  125. .kecheng-content-box{flex: 1;overflow: auto;}
  126. .kecheng-jieshao-box{
  127. display: block;box-sizing: border-box;padding: 24rpx;font-size: 30rpx;color: #666;
  128. word-break: break-all;line-height: 1.6;
  129. img{max-width: 100%;margin: 0 auto;}
  130. }
  131. }
  132. /*** 答题卡 ***/
  133. .answer-card-popup{
  134. height: 100vh;
  135. .answer-card-content{
  136. display: flex;flex-wrap: wrap;box-sizing: border-box;padding: 20rpx 16rpx;
  137. }
  138. .paragraph-title{width: 100%;font-size: 30rpx;margin:0 0 10rpx 24rpx;}
  139. .paragraph-qa {
  140. width: 80rpx;height: 80rpx;line-height: 78rpx;margin: 20rpx 30rpx;border: 1rpx solid transparent;
  141. border-radius: 50%;text-align: center;overflow: hidden;
  142. }
  143. // 答题卡 答完样式
  144. .paragraph-qa-block-done {
  145. background-color: #cbcbcb;color: #fff;border: 1rpx solid transparent;
  146. }
  147. // 答题卡 未答完样式
  148. .paragraph-qa-block-init {
  149. background-color: #fff;color: #000;border: 1rpx solid #ccc;
  150. }
  151. // 答题卡 标记样式
  152. .paragraph-qa-block-mark {
  153. background-color: #3fd2a1;color: #fff;border: 1rpx solid #3fd2a1;
  154. }
  155. }
  156. /*** 答题解析***/
  157. .phone-question-answer-box{
  158. font-size: 30rpx;color: #666;box-sizing: border-box;padding: 32rpx;
  159. line-height: 1.6;max-height: 60vh;overflow: auto;
  160. .phone-line-title{margin-bottom: 24rpx;}
  161. .btdf-row{
  162. margin-bottom: 10rpx;
  163. text{color: #3fd2a1;margin-right: 6rpx;}
  164. }
  165. .ndda-row{
  166. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  167. text{color: #ff6b67;}
  168. }
  169. .zqda-row{
  170. min-width: 50%;display: inline-block;margin-bottom: 10rpx;
  171. text{color: #3fd2a1;}
  172. }
  173. }
  174. /*** 家政页面***/
  175. .jiazheng-search-box{
  176. width: 100%;box-sizing: border-box;padding: 20rpx 20rpx;position: relative;
  177. display: flex;justify-content: space-between;align-items: center;
  178. .jiazheng-search-right{display: flex;margin-left: auto;}
  179. .all-type-list{
  180. position: absolute;top: 80rpx;left: 0;right: 0;background-color: #fff;font-size: 30rpx;
  181. box-sizing: border-box;padding: 0 20rpx;
  182. .all-type-item{box-sizing: border-box;padding: 10rpx 0;position: relative;}
  183. .all-type-active{color: #3fd2a1;}
  184. .all-type-active::after{content: '';width: 30rpx;height: 30rpx;display: block;
  185. position: absolute;right: 20rpx;top:50%;transform: translateY(-50%);
  186. background-image: url("@/static/images/common/duihao-icon.svg");@include ezy-no-repeat-contain();
  187. }
  188. }
  189. .select-item-box{
  190. font-size: 30rpx;
  191. .select-jt-default,.select-jt-click{
  192. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 10rpx;
  193. background-image: url("@/static/images/common/sanjiao-shixin-icon.svg");@include ezy-no-repeat-contain();
  194. }
  195. .select-jt-click{transform: rotate(180deg);}
  196. }
  197. .saixuan-item-box{
  198. margin-right: 42rpx;font-size: 26rpx;color: #000;
  199. text{vertical-align: middle;}
  200. .saixuan-jt-default,.saixuan-jt-click{
  201. width: 16rpx;height: 16rpx;vertical-align: middle;margin-left: 6rpx;@include ezy-no-repeat-cover();
  202. }
  203. .saixuan-jt-default{background-image: url("@/static/images/common/sanjiao-xia-icon.svg");}
  204. .saixuan-jt-click{
  205. background-image: url("@/static/images/common/sanjiao-shang-icon.svg");
  206. }
  207. }
  208. .saixuan-active text{color: #3fd2a1;}
  209. .uni-icons{display: flex;align-items:center;}
  210. }