Commit fee45e98 by chenwq1

fix: title

1 parent fcc3ed97
Pipeline #178 for fee45e98 failed in 0 seconds
VITE_APP_TITLE=二手车
VITE_APP_TITLE=
VITE_APP_ENV=development
VITE_API_BASE_URL=http://localhost:3000
VITE_APP_TITLE=二手车(开发)
VITE_APP_TITLE=
VITE_APP_ENV=development
VITE_API_BASE_URL=http://dev-api.example.com
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
<!--
* @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 容器通信必需 -->
......
......@@ -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-03-26 15:33:11
* @LastEditTime: 2026-04-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;
}
......
/*
* @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 的情况
......
......@@ -439,6 +439,7 @@ void onRefresh();
}
.search-wrap {
width: 100%;
padding: 0 12px;
:deep(.van-search) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!