feat: 添加网宿软件的 HTML 结构和样式
- 新增 index.html 文件,包含基本的 HTML 结构 - 添加头部信息,包括字符集、图标和视口设置 - 设置页面标题为"网宿软件" - 定义加载动画样式(.ele-admin-loading) - 添加应用容器(#app)和加载动画元素 -引入主脚本文件 main.ts
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
VITE_APP_NAME=后台管理(开发环境)
|
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
|
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
7583
pnpm-lock.yaml
generated
7583
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@ import { SERVER_API_URL } from '@/config/setting';
|
|||||||
*/
|
*/
|
||||||
export async function login(data: LoginParam) {
|
export async function login(data: LoginParam) {
|
||||||
const res = await request.post<ApiResult<LoginResult>>(
|
const res = await request.post<ApiResult<LoginResult>>(
|
||||||
SERVER_API_URL + '/loginByUserId',
|
SERVER_API_URL + '/login',
|
||||||
data
|
data
|
||||||
);
|
);
|
||||||
if (res.data.code === 0) {
|
if (res.data.code === 0) {
|
||||||
|
|||||||
@@ -62,12 +62,24 @@
|
|||||||
<!-- <span class="absolute top-3 right-1.5 text-sm text-white font-bold cursor-pointer">{{ '登录' }}</span>-->
|
<!-- <span class="absolute top-3 right-1.5 text-sm text-white font-bold cursor-pointer">{{ '登录' }}</span>-->
|
||||||
</div>
|
</div>
|
||||||
<template v-if="loginType === 'account'">
|
<template v-if="loginType === 'account'">
|
||||||
<a-form-item name="userId">
|
<a-form-item name="tenantId">
|
||||||
<a-input
|
<a-input
|
||||||
allow-clear
|
allow-clear
|
||||||
size="large"
|
size="large"
|
||||||
v-model:value="form.userId"
|
v-model:value="form.tenantId"
|
||||||
:placeholder="`请输入用户ID`"
|
: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>
|
<template #prefix>
|
||||||
<UserOutlined/>
|
<UserOutlined/>
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
apiclientCert: '',
|
apiclientCert: '',
|
||||||
apiclientKey: '',
|
apiclientKey: '',
|
||||||
merchantSerialNumber: '',
|
merchantSerialNumber: '',
|
||||||
notifyUrl: 'https://modules.gxwebsoft.com/api/shop/wx-pay/notify',
|
notifyUrl: 'https://cms-api.websoft.top/api/shop/shop-order/notify',
|
||||||
comments: '',
|
comments: '',
|
||||||
sortNumber: 0,
|
sortNumber: 0,
|
||||||
status: undefined,
|
status: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user