diff --git a/Yi.Vue3.x.Vant/components.d.ts b/Yi.Vue3.x.Vant/components.d.ts
index 48d7adcb..37dc35c7 100644
--- a/Yi.Vue3.x.Vant/components.d.ts
+++ b/Yi.Vue3.x.Vant/components.d.ts
@@ -22,9 +22,13 @@ declare module '@vue/runtime-core' {
VanList: typeof import('vant/es')['List']
VanPullRefresh: typeof import('vant/es')['PullRefresh']
VanRow: typeof import('vant/es')['Row']
+ VanSpace: typeof import('vant/es')['Space']
+ VanSticky: typeof import('vant/es')['Sticky']
VanTab: typeof import('vant/es')['Tab']
VanTabbar: typeof import('vant/es')['Tabbar']
VanTabbarItem: typeof import('vant/es')['TabbarItem']
VanTabs: typeof import('vant/es')['Tabs']
+ VantCol: typeof import('vant/es')['tCol']
+ VantRow: typeof import('vant/es')['tRow']
}
}
diff --git a/Yi.Vue3.x.Vant/src/App.vue b/Yi.Vue3.x.Vant/src/App.vue
index 0c1bca01..3326d3d2 100644
--- a/Yi.Vue3.x.Vant/src/App.vue
+++ b/Yi.Vue3.x.Vant/src/App.vue
@@ -10,15 +10,5 @@ import HelloWorld from './components/HelloWorld.vue'
diff --git a/Yi.Vue3.x.Vant/src/layout/bottom/index.vue b/Yi.Vue3.x.Vant/src/layout/bottom/index.vue
index 2eb855de..ac9d95a5 100644
--- a/Yi.Vue3.x.Vant/src/layout/bottom/index.vue
+++ b/Yi.Vue3.x.Vant/src/layout/bottom/index.vue
@@ -3,9 +3,9 @@
主页
发现
-
+
-
+
@@ -13,8 +13,45 @@
商城
我的
+
+
+
+
+ 发图文
+ 发视频
+ 发文章
+ 发二手
+
+
+
+
+
+
+
+
diff --git a/Yi.Vue3.x.Vant/src/layout/main/index.vue b/Yi.Vue3.x.Vant/src/layout/main/index.vue
index cd0ab545..29e21014 100644
--- a/Yi.Vue3.x.Vant/src/layout/main/index.vue
+++ b/Yi.Vue3.x.Vant/src/layout/main/index.vue
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/Yi.Vue3.x.Vant/src/layout/tab/index.vue b/Yi.Vue3.x.Vant/src/layout/tab/index.vue
index 85b8983b..8be18b14 100644
--- a/Yi.Vue3.x.Vant/src/layout/tab/index.vue
+++ b/Yi.Vue3.x.Vant/src/layout/tab/index.vue
@@ -1,22 +1,38 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Yi.Vue3.x.Vant/src/router/index.ts b/Yi.Vue3.x.Vant/src/router/index.ts
index 56bbb4ef..bc15bb7a 100644
--- a/Yi.Vue3.x.Vant/src/router/index.ts
+++ b/Yi.Vue3.x.Vant/src/router/index.ts
@@ -30,6 +30,12 @@ export const constantRoutes = [
component: () => import('@/view/main/follow.vue'),
name: 'Follow',
},
+ {
+ path: '/square',
+ component: () => import('@/view/main/square.vue'),
+ name: 'Square',
+ },
+
]
}
]
diff --git a/Yi.Vue3.x.Vant/src/style.css b/Yi.Vue3.x.Vant/src/style.css
index 0192f9aa..14c6ba32 100644
--- a/Yi.Vue3.x.Vant/src/style.css
+++ b/Yi.Vue3.x.Vant/src/style.css
@@ -63,7 +63,7 @@ button:focus-visible {
#app {
max-width: 1280px;
margin: 0 auto;
- padding: 2rem;
+ padding: 0rem;
text-align: center;
}
diff --git a/Yi.Vue3.x.Vant/src/view/main/follow.vue b/Yi.Vue3.x.Vant/src/view/main/follow.vue
index 5949bdb6..e3b8f95a 100644
--- a/Yi.Vue3.x.Vant/src/view/main/follow.vue
+++ b/Yi.Vue3.x.Vant/src/view/main/follow.vue
@@ -1,3 +1,16 @@
-
- 这里是关注页面
-
\ No newline at end of file
+
+
+
+ 这里是关注页面
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Yi.Vue3.x.Vant/src/view/main/recommend.vue b/Yi.Vue3.x.Vant/src/view/main/recommend.vue
index bf0a98a8..57731be5 100644
--- a/Yi.Vue3.x.Vant/src/view/main/recommend.vue
+++ b/Yi.Vue3.x.Vant/src/view/main/recommend.vue
@@ -23,7 +23,7 @@
一小时前
-
+
@@ -143,11 +143,14 @@ const onRefresh = () => {
padding-top: 1rem;
margin-bottom: 1rem;
padding-left: 1rem;
+ padding-right: 1rem;
}
.rowBody {
text-align: left;
background-color: white;
min-height: 2rem;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
}
.title {
padding-top: 1rem;
@@ -176,4 +179,9 @@ color: #CBCBCB;
.bottomRow{
color: #979797;
}
+.down
+{
+ text-align: right;
+ padding-right: 0.5rem;
+}
\ No newline at end of file
diff --git a/Yi.Vue3.x.Vant/src/view/main/square.vue b/Yi.Vue3.x.Vant/src/view/main/square.vue
new file mode 100644
index 00000000..06ee889c
--- /dev/null
+++ b/Yi.Vue3.x.Vant/src/view/main/square.vue
@@ -0,0 +1,16 @@
+
+
+
+ 这里是广场页面
+
+
+
+
+
+
+
\ No newline at end of file