可信开源代码库-名称去掉国家

This commit is contained in:
付民康
2025-07-27 14:42:44 +08:00
parent c879d6a276
commit 9c58b289a2
6 changed files with 8 additions and 8 deletions

2
.env
View File

@@ -1,4 +1,4 @@
VITE_APP_TITLE = '国家可信开源代码库'
VITE_APP_TITLE = '可信开源代码库'
VITE_TEST_REPOID = 34
VITE_SECRET_KEY = 'SA!nUNPZ5o!OSV&B'

View File

@@ -1,4 +1,4 @@
# 国家可信开源代码库
# 可信开源代码库
架构:基于[create-vue](https://github.com/vuejs/create-vue)构建vite+vue3+pinia+scss
组件库:[Vue DevUI](https://vue-devui.github.io/)

View File

@@ -9,7 +9,7 @@
<link rel="dns-prefetch" href="//usercenter-app.gitcode.com">
<link rel="dns-prefetch" href="//res.hc-cdn.com">
<!-- <meta name="referrer" content="no-referrer"> -->
<title>国家可信开源代码库</title>
<title>可信开源代码库</title>
<style type="text/css">
.icon {
width: 1em; height: 1em;

View File

@@ -788,15 +788,15 @@ onUnmounted(() => {
<template #header>
<div v-if="formType === 'login'" class="header-h1">
<img :src="logo" alt="头像">
<div class="headertitel">国家可信开源代码库账号登录</div>
<div class="headertitel">可信开源代码库账号登录</div>
</div>
<div v-else class="header-h1">
<img :src="logo" alt="头像">
<div class="headertitel">国家可信开源代码库账号注册</div>
<div class="headertitel">可信开源代码库账号注册</div>
</div>
</template>
<template #default>
<!-- <div v-if="formType === 'login'" class="header-h1">国家可信开源代码库账号登录</div>-->
<!-- <div v-if="formType === 'login'" class="header-h1">可信开源代码库账号登录</div>-->
<iframe :src="`https://gitcode.com/${formType || 'login'}/?be_nested=1`"></iframe>
</template>
</Modal>

View File

@@ -10,7 +10,7 @@ export const usePageTitle = (title?: string, name?:string) => {
pageTitle.value = `${title}`;
} else {
// pageTitle.value = title ? `${title} - ${projectName}` : (name ? `${name} - ${projectName}` : '可信开源代码库');
pageTitle.value = title ? `${title}` : (name ? `${name} - ${projectName}` : '国家可信开源代码库');
pageTitle.value = title ? `${title}` : (name ? `${name} - ${projectName}` : '可信开源代码库');
}
return pageTitle.value;
};

View File

@@ -3,7 +3,7 @@
<div class="home-content">
<div class="home-title">
<img src="@/assets/imgs/logo.png" alt="logo" />
<h1>国家可信开源代码库</h1>
<h1>可信开源代码库</h1>
</div>
<div class="home-search" ref="homeSearch" :class="{ 'glow-border': inputGlow }">
<d-input