feat: 添加网宿软件的 HTML 结构和样式
- 新增 index.html 文件,包含基本的 HTML 结构 - 添加头部信息,包括字符集、图标和视口设置 - 设置页面标题为"网宿软件" - 定义加载动画样式(.ele-admin-loading) - 添加应用容器(#app)和加载动画元素 -引入主脚本文件 main.ts
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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/>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user