server.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .server {
  28. height: 100vh;
  29. background: url(/pagesB/static/bj.png) no-repeat;
  30. background-size: cover;
  31. }
  32. .server .server_head {
  33. padding: 0 30rpx;
  34. margin-bottom: 127rpx;
  35. }
  36. .server .server_head image {
  37. width: 44rpx;
  38. height: 44rpx;
  39. }
  40. .server .server_head text {
  41. color: #FFFFFF;
  42. font-size: 36rpx;
  43. font-weight: bold;
  44. }
  45. .server .server_head text:last-child {
  46. width: 44rpx;
  47. }
  48. .server .server_main {
  49. flex-direction: column;
  50. }
  51. .server .server_main_box {
  52. width: 525rpx;
  53. display: flex;
  54. align-items: center;
  55. flex-direction: column;
  56. background: #F2F2F2;
  57. border-radius: 34rpx;
  58. }
  59. .server .server_main_box .server_main_head {
  60. width: 132rpx;
  61. height: 132rpx;
  62. margin-bottom: 32rpx;
  63. margin-top: -66rpx;
  64. }
  65. .server .server_main_box .server_main_head image {
  66. border-radius: 50%;
  67. }
  68. .server .server_main_box .server_main_name {
  69. display: flex;
  70. margin-bottom: 24rpx;
  71. flex-direction: column;
  72. }
  73. .server .server_main_box .server_main_name text:first-child {
  74. font-size: 46rpx;
  75. font-weight: bold;
  76. }
  77. .server .server_main_box .server_main_name text:last-child {
  78. color: #666666;
  79. font-size: 30rpx;
  80. margin-top: 23rpx;
  81. }
  82. .server .server_main_box .server_main_img {
  83. width: 430rpx;
  84. height: 430rpx;
  85. }
  86. .server .server_main_box .server_main_txt {
  87. color: #999999;
  88. font-size: 30rpx;
  89. padding: 20rpx 0 30rpx 0;
  90. }
  91. .server .server-download {
  92. width: 523rpx;
  93. height: 89rpx;
  94. margin-top: 30rpx;
  95. background: #FFFFFF;
  96. border-radius: 18rpx;
  97. }
  98. .server .server-download image {
  99. width: 42rpx;
  100. height: 42rpx;
  101. margin-right: 10rpx;
  102. }
  103. .server .server-download text {
  104. font-size: 30rpx;
  105. font-weight: bold;
  106. }
  107. .kf-container {
  108. width: 100vw;
  109. height: 100vh;
  110. display: flex;
  111. flex-direction: column;
  112. }
  113. .kf-container .server_title {
  114. width: 100%;
  115. position: -webkit-sticky;
  116. position: sticky;
  117. top: 0;
  118. z-index: 2021;
  119. }
  120. .kf-container .server_title .server_nav {
  121. width: 100%;
  122. }
  123. .kf-container .server_title .server-title_head {
  124. width: 100%;
  125. height: 88rpx;
  126. padding: 0 30rpx;
  127. background: #FFFFFF;
  128. }
  129. .kf-container .server_title .server-title_head .server_title_return {
  130. width: 44rpx;
  131. height: 44rpx;
  132. }
  133. .kf-container .server_title .server-title_head .server_title_name {
  134. width: 466rpx;
  135. text-align: center;
  136. overflow: hidden;
  137. text-overflow: ellipsis;
  138. white-space: nowrap;
  139. font-size: 36rpx;
  140. font-weight: bold;
  141. }
  142. .kf-container .server_title .server-title_head .server_title_mp3 {
  143. width: 44rpx;
  144. height: 44rpx;
  145. }
  146. .kf-container ._iframe {
  147. flex: 1;
  148. border: 0;
  149. height: 100%;
  150. width: 100%;
  151. }