diff --git a/src/pages/category/components/item.vue b/src/components/tab-view/components/item.vue
similarity index 55%
rename from src/pages/category/components/item.vue
rename to src/components/tab-view/components/item.vue
index ed8245b..273b247 100644
--- a/src/pages/category/components/item.vue
+++ b/src/components/tab-view/components/item.vue
@@ -27,12 +27,22 @@ const props = defineProps({
{{ props.title }}
-
- {{ props.price }}
+
+
+ {{ props.price }}
-
- {{ props.oldPrice }}
-
+
+ {{ props.oldPrice }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/tab-view/index.vue b/src/components/tab-view/index.vue
index d12168a..213d25e 100644
--- a/src/components/tab-view/index.vue
+++ b/src/components/tab-view/index.vue
@@ -2,7 +2,7 @@
import {reactive} from "vue";
import {onLoad} from "@dcloudio/uni-app";
import SidebarView from "@/components/sidebar-view/index.vue"
-import Item from "@/pages/category/components/item";
+import Item from "@/components/tab-view/components/item";
const props = defineProps({
tabs: {
type: Array,
@@ -67,7 +67,6 @@ onLoad(() => {
diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue
index f0f5e73..386d240 100644
--- a/src/pages/category/category.vue
+++ b/src/pages/category/category.vue
@@ -2,7 +2,7 @@
import {reactive} from "vue";
import qs from "qs";
import SideBarView from "@/components/sidebar-view/index.vue";
-import Item from "./components/item.vue";
+import Item from "../../components/tab-view/components/item.vue";
const ctx = reactive({
current: 0,
@@ -65,12 +65,29 @@ function toCommodity() {
-
+ title="测试商品测试商品测试商品测试商品测试商品测试商品测试商品" price="9999.99">
+
+
+ 选规格
+
+
+
- -
+
+
+ 50分钟
+
+
+
+
+