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
1105bfda
Commit
1105bfda
authored
Dec 03, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ada55cf9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
18 deletions
+49
-18
accountCenter.vue
src/views/personalCenter/accountCenter.vue
+1
-1
account.vue
src/views/personalCenter/accountPage/account.vue
+22
-1
basicInfor.vue
src/views/personalCenter/accountPage/basicInfor.vue
+10
-6
mailingAddressList.vue
src/views/personalCenter/accountPage/mailingAddressList.vue
+7
-4
passengerList.vue
src/views/personalCenter/accountPage/passengerList.vue
+9
-6
No files found.
src/views/personalCenter/accountCenter.vue
View file @
1105bfda
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
</div>
</div>
<a-divider
class=
"!m-[0]"
/>
<a-divider
class=
"!m-[0]"
/>
<main
class=
"max-h-[735px] mt-[20px] overflow-
auto
"
>
<main
class=
"max-h-[735px] mt-[20px] overflow-
hidden
"
>
<router-view
/>
<router-view
/>
</main>
</main>
</a-spin>
</a-spin>
...
...
src/views/personalCenter/accountPage/account.vue
View file @
1105bfda
...
@@ -177,7 +177,7 @@ const inData = () =>{
...
@@ -177,7 +177,7 @@ const inData = () =>{
if
(
x
.
provider
==
'Google'
){
if
(
x
.
provider
==
'Google'
){
GoogleInfor
.
value
=
x
GoogleInfor
.
value
=
x
}
}
if
(
x
.
provider
==
'L
nl
ine'
){
if
(
x
.
provider
==
'Line'
){
LnlineInfor
.
value
=
x
LnlineInfor
.
value
=
x
}
}
});
});
...
@@ -389,6 +389,7 @@ onMounted(async () => {
...
@@ -389,6 +389,7 @@ onMounted(async () => {
watch
(()
=>
userStore
.
personalInfor
,
(
newVal
,
oldVal
)
=>
{
watch
(()
=>
userStore
.
personalInfor
,
(
newVal
,
oldVal
)
=>
{
userInfor
.
value
=
newVal
userInfor
.
value
=
newVal
console
.
log
(
newVal
,
'newVal----'
)
inData
()
inData
()
})
})
...
@@ -424,4 +425,24 @@ inData()
...
@@ -424,4 +425,24 @@ inData()
:deep
(
.arco-scrollbar-track-direction-vertical
)
{
:deep
(
.arco-scrollbar-track-direction-vertical
)
{
display
:
none
;
display
:
none
;
}
}
.editIcon
{
width
:
16px
;
height
:
16px
;
background
:
url('../../../../assets/images/personal/pen_2.png')
no-repeat
;
background-size
:
100%
100%
;
}
.editIcon
:hover
{
background
:
url('../../../../assets/images/personal/pen.png')
no-repeat
;
background-size
:
100%
100%
;
}
.deleteIcon
{
width
:
16px
;
height
:
16px
;
background
:
url('../../../../assets/images/personal/sc_2.png')
no-repeat
;
background-size
:
100%
100%
;
}
.deleteIcon
:hover
{
background
:
url('../../../../assets/images/personal/sc_1.png')
no-repeat
;
background-size
:
100%
100%
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/personalCenter/accountPage/basicInfor.vue
View file @
1105bfda
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div
class=
"w-full h-full overflow-auto"
>
<div
class=
"w-full h-full overflow-auto"
>
<a-space
direction=
"vertical"
class=
"w-full"
>
<a-space
direction=
"vertical"
class=
"w-full"
>
<!-- horizonta -->
<!-- horizonta -->
<a-form
:model=
"formData"
:rules=
"rules"
layout=
"vertical"
class=
"w-full"
>
<a-form
:model=
"formData"
:rules=
"rules"
layout=
"vertical"
class=
"w-full"
ref=
"formDataRef"
>
<a-row
class=
"w-full"
>
<a-row
class=
"w-full"
>
<a-col
:span=
"24"
>
<a-col
:span=
"24"
>
<a-form-item
field=
""
:label=
"t('personal.photo')"
>
<a-form-item
field=
""
:label=
"t('personal.photo')"
>
...
@@ -98,7 +99,7 @@
...
@@ -98,7 +99,7 @@
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<a-form-item
field=
"wechatId"
:label=
"t('login.bindingWechat')"
required
>
<a-form-item
field=
"wechatId"
:label=
"t('login.bindingWechat')"
:required=
"!formData?.lineId"
>
<a-input
class=
"formData-input !w-[289px] mr-[30px]"
<a-input
class=
"formData-input !w-[289px] mr-[30px]"
v-model=
"formData.wechatId"
v-model=
"formData.wechatId"
size=
"large"
size=
"large"
...
@@ -107,7 +108,7 @@
...
@@ -107,7 +108,7 @@
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<a-form-item
field=
"lineId"
label=
"Line"
required
>
<a-form-item
field=
"lineId"
label=
"Line"
:required=
"!formData?.wechatId"
>
<a-input
class=
"formData-input !w-[289px] mr-[30px]"
<a-input
class=
"formData-input !w-[289px] mr-[30px]"
v-model=
"formData.lineId"
v-model=
"formData.lineId"
size=
"large"
size=
"large"
...
@@ -265,6 +266,8 @@ const maxSize = 2 // 2MB
...
@@ -265,6 +266,8 @@ const maxSize = 2 // 2MB
const
previewVisible
=
ref
(
false
)
const
previewVisible
=
ref
(
false
)
const
previewUrl
=
ref
(
''
)
const
previewUrl
=
ref
(
''
)
const
formDataRef
=
ref
<
any
>
()
watch
(()
=>
userStore
.
personalInfor
,
(
newVal
,
oldVal
)
=>
{
watch
(()
=>
userStore
.
personalInfor
,
(
newVal
,
oldVal
)
=>
{
if
(
newVal
!=
oldVal
){
if
(
newVal
!=
oldVal
){
userInfor
.
value
=
newVal
userInfor
.
value
=
newVal
...
@@ -383,6 +386,7 @@ const handleSubmit = async () => {
...
@@ -383,6 +386,7 @@ const handleSubmit = async () => {
Message
.
warning
(
msg
)
Message
.
warning
(
msg
)
return
return
}
}
formDataRef
.
value
.
clearValidate
()
loading
.
value
=
true
loading
.
value
=
true
try
{
try
{
const
registerData
=
formData
const
registerData
=
formData
...
@@ -409,11 +413,11 @@ const getUserDetail = async () => {
...
@@ -409,11 +413,11 @@ const getUserDetail = async () => {
formData
.
surName
=
response
.
surName
||
''
formData
.
surName
=
response
.
surName
||
''
formData
.
birthday
=
response
.
birthday
||
null
formData
.
birthday
=
response
.
birthday
||
null
formData
.
lineId
=
response
.
lineId
||
null
formData
.
lineId
=
response
.
lineId
||
null
formData
.
phone
=
response
.
phone
||
null
formData
.
phone
=
response
.
phone
||
''
formData
.
phoneCode
=
response
.
phoneCode
||
null
formData
.
phoneCode
=
response
.
phoneCode
||
''
formData
.
photo
=
response
.
photo
||
null
formData
.
photo
=
response
.
photo
||
null
formData
.
residentialArea
=
response
.
residentialArea
||
null
formData
.
residentialArea
=
response
.
residentialArea
||
null
formData
.
sex
=
response
.
sex
||
null
formData
.
sex
=
response
.
sex
||
1
formData
.
wechatId
=
response
.
wechatId
||
null
formData
.
wechatId
=
response
.
wechatId
||
null
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
src/views/personalCenter/accountPage/mailingAddressList.vue
View file @
1105bfda
...
@@ -404,21 +404,21 @@ initData()
...
@@ -404,21 +404,21 @@ initData()
.editIcon
{
.editIcon
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
background
:
url('../../../
../
assets/images/personal/pen_2.png')
no-repeat
;
background
:
url('../../../assets/images/personal/pen_2.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.editIcon
:hover
{
.editIcon
:hover
{
background
:
url('../../../
../
assets/images/personal/pen.png')
no-repeat
;
background
:
url('../../../assets/images/personal/pen.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.deleteIcon
{
.deleteIcon
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
background
:
url('../../../
../
assets/images/personal/sc_2.png')
no-repeat
;
background
:
url('../../../assets/images/personal/sc_2.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.deleteIcon
:hover
{
.deleteIcon
:hover
{
background
:
url('../../../
../
assets/images/personal/sc_1.png')
no-repeat
;
background
:
url('../../../assets/images/personal/sc_1.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.addPassenger
{
.addPassenger
{
...
@@ -447,4 +447,7 @@ initData()
...
@@ -447,4 +447,7 @@ initData()
.cancelbuttonBox
:hover
{
.cancelbuttonBox
:hover
{
background-color
:
var
(
--
customPrimary-7
);
background-color
:
var
(
--
customPrimary-7
);
}
}
:deep
(
.arco-scrollbar-track-direction-vertical
)
{
display
:
none
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/personalCenter/accountPage/passengerList.vue
View file @
1105bfda
<
template
>
<
template
>
<a-spin
:loading=
"loading"
class=
"w-full"
>
<a-spin
:loading=
"loading"
class=
"w-full"
>
<div
v-show=
"!showType"
>
<div
v-show=
"!showType"
>
<a-scrollbar
class=
"max-h-[692px]
overflow-auto
"
<a-scrollbar
class=
"max-h-[692px]"
@
scroll=
"handleDivScroll"
@
scroll=
"handleDivScroll"
ref=
"scrollContainer"
>
ref=
"scrollContainer"
>
<div
class=
"accountCenter rounded-[14px]
<div
class=
"accountCenter rounded-[14px]
...
@@ -209,7 +209,7 @@ const formData = reactive({
...
@@ -209,7 +209,7 @@ const formData = reactive({
phone
:
null
as
any
,
//手机号
phone
:
null
as
any
,
//手机号
phoneCode
:
null
as
any
,
//手机号国家码
phoneCode
:
null
as
any
,
//手机号国家码
countryId
:
null
as
any
,
//国籍
countryId
:
null
as
any
,
//国籍
sex
:
null
as
any
,
//性别 1男 2女
sex
:
1
as
any
,
//性别 1男 2女
idCard
:
null
as
any
,
//身份证号
idCard
:
null
as
any
,
//身份证号
email
:
null
as
any
,
//邮箱
email
:
null
as
any
,
//邮箱
})
})
...
@@ -432,21 +432,21 @@ initData()
...
@@ -432,21 +432,21 @@ initData()
.editIcon
{
.editIcon
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
background
:
url('../../../
../
assets/images/personal/pen_2.png')
no-repeat
;
background
:
url('../../../assets/images/personal/pen_2.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.editIcon
:hover
{
.editIcon
:hover
{
background
:
url('../../../
../
assets/images/personal/pen.png')
no-repeat
;
background
:
url('../../../assets/images/personal/pen.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.deleteIcon
{
.deleteIcon
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
background
:
url('../../../
../
assets/images/personal/sc_2.png')
no-repeat
;
background
:
url('../../../assets/images/personal/sc_2.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.deleteIcon
:hover
{
.deleteIcon
:hover
{
background
:
url('../../../
../
assets/images/personal/sc_1.png')
no-repeat
;
background
:
url('../../../assets/images/personal/sc_1.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.addPassenger
{
.addPassenger
{
...
@@ -475,4 +475,7 @@ initData()
...
@@ -475,4 +475,7 @@ initData()
.cancelbuttonBox
:hover
{
.cancelbuttonBox
:hover
{
background-color
:
var
(
--
customPrimary-7
);
background-color
:
var
(
--
customPrimary-7
);
}
}
:deep
(
.arco-scrollbar-track-direction-vertical
)
{
display
:
none
;
}
</
style
>
</
style
>
\ No newline at end of file
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