建材商城系统20241014
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

242 lines
4.0 KiB

7 months ago
  1. <template>
  2. <view class="page">
  3. <PrivacyAgreementPoup/>
  4. <tabber select="0"/>
  5. </view>
  6. </template>
  7. <script>
  8. import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
  9. import tabber from '@/components/base/tabbar.vue'
  10. export default {
  11. components : {
  12. tabber,
  13. PrivacyAgreementPoup,
  14. },
  15. data() {
  16. return {
  17. }
  18. },
  19. computed : {
  20. },
  21. methods: {
  22. }
  23. }
  24. </script>
  25. <style scoped lang="scss">
  26. .search {
  27. height: 82rpx;
  28. width: 710rpx;
  29. background: #FFFFFF;
  30. margin: 20rpx auto;
  31. border-radius: 41rpx;
  32. box-sizing: border-box;
  33. padding: 0 15rpx;
  34. display: flex;
  35. align-items: center;
  36. // justify-content: space-between;
  37. .left-area,
  38. .center-area {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .left-area {
  43. max-width: 160rpx;
  44. image {
  45. flex-shrink: 0;
  46. width: 26rpx;
  47. height: 26rpx;
  48. }
  49. .area {
  50. font-size: 24rpx;
  51. display: -webkit-box;
  52. -webkit-line-clamp: 2;
  53. /* 限制显示两行 */
  54. -webkit-box-orient: vertical;
  55. overflow: hidden;
  56. text-overflow: ellipsis;
  57. color: #292929;
  58. }
  59. .parting-line {
  60. flex-shrink: 0;
  61. font-size: 26rpx;
  62. color: #ccc;
  63. margin: 0rpx 5rpx;
  64. }
  65. }
  66. .center-area {
  67. display: flex;
  68. flex-wrap: nowrap;
  69. align-items: center;
  70. width: calc(100% - 290rpx);
  71. margin-left: 30rpx;
  72. image {
  73. width: 26rpx;
  74. height: 26rpx;
  75. }
  76. .van-field {
  77. background-color: transparent;
  78. box-sizing: border-box;
  79. height: 82rpx;
  80. line-height: 82rpx;
  81. width: calc(100% - 30rpx);
  82. padding: 0rpx 10rpx 0rpx 0rpx;
  83. input {
  84. height: 82rpx;
  85. font-size: 60rpx;
  86. }
  87. }
  88. }
  89. .right-area {
  90. .search-button {
  91. background: #60BDA2;
  92. height: 60rpx;
  93. width: 130rpx;
  94. font-size: 26rpx;
  95. border-radius: 35rpx;
  96. color: white;
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. }
  101. }
  102. }
  103. .swipe{
  104. overflow: hidden;
  105. border-radius: 20rpx;
  106. margin: 20rpx;
  107. }
  108. .page{
  109. & /deep/ .uv-icon__icon{
  110. font-size: 30rpx !important;
  111. }
  112. // 水洗店
  113. .userShop{
  114. .list{
  115. display: flex;
  116. flex-wrap: wrap;
  117. .item{
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. width: 330rpx;
  122. margin: 20rpx;
  123. padding: 30rpx 0;
  124. color: #FFFFFF;
  125. line-height: 50rpx;
  126. border-radius: 20rpx;
  127. font-size: 28rpx;
  128. .num{
  129. font-size: 38rpx;
  130. font-weight: 900;
  131. }
  132. image{
  133. width: 110rpx;
  134. height: 110rpx;
  135. margin-left: 20rpx;
  136. }
  137. &:nth-child(1){
  138. background: #F07A77;
  139. }
  140. &:nth-child(2){
  141. background: #F48B4E;
  142. }
  143. &:nth-child(3){
  144. background: #6487E1;
  145. }
  146. &:nth-child(4){
  147. background: #61B7E6;
  148. }
  149. }
  150. }
  151. }
  152. // 酒店
  153. .user{
  154. padding: 20rpx;
  155. .shop{
  156. position: relative;
  157. display: flex;
  158. align-items: center;
  159. justify-content: center;
  160. background-color: #fff;
  161. margin-top: 20rpx;
  162. border-radius: 20rpx;
  163. padding: 20rpx;
  164. overflow: hidden;
  165. .image{
  166. width: 180rpx;
  167. height: 180rpx;
  168. margin-right: 20rpx;
  169. border-radius: 20rpx;
  170. }
  171. .shopInfo{
  172. font-size: 22rpx;
  173. .title{
  174. font-size: 30rpx;
  175. }
  176. .tags{
  177. display: flex;
  178. .tag{
  179. padding: 4rpx 6rpx;
  180. border: 1rpx solid #FFAC6E;
  181. color: #FFAC6E;
  182. margin-right: 10rpx;
  183. margin-top: 10rpx;
  184. font-size: 18rpx;
  185. }
  186. }
  187. .time{
  188. margin-top: 10rpx;
  189. display: flex;
  190. }
  191. .address{
  192. margin-top: 10rpx;
  193. display: flex;
  194. }
  195. }
  196. .btns{
  197. margin-left: auto;
  198. display: flex;
  199. align-items: center;
  200. justify-content: center;
  201. .btn{
  202. background-color: $uni-color;
  203. color: #fff;
  204. box-shadow: 0 0 5rpx 5rpx #FFAC6E;
  205. padding: 10rpx 20rpx;
  206. flex-shrink: 0;
  207. border-radius: 35rpx;
  208. }
  209. }
  210. .tips{
  211. position: absolute;
  212. top: 0;
  213. right: 0;
  214. font-size: 24rpx;
  215. color: #FFAC6E;
  216. background-color: #FEF5EE;
  217. padding: 10rpx 20rpx;
  218. border-radius: 10rpx;
  219. }
  220. }
  221. }
  222. }
  223. </style>