pages.scss 11 KB

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