pages.scss 11 KB

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