server.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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(https://www.chaomangdao.com/image/bj.png) no-repeat;
  30. background-size: cover;
  31. padding-top: 95rpx;
  32. }
  33. .server .server_head {
  34. padding: 0 30rpx;
  35. margin-bottom: 127rpx;
  36. }
  37. .server .server_head image {
  38. width: 44rpx;
  39. height: 44rpx;
  40. }
  41. .server .server_head text {
  42. color: #ffffff;
  43. font-size: 36rpx;
  44. font-weight: bold;
  45. }
  46. .server .server_head text:last-child {
  47. width: 44rpx;
  48. }
  49. .server .server_main {
  50. flex-direction: column;
  51. }
  52. .server .server_main_box {
  53. width: 525rpx;
  54. display: flex;
  55. align-items: center;
  56. flex-direction: column;
  57. background: #f2f2f2;
  58. border-radius: 34rpx;
  59. }
  60. .server .server_main_box .server_main_head {
  61. width: 132rpx;
  62. height: 132rpx;
  63. margin-bottom: 32rpx;
  64. margin-top: -66rpx;
  65. }
  66. .server .server_main_box .server_main_head image {
  67. border-radius: 50%;
  68. }
  69. .server .server_main_box .server_main_name {
  70. display: flex;
  71. margin-bottom: 24rpx;
  72. flex-direction: column;
  73. }
  74. .server .server_main_box .server_main_name text:first-child {
  75. font-size: 46rpx;
  76. font-weight: bold;
  77. }
  78. .server .server_main_box .server_main_name text:last-child {
  79. color: #666666;
  80. font-size: 30rpx;
  81. margin-top: 23rpx;
  82. }
  83. .server .server_main_box .server_main_img {
  84. width: 430rpx;
  85. height: 430rpx;
  86. }
  87. .server .server_main_box .server_main_txt {
  88. color: #999999;
  89. font-size: 30rpx;
  90. padding: 20rpx 0 30rpx 0;
  91. }
  92. .server .server-download {
  93. width: 523rpx;
  94. height: 89rpx;
  95. margin-top: 30rpx;
  96. background: #ffffff;
  97. border-radius: 18rpx;
  98. }
  99. .server .server-download image {
  100. width: 42rpx;
  101. height: 42rpx;
  102. margin-right: 10rpx;
  103. }
  104. .server .server-download text {
  105. font-size: 30rpx;
  106. font-weight: bold;
  107. }
  108. .kf-container {
  109. width: 100vw;
  110. height: 100vh;
  111. display: flex;
  112. flex-direction: column;
  113. }
  114. .kf-container .server_title {
  115. width: 100%;
  116. position: -webkit-sticky;
  117. position: sticky;
  118. top: 0;
  119. z-index: 2021;
  120. }
  121. .kf-container .server_title .server_nav {
  122. width: 100%;
  123. }
  124. .kf-container .server_title .server-title_head {
  125. width: 100%;
  126. height: 88rpx;
  127. padding: 0 30rpx;
  128. background: #ffffff;
  129. }
  130. .kf-container .server_title .server-title_head .server_title_return {
  131. width: 44rpx;
  132. height: 44rpx;
  133. }
  134. .kf-container .server_title .server-title_head .server_title_name {
  135. width: 466rpx;
  136. text-align: center;
  137. overflow: hidden;
  138. text-overflow: ellipsis;
  139. white-space: nowrap;
  140. font-size: 36rpx;
  141. font-weight: bold;
  142. }
  143. .kf-container .server_title .server-title_head .server_title_mp3 {
  144. width: 44rpx;
  145. height: 44rpx;
  146. }
  147. .kf-container ._iframe {
  148. flex: 1;
  149. border: 0;
  150. height: 100%;
  151. width: 100%;
  152. }