pages.scss 9.1 KB

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