pages.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. height: 80rpx;line-height: 80rpx;background-color: #fff;font-size: 28rpx;border-top: 1rpx solid #ebebeb;
  83. color: #333;display: flex;justify-content: space-between;padding: 0 24rpx;border-bottom: 1rpx solid #ebebeb;
  84. .title-types {color: #000;}
  85. .exam-countdown .uni-countdown__number,.exam-countdown .uni-countdown__splitor{color: #0856e6!important;}
  86. }
  87. .kaoshi-shiti-content {padding: 24rpx 24rpx 0 24rpx;background-color: #fff;flex: 1;}
  88. .kaoshi-bottom-box {
  89. width: 100%;height: 100rpx;background-color: #f0f0f0;
  90. display: flex;align-items: center;justify-content: space-between;
  91. padding: 0 24rpx;box-sizing: border-box;position: fixed;bottom: var(--window-bottom);
  92. .bj-btn,.qb-btn,.jx-btn,.save-btn {height: 60rpx;line-height: 58rpx;box-sizing: border-box;display: flex;align-items: center;}
  93. .bj-btn,.qb-btn {margin-left: unset;background: #FF9100;border-color: #FF9100;color: #fff;padding: 0 20rpx;}
  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. .jx-btn,.save-btn {margin-right: unset;}
  98. .shiti-num-icon {width: 27px;height: 24px;vertical-align: middle;@include ezy-no-repeat-cover();}
  99. .active-num {color: #30c190;}
  100. }
  101. .ks-btn-prev {position: fixed;bottom: 130rpx;left: 24rpx;}
  102. .ks-btn-next {position: fixed;bottom: 130rpx;right: 24rpx;}
  103. }
  104. // 我的
  105. .mobile-my-page{
  106. width:100%;overflow: auto;background: #F3F5F7;padding-bottom: 135rpx;
  107. // 用户信息
  108. .user-info-box {
  109. width: 100%;height: 333rpx;background-color: #fff;
  110. background-image: url("@/static/images/my/user-info-bj.png");@include ezy-no-repeat-cover();
  111. display: flex;align-items: center;padding-top: 16px;box-sizing: border-box;
  112. // 图片
  113. .user-img-box {
  114. width: 120rpx;height: 120rpx;margin-left: 24rpx;border-radius: 50%;overflow: hidden;
  115. img{width: 100%;height: 100%;}
  116. }
  117. // 用户信息
  118. .user-content-box {
  119. margin-left: 48rpx;
  120. // 姓名
  121. .user-name {display: block;font-size: 36rpx;color: #fff;margin-bottom: 24rpx;font-weight: 800;}
  122. // 详细信息
  123. .user-info {
  124. display: flex;align-items: center;
  125. >view{font-size: 24rpx;color: #fff}
  126. text{width: 1px;height: 24rpx;display: block;margin: 0 12rpx;background: #fff;}
  127. }
  128. }
  129. }
  130. .my-list-box{
  131. width:100%;margin: 0 auto;background-color: #fff;padding: 0 36rpx;
  132. .list-row{border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 24rpx 0;
  133. display: flex;align-items: center;position: relative;
  134. .row-content{margin-left: auto;margin-right: 32rpx;color: #9c9c9c;font-size: 30rpx;}
  135. }
  136. .list-row::after{
  137. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  138. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  139. position: absolute;right: 0;transform: rotate(270deg);
  140. }
  141. .list-row:last-child{border: 0;}
  142. .list-icon{width: 70rpx;height: 70rpx;@include ezy-no-repeat-cover;margin-right: 12rpx;}
  143. .xuefen-icon{background-image: url("@/static/images/my/my-credits-icon-sj.png");}
  144. .xiaoxi-icon{background-image: url("@/static/images/my/my-news-icon-sj.png");}
  145. .zhengshu-icon{background-image: url("@/static/images/my/my-certificate-icon-sj.png");}
  146. .cuoti-icon{background-image: url("@/static/images/my/my-wrong-icon-sj.png");}
  147. .baoming-icon{background-image: url("@/static/images/my/my-baoming-icon-sj.png");}
  148. .sxtcs-icon{background-image: url("@/static/images/my/my-ceshi-icon-sj.png");}
  149. .sxtsm-icon{background-image: url("@/static/images/my/my-explain-icon-sj.png");}
  150. .shezhi-icon{background-image: url("@/static/images/my/my-setting-icon-sj.png");}
  151. }
  152. .my-list-box + .my-list-box{margin-top: 20rpx;}
  153. // 退出登录 后续删除
  154. background: #fff;position: relative;height: calc(100vh - 180rpx);
  155. .exit-login-btn {
  156. width: 400rpx;height: 90rpx;line-height: 90rpx;display: block;font-size: 32rpx;
  157. background: linear-gradient(0deg,#436aff 0%, #234ff7 100%);border-radius: 45rpx;
  158. box-shadow: 0px 2rpx 14rpx -4rpx #5772ff;text-align: center;color: #fff;
  159. position: absolute;bottom: 60rpx;left: 50%;transform: translateX(-200rpx);
  160. }
  161. }
  162. // 设置
  163. .mobile-setting-page{
  164. .setting-list-box{
  165. width:100%;margin: 0 auto;background-color: #fff;padding: 0 36rpx;
  166. .list-row{
  167. border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 36rpx 0;
  168. display: flex;align-items: center;position: relative;
  169. .row-content{line-height: 1;margin-left: auto;margin-right: 32rpx;color: #9c9c9c;font-size: 30rpx;}
  170. }
  171. .setting-default-userImg{margin-right: 0;width: 70rpx;height: 70rpx;}
  172. .list-row::after{
  173. content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;
  174. background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
  175. position: absolute;right: 0;transform: rotate(270deg);
  176. }
  177. .no-jt-row::after{display: none;}
  178. .img-list-row{padding: 24rpx 0;}
  179. }
  180. .exit-login-btn {
  181. width: 400rpx;height: 90rpx;line-height: 90rpx;margin: 60rpx auto;display: block;font-size: 32rpx;
  182. background: linear-gradient(0deg,#436aff 0%, #234ff7 100%);border-radius: 45rpx;
  183. box-shadow: 0px 2rpx 14rpx -4rpx #5772ff;text-align: center;color: #fff;
  184. }
  185. }
  186. .phone-common-dialog.birthday-dialog{width: unset;}
  187. // 消息
  188. .phone-mes-page{
  189. padding: 40rpx 30rpx;word-break: break-word;white-space: pre-wrap;box-sizing: border-box;flex: 1;overflow: auto;
  190. .mes-name{font-size: 28rpx;margin: 0 0 20rpx;text-align: center;font-weight: bold;}
  191. .mes-time{font-size: 24rpx;margin: 0 0 20rpx;display: block;text-align: center;}
  192. .fwb-box{font-size: 28rpx;@include ezy-rich-text();line-height: 1.6;}
  193. }
  194. // 消息card
  195. .notice-list-card{
  196. margin: 0 15px;padding: 25px 0;border-bottom: 1px solid #f2f1f2;
  197. .notice-list-title{
  198. display: flex;align-items: center;margin: 0 0 10px;
  199. font-size: 32rpx;
  200. .notice-title{@include single-line-ellipsis();}
  201. }
  202. // 已读未读
  203. .notice-list-read,.notice-list-unread{
  204. width: 32px;height: 16px;line-height:16px;display: inline-block;text-align: center;
  205. border: 1px solid;margin-right: 10px;flex-shrink: 0;
  206. border-radius: 2px;font-size: 12px;font-style: normal;}
  207. .notice-list-read{border-color: #0220d6;color: #0220d6;background: #dee9ff;}
  208. .notice-list-unread{border-color: #BD1F00;color: #b71e00;background: #ffdad8;}
  209. // 内容
  210. .news-page-word{font-size: 12px;color: #333333;}
  211. }
  212. // 学分card
  213. .sum-score-box{font-size: 32rpx;height: 100rpx;line-height: 100rpx;border-bottom: 1rpx solid #f2f1f2;margin: 0 30rpx;}
  214. .credit-card-box{
  215. display: flex;align-items: flex-start;font-size: 32rpx;color: #333;
  216. padding: 40rpx 0;border-bottom: 1rpx solid #f2f1f2;
  217. // card 左侧区域
  218. .card-left{
  219. width: 30%;
  220. .credit-span{color: #3B60FF;font-size: 30rpx;font-family: Din, serif;word-break: break-all;}
  221. }
  222. // card 右侧区域
  223. .card-right{
  224. width: 70%;
  225. .right-name{margin: 0 0 16rpx;font-size: 32rpx;color: #333;line-height: 48rpx;}
  226. .right-time{font-size: 24rpx;color: #333;display: block;}
  227. }
  228. }