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
af3e1ed6
Commit
af3e1ed6
authored
Dec 04, 2025
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/boyuecend
parents
d57d3d47
32565b73
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
498 additions
and
473 deletions
+498
-473
UserService.ts
src/services/UserService.ts
+7
-6
accountCenter.vue
src/views/personalCenter/accountCenter.vue
+15
-16
account.vue
src/views/personalCenter/accountPage/account.vue
+134
-128
basicInfor.vue
src/views/personalCenter/accountPage/basicInfor.vue
+12
-7
mailingAddressList.vue
src/views/personalCenter/accountPage/mailingAddressList.vue
+153
-148
passengerList.vue
src/views/personalCenter/accountPage/passengerList.vue
+173
-164
index.vue
src/views/personalCenter/index.vue
+3
-3
myOrder.vue
src/views/personalCenter/myOrder.vue
+1
-1
No files found.
src/services/UserService.ts
View file @
af3e1ed6
...
...
@@ -256,10 +256,11 @@ export interface ResetPasswordResponseDto {
* 通用响应
*/
export
interface
GeneralResponseDto
{
/**
是否成功
*/
success
:
boolean
/**
错误码
*/
code
?:
number
/** 消息 */
message
?:
string
success
?:
boolean
}
/**
...
...
@@ -1107,7 +1108,7 @@ class UserService {
static
async
updateMemberGuest
(
tenantId
:
string
,
data
:
MemberGuestInputDto
):
Promise
<
MemberGuestInput
Dto
>
{
):
Promise
<
GeneralResponse
Dto
>
{
const
response
=
await
OtaRequest
.
post
(
'/member-guest/or-update'
,
data
,
...
...
@@ -1117,7 +1118,7 @@ class UserService {
}
:
{}
}
)
return
response
as
unknown
as
MemberGuestInput
Dto
return
response
as
unknown
as
GeneralResponse
Dto
}
/**
...
...
@@ -1166,7 +1167,7 @@ class UserService {
static
async
updateMemberMailingAddress
(
tenantId
:
string
,
data
:
MemberMailingAddressInputDto
):
Promise
<
MemberMailingAddressInput
Dto
>
{
):
Promise
<
GeneralResponse
Dto
>
{
const
response
=
await
OtaRequest
.
post
(
'/member-mailing-address/or-update'
,
data
,
...
...
@@ -1176,7 +1177,7 @@ class UserService {
}
:
{}
}
)
return
response
as
unknown
as
MemberMailingAddressInput
Dto
return
response
as
unknown
as
GeneralResponse
Dto
}
/**
...
...
src/views/personalCenter/accountCenter.vue
View file @
af3e1ed6
<
template
>
<div
class=
"w-[977px] h-full flex flex-col flex-shrink-0"
:class=
"[current
<3
?'
overflow-hidden
'
:
'']"
>
<a-spin
:loading=
"loading"
>
<div
class=
"flex pl-[13px]"
>
<div
v-for=
"(item,index) in TitleBars"
class=
"myOrder-status mr-[42px] py-[22px] cursor-pointer relative"
:class=
"[activeMenu==item.key?'active font-medium':'font-light',index?'ml-[42px]':null]"
@
click=
"changeStatus(item.path)"
>
{{
item
.
label
}}
<div
class=
"myOrder-status-border absolute left-0 bottom-0 w-full flex justify-center"
>
<div></div>
</div>
<div
class=
"w-[977px] flex flex-col pt-[25px] h-full overflow-hidden"
:class=
"[current
<3
?''
:
'']"
>
<div
class=
"flex pl-[13px]"
>
<div
v-for=
"(item,index) in TitleBars"
class=
"myOrder-status mr-[42px] py-[22px] cursor-pointer relative"
:class=
"[activeMenu==item.key?'active font-medium':'font-light',index?'ml-[42px]':null]"
@
click=
"changeStatus(item.path)"
>
{{
item
.
label
}}
<div
class=
"myOrder-status-border absolute left-0 bottom-0 w-full flex justify-center"
>
<div></div>
</div>
</div>
<a-divider
class=
"!m-[0]"
/>
<main
class=
"max-h-[735px] mt-[20px] overflow-hidden"
>
<router-view
/>
</main>
</a-spin>
</div>
<a-divider
class=
"!m-[0]"
/>
<!-- max-h-[735px] -->
<main
class=
"flex-1 mt-[20px] overflow-hidden"
>
<router-view
/>
</main>
</div>
</
template
>
<
script
setup
lang=
"ts"
>
...
...
src/views/personalCenter/accountPage/account.vue
View file @
af3e1ed6
This diff is collapsed.
Click to expand it.
src/views/personalCenter/accountPage/basicInfor.vue
View file @
af3e1ed6
<
template
>
<div
class=
"w-full h-full overflow-auto"
>
<div
class=
"w-full h-full overflow-hidden"
>
<a-scrollbar
class=
"overflow-auto h-[100%]"
>
<a-spin
:loading=
"loading"
class=
"w-full"
>
<a-space
direction=
"vertical"
class=
"w-full"
>
<!-- horizonta -->
<a-form
:model=
"formData"
:rules=
"rules"
layout=
"vertical"
class=
"w-full"
...
...
@@ -181,12 +183,14 @@
</a-form>
</a-space>
</a-spin>
<!-- 图片预览 -->
<a-image-preview
v-model:visible=
"previewVisible"
:src=
"previewUrl"
:actions-layout=
"['rotateLeft', 'rotateRight', 'zoomIn', 'zoomOut', 'originalSize']"
/>
</a-scrollbar>
</div>
</template>
<
script
setup
lang=
"ts"
>
...
...
@@ -196,7 +200,6 @@ import { useRouter } from 'vue-router'
import
{
Message
}
from
'@arco-design/web-vue'
import
{
useSystemConfigStore
}
from
'@/stores/index'
import
UserService
from
'@/services/UserService'
import
type
{
setRegisterDto
}
from
'@/services/UserService'
import
CountryService
from
'@/services/CountryService'
import
{
useUserStore
}
from
'@/stores/user'
import
UploadService
from
'@/services/UploadService'
...
...
@@ -255,11 +258,7 @@ const rules = computed(() => ({
],
}))
const
loading
=
ref
(
false
)
const
codeValidateStatus
=
ref
<
''
|
'success'
|
'error'
>
(
''
)
const
emailVerified
=
ref
(
false
)
const
loading
=
ref
(
true
)
const
maxSize
=
2
// 2MB
// 预览相关
...
...
@@ -422,6 +421,8 @@ const getUserDetail = async () => {
}
}
catch
(
error
)
{
}
finally
{
loading
.
value
=
false
}
}
...
...
@@ -480,4 +481,8 @@ initData()
background-color
:
rgb
(
var
(
--
arcoblue-6
));
color
:
rgb
(
var
(
--
arcoblue-10
));
}
:deep
(
.arco-scrollbar
)
{
height
:
100%
;
overflow
:
hidden
;
}
</
style
>
\ No newline at end of file
src/views/personalCenter/accountPage/mailingAddressList.vue
View file @
af3e1ed6
This diff is collapsed.
Click to expand it.
src/views/personalCenter/accountPage/passengerList.vue
View file @
af3e1ed6
This diff is collapsed.
Click to expand it.
src/views/personalCenter/index.vue
View file @
af3e1ed6
<
template
>
<div
class=
"h-screen flex justify-center p
t-[25px] pb-[12
px]"
>
<div
class=
"h-screen flex justify-center p
b-[12px] h-[797
px]"
>
<div
class=
"h-full flex justify-between w-[1200px]"
>
<!-- 左侧导航栏 -->
<LeftView
<LeftView
class=
"pt-[25px]"
:menu-list=
"menuList"
:active-menu=
"activeMenu"
/>
<!-- 右侧页面内容 -->
<main
class=
"
h-full flex-1 ml-[24px]
"
>
<main
class=
"
flex-1 ml-[24px] overflow-hidden
"
>
<router-view
/>
</main>
</div>
...
...
src/views/personalCenter/myOrder.vue
View file @
af3e1ed6
<
template
>
<div
class=
"w-[977px] h-full flex flex-col flex-shrink-0"
>
<div
class=
"w-[977px] h-full flex flex-col flex-shrink-0
mt-[25px]
"
>
<a-spin
:loading=
"loading"
>
<div
class=
"myOrderData rounded-[14px] flex justify-between pt-[22px] pb-[19px] pl-[16px] relative"
>
<div
class=
"flex items-center p-[20px]"
>
...
...
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