소스 검색

feat: 商品列表

Moss 1 년 전
부모
커밋
375d020632
1개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제
  1. 12 2
      src/pages/goods/list.vue

+ 12 - 2
src/pages/goods/list.vue

@@ -73,7 +73,7 @@
   </zj-page-layout>
   <!-- #endif -->
   <!-- #ifndef H5 -->
-  <web-view :src="webViewHref('/pages/goods/list')"></web-view>
+  <web-view :src="webViewHref('/pages/goods/list', pam)"></web-view>
   <!-- #endif -->
 </template>
 
@@ -203,7 +203,17 @@
   }
   // #endif
   // #ifndef H5
-
+  export default {
+    data() {
+      return {
+        pam: {},
+      }
+    },
+  
+    onLoad(pam) {
+      this.pam = pam;
+    },
+  }
   // #endif
 </script>