index.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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: 88px;
  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: -webkit-box;
  47. display: -webkit-flex;
  48. display: flex;
  49. line-height: 60rpx;
  50. }
  51. .bases_search .bases_search_text .search {
  52. padding: 0 20rpx;
  53. font-size: 34rpx;
  54. }
  55. .bases_search .bases_search_text input {
  56. width: 80%;
  57. margin-top: 10rpx;
  58. font-size: 28rpx;
  59. }
  60. .bases {
  61. width: 100%;
  62. position: relative;
  63. top: 170rpx;
  64. }
  65. .bases .bases_list {
  66. width: 90%;
  67. margin: 0 auto 20rpx;
  68. height: 276rpx;
  69. position: relative;
  70. }
  71. .bases .bases_list .bases_list_bgi .bgcolor {
  72. width: 100%;
  73. height: 276rpx;
  74. background-color: rgba(0, 0, 0, 0.3);
  75. border-radius: 25rpx;
  76. }
  77. .bases .bases_list .bases_list_bgi image {
  78. position: absolute;
  79. top: 0;
  80. left: 0;
  81. width: 100%;
  82. height: 276rpx;
  83. border-radius: 25rpx;
  84. z-index: -1;
  85. }
  86. .bases .bases_list .bases_list_text {
  87. position: absolute;
  88. top: 0;
  89. left: 0;
  90. z-index: 10;
  91. padding: 40rpx;
  92. color: #FFFFFF;
  93. }
  94. .bases .bases_list .bases_list_text ._p {
  95. margin-bottom: 10rpx;
  96. }
  97. .bases .bases_list .bases_list_xiangqing {
  98. position: absolute;
  99. top: 20rpx;
  100. right: 20rpx;
  101. -webkit-transform: rotate(90deg);
  102. transform: rotate(90deg);
  103. font-size: 26rpx;
  104. color: #FFFFFF;
  105. }
  106. .bases .bases_list .photoshow {
  107. width: 160rpx;
  108. height: 34rpx;
  109. display: -webkit-box;
  110. display: -webkit-flex;
  111. display: flex;
  112. position: absolute;
  113. bottom: 26rpx;
  114. right: 36rpx;
  115. background-color: #a7a8a0;
  116. border-radius: 18rpx;
  117. padding: 4rpx;
  118. }
  119. .bases .bases_list .photoshow image {
  120. width: 32rpx;
  121. height: 32rpx;
  122. margin-right: 4rpx;
  123. }
  124. .bases .bases_list .photoshow .photoshow_num {
  125. width: 50rpx;
  126. height: 30rpx;
  127. border: 1px solid #FFFFFF;
  128. border-radius: 17rpx;
  129. text-align: center;
  130. line-height: 28rpx;
  131. font-size: 24rpx;
  132. color: #FFFFFF;
  133. }
  134. .top {
  135. position: fixed;
  136. right: 30px;
  137. bottom: 100px;
  138. z-index: 100;
  139. }
  140. .top image {
  141. width: 100rpx;
  142. height: 100rpx;
  143. }