Browse Source

fix: 增加环境

Before 9 months ago
parent
commit
c534fd4649
5 changed files with 14 additions and 7 deletions
  1. 1 0
      .env.production
  2. 3 0
      .env.uit
  3. 3 0
      package.json
  4. BIN
      public/9f/551935.jpg
  5. 7 7
      src/app/[locale]/(TabBar)/[[...share]]/_home/HomePrize.tsx

+ 1 - 0
.env.production

@@ -1,3 +1,4 @@
 NEXT_PUBLIC_BASE_URL=https://api.bcwin777.bet
 
 NEXT_PUBLIC_SHARE_URL=https://bcwin777.bet
+

+ 3 - 0
.env.uit

@@ -0,0 +1,3 @@
+NEXT_PUBLIC_BASE_URL=http://206.168.191.124:8800
+
+NEXT_PUBLIC_SHARE_URL=http://206.168.191.124:3000

+ 3 - 0
package.json

@@ -9,6 +9,9 @@
     "start:test": "cross-env NODE_ENV=test next start",
     "build": "cross-env NODE_ENV=production next build",
     "start": "cross-env NODE_ENV=production next start",
+
+    "build:uit": "cross-env NODE_ENV=uit  next build",
+    "start:uit": "cross-env NODE_ENV=uit next start",
     "lint": "next lint",
     "preinstall": "npx only-allow pnpm"
   },

BIN
public/9f/551935.jpg


+ 7 - 7
src/app/[locale]/(TabBar)/[[...share]]/_home/HomePrize.tsx

@@ -6,13 +6,13 @@ import { Swiper, SwiperSlide } from "swiper/react";
 interface Props {}
 
 const mockData = [
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jp", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
-    { url: "https://9f.com/images/game/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
+    { url: "/9f/551935.jpg", name: "123", money: 11 },
 ];
 const HomePrize: FC<Props> = (props) => {
     const t = useTranslations("HomePage");