hyc.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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">
  13. 创始人
  14. </view>
  15. </view>
  16. <view class="info">
  17. <view class="info-tit">
  18. 价格:
  19. </view>
  20. <view class="info-val">
  21. 创始人
  22. </view>
  23. </view>
  24. <view class="info">
  25. <view class="info-tit">
  26. 赠送:
  27. </view>
  28. <view class="info-val">
  29. 创始人
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {
  40. type: ''
  41. }
  42. },
  43. onLoad(opt) {
  44. },
  45. onShow() {
  46. },
  47. onReachBottom() {
  48. },
  49. onReady() {
  50. },
  51. methods: {
  52. navto(url) {
  53. uni.navigateTo({
  54. url
  55. })
  56. }
  57. }
  58. }
  59. </script>
  60. <style lang="scss">
  61. .gq-list {
  62. display: flex;
  63. flex-wrap: wrap;
  64. justify-content: flex-start;
  65. // justify-content: space-between;
  66. padding: 20rpx 0 20rpx 20rpx;
  67. }
  68. .gq-item {
  69. margin: 0 0 20rpx 14rpx;
  70. width: 227rpx;
  71. height: 351rpx;
  72. background: #FFFFFF;
  73. box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
  74. border-radius: 10rpx;
  75. display: flex;
  76. flex-direction: column;
  77. align-items: center;
  78. justify-content: space-between;
  79. padding: 30rpx 14rpx 20rpx;
  80. .gq-logo {
  81. width: 182rpx;
  82. height: 192rpx;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. image {
  87. width: 182rpx;
  88. height: 192rpx;
  89. background-color: #eee;
  90. }
  91. }
  92. .store-name {
  93. padding-top: 10rpx;
  94. text-align: center;
  95. width: 100%;
  96. font-size: 26rpx;
  97. font-weight: 500;
  98. color: #262261;
  99. overflow: hidden;
  100. }
  101. .info {
  102. width: 100%;
  103. display: flex;
  104. padding: 5rpx 0;
  105. .info-tit {
  106. font-size: 18rpx;
  107. flex-shrink: 0;
  108. }
  109. .info-val {
  110. text-align: center;
  111. font-size: 20rpx;
  112. width: 140rpx;
  113. border-bottom: 1px #C7C7C7 solid;
  114. }
  115. }
  116. }
  117. </style>