Преглед на файлове

fix: 切换docker - node镜像

Before преди 7 месеца
родител
ревизия
0bb5934d8d

+ 1 - 1
Dockerfile

@@ -3,7 +3,7 @@ FROM node:23.3.0-alpine AS base
 FROM base AS deps
 WORKDIR /app
 COPY package.json ./
-RUN npm config set registry http://registry.npmmirror.com && \
+RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ && \
     npm cache clean --force &&  \
     npm install pnpm -g && \
     pnpm i

BIN
public/img/avatar.png


+ 1 - 0
src/app/[locale]/(TabBar)/[[...share]]/_home/HomeNoticeBar.tsx

@@ -8,6 +8,7 @@ interface Props {
 }
 const HomeNoticeBar: FC<Props> = (props) => {
     const { notices } = props;
+    console.log(`🚀🚀🚀🚀🚀-> in HomeNoticeBar.tsx on 11`, notices);
     return (
         <div className={"my-[0.0694rem] flex items-center"}>
             <div className={"iconfont icon-laba mr-[0.06rem] text-[yellow]"}></div>

+ 9 - 1
src/app/[locale]/(TabBar)/profile/ProfileHeader.tsx

@@ -323,7 +323,15 @@ export const ProfileHeader = (props: Props) => {
             <div className={"userContent"}>
                 <div className={"userInfo"}>
                     <div>
-                        <div className={"bgImg"}></div>
+                        <div className={"bgImg"}>
+                            <Image
+                                src={"/img/avatar.png"}
+                                className={"h-[100%] w-[100%]"}
+                                alt={"avatar"}
+                                width={120}
+                                height={120}
+                            />
+                        </div>
                         <div>
                             <span>{t("Conta")}</span>
                             <span className="phone">{userInfo?.user_phone || ""}</span>

+ 1 - 1
src/app/[locale]/(TabBar)/profile/page.scss

@@ -57,7 +57,7 @@
           width: .36rem;
           height: .36rem;
           margin-right: .1rem;
-          background-color: #ff9323;
+          //background-color: #ff9323;
           border-radius: 50%;
           background-size: 100% 100%;
           display: flex;