shish 3 лет назад
Родитель
Сommit
a26404c62e
1 измененных файлов с 9 добавлено и 6 удалено
  1. 9 6
      mallApp/src/pages/home/recent.vue

+ 9 - 6
mallApp/src/pages/home/recent.vue

@@ -8,15 +8,15 @@
             <view class="ghs_box flex-col justify-end" v-for="item in list" :key="item.id" @click="goTo(item)">
               <view class="image-text_7 flex-row justify-between">
                 <view class="section_1 flex-col">
-                  <image class="logo" :src="item.cover" @click="enterShop(item)" />
+                  <image class="logo" :src="item.cover" @click="goTo(item)" />
                 </view>
-                <view class="text-group_7 flex-col justify-between" @click="enterShop(item)">
+                <view class="text-group_7 flex-col justify-between" @click="goTo(item)">
                   <text class="text_8">{{item.showName}}</text>
-                  <text class="text_9">123456</text>
+                  <text class="text_9">{{item.address}}{{item.floor}}</text>
                 </view>
               </view>
               <view class="box_4 flex-col"></view>
-              <view class="button_4 flex-col" @click="enterShop(item)"><text class="text_13">买花</text></view>
+              <view class="button_4 flex-col" @click="goTo(item)"><text class="text_13">买花</text></view>
             </view>
 
         </view>
@@ -90,7 +90,6 @@ export default {
   },
   methods: {
     goTo(item){
-      console.log('/pages/home/index?account='+item.id)
       this.pageTo({ url:'/pages/home/index?account='+item.id})
     },
     async init () {
@@ -112,10 +111,13 @@ export default {
   padding: 48upx 0 80upx 40upx;
 }
 .shop-list_box {
+
 .ghs_list_page {
   background-color: rgba(255, 255, 255, 1);
   position: relative;
   width: 750upx;
+  height:99vh;
+  overflow: auto;
   .flex-col {
     display: flex;
     flex-direction: column;
@@ -163,6 +165,7 @@ export default {
   }
 
   .ghs_list_area {
+    padding-top: 25rpx;
     width: 750upx;
     background-color: #ece5e5;
     .group_1 {
@@ -209,7 +212,7 @@ export default {
       position: relative;
       width: 750upx;
       height: auto;
-      margin-bottom:35upx;
+      margin-bottom:25upx;
       .image-text_7 {
         width: 674upx;
         height: 120upx;