index.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. page {
  2. background: #f6f6f6;
  3. .store {
  4. .current {
  5. .title {
  6. padding-left: 15rpx;
  7. line-height: 60rpx;
  8. color: #ffffff;
  9. // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333;
  10. background: #46a9a4;
  11. }
  12. .store {
  13. display: flex;
  14. padding: 15rpx;
  15. margin: 20rpx 30rpx;
  16. border: 5rpx solid #fff;
  17. border-radius: 10rpx;
  18. background: #46a9a4;
  19. color: #ffffff;
  20. box-shadow: 0 5rpx 8rpx rgb(0 0 0 / 20%);
  21. .cover {
  22. width: 200rpx;
  23. height: 200rpx;
  24. border: 6rpx solid #fff;
  25. box-sizing: border-box;
  26. image {
  27. width: 100%;
  28. height: 100%;
  29. }
  30. }
  31. .storeInfo {
  32. display: flex;
  33. flex-direction: column;
  34. justify-content: space-around;
  35. align-items: center;
  36. margin-left: 20rpx;
  37. }
  38. }
  39. .empty {
  40. min-height: 200rpx;
  41. margin: 20rpx 30rpx;
  42. text-align: center;
  43. line-height: 200rpx;
  44. font-size: 34rpx;
  45. border: 5rpx solid #fff;
  46. border-radius: 10rpx;
  47. color: #ffffff;
  48. // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333;
  49. background: #46a9a4;
  50. box-shadow: 0 5rpx 8rpx rgb(0 0 0 / 20%);
  51. }
  52. }
  53. .allStore {
  54. overflow: hidden;
  55. .title {
  56. padding-left: 15rpx;
  57. line-height: 80rpx;
  58. border: 5rpx solid #fff;
  59. color: #ffffff;
  60. // text-shadow: -2rpx 2rpx 0 #333, 2rpx 2rpx 0 #333, 2rpx -2rpx 0 #333, -2rpx -2rpx 0 #333;
  61. background: #46a9a4;
  62. }
  63. .storeList {
  64. float: left;
  65. display: flex;
  66. flex-wrap: wrap;
  67. flex-direction: column;
  68. align-items: center;
  69. width: calc(50% - 30rpx);
  70. margin-left: 20rpx;
  71. margin-top: 20rpx;
  72. border-radius: 10rpx;
  73. box-shadow: 0 5rpx 8rpx rgb(0 0 0 / 30%);
  74. overflow: hidden;
  75. >.cover {
  76. width: 100%;
  77. height: 200rpx;
  78. overflow: hidden;
  79. image {
  80. width: 100%;
  81. height: 100%;
  82. }
  83. }
  84. .storeInfo {
  85. position: relative;
  86. display: flex;
  87. flex-direction: column;
  88. justify-content: space-around;
  89. align-items: flex-end;
  90. width: 100%;
  91. background: #fff;
  92. .cover {
  93. position: absolute;
  94. top: -50rpx;
  95. left: 15rpx;
  96. width: 96rpx;
  97. height: 96rpx;
  98. border: 5rpx solid #fff;
  99. border-radius: 50%;
  100. overflow: hidden;
  101. box-shadow: 0 5rpx 10rpx rgb(0 0 0 / 30%);
  102. image {
  103. width: 100%;
  104. height: 100%;
  105. }
  106. }
  107. .storeName {
  108. margin: 10rpx 0;
  109. margin-right: 30rpx;
  110. color: #333;
  111. font-weight: bold;
  112. }
  113. .mobile {
  114. margin-right: 30rpx;
  115. font-size: 28rpx;
  116. }
  117. }
  118. transition: all .4s;
  119. }
  120. }
  121. }
  122. }