feat:修改数据库配置密码,修改星榜样式

This commit is contained in:
zerosaturation 2026-06-14 22:19:32 +08:00
parent b38174917a
commit 19890d5908
7 changed files with 27 additions and 1917 deletions

View File

@ -22,9 +22,9 @@ DUBBO_STARBOOK_SERVICE_URL=tri://127.0.0.1:20007
# PostgreSQL数据库配置
DB_HOST=localhost
DB_PORT=5432
DB_USER=haihuizhu
DB_PASSWORD=admin
DB_NAME=top-fans
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=topfans
# ==================== Redis Configuration ====================
REDIS_HOST=127.0.0.1

View File

@ -10,6 +10,6 @@ LOG_LEVEL=info
# PostgreSQL 连接配置多机部署时改为数据库服务器IP
DB_HOST=localhost
DB_PORT=5432
DB_USER=haihuizhu
DB_PASSWORD=admin
DB_NAME=top-fans
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=topfans

View File

@ -85,7 +85,7 @@ DB_HOST="${DB_HOST:-localhost}"
DB_PORT="${DB_PORT:-15432}"
DB_USER="${DB_USER:-postgres}"
DB_PASSWORD="${DB_PASSWORD:-123456}"
DB_NAME="${DB_NAME:-top-fans}"
DB_NAME="${DB_NAME:-topfans}"
REDIS_HOST="${REDIS_HOST:-localhost}"
REDIS_PORT="${REDIS_PORT:-6379}"
REDIS_PASSWORD="${REDIS_PASSWORD:-123456}"

View File

@ -4,16 +4,16 @@
# 自动编译并启动所有微服务和网关,支持指定数据库连接
#
# 使用方式:
# 1. 默认数据库localhost/top-fans ./start.sh
# 1. 默认数据库localhost/topfans ./start.sh
# 2. 通过环境变量指定数据库(推荐): DB_HOST=192.168.1.1 DB_USER=myuser DB_PASSWORD=secret DB_NAME=mydb ./start.sh
# 3. 先导出再启动: export DB_HOST=192.168.1.1 DB_USER=myuser DB_PASSWORD=secret DB_NAME=mydb && ./start.sh
#
# 可选环境变量(未设置时使用默认值):
# DB_HOST 数据库主机(默认 localhost
# DB_PORT 数据库端口(默认 5432
# DB_USER 数据库用户(默认 haihuizhu
# DB_PASSWORD 数据库密码(默认 admin
# DB_NAME 数据库名称(默认 top-fans
# DB_USER 数据库用户(默认 postgres
# DB_PASSWORD 数据库密码(默认 postgres
# DB_NAME 数据库名称(默认 topfans
set -e
@ -37,9 +37,9 @@ fi
# ---------- 数据库配置(可从环境变量覆盖)----------
DB_HOST="${DB_HOST:-localhost}"
DB_PORT="${DB_PORT:-5432}"
DB_USER="${DB_USER:-haihuizhu}"
DB_PASSWORD="${DB_PASSWORD:-admin}"
DB_NAME="${DB_NAME:-top-fans}"
DB_USER="${DB_USER:-postgres}"
DB_PASSWORD="${DB_PASSWORD:-postgres}"
DB_NAME="${DB_NAME:-topfans}"
# 供需要连接数据库的服务使用的参数(使用数组以便密码中含空格时也能正确传递)
DB_ARGS=(-db-host="$DB_HOST" -db-port="$DB_PORT" -db-user="$DB_USER" -db-password="$DB_PASSWORD" -db-name="$DB_NAME")

File diff suppressed because it is too large Load Diff

View File

@ -447,9 +447,11 @@ onUnmounted(() => {
display: flex;
flex-direction: column;
overflow: hidden;
padding: 0 9.5rpx;
// padding: 0 9.5rpx;
border-radius: 24rpx;
position: relative;
background: url("/static/square/galaxy/xbbj.png") center no-repeat;
background-size: 100% 100%;
}
.content-scroll {
@ -463,25 +465,22 @@ onUnmounted(() => {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 16rpx;
padding: 0 80rpx;
position: relative;
top: 16rpx;
margin: 0 auto;
width: 480rpx;
margin: 0 24rpx;
// width: 480rpx;
height: 96rpx;
// clip-path: inset(-200rpx 0 16rpx 0);
&::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
183deg,
#FF5A5D -36.55%, #C2EBFF 121.2%
);
opacity: 0.8;
background: linear-gradient(184deg, rgba(255, 90, 93, 0.47) -36.55%, rgba(194, 235, 255, 0.47) 121.2%);
filter: blur(5.849999904632568px);
// opacity: 0.8;
// Figma filter: blur(), backdrop-filter()
filter: blur(3.7px);
// filter: blur(3.7px);
-webkit-filter: blur(3.7px);
border-top-left-radius: 14px;
border-top-right-radius: 13px;
@ -616,8 +615,7 @@ onUnmounted(() => {
// rgba(76, 237, 255, 0.2) 48.19%,
// rgba(255, 122, 124, 0.2) 83.71%
// );
background: url("/static/square/galaxy/xbbj.png") center no-repeat;
background-size: 100% 100%;
// pointer-events: none;
// backdrop-filter: blur(4.65px);
border-top-left-radius: 13px;

View File

@ -360,7 +360,8 @@ onUnmounted(() => {
position: relative;
/* 100vh - header(208rpx) - banner(360rpx) - tabs(88rpx) = 可用 body 高度 */
height: calc(100vh - 208rpx - 360rpx - 88rpx);
top: -8rpx;
top: 8rpx;
padding: 0 24rpx;
}
/* 蒙层 */