index.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. .tianjia {
  28. position: absolute;
  29. top: 24rpx;
  30. right: 24rpx;
  31. font-size: 38rpx;
  32. }
  33. .bases_search {
  34. width: 100%;
  35. position: fixed;
  36. top: 84px;
  37. z-index: 100;
  38. background-color: #FFFFFF;
  39. }
  40. .bases_search .bases_search_text {
  41. width: 90%;
  42. margin: 0 auto;
  43. background-color: #F8F8F8;
  44. height: 60rpx;
  45. border-radius: 30rpx;
  46. display: flex;
  47. line-height: 60rpx;
  48. }
  49. .bases_search .bases_search_text .search {
  50. padding: 0 20rpx;
  51. font-size: 34rpx;
  52. }
  53. .bases_search .bases_search_text input {
  54. width: 80%;
  55. margin-top: 10rpx;
  56. font-size: 28rpx;
  57. }
  58. .bases_none {
  59. width: 100%;
  60. position: relative;
  61. top: 200rpx;
  62. font-size: 36rpx;
  63. text-align: center;
  64. }
  65. .bases {
  66. width: 100%;
  67. height: 90%;
  68. position: relative;
  69. top: 170rpx;
  70. margin-bottom: 100rpx;
  71. }
  72. .bases .bases_list {
  73. width: 90%;
  74. margin: 0 auto 20rpx;
  75. height: 276rpx;
  76. position: relative;
  77. }
  78. .bases .bases_list .bases_list_bgi .bgcolor {
  79. width: 100%;
  80. height: 276rpx;
  81. background-color: rgba(0, 0, 0, 0.3);
  82. border-radius: 25rpx;
  83. }
  84. .bases .bases_list .bases_list_bgi image {
  85. position: absolute;
  86. top: 0;
  87. left: 0;
  88. width: 100%;
  89. height: 276rpx;
  90. border-radius: 25rpx;
  91. z-index: -1;
  92. }
  93. .bases .bases_list .bases_list_text {
  94. width: 100%;
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. z-index: 10;
  99. padding: 40rpx;
  100. color: #FFFFFF;
  101. box-sizing: border-box;
  102. }
  103. .bases .bases_list .bases_list_text ._p:first-child {
  104. font-size: 36rpx;
  105. width: 80%;
  106. }
  107. .bases .bases_list .bases_list_text ._p:nth-child(3) {
  108. width: 70%;
  109. }
  110. .bases .bases_list .bases_list_text ._p:last-child {
  111. width: 70%;
  112. }
  113. .bases .bases_list .bases_list_text ._p {
  114. margin-bottom: 10rpx;
  115. overflow: hidden;
  116. white-space: nowrap;
  117. text-overflow: ellipsis;
  118. }
  119. .bases .bases_list .bases_list_xiangqing {
  120. position: absolute;
  121. top: 20rpx;
  122. right: 20rpx;
  123. -webkit-transform: rotate(90deg);
  124. transform: rotate(90deg);
  125. font-size: 26rpx;
  126. color: #FFFFFF;
  127. width: 40rpx;
  128. height: 40rpx;
  129. z-index: 99999;
  130. }
  131. .bases .bases_list .photoshow {
  132. width: 160rpx;
  133. height: 34rpx;
  134. display: flex;
  135. position: absolute;
  136. bottom: 26rpx;
  137. right: 36rpx;
  138. background-color: #a7a8a0;
  139. border-radius: 18rpx;
  140. padding: 4rpx;
  141. }
  142. .bases .bases_list .photoshow image {
  143. width: 32rpx;
  144. height: 32rpx;
  145. margin-right: 4rpx;
  146. }
  147. .bases .bases_list .photoshow .photoshow_num {
  148. width: 50rpx;
  149. height: 30rpx;
  150. border: 1px solid #FFFFFF;
  151. border-radius: 17rpx;
  152. text-align: center;
  153. line-height: 28rpx;
  154. font-size: 24rpx;
  155. color: #FFFFFF;
  156. }
  157. .top {
  158. position: fixed;
  159. right: 30px;
  160. bottom: 100px;
  161. z-index: 100;
  162. }
  163. .top image {
  164. width: 100rpx;
  165. height: 100rpx;
  166. }
  167. .addindent {
  168. width: 100%;
  169. position: fixed;
  170. bottom: 0;
  171. left: 0;
  172. height: 80rpx;
  173. text-align: center;
  174. line-height: 80rpx;
  175. background-color: #71cd9a;
  176. color: #ffffff;
  177. font-size: 16px;
  178. z-index: 100;
  179. }