guquan.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <template>
  2. <view class="content">
  3. <view class="gq-list">
  4. <view class="gq-item" v-for="item in 11" @click="navto('/pagesT/user/gqDetail')">
  5. <image src="" mode="" class="gq-logo"></image>
  6. <view class="store-name ellipsis">
  7. 君海蓝(黄岩店)君海蓝(黄岩店)君海蓝(黄岩店)君海蓝(黄岩店)
  8. </view>
  9. <view class="gq-num ellipsis">
  10. 20股
  11. </view>
  12. <view class="gq-num ellipsis">
  13. 浙江省台州市椒江区市府大道400号1楼
  14. </view>
  15. </view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default {
  21. data() {
  22. return {
  23. }
  24. },
  25. onLoad() {
  26. },
  27. onShow() {
  28. },
  29. onReachBottom() {
  30. },
  31. onReady() {
  32. },
  33. methods: {
  34. navto(url) {
  35. uni.navigateTo({
  36. url
  37. })
  38. }
  39. }
  40. }
  41. </script>
  42. <style lang="scss">
  43. .gq-list {
  44. display: flex;
  45. flex-wrap: wrap;
  46. justify-content: flex-start;
  47. // justify-content: space-between;
  48. padding: 20rpx 0 20rpx 20rpx;
  49. }
  50. .gq-item {
  51. margin: 0 0 20rpx 14rpx;
  52. width: 227rpx;
  53. height: 351rpx;
  54. background: #FFFFFF;
  55. box-shadow: 0px 5rpx 5rpx 0px rgba(35, 24, 21, 0.06);
  56. border-radius: 10rpx;
  57. display: flex;
  58. flex-direction: column;
  59. align-items: center;
  60. justify-content: space-between;
  61. padding: 30rpx 14rpx;
  62. .gq-logo {
  63. width: 140rpx;
  64. height: 140rpx;
  65. background-color: #eee;
  66. }
  67. .store-name {
  68. padding-top: 10rpx;
  69. text-align: center;
  70. width: 100%;
  71. font-size: 26rpx;
  72. font-weight: 500;
  73. color: #262261;
  74. overflow: hidden;
  75. }
  76. .gq-num {
  77. text-decoration: underline;
  78. width: 100%;
  79. font-size: 18rpx;
  80. font-weight: 500;
  81. color: #666666;
  82. text-align: center;
  83. position: relative;
  84. padding-left: 50rpx;
  85. &::before {
  86. content: '股权:';
  87. text-align: left;
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. }
  92. }
  93. }
  94. </style>