selectCampus.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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 {
  28. height: 100%;
  29. background: #FFFFFF;
  30. }
  31. .page {
  32. height: 100%;
  33. overflow: hidden;
  34. }
  35. .search-bar {
  36. display: flex;
  37. align-items: center;
  38. position: relative;
  39. padding: 27rpx 30rpx 35rpx;
  40. background-color: #fff;
  41. }
  42. .search-bar-form {
  43. flex: 1;
  44. position: relative;
  45. border-radius: 32rpx;
  46. background: #f2f5f7;
  47. }
  48. .search-bar-box {
  49. display: flex;
  50. align-items: center;
  51. position: relative;
  52. padding-left: 20rpx;
  53. padding-right: 20rpx;
  54. height: 64rpx;
  55. z-index: 1;
  56. }
  57. .search-bar-input {
  58. line-height: normal;
  59. width: 100%;
  60. padding-left: 20rpx;
  61. font-size: 30rpx;
  62. color: #333;
  63. }
  64. .phcolor {
  65. font-size: 30rpx;
  66. }
  67. .icon-clear {
  68. height: 38rpx;
  69. }
  70. .icon-clear .tui-icon-class {
  71. display: block;
  72. }
  73. .search-bar-label {
  74. height: 64rpx;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. position: absolute;
  79. top: 0;
  80. right: 0;
  81. bottom: 0;
  82. left: 0;
  83. z-index: 2;
  84. border-radius: 32rpx;
  85. color: #ccc;
  86. background: #f2f5f7;
  87. }
  88. .icon-search {
  89. position: relative;
  90. height: 26rpx;
  91. margin-right: 20rpx;
  92. font-size: inherit;
  93. }
  94. .search-bar-text {
  95. font-size: 30rpx;
  96. line-height: 32rpx;
  97. }
  98. .cancel-btn {
  99. padding-left: 30rpx;
  100. }
  101. .search-result::before {
  102. display: none;
  103. }
  104. .search-result::after {
  105. display: none;
  106. }
  107. .tui-list-cell-navigate {
  108. font-size: 30rpx;
  109. color: #333;
  110. font-weight: 800;
  111. }
  112. .tui-list-cell-navigate::after {
  113. content: '';
  114. position: absolute;
  115. border-bottom: 1rpx solid #eaeef1;
  116. -webkit-transform: scaleY(0.5);
  117. transform: scaleY(0.5);
  118. bottom: 0;
  119. right: 0;
  120. left: 30rpx;
  121. }
  122. .current-city {
  123. padding: 0 30rpx 30rpx;
  124. background: #fff;
  125. }
  126. .tui-icon-class {
  127. margin-right: 10rpx;
  128. }
  129. .current-city .title {
  130. font-size: 28rpx;
  131. line-height: 24rpx;
  132. color: #333333;
  133. }
  134. .box {
  135. background: #F5F5F5;
  136. border-radius: 10rpx;
  137. width: 686rpx;
  138. }
  139. .city-name {
  140. display: flex;
  141. align-items: center;
  142. font-size: 30rpx;
  143. font-weight: bold;
  144. line-height: 30rpx;
  145. color: #333;
  146. }
  147. .hot-city .title {
  148. height: 48rpx !important;
  149. padding-left: 30rpx;
  150. font-size: 24rpx !important;
  151. line-height: 48rpx !important;
  152. color: #999;
  153. background: #f2f5f7 !important;
  154. }
  155. .city-names {
  156. display: flex;
  157. flex-wrap: wrap;
  158. justify-content: space-between;
  159. align-content: space-between;
  160. padding: 12rpx 90rpx 26rpx 30rpx;
  161. background: #fff;
  162. }
  163. .city-name-item {
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. width: 140rpx;
  168. height: 56rpx;
  169. margin-top: 16rpx;
  170. /* border: solid 1rpx #ccc; */
  171. border-radius: 28rpx;
  172. font-size: 28rpx;
  173. color: #333;
  174. position: relative;
  175. }
  176. .city-name-item::before {
  177. content: "";
  178. position: absolute;
  179. width: 200%;
  180. height: 200%;
  181. -webkit-transform-origin: 0 0;
  182. transform-origin: 0 0;
  183. -webkit-transform: scale(0.5, 0.5);
  184. transform: scale(0.5, 0.5);
  185. box-sizing: border-box;
  186. left: 0;
  187. top: 0;
  188. border-radius: 56rpx;
  189. border: 1px solid #ccc;
  190. }
  191. .tap-city {
  192. color: #fff;
  193. background: #5677fc;
  194. /* border: solid 1rpx #5677fc; */
  195. }
  196. .tui-list {
  197. background-color: #fff;
  198. position: relative;
  199. width: 100%;
  200. display: flex;
  201. flex-direction: column;
  202. padding-bottom: env(safe-area-inset-bottom);
  203. }
  204. .tui-list-cell-divider {
  205. height: 48rpx;
  206. padding-left: 30rpx;
  207. font-size: 24rpx;
  208. color: #999;
  209. background: #f2f5f7;
  210. padding: 0 30rpx;
  211. display: flex;
  212. align-items: center;
  213. }
  214. .tui-indexed-list-bar {
  215. display: flex;
  216. flex-direction: column;
  217. align-items: center;
  218. justify-content: flex-start;
  219. z-index: 9999;
  220. position: absolute;
  221. top: 132rpx;
  222. right: 0;
  223. padding-right: 10rpx;
  224. width: 44rpx;
  225. }
  226. .tui-indexed-list-text {
  227. font-size: 22rpx;
  228. white-space: nowrap;
  229. }
  230. .tui-indexed-list-bar.active {
  231. background-color: #c8c8c8;
  232. }
  233. .tui-indexed-list-alert {
  234. position: absolute;
  235. z-index: 20;
  236. width: 160rpx;
  237. height: 160rpx;
  238. left: 50%;
  239. top: 50%;
  240. margin-left: -80rpx;
  241. margin-top: -80rpx;
  242. border-radius: 80rpx;
  243. text-align: center;
  244. line-height: 160rpx;
  245. font-size: 70rpx;
  246. color: #fff;
  247. background-color: rgba(0, 0, 0, 0.5);
  248. }
  249. /* 添加收货地址 */
  250. .btn {
  251. position: fixed;
  252. bottom: 0rpx;
  253. width: 100%;
  254. height: 100rpx;
  255. line-height: 100rpx;
  256. background-color: white;
  257. padding-top: 10rpx;
  258. }
  259. .address_push {
  260. width: 90%;
  261. height: 80rpx;
  262. margin: 0 auto;
  263. background: #FCD202;
  264. border-radius: 20rpx;
  265. color: white;
  266. text-align: center;
  267. line-height: 80rpx;
  268. font-size: 35rpx;
  269. }