diff --git a/Yi.Vue3.x.Vant/components.d.ts b/Yi.Vue3.x.Vant/components.d.ts index 3d1b244e..623a4e74 100644 --- a/Yi.Vue3.x.Vant/components.d.ts +++ b/Yi.Vue3.x.Vant/components.d.ts @@ -13,12 +13,18 @@ declare module '@vue/runtime-core' { RouterView: typeof import('vue-router')['RouterView'] VanActionSheet: typeof import('vant/es')['ActionSheet'] VanButton: typeof import('vant/es')['Button'] + VanCell: typeof import('vant/es')['Cell'] + VanCellGroup: typeof import('vant/es')['CellGroup'] VanCol: typeof import('vant/es')['Col'] + VanDivider: typeof import('vant/es')['Divider'] + VanField: typeof import('vant/es')['Field'] VanGrid: typeof import('vant/es')['Grid'] VanGridItem: typeof import('vant/es')['GridItem'] VanIcon: typeof import('vant/es')['Icon'] VanImage: typeof import('vant/es')['Image'] VanList: typeof import('vant/es')['List'] + VanNavBar: typeof import('vant/es')['NavBar'] + VanPopup: typeof import('vant/es')['Popup'] VanPullRefresh: typeof import('vant/es')['PullRefresh'] VanRow: typeof import('vant/es')['Row'] VanSticky: typeof import('vant/es')['Sticky'] @@ -26,5 +32,6 @@ declare module '@vue/runtime-core' { VanTabbar: typeof import('vant/es')['Tabbar'] VanTabbarItem: typeof import('vant/es')['TabbarItem'] VanTabs: typeof import('vant/es')['Tabs'] + VanUploader: typeof import('vant/es')['Uploader'] } } diff --git a/Yi.Vue3.x.Vant/src/components/AppGrid.vue b/Yi.Vue3.x.Vant/src/components/AppGrid.vue index 49ed4569..493f6177 100644 --- a/Yi.Vue3.x.Vant/src/components/AppGrid.vue +++ b/Yi.Vue3.x.Vant/src/components/AppGrid.vue @@ -3,7 +3,7 @@

{{data.head}}

-
{{item.title}}
+
{{item.title}}
@@ -25,7 +25,7 @@ text-align: center; } p{ font-size: large; -font-weight: 545; +font-weight:bold; } diff --git a/Yi.Vue3.x.Vant/src/layout/bottom/index.vue b/Yi.Vue3.x.Vant/src/layout/bottom/index.vue index ac9d95a5..9e8dd03f 100644 --- a/Yi.Vue3.x.Vant/src/layout/bottom/index.vue +++ b/Yi.Vue3.x.Vant/src/layout/bottom/index.vue @@ -17,10 +17,10 @@ - 发图文 - 发视频 - 发文章 - 发二手 + 发图文 + (暂未开放)发视频 + (暂未开放)发文章 + (暂未开放)发二手 @@ -44,6 +44,7 @@ const show = ref(false); height: 4rem; width:90%; margin: 0.5rem 1rem 0.5rem 1rem; +color: #FFFFFF; } .content { padding: 16px 16px 160px; diff --git a/Yi.Vue3.x.Vant/src/router/index.ts b/Yi.Vue3.x.Vant/src/router/index.ts index bc15bb7a..8fb7fea6 100644 --- a/Yi.Vue3.x.Vant/src/router/index.ts +++ b/Yi.Vue3.x.Vant/src/router/index.ts @@ -13,8 +13,6 @@ export const constantRoutes = [ component: () => import('@/view/my.vue'), name: 'My', }, - - { path: '/main', component: () => import('@/layout/main/index.vue'), @@ -40,7 +38,16 @@ export const constantRoutes = [ } ] }, - + { + path: '/imageText', + component: () => import('@/view/send/imageText.vue'), + name: 'ImageText', + }, + { + path: '/login', + component: () => import('@/view/Login.vue'), + name: 'Login', + }, ]; const router = createRouter({ diff --git a/Yi.Vue3.x.Vant/src/view/login.vue b/Yi.Vue3.x.Vant/src/view/login.vue new file mode 100644 index 00000000..5f689b53 --- /dev/null +++ b/Yi.Vue3.x.Vant/src/view/login.vue @@ -0,0 +1,3 @@ + \ 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 57731be5..22696cc4 100644 --- a/Yi.Vue3.x.Vant/src/view/main/recommend.vue +++ b/Yi.Vue3.x.Vant/src/view/main/recommend.vue @@ -7,7 +7,7 @@ finished-text="没有更多了" @load="onLoad" > - + @@ -102,9 +101,9 @@ const refreshing = ref(false); const show = ref(false); const actions = [ - { name: "选项一" }, - { name: "选项二" }, - { name: "选项三", subname: "描述信息" }, + { name: "取消关注" }, + { name: "将TA拉黑" }, + { name: "举报"} ]; const onLoad = () => { setTimeout(() => { @@ -121,7 +120,7 @@ const onLoad = () => { if (list.value.length >= 40) { finished.value = true; } - }, 1000); + }, 100); }; const onRefresh = () => { diff --git a/Yi.Vue3.x.Vant/src/view/main/square.vue b/Yi.Vue3.x.Vant/src/view/main/square.vue index aae4a3fc..989f9cbf 100644 --- a/Yi.Vue3.x.Vant/src/view/main/square.vue +++ b/Yi.Vue3.x.Vant/src/view/main/square.vue @@ -3,7 +3,7 @@ - + 这里是广场页面 diff --git a/Yi.Vue3.x.Vant/src/view/my.vue b/Yi.Vue3.x.Vant/src/view/my.vue index 23f3a226..78969a13 100644 --- a/Yi.Vue3.x.Vant/src/view/my.vue +++ b/Yi.Vue3.x.Vant/src/view/my.vue @@ -1,8 +1,11 @@ \ No newline at end of file diff --git a/Yi.Vue3.x.Vant/src/view/send/imageText.vue b/Yi.Vue3.x.Vant/src/view/send/imageText.vue new file mode 100644 index 00000000..13e180b5 --- /dev/null +++ b/Yi.Vue3.x.Vant/src/view/send/imageText.vue @@ -0,0 +1,95 @@ + + + \ No newline at end of file