location.wxss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* pages/home/location/location.wxss */
  2. page {
  3. height: 100%;
  4. }
  5. .list-city {
  6. -webkit-overflow-scrolling: touch;
  7. width: 100%;
  8. height: 100%;
  9. position: relative;
  10. overflow-y: auto;
  11. background: #fff;
  12. }
  13. .city-py {
  14. position: fixed;
  15. top: 50%;
  16. right: 0;
  17. margin-top: -360rpx;
  18. }
  19. .city-py view {
  20. font-size: 26rpx;
  21. width: 60rpx;
  22. height: 14px;
  23. line-height: 14px;
  24. text-align: center;
  25. color: #555;
  26. }
  27. .showPy {
  28. width: 150rpx;
  29. height: 150rpx;
  30. background: #fff;
  31. border-radius: 15rpx;
  32. line-height: 150rpx;
  33. text-align: center;
  34. font-size: 80rpx;
  35. margin: auto;
  36. position: absolute;
  37. top: 0;
  38. left: 0;
  39. bottom: 0;
  40. right: 0;
  41. z-index: 3;
  42. color: #333;
  43. box-shadow: 0 0 150rpx rgba(0, 0, 0, 0.35);
  44. }
  45. .py {
  46. box-sizing: border-box;
  47. background: #F5F5F5;
  48. font-size: 26rpx;
  49. color: #aaa;
  50. padding: 10rpx 25rpx;
  51. }
  52. .fullname {
  53. box-sizing: border-box;
  54. font-size: 34rpx;
  55. color: #333333;
  56. padding: 25rpx;
  57. border-bottom: 1rpx solid #eee;
  58. }
  59. .hot-city {
  60. padding: 10rpx 30rpx;
  61. border: 1rpx solid #eee;
  62. color: #333333;
  63. background: #FFF;
  64. display: inline-block;
  65. box-sizing: border-box;
  66. margin: 25rpx 0 0 25rpx;
  67. font-size: 28rpx;
  68. border-radius: 4px;
  69. }
  70. .item:nth-child(1),
  71. .item:nth-child(2){
  72. background: #F5F5F5;
  73. }