pages_style.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. page{
  2. background-color: $page-color;
  3. }
  4. .page_view{
  5. display: flex;
  6. flex-direction: column;
  7. width: 100%;
  8. height: 100%;
  9. overflow-x: hidden; //隐藏多余的页面
  10. }
  11. .title{
  12. line-height: 35rpx;
  13. font-size: 35rpx;
  14. font-weight: bold;
  15. color: $title;
  16. }
  17. .subtitle{
  18. line-height: 30rpx;
  19. font-size: 30rpx;
  20. font-weight: bold;
  21. color: $subtitle;
  22. }
  23. .YS_title{
  24. line-height: 35rpx;
  25. font-size: 35rpx;
  26. color: $title;
  27. font-family: YSfont;
  28. }
  29. //标题头
  30. .front_tag {
  31. margin-right: 20rpx;
  32. height: 100%;
  33. width: 10rpx;
  34. border-radius: 100rpx;
  35. background-image: linear-gradient(#4169E1, rgba(1,1,1,0));
  36. z-index: 99;
  37. }
  38. //标题底
  39. .bottom_tag{
  40. margin-top: -10rpx;
  41. margin-left: 20%;
  42. height: 20rpx;
  43. width: 90%;
  44. border-radius: 6rpx;
  45. background-image: linear-gradient(to right, #4169E1, rgba(1,1,1,0));
  46. z-index: -1;
  47. }
  48. //标签
  49. .tag {
  50. border-radius: 50rpx;
  51. border: 1rpx solid $color-blue;
  52. padding: 2rpx 12rpx;
  53. .tag_text {
  54. font-size: 22rpx;
  55. color: $color-blue;
  56. }
  57. }
  58. //标签
  59. .tag_fill{
  60. display: flex;
  61. align-items: center;
  62. border-radius: 6rpx;
  63. background-color: $color-blue;
  64. padding: 5rpx 16rpx;
  65. .tag_text {
  66. font-size: 24rpx;
  67. color: #FFF;
  68. }
  69. }
  70. //卡片
  71. .card_view {
  72. display: flex;
  73. flex-flow: row wrap;
  74. margin: 20rpx;
  75. justify-content: space-between;
  76. .card_item {
  77. margin: 2% 0;
  78. width: 48%;
  79. height: auto;
  80. display: flex;
  81. flex-direction: column;
  82. background-color: #FFF;
  83. border-radius: $border-radius;
  84. overflow: hidden;
  85. z-index: 55;
  86. .card_title {
  87. display: flex;
  88. align-items: center;
  89. padding: 20rpx;
  90. z-index: 55;
  91. .title {
  92. font-size: 32rpx;
  93. line-height: 40rpx;
  94. }
  95. }
  96. }
  97. }
  98. //横向flex布局
  99. .flex_row{
  100. display:flex;
  101. align-items: center;
  102. }
  103. //竖向flex布局
  104. .flex_cloumn{
  105. display:flex;
  106. flex-direction: column;
  107. }
  108. //横向baseline布局
  109. .flex_baseline{
  110. display: flex;
  111. align-items: baseline;
  112. }
  113. //插画
  114. .detail_image {
  115. width: 100%;
  116. height: 450rpx;
  117. background-size: cover; //背景图片自适应
  118. background-repeat: no-repeat;
  119. z-index: 50;
  120. }
  121. //图标
  122. .t-icon {
  123. display: inline-block;
  124. width: 40rpx;
  125. height: 40rpx;
  126. background-repeat: no-repeat;
  127. background-position: center;
  128. background-size: 100%;
  129. }
  130. //头部背景
  131. .bg_box {
  132. position: fixed;
  133. width: 100%;
  134. height: 800rpx;
  135. background-size: 100%;
  136. background-repeat: no-repeat;
  137. background-image: linear-gradient(to top, #f3f4f9, rgba(255, 255, 255, 0) 45%),url('https://image.meiye.art/pic_1628634662880');
  138. // left: 50%;
  139. // right: 50%;
  140. // transform: translate(-50%, -30%);
  141. // height: 1200rpx;
  142. // width: 2300rpx;
  143. // border-radius: 50%;
  144. // transform: rotate(15deg);
  145. // background: radial-gradient(100% 225% at 100% 0%, #FF4040 0%, #000000 100%), linear-gradient(236deg, #00C2FF 0%, #000000 100%), linear-gradient(135deg, #CDFFEB 0%, #CDFFEB 36%, #009F9D 36%, #009F9D 60%, #07456F 60%, #07456F 67%, #0F0A3C 67%, #0F0A3C 100%);
  146. // background-blend-mode: overlay, hard-light, normal;
  147. }
  148. .bg_card{
  149. position: fixed;
  150. width: 100%;
  151. height: 800rpx;
  152. background-size: 100%;
  153. background-repeat: no-repeat;
  154. background-image: linear-gradient(to top, #f3f4f9, rgba(255, 255, 255, 0) 45%),url('https://image.meiye.art/pic_1628634712718');
  155. // position: fixed;
  156. // left: 50%;
  157. // right: 50%;
  158. // transform: translate(-50%, -30%);
  159. // height: 1200rpx;
  160. // width: 2300rpx;
  161. // border-radius: 50%;
  162. // background: linear-gradient(140.54deg, #608D00 0%, #D30000 72.37%), linear-gradient(58.72deg, #0029FF 0%, #8FFF00 100%), radial-gradient(100% 164.72% at 100% 100%, #6100FF 0%, #00FF57 100%), radial-gradient(100% 148.07% at 0% 0%, #FFF500 0%, #51D500 100%);
  163. // background-blend-mode: color-dodge, overlay, difference, normal;
  164. }