Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 227ae6e5
authored
Mar 09, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 类型优化
1 parent
779fbfae
Pipeline
#63
for
227ae6e5
failed
in 0 seconds
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
apps/web/venus-usedcar/venus-usedcar-h5/index.vue
apps/web/venus-usedcar/venus-usedcar-h5/src/components.d.ts
apps/web/venus-usedcar/venus-usedcar-h5/src/views/car-detail/index.vue
apps/web/venus-usedcar/venus-usedcar-h5/src/views/car-list/index.vue
apps/web/venus-usedcar/venus-usedcar-h5/src/views/home/index.vue
apps/web/venus-usedcar/venus-usedcar-h5/src/views/mine/index.vue
apps/web/venus-usedcar/venus-usedcar-h5/index.vue
deleted
100644 → 0
View file @
779fbfa
<!-- 此文件为项目占位文件,项目入口为 index.html + src/main.ts -->
apps/web/venus-usedcar/venus-usedcar-h5/src/components.d.ts
View file @
227ae6e
...
...
@@ -7,21 +7,24 @@ export {}
declare
module
'vue'
{
export
interface
GlobalComponents
{
Layout
:
typeof
import
(
'./layouts/index.vue'
)[
'default'
]
Layouts
:
typeof
import
(
'./layouts/index.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCell
:
typeof
import
(
'vant/es'
)[
'Cell'
]
VanCellGroup
:
typeof
import
(
'vant/es'
)[
'CellGroup'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanGrid
:
typeof
import
(
'vant/es'
)[
'Grid'
]
VanGridItem
:
typeof
import
(
'vant/es'
)[
'GridItem'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
VanImagePreview
:
typeof
import
(
'vant/es'
)[
'ImagePreview'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanLoading
:
typeof
import
(
'vant/es'
)[
'Loading'
]
VanNavBar
:
typeof
import
(
'vant/es'
)[
'NavBar'
]
VanPullRefresh
:
typeof
import
(
'vant/es'
)[
'PullRefresh'
]
VanSearch
:
typeof
import
(
'vant/es'
)[
'Search'
]
VanSkeleton
:
typeof
import
(
'vant/es'
)[
'Skeleton'
]
VanSticky
:
typeof
import
(
'vant/es'
)[
'Sticky'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
VanSwipeItem
:
typeof
import
(
'vant/es'
)[
'SwipeItem'
]
...
...
apps/web/venus-usedcar/venus-usedcar-h5/src/views/car-detail/index.vue
View file @
227ae6e
This diff is collapsed.
Click to expand it.
apps/web/venus-usedcar/venus-usedcar-h5/src/views/car-list/index.vue
View file @
227ae6e
...
...
@@ -164,7 +164,7 @@ onMounted(() => {
:key=
"tag"
type=
"primary"
plain
size=
"
small
"
size=
"
medium
"
>
{{
tag
}}
</van-tag>
...
...
apps/web/venus-usedcar/venus-usedcar-h5/src/views/home/index.vue
View file @
227ae6e
<
script
setup
lang=
"ts"
>
import
{
ref
,
onMounted
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
showToast
}
from
"vant"
;
import
type
{
CarItem
}
from
"@/api/modules/car"
;
import
{
getRecommendedCars
}
from
"@/api/modules/car"
;
...
...
@@ -139,7 +138,7 @@ onMounted(() => {
:key=
"tag"
type=
"primary"
plain
size=
"
small
"
size=
"
medium
"
>
{{
tag
}}
</van-tag>
...
...
apps/web/venus-usedcar/venus-usedcar-h5/src/views/mine/index.vue
View file @
227ae6e
<
script
setup
lang=
"ts"
>
import
{
ref
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
showToast
}
from
"vant"
;
import
{
useUserStore
}
from
"@/stores"
;
const
router
=
useRouter
();
const
userStore
=
useUserStore
();
const
menuList
=
[
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment