Explorar el Código

fix: The proxy URL of the dev environment

Seven hace 6 meses
padre
commit
f6661a248a

+ 3 - 195
admin-ui/src/views/welcome/index.vue

@@ -1,5 +1,4 @@
 <script setup lang="ts">
-import CardInfo from "@/components/card-info/index.vue";
 defineOptions({
   name: "Welcome"
 });
@@ -7,200 +6,9 @@ defineOptions({
 
 <template>
   <div class="max-w-full">
-    <el-tabs tab-position="top" style="height: 200px" class="demo-tabs">
-      <el-tab-pane label="本日概况">
-        <el-row :gutter="20" class="text-center" justify="space-evenly">
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="注册人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="游戏人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="充值人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="提现人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="income"
-              prefix="$"
-              title="流水"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="money2"
-              prefix="$"
-              title="盈亏"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="in"
-              prefix="$"
-              title="充值"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="out"
-              prefix="$"
-              title="提现"
-              :data="0"
-          /></el-col>
-        </el-row>
-      </el-tab-pane>
-      <el-tab-pane label="本周概况">
-        <el-row :gutter="20" class="text-center" justify="space-evenly">
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="注册人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="游戏人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="充值人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="提现人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="income"
-              prefix="$"
-              title="流水"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="money2"
-              prefix="$"
-              title="盈亏"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="in"
-              prefix="$"
-              title="充值"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="out"
-              prefix="$"
-              title="提现"
-              :data="0"
-          /></el-col>
-        </el-row>
-      </el-tab-pane>
-      <el-tab-pane label="本月概况">
-        <el-row :gutter="20" class="text-center" justify="space-evenly">
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="注册人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="游戏人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="充值人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="提现人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="income"
-              prefix="$"
-              title="流水"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="money2"
-              prefix="$"
-              title="盈亏"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="in"
-              prefix="$"
-              title="充值"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="out"
-              prefix="$"
-              title="提现"
-              :data="0"
-          /></el-col>
-        </el-row>
-      </el-tab-pane>
-      <el-tab-pane label="历史概况">
-        <el-row :gutter="20" class="text-center" justify="space-evenly">
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="注册人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="游戏人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="充值人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info bg-color="#000" icon="add" title="提现人数" :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="income"
-              prefix="$"
-              title="流水"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="money2"
-              prefix="$"
-              title="盈亏"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="in"
-              prefix="$"
-              title="充值"
-              :data="0"
-          /></el-col>
-          <el-col :span="6"
-            ><card-info
-              bg-color="#000"
-              icon="out"
-              prefix="$"
-              title="提现"
-              :data="0"
-          /></el-col>
-        </el-row>
-      </el-tab-pane>
-    </el-tabs>
+    <el-card style="width: 480px; border-radius: 8px" shadow="hover"
+      >Always</el-card
+    >
   </div>
 </template>
 

+ 1 - 1
agent-ui/.env.development

@@ -7,5 +7,5 @@ VITE_PUBLIC_PATH = ./
 # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
 VITE_ROUTER_HISTORY = "hash"
 # API访问路径
- VITE_API_SERVER = "http://admin.gagapay.pro/api"
+ VITE_API_SERVER = "https://agent.gagapay.pro/api"
 #VITE_API_SERVER = "http://www.sortebar.com/api"

+ 1 - 1
agent-ui/public/serverConfig.json

@@ -1,6 +1,6 @@
 {
   "Version": "4.4.0",
-  "Title": "理系统",
+  "Title": "理系统",
   "FixedHeader": true,
   "HiddenSideBar": false,
   "MultiTagsCache": false,

+ 1 - 1
merchant-ui/.env.development

@@ -7,5 +7,5 @@ VITE_PUBLIC_PATH = ./
 # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
 VITE_ROUTER_HISTORY = "hash"
 # API访问路径
- VITE_API_SERVER = "http://admin.gagapay.pro/api"
+ VITE_API_SERVER = "https://merchant.gagapay.pro/api"
 #VITE_API_SERVER = "http://www.sortebar.com/api"

+ 1 - 1
merchant-ui/public/serverConfig.json

@@ -1,6 +1,6 @@
 {
   "Version": "4.4.0",
-  "Title": "管理系统",
+  "Title": "商户系统",
   "FixedHeader": true,
   "HiddenSideBar": false,
   "MultiTagsCache": false,