shish 11 месяцев назад
Родитель
Сommit
e75c7da53d
1 измененных файлов с 50 добавлено и 2 удалено
  1. 50 2
      mallApp/src/pages/home/recent.vue

+ 50 - 2
mallApp/src/pages/home/recent.vue

@@ -75,7 +75,11 @@
                 </view>
               </view>
 
-              <view class="button_4 flex-col" @click.stop="bug(item)"><text class="text_13">买花</text></view>
+              <view class="button_4 flex-col" @click.stop="bug(item)"><text class="text_13">花材</text></view>
+
+              <view class="button_9 flex-col" @click.stop="hs(item)"><text class="text_13">花束</text></view>
+
+              <view class="button_15 flex-col" @click.stop="tj(item)"><text class="text_13">图集</text></view>
 
               </view>
           </view>
@@ -195,6 +199,12 @@ export default {
     bug(item){
       this.pageTo({ url:'/pages/item/item?account='+item.shopId+'&hdId='+item.id})
     },
+    hs(item){
+      this.pageTo({ url:'/pages/home/category?id='+item.id+'&account='+item.shopId})
+    },
+    tj(item){
+      this.pageTo({ url:'/pages/home/mall?id='+item.id+'&account='+item.shopId})
+    },
     init () {
       this.getMyHdList()
     },
@@ -392,7 +402,45 @@ page {
           background-color: #FF2842;
           width: 130upx;
           position: absolute;
-          right: 100upx;
+          right: 30upx;
+          top: 105upx;
+          border-radius: 20upx;
+          z-index: 10;
+          
+          .text_13 {
+            color: rgba(255, 255, 255, 1);
+            font-size: 30upx;
+            font-weight: bold;
+          }
+        }
+
+        .button_9 {
+          height: 80upx;
+          line-height: 80upx;
+          text-align: center;
+          background-color: #FF2842;
+          width: 130upx;
+          position: absolute;
+          right: 190upx;
+          top: 105upx;
+          border-radius: 20upx;
+          z-index: 10;
+          
+          .text_13 {
+            color: rgba(255, 255, 255, 1);
+            font-size: 30upx;
+            font-weight: bold;
+          }
+        }
+
+        .button_15 {
+          height: 80upx;
+          line-height: 80upx;
+          text-align: center;
+          background-color: #FF2842;
+          width: 130upx;
+          position: absolute;
+          right: 360upx;
           top: 105upx;
           border-radius: 20upx;
           z-index: 10;