Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
boyueCEnd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
boyueCEnd
Commits
c67f19ad
Commit
c67f19ad
authored
Dec 03, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4945fa1a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
10 deletions
+27
-10
avatar.png
src/assets/images/personal/avatar.png
+0
-0
page-title-zh-CN.json
src/i18n/locales/page/page-title-zh-CN.json
+5
-1
register.vue
src/views/auth/register.vue
+2
-2
account.vue
src/views/personalCenter/accountPage/account.vue
+1
-1
basicInfor.vue
src/views/personalCenter/accountPage/basicInfor.vue
+11
-3
LeftView.vue
src/views/personalCenter/components/LeftView.vue
+8
-3
No files found.
src/assets/images/personal/avatar.png
0 → 100644
View file @
c67f19ad
2.74 KB
src/i18n/locales/page/page-title-zh-CN.json
View file @
c67f19ad
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
"commonPassengerInfo"
:
"常用旅客信息"
,
"commonPassengerInfo"
:
"常用旅客信息"
,
"distributionCenter"
:
"分销中心"
,
"distributionCenter"
:
"分销中心"
,
"resetPassword"
:
"重置密码"
,
"resetPassword"
:
"重置密码"
,
"editEmail"
:
"绑定/修改邮箱"
"editEmail"
:
"绑定/修改邮箱"
,
"basicInfor"
:
"基础资料"
,
"account"
:
"账户信息"
,
"passengerList"
:
"常用旅客"
,
"mailingAddressList"
:
"邮寄地址"
}
}
}
}
\ No newline at end of file
src/views/auth/register.vue
View file @
c67f19ad
...
@@ -332,7 +332,7 @@ const rules = computed(() => ({
...
@@ -332,7 +332,7 @@ const rules = computed(() => ({
const
loginPage
=
ref
(
null
)
const
loginPage
=
ref
(
null
)
const
currentStep
=
ref
(
1
)
const
currentStep
=
ref
(
2
)
const
loading
=
ref
(
true
)
const
loading
=
ref
(
true
)
const
isFromOta
=
ref
(
false
)
// 是否从 OTA 授权进入
const
isFromOta
=
ref
(
false
)
// 是否从 OTA 授权进入
...
@@ -671,7 +671,7 @@ const init = async () => {
...
@@ -671,7 +671,7 @@ const init = async () => {
}
}
}
}
init
()
//
init()
getSimples
()
getSimples
()
...
...
src/views/personalCenter/accountPage/account.vue
View file @
c67f19ad
...
@@ -240,7 +240,7 @@ const loginWithLine = () => {
...
@@ -240,7 +240,7 @@ const loginWithLine = () => {
const
useLineBind
=
async
(
code
:
string
)
=>
{
const
useLineBind
=
async
(
code
:
string
)
=>
{
loading
.
value
=
true
loading
.
value
=
true
try
{
try
{
const
response
=
await
userStore
.
setUser
Wechat
BindAsync
(
systemConfig
.
tenantId
?.
toString
()
||
''
,
code
,
systemConfig
.
distributorId
,
null
,
''
)
const
response
=
await
userStore
.
setUser
Line
BindAsync
(
systemConfig
.
tenantId
?.
toString
()
||
''
,
code
,
systemConfig
.
distributorId
,
null
,
''
)
if
(
response
.
status
==
'SUCCESS'
)
{
if
(
response
.
status
==
'SUCCESS'
)
{
Message
.
success
(
t
(
'personal.bindWechatSuccess'
))
Message
.
success
(
t
(
'personal.bindWechatSuccess'
))
getPersonalInfor
()
getPersonalInfor
()
...
...
src/views/personalCenter/accountPage/basicInfor.vue
View file @
c67f19ad
...
@@ -9,9 +9,17 @@
...
@@ -9,9 +9,17 @@
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div>
<div>
<div
class=
"w-[100px] h-[100px] rounded-full bg-[#FFFFFF] border-[2px] border-[#E3E6DA]"
>
<div
class=
"w-[100px] h-[100px] rounded-full bg-[#FFFFFF] border-[2px] border-[#E3E6DA]"
>
<img
:src=
"formData?.photo
<a-avatar
:size=
"96"
||systemConfigStore?.config?.logo ||'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp'"
class=
"w-full h-full rounded-full"
alt=
"avatar"
>
class=
"w-full h-full rounded-full object-cover"
alt=
"avatar"
>
<img
v-if=
"formData?.photo"
alt=
"avatar"
:src=
"formData.photo"
/>
<img
v-else
class=
"w-full h-full cursor-pointer"
alt=
"avatar"
src=
"../../../assets/images/personal/avatar.png"
/>
</a-avatar>
</div>
</div>
</div>
</div>
<div
class=
"ml-[37px]"
>
<div
class=
"ml-[37px]"
>
...
...
src/views/personalCenter/components/LeftView.vue
View file @
c67f19ad
...
@@ -2,10 +2,15 @@
...
@@ -2,10 +2,15 @@
<div
class=
"flex flex flex-col w-[198px]"
>
<div
class=
"flex flex flex-col w-[198px]"
>
<div
class=
"h-full bg-[#F9F9F7] rounded-[14px]"
>
<div
class=
"h-full bg-[#F9F9F7] rounded-[14px]"
>
<div
class=
"mt-[37px] flex justify-center items-center"
>
<div
class=
"mt-[37px] flex justify-center items-center"
>
<a-avatar
class=
"LeftViewImg cursor-pointer flex-shrink-0 !w-[80px] !h-[80px]"
>
<a-avatar
class=
"LeftViewImg cursor-pointer flex-shrink-0 !w-[80px] !h-[80px]"
<img
class=
"w-full h-full cursor-pointer"
:size=
"80"
>
<img
v-if=
"userInfo?.photo"
alt=
"avatar"
alt=
"avatar"
:src=
"userInfo?.photo || systemConfigStore?.config?.logo || 'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp'"
:src=
"userInfo.photo"
/>
<img
v-else
alt=
"avatar"
src=
"../../../assets/images/personal/avatar.png"
/>
/>
</a-avatar>
</a-avatar>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment