pages.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /***** 这里存放通用页面样式 *****/
  2. .mobile-login-page {
  3. width: 100%;height: 100%;background: #FFF;text-align: center;position: absolute;overflow: auto;
  4. .login-top {height: 540rpx;background-size: cover;background-image: url("@/static/images/login/login-bj-sj.png");}
  5. .login-logo {width: 266rpx;max-height: 100rpx;margin-top: 156rpx;}
  6. .login-text {display: block;font-size: 64rpx;color: #FFF;margin: 24rpx 0 0;font-weight: 700}
  7. // 登录区域
  8. .login-body {
  9. width: 100%;padding: 0 60rpx;box-sizing: border-box;margin: 140rpx auto 0;
  10. .input-container {
  11. display: flex;align-items: center;position: relative;
  12. height: 100rpx;border-radius: 50rpx;background-color: #F7F7F7;
  13. margin-bottom: 40rpx;box-sizing: border-box;text-align: left;
  14. }
  15. .input-icon {margin-left: 20rpx;color: #999;}
  16. .login-body-icon{
  17. width: 46rpx;height: 46rpx;line-height: 40rpx;margin: 0 24rpx 0 48rpx;
  18. display: inline-block;@include ezy-no-repeat-cover();
  19. }
  20. .user-icon{background-image: url("@/static/images/login/user-icon.png");}
  21. .mm-icon{background-image: url("@/static/images/login/remm-icon.png");}
  22. }
  23. // 输入框
  24. .login-btn {
  25. width: 100%;height: 100rpx;margin-top: 60rpx;font-size: 36rpx;margin-bottom: 100rpx;
  26. letter-spacing: 7.2rpx;background: linear-gradient(0deg, #436aff 0%, #234ff7 100%);
  27. border-radius: 50rpx;border: 0;color: #F7F7F7;line-height: 100rpx;
  28. }
  29. .login-change {
  30. display: flex;justify-content: space-between;align-items: center;
  31. .checkbox-zhanghao {font-size: 24rpx;color: #565656;}
  32. .remember-checkbox-group{font-size: 28rpx;}
  33. }
  34. }
  35. // 首页
  36. .lli-index-page {
  37. padding:0 24rpx;background: #FCFBFC;min-height: 100vh;
  38. // banner
  39. .index-imgbox {
  40. text-align: center;width: 100%;
  41. .index-banner-img {width: 702rpx;height: 242rpx;display: inline-block;border-radius: 4px;}
  42. }
  43. //meul-box
  44. .index-meul-box {
  45. display: flex;
  46. .lli-grid-item {
  47. display: flex;flex-direction: column;align-items: center;justify-content: center;
  48. padding: 15px 0;flex: 1;position: relative;
  49. }
  50. .grid-item-image {width: 99rpx;height: 113rpx;}
  51. .grid-item-text {font-size: 24rpx;color: $uni-text-color;}
  52. .grid-dot {
  53. min-width: 32rpx;height: 32rpx;padding: 0 4rpx;line-height: 30rpx;
  54. display: flex;justify-content: center;align-items: center;font-size: 24rpx;
  55. color: #fff;border-radius: 100rpx;background-color: rgb(255, 85, 81);
  56. position: absolute;top:26rpx;right: 28rpx;}
  57. }
  58. // title-box
  59. .lli-index-title-box {
  60. margin: 44rpx 0 32rpx;
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. .index-title {font-size: 32rpx;color: #333;font-weight: 800;display: inline-flex;align-items: center;}
  65. .index-title:before {content: '';width: 3px;height: 30rpx;background: $uni-primary;margin-right: 8px;display: block;}
  66. .index-sub-title {font-size: 24rpx;color: #9c9c9c;font-weight: normal;cursor: pointer;}
  67. }
  68. // card
  69. .lli-card-box {width: 100%;display: flex;justify-content: space-between;flex-wrap: wrap;margin-bottom: 8px;cursor: pointer;}
  70. .lli-card-item {
  71. width: 49%;flex: unset;border-radius: 20rpx;background-color: #ffffff;
  72. padding: 12rpx 12rpx 0!important;box-sizing: border-box;margin-bottom: 20rpx!important;
  73. .lli-card-image {max-width: 100%;height: 180rpx;border-radius: 8rpx;}
  74. .custom-cover {max-width: 100%;height: 180rpx;border-radius: 8rpx;overflow: hidden;position: relative;}
  75. .cover-content {position: absolute;bottom: 0;left: 0;padding: 0 12rpx;
  76. background: rgba(0, 0, 0, 0.29);color: #fff;font-size: 22rpx;border-radius: 0 12rpx 0 12rpx;}
  77. .lli-card-name {font-size: 28rpx;line-height: 36rpx;color: #565656;margin: 20rpx 0;display: -webkit-box;-webkit-line-clamp: 2;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;}
  78. }
  79. }
  80. // 考试
  81. .phone-kaoshi-page {
  82. display: flex;flex-direction: column;background-color: #f4f6fa;position: relative;
  83. .kaoshi-page-title {
  84. .title-types {color: #000;}
  85. .exam-countdown .uni-countdown__number,.exam-countdown .uni-countdown__splitor{color: #0856e6!important;}
  86. }
  87. .kaoshi-bottom-box {
  88. // 标记、取标
  89. .shiti-mark-btn{background: #FF9100;border-color: #FF9100;}
  90. // 保存
  91. .shiti-save-btn{margin: 0 10px 0 16px;}
  92. .save-btn-box{display: flex;align-items: center;}
  93. .bj-btn,.qb-btn,.save-btn {height: 60rpx;line-height: 58rpx;color: #fff;font-size: 24rpx;
  94. box-sizing: border-box;display: flex;align-items: center;padding: 0 16rpx;}
  95. .bj-btn,.qb-btn {margin-left: unset;background: #FF9100;border-color: #FF9100;color: #fff;margin: 0;}
  96. .bj-btn::before,.qb-btn::before{content: '';width: 28rpx;height: 28rpx;display: inline-block;margin-right: 6rpx;}
  97. .bj-btn::before{background-image: url("@/static/images/exam/mark1-sj.svg");}
  98. .qb-btn::before{background-image: url("@/static/images/exam/mark2-sj.svg");}
  99. .save-btn{margin-left:auto;background-color: #0856e6;border-color: #0856e6;}
  100. .save-btn + .save-btn{margin-left: 20rpx;}
  101. }
  102. }
  103. // 课程
  104. .mobile-score-page{
  105. .kecheng-bottom-box{
  106. .answer-score-icon{width: 56rpx;height: 56rpx;@include ezy-no-repeat-cover();
  107. background-image: url("@/static/images/exam/answer-score-sj.svg");margin-right: 8rpx;}
  108. }
  109. }
  110. // 考试得分
  111. .exam-score-popup {
  112. width: 100vw;height: 100vh;background-color: #fff;display: flex;flex-direction: column;
  113. .exam-score-navBar-box .icon-title-navBar-box{background: #F0F0F0;color: #323233;}
  114. .score-content-box{box-sizing: border-box;border-bottom: 1rpx solid #e5e5e5;margin: 30rpx;padding: 0 10rpx 20rpx;}
  115. .content-score-box{display: flex;align-items: center;justify-content: space-between;}
  116. .score-content-name{width:100%;color: #333;font-size: 30rpx;padding: 20rpx 0;
  117. margin-bottom:20rpx;border-bottom: 1rpx solid #E3E3E3;}
  118. .score-content-text{
  119. color: #666;font-size: 30rpx;margin-bottom:4rpx;
  120. text{font-size: 64rpx;color:#ff6c6c;margin-right: 4rpx;}
  121. }
  122. .score-dialog-btn{width: 360rpx;margin: 100rpx auto 24rpx;font-size: 30rpx;}
  123. .progress-circle-box{}
  124. .progress-text-btn-box{
  125. display: flex;flex-direction: column;align-items: center;
  126. .cneter-box{font-size: 32rpx!important;color: #0856e6;}
  127. .progress-text{margin-bottom: 16rpx;color: #0856e6;}
  128. .container .rightcircle,.container .left .leftcircle{z-index: 2;border-color:#ecedef;}
  129. }
  130. .score-dialog-btn{
  131. text-align: center;font-size: 32rpx;background-color: #0856e6;color: #fff;border-radius: 50rpx;padding:20rpx;line-height: 1;
  132. }
  133. }
  134. // 我的
  135. .mobile-my-page{
  136. width:100%;overflow: auto;background: #F3F5F7;padding-bottom: 135rpx;
  137. // 用户信息
  138. .user-info-box {
  139. width: 100%;height: 333rpx;background-color: #fff;
  140. background-image: url("@/static/images/my/user-info-bj.png");@include ezy-no-repeat-cover();
  141. display: flex;align-items: center;padding-top: 16px;box-sizing: border-box;
  142. // 图片
  143. .user-img-box {
  144. width: 120rpx;height: 120rpx;margin-left: 24rpx;border-radius: 50%;overflow: hidden;
  145. img{width: 100%;height: 100%;}
  146. }
  147. // 用户信息
  148. .user-content-box {
  149. margin-left: 48rpx;
  150. // 姓名
  151. .user-name {display: block;font-size: 36rpx;color: #fff;margin-bottom: 24rpx;font-weight: 800;}
  152. // 详细信息
  153. .user-info {
  154. display: flex;align-items: center;
  155. >view{font-size: 24rpx;color: #fff}
  156. text{width: 1px;height: 24rpx;display: block;margin: 0 12rpx;background: #fff;}
  157. }
  158. }
  159. }
  160. .my-list-box{
  161. width:100%;margin: 0 auto;background-color: #fff;padding: 0 36rpx;
  162. .list-row{border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 24rpx 0;
  163. display: flex;align-items: center;position: relative;
  164. .row-content{margin-left: auto;margin-right: 32rpx;color: #9c9c9c;font-size: 30rpx;}
  165. }
  166. .list-row::after{
  167. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  168. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  169. position: absolute;right: 0;transform: rotate(270deg);
  170. }
  171. .list-row:last-child{border: 0;}
  172. .list-icon{width: 70rpx;height: 70rpx;@include ezy-no-repeat-cover;margin-right: 12rpx;}
  173. }
  174. .my-list-box + .my-list-box{margin-top: 20rpx;}
  175. // 退出登录 后续删除
  176. background: #fff;position: relative;height: calc(100vh - 180rpx);
  177. .exit-login-btn {
  178. width: 400rpx;height: 90rpx;line-height: 90rpx;display: block;font-size: 32rpx;
  179. background: linear-gradient(0deg,#436aff 0%, #234ff7 100%);border-radius: 45rpx;
  180. box-shadow: 0px 2rpx 14rpx -4rpx #5772ff;text-align: center;color: #fff;
  181. position: absolute;bottom: 60rpx;left: 50%;transform: translateX(-200rpx);
  182. }
  183. }
  184. // 设置
  185. .mobile-setting-page{
  186. .setting-list-box{
  187. width:100%;margin: 0 auto;background-color: #fff;padding: 0 36rpx;
  188. .list-row{
  189. border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 36rpx 0;
  190. display: flex;align-items: center;position: relative;
  191. .row-content{line-height: 1;margin-left: auto;margin-right: 32rpx;color: #9c9c9c;font-size: 30rpx;}
  192. }
  193. .setting-default-userImg{margin-right: 0;width: 70rpx;height: 70rpx;}
  194. .list-row::after{
  195. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  196. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  197. position: absolute;right: 0;transform: rotate(270deg);
  198. }
  199. .no-jt-row::after{display: none;}
  200. .img-list-row{padding: 24rpx 0;}
  201. }
  202. .exit-login-btn {
  203. width: 400rpx;height: 90rpx;line-height: 90rpx;margin: 60rpx auto;display: block;font-size: 32rpx;
  204. background: linear-gradient(0deg,#436aff 0%, #234ff7 100%);border-radius: 45rpx;
  205. box-shadow: 0px 2rpx 14rpx -4rpx #5772ff;text-align: center;color: #fff;
  206. }
  207. }
  208. .phone-common-dialog.birthday-dialog{width: unset;}
  209. // 消息
  210. .phone-mes-page{
  211. padding: 40rpx 30rpx;word-break: break-word;white-space: pre-wrap;box-sizing: border-box;flex: 1;overflow: auto;
  212. .mes-name{font-size: 28rpx;margin: 0 0 20rpx;text-align: center;font-weight: bold;}
  213. .mes-time{font-size: 24rpx;margin: 0 0 20rpx;display: block;text-align: center;}
  214. .fwb-box{font-size: 28rpx;@include ezy-rich-text();line-height: 1.6;}
  215. }
  216. // 消息card
  217. .notice-list-card{
  218. margin: 0 15px;padding: 25px 0;border-bottom: 1px solid #f2f1f2;
  219. .notice-list-title{
  220. display: flex;align-items: center;margin: 0 0 10px;
  221. font-size: 32rpx;
  222. .notice-title{@include single-line-ellipsis();}
  223. }
  224. // 已读未读
  225. .notice-list-read,.notice-list-unread{
  226. width: 32px;height: 16px;line-height:16px;display: inline-block;text-align: center;
  227. border: 1px solid;margin-right: 10px;flex-shrink: 0;
  228. border-radius: 2px;font-size: 12px;font-style: normal;}
  229. .notice-list-read{border-color: #0220d6;color: #0220d6;background: #dee9ff;}
  230. .notice-list-unread{border-color: #BD1F00;color: #b71e00;background: #ffdad8;}
  231. // 内容
  232. .news-page-word{font-size: 12px;color: #333333;}
  233. }
  234. // 学分card
  235. .sum-score-box{font-size: 32rpx;height: 100rpx;line-height: 100rpx;border-bottom: 1rpx solid #f2f1f2;margin: 0 30rpx;}
  236. .credit-card-box{
  237. display: flex;align-items: flex-start;font-size: 32rpx;color: #333;
  238. padding: 40rpx 0;border-bottom: 1rpx solid #f2f1f2;
  239. // card 左侧区域
  240. .card-left{
  241. width: 30%;
  242. .credit-span{color: #3B60FF;font-size: 30rpx;font-family: Din, serif;word-break: break-all;}
  243. }
  244. // card 右侧区域
  245. .card-right{
  246. width: 70%;
  247. .right-name{margin: 0 0 16rpx;font-size: 32rpx;color: #333;line-height: 48rpx;}
  248. .right-time{font-size: 24rpx;color: #333;display: block;}
  249. }
  250. }