lc.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <template>
  2. <view class="content">
  3. <view class="gq-list">
  4. <view class="gq-item" v-for="item in 11">
  5. <view class="gq-logo">
  6. <image src="" mode="" class=""></image>
  7. </view>
  8. <view class="info">
  9. <view class="info-tit">
  10. 名称:
  11. </view>
  12. <view class="info-val clamp">
  13. 创始人
  14. </view>
  15. </view>
  16. <view class="info">
  17. <view class="info-tit">
  18. 价格:
  19. </view>
  20. <view class="info-val clamp">
  21. 创始人
  22. </view>
  23. </view>
  24. <view class="info">
  25. <view class="info-tit">
  26. 服务时间:
  27. </view>
  28. <view class="info-val clamp">
  29. 创始人
  30. </view>
  31. </view>
  32. <view class="info">
  33. <view class="info-tit">
  34. 可预约:
  35. </view>
  36. <view class="info-val clamp">
  37. 创始人
  38. </view>
  39. </view>
  40. <view class="info">
  41. <view class="info-tit">
  42. 可下单:
  43. </view>
  44. <view class="info-val clamp">
  45. 创始人
  46. </view>
  47. </view>
  48. <view class="info">
  49. <view class="info-tit">
  50. 备注:
  51. </view>
  52. <view class="info-val clamp">
  53. 创始人
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </template>
  60. <script>
  61. export default {
  62. data() {
  63. return {
  64. type: ''
  65. }
  66. },
  67. onLoad(opt) {
  68. },
  69. onShow() {
  70. },
  71. onReachBottom() {
  72. },
  73. onReady() {
  74. },
  75. methods: {
  76. navto(url) {
  77. uni.navigateTo({
  78. url
  79. })
  80. }
  81. }
  82. }
  83. </script>
  84. <style lang="scss">
  85. .gq-list {
  86. display: flex;
  87. flex-wrap: wrap;
  88. justify-content: flex-start;
  89. // justify-content: space-between;
  90. padding: 20rpx 0 20rpx 20rpx;
  91. }
  92. .gq-item {
  93. margin: 0 0 20rpx 14rpx;
  94. width: 227rpx;
  95. // height: 425rpx;
  96. background: #FFFFFF;
  97. box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
  98. border-radius: 10rpx;
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. justify-content: space-between;
  103. padding: 15rpx 14rpx;
  104. .gq-logo {
  105. width: 182rpx;
  106. height: 192rpx;
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. margin-bottom: 20rpx;
  111. image {
  112. width: 182rpx;
  113. height: 192rpx;
  114. background-color: #eee;
  115. }
  116. }
  117. .store-name {
  118. padding-top: 10rpx;
  119. text-align: center;
  120. width: 100%;
  121. font-size: 26rpx;
  122. font-weight: 500;
  123. color: #262261;
  124. overflow: hidden;
  125. }
  126. .info {
  127. width: 100%;
  128. display: flex;
  129. padding: 5rpx 0;
  130. .info-tit {
  131. font-size: 18rpx;
  132. flex-shrink: 0;
  133. }
  134. .info-val {
  135. flex-grow: 1;
  136. text-align: center;
  137. font-size: 20rpx;
  138. width: 140rpx;
  139. border-bottom: 1px #C7C7C7 solid;
  140. }
  141. }
  142. }
  143. </style>