list.acss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. page .list {
  28. padding: 30rpx;
  29. background: #F6F6F6;
  30. height: 100vh;
  31. }
  32. page .list .search {
  33. width: 690rpx;
  34. height: 80rpx;
  35. background: #FFFFFF;
  36. box-shadow: 0px 2rpx 9rpx 4rpx rgba(99, 99, 99, 0.1);
  37. border-radius: 40rpx;
  38. display: flex;
  39. flex-direction: row;
  40. justify-content: space-around;
  41. align-items: center;
  42. }
  43. page .list .search .dist_search {
  44. height: 80rpx;
  45. max-width: 130rpx;
  46. white-space: nowrap;
  47. display: flex;
  48. margin-left: 20rpx;
  49. }
  50. page .list .search .dist_search .district {
  51. height: 80rpx;
  52. font-size: 28rpx;
  53. font-weight: bold;
  54. color: #111111;
  55. line-height: 80rpx;
  56. overflow: hidden;
  57. white-space: nowrap;
  58. text-overflow: ellipsis;
  59. max-width: 110rpx;
  60. }
  61. page .list .search .dist_search > .icon {
  62. background: url(/static/icon/1_b01_down.2x.png) no-repeat 0px 0px;
  63. background-size: 100% 100%;
  64. width: 13rpx;
  65. height: 8rpx;
  66. line-height: 80rpx;
  67. margin-top: 38rpx;
  68. margin-left: 10rpx;
  69. }
  70. page .list .search .separate {
  71. width: 0rpx;
  72. height: 35rpx;
  73. border: 1rpx solid #CCCCCC;
  74. box-sizing: border-box;
  75. }
  76. page .list .search .inp {
  77. width: 450rpx;
  78. height: 80rpx;
  79. }
  80. page .list .search .inp .icon {
  81. display: inline-block;
  82. background: url(/static/icon/1_b01_search.2x.png) no-repeat 0px 0px;
  83. background-size: 100% 100%;
  84. width: 26rpx;
  85. height: 26rpx;
  86. margin-bottom: 25rpx;
  87. }
  88. page .list .search .inp > input {
  89. display: inline-block;
  90. margin-left: 20rpx;
  91. width: 310rpx;
  92. height: 80rpx;
  93. line-height: 80rpx;
  94. background: none;
  95. outline: none;
  96. border: none;
  97. }
  98. page .list .postion {
  99. margin: 30rpx 30rpx 0 30rpx;
  100. }
  101. page .list .postion .icon {
  102. background: url(/static/icon/1_b01_location.2x.png) no-repeat 0px 0px;
  103. background-size: 100% 100%;
  104. width: 33rpx;
  105. height: 35rpx;
  106. display: inline-block;
  107. }
  108. page .list .postion .current {
  109. margin-left: 20rpx;
  110. display: inline-block;
  111. height: 40rpx;
  112. font-size: 28rpx;
  113. color: #868686;
  114. line-height: 40rpx;
  115. max-width: 550rpx;
  116. overflow: hidden;
  117. white-space: nowrap;
  118. text-overflow: ellipsis;
  119. }
  120. page .list .postion .refresh {
  121. background: url(/static/icon/icon_shuaxin.2x.png) no-repeat 0px 0px;
  122. background-size: 100% 100%;
  123. margin-top: 5rpx;
  124. width: 27rpx;
  125. height: 27rpx;
  126. float: right;
  127. }
  128. page .list .collection {
  129. margin-top: 30rpx;
  130. }
  131. page .list .collection .station {
  132. margin-bottom: 30rpx;
  133. padding: 40rpx;
  134. width: 690rpx;
  135. height: 285rpx;
  136. background: #FFFFFF;
  137. box-shadow: 0px 2rpx 9rpx 4rpx rgba(99, 99, 99, 0.1);
  138. border-radius: 18rpx;
  139. box-sizing: border-box;
  140. }
  141. page .list .collection .station .content {
  142. display: flex;
  143. }
  144. page .list .collection .station .content > image {
  145. width: 155rpx;
  146. height: 155rpx;
  147. display: inline-block;
  148. }
  149. page .list .collection .station .content .detail {
  150. margin-left: 20rpx;
  151. width: 450rpx;
  152. height: 155rpx;
  153. display: inline-block;
  154. }
  155. page .list .collection .station .content .detail .name {
  156. height: 45rpx;
  157. font-size: 32rpx;
  158. font-weight: bold;
  159. color: #111111;
  160. line-height: 45rpx;
  161. overflow: hidden;
  162. white-space: nowrap;
  163. text-overflow: ellipsis;
  164. }
  165. page .list .collection .station .footer {
  166. margin-top: 40rpx;
  167. display: flex;
  168. justify-content: space-around;
  169. }
  170. page .list .collection .station .footer .gothere {
  171. height: 40rpx;
  172. width: 250rpx;
  173. font-size: 28rpx;
  174. font-weight: bold;
  175. color: #6c6c6c;
  176. line-height: 40rpx;
  177. text-align: center;
  178. }
  179. page .list .collection .station .footer .separator {
  180. color: #CCCCCC;
  181. }
  182. page .list .collection .station .footer .gobuy {
  183. height: 40rpx;
  184. font-size: 28rpx;
  185. font-weight: bold;
  186. width: 250rpx;
  187. color: #F3B235;
  188. line-height: 40rpx;
  189. text-align: center;
  190. }