diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue
index b6f924c..cad565c 100644
--- a/src/pages/login/login.vue
+++ b/src/pages/login/login.vue
@@ -1,7 +1,218 @@
- login
+
+
+ 金佰川微商城
+
+
+
+
+
+
+
+
+ 登录/注册即视为你同意《服务条款》和《隐私协议》
+
+
-
+
+
+
diff --git a/src/services/login.ts b/src/services/login.ts
new file mode 100644
index 0000000..5a27e4a
--- /dev/null
+++ b/src/services/login.ts
@@ -0,0 +1,29 @@
+import { http } from '@/utils/http'
+import type { LoginResult } from '@/types/member'
+
+type LoginParams = {
+ code: string
+ encryptedData: string
+ iv: string
+}
+
+// 获取手机号
+export const postPhoneNumberAPI = (data: LoginParams) => {
+ return http({
+ url: '/login/wxMin',
+ method: 'POST',
+ data,
+ })
+}
+
+// 模拟快捷登录
+type PhoneNumberLoginMockParams = {
+ phoneNumber: string
+}
+export const postPhoneNumberLoginMockAPI = (data: PhoneNumberLoginMockParams) => {
+ return http({
+ url: '/login/wxMin/simple',
+ method: 'POST',
+ data,
+ })
+}
diff --git a/src/@/styles/fonts.scss b/src/types/login.d.ts
similarity index 100%
rename from src/@/styles/fonts.scss
rename to src/types/login.d.ts