feat: 添加网宿软件的 HTML 结构和样式

- 新增 index.html 文件,包含基本的 HTML 结构
- 添加头部信息,包括字符集、图标和视口设置
- 设置页面标题为"网宿软件"
- 定义加载动画样式(.ele-admin-loading)
- 添加应用容器(#app)和加载动画元素
-引入主脚本文件 main.ts
This commit is contained in:
2025-08-28 15:10:46 +08:00
parent 93c4fefc9b
commit a7d27eebf5
5 changed files with 18 additions and 7589 deletions

View File

@@ -1,5 +1,5 @@
VITE_APP_NAME=后台管理(开发环境)
VITE_API_URL=http://127.0.0.1:9200/api
#VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api

7583
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@ import { SERVER_API_URL } from '@/config/setting';
*/
export async function login(data: LoginParam) {
const res = await request.post<ApiResult<LoginResult>>(
SERVER_API_URL + '/loginByUserId',
SERVER_API_URL + '/login',
data
);
if (res.data.code === 0) {

View File

@@ -62,12 +62,24 @@
<!-- <span class="absolute top-3 right-1.5 text-sm text-white font-bold cursor-pointer">{{ '登录' }}</span>-->
</div>
<template v-if="loginType === 'account'">
<a-form-item name="userId">
<a-form-item name="tenantId">
<a-input
allow-clear
size="large"
v-model:value="form.userId"
:placeholder="`请输入户ID`"
v-model:value="form.tenantId"
:placeholder="`请输入户ID`"
>
<template #prefix>
<UserOutlined/>
</template>
</a-input>
</a-form-item>
<a-form-item name="username">
<a-input
allow-clear
size="large"
v-model:value="form.username"
:placeholder="`请输入用户名`"
>
<template #prefix>
<UserOutlined/>

View File

@@ -182,7 +182,7 @@
apiclientCert: '',
apiclientKey: '',
merchantSerialNumber: '',
notifyUrl: 'https://modules.gxwebsoft.com/api/shop/wx-pay/notify',
notifyUrl: 'https://cms-api.websoft.top/api/shop/shop-order/notify',
comments: '',
sortNumber: 0,
status: undefined,