item.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>
  49. </view>
  50. </view>
  51. </template>
  52. <script>
  53. export default {
  54. data() {
  55. return {
  56. type: ''
  57. }
  58. },
  59. onLoad(opt) {
  60. },
  61. onShow() {
  62. },
  63. onReachBottom() {
  64. },
  65. onReady() {
  66. },
  67. methods: {
  68. navto(url) {
  69. uni.navigateTo({
  70. url
  71. })
  72. }
  73. }
  74. }
  75. </script>
  76. <style lang="scss">
  77. .gq-list {
  78. display: flex;
  79. flex-wrap: wrap;
  80. justify-content: flex-start;
  81. // justify-content: space-between;
  82. padding: 20rpx 0 20rpx 20rpx;
  83. }
  84. .gq-item {
  85. margin: 0 0 20rpx 14rpx;
  86. width: 227rpx;
  87. // height: 425rpx;
  88. background: #FFFFFF;
  89. box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
  90. border-radius: 10rpx;
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. justify-content: space-between;
  95. padding: 15rpx 14rpx;
  96. .gq-logo {
  97. width: 182rpx;
  98. height: 192rpx;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. margin-bottom: 20rpx;
  103. image {
  104. width: 182rpx;
  105. height: 192rpx;
  106. background-color: #eee;
  107. }
  108. }
  109. .store-name {
  110. padding-top: 10rpx;
  111. text-align: center;
  112. width: 100%;
  113. font-size: 26rpx;
  114. font-weight: 500;
  115. color: #262261;
  116. overflow: hidden;
  117. }
  118. .info {
  119. width: 100%;
  120. display: flex;
  121. padding: 5rpx 0;
  122. .info-tit {
  123. font-size: 18rpx;
  124. flex-shrink: 0;
  125. }
  126. .info-val {
  127. flex-grow: 1;
  128. text-align: center;
  129. font-size: 20rpx;
  130. width: 140rpx;
  131. border-bottom: 1px #C7C7C7 solid;
  132. }
  133. }
  134. }
  135. </style>