index.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. position: relative;
  68. top: 170rpx;
  69. margin-bottom: 100rpx;
  70. }
  71. .bases .bases_list {
  72. width: 90%;
  73. margin: 0 auto 20rpx;
  74. height: 276rpx;
  75. position: relative;
  76. }
  77. .bases .bases_list .bases_list_bgi .bgcolor {
  78. width: 100%;
  79. height: 276rpx;
  80. background-color: rgba(0, 0, 0, 0.3);
  81. border-radius: 25rpx;
  82. }
  83. .bases .bases_list .bases_list_bgi image {
  84. position: absolute;
  85. top: 0;
  86. left: 0;
  87. width: 100%;
  88. height: 276rpx;
  89. border-radius: 25rpx;
  90. z-index: -1;
  91. }
  92. .bases .bases_list .bases_list_text {
  93. position: absolute;
  94. top: 0;
  95. left: 0;
  96. z-index: 10;
  97. padding: 40rpx;
  98. color: #FFFFFF;
  99. }
  100. .bases .bases_list .bases_list_text ._p {
  101. margin-bottom: 10rpx;
  102. }
  103. .bases .bases_list .bases_list_xiangqing {
  104. position: absolute;
  105. top: 20rpx;
  106. right: 20rpx;
  107. -webkit-transform: rotate(90deg);
  108. transform: rotate(90deg);
  109. font-size: 26rpx;
  110. color: #FFFFFF;
  111. }
  112. .bases .bases_list .photoshow {
  113. width: 160rpx;
  114. height: 34rpx;
  115. display: flex;
  116. position: absolute;
  117. bottom: 26rpx;
  118. right: 36rpx;
  119. background-color: #a7a8a0;
  120. border-radius: 18rpx;
  121. padding: 4rpx;
  122. }
  123. .bases .bases_list .photoshow image {
  124. width: 32rpx;
  125. height: 32rpx;
  126. margin-right: 4rpx;
  127. }
  128. .bases .bases_list .photoshow .photoshow_num {
  129. width: 50rpx;
  130. height: 30rpx;
  131. border: 1px solid #FFFFFF;
  132. border-radius: 17rpx;
  133. text-align: center;
  134. line-height: 28rpx;
  135. font-size: 24rpx;
  136. color: #FFFFFF;
  137. }
  138. .top {
  139. position: fixed;
  140. right: 30px;
  141. bottom: 100px;
  142. z-index: 100;
  143. }
  144. .top image {
  145. width: 100rpx;
  146. height: 100rpx;
  147. }
  148. .addindent {
  149. width: 100%;
  150. position: fixed;
  151. bottom: 0;
  152. left: 0;
  153. height: 80rpx;
  154. text-align: center;
  155. line-height: 80rpx;
  156. background-color: #71cd9a;
  157. color: #ffffff;
  158. font-size: 16px;
  159. z-index: 100;
  160. }