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 fee45e98
authored
Apr 03, 2026
by
chenwq1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: title
1 parent
fcc3ed97
Pipeline
#178
for
fee45e98
failed
in 0 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
6 deletions
apps/web/venus-usedcar-quality/.env
apps/web/venus-usedcar-quality/.env.development
apps/web/venus-usedcar-quality/.env.production
apps/web/venus-usedcar-quality/index.html
apps/web/venus-usedcar-quality/src/components/PageTop.vue
apps/web/venus-usedcar-quality/src/router/index.ts
apps/web/venus-usedcar-quality/src/views/home/index.vue
apps/web/venus-usedcar-quality/.env
View file @
fee45e9
VITE_APP_TITLE=
二手车
VITE_APP_TITLE=
VITE_APP_ENV=development
VITE_API_BASE_URL=http://localhost:3000
apps/web/venus-usedcar-quality/.env.development
View file @
fee45e9
VITE_APP_TITLE=
二手车(开发)
VITE_APP_TITLE=
VITE_APP_ENV=development
VITE_API_BASE_URL=http://dev-api.example.com
apps/web/venus-usedcar-quality/.env.production
View file @
fee45e9
VITE_APP_TITLE=二手车
###
# @Author: cen
# @Date: 2026-03-16 15:09:35
# @Description:
# @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/.env.production
# @LastEditTime: 2026-04-03 14:17:08
# @LastEditors: cenchengwei@foreverht.com
# 可以输入预定的版权声明、个性签名、空行等
###
VITE_APP_TITLE=
VITE_APP_ENV=production
VITE_API_BASE_URL=https://api.example.com
apps/web/venus-usedcar-quality/index.html
View file @
fee45e9
<!--
* @Author: cen
* @Date: 2026-03-23 19:52:07
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/index.html
* @LastEditTime: 2026-04-03 14:16:09
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
-->
<!doctype html>
<html
lang=
"zh-CN"
>
<head>
...
...
@@ -11,7 +20,6 @@
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"default"
/>
<link
rel=
"icon"
type=
"image/svg+xml"
href=
"/favicon.svg"
/>
<title>
二手车
</title>
<!-- 微信 JSSDK:小程序 webview 通信必需 -->
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<!-- UniApp WebView Bridge:uniapp 容器通信必需 -->
...
...
apps/web/venus-usedcar-quality/src/components/PageTop.vue
View file @
fee45e9
...
...
@@ -3,7 +3,7 @@
* @Date: 2026-03-18 18:09:39
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/src/components/PageTop.vue
* @LastEditTime: 2026-0
3-26 15:33:11
* @LastEditTime: 2026-0
4-03 14:13:59
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
-->
...
...
@@ -35,6 +35,7 @@ const hideTitle = computed(() => {
<
style
lang=
"scss"
scoped
>
.page-top
{
width
:
100%
;
//
background
:
url("@assets/image/top_bg.png")
no-repeat
top
center
;
//
background-size
:
100%
auto
;
}
...
...
apps/web/venus-usedcar-quality/src/router/index.ts
View file @
fee45e9
/*
* @Author: cen
* @Date: 2026-04-02 15:37:28
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/src/router/index.ts
* @LastEditTime: 2026-04-03 14:18:49
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
*/
import
{
createRouter
,
createWebHistory
}
from
"vue-router"
;
import
{
fetchConfig
}
from
"@/config/center"
;
...
...
@@ -55,7 +64,7 @@ router.beforeEach(async (to, from, next) => {
}
if
(
to
.
meta
.
title
)
{
document
.
title
=
`
${
to
.
meta
.
title
}
-
${
import
.
meta
.
env
.
VITE_APP_TITLE
}
`
;
document
.
title
=
`
${
to
.
meta
.
title
}
`
;
}
// 1. 有 token 的情况
...
...
apps/web/venus-usedcar-quality/src/views/home/index.vue
View file @
fee45e9
...
...
@@ -439,6 +439,7 @@ void onRefresh();
}
.search-wrap
{
width
:
100%
;
padding
:
0
12px
;
:deep(.van-search)
{
...
...
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