Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
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
poc
poc-fe
Commits
28a0123f
Commit
28a0123f
authored
Nov 14, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shirlyn' into 'master'
Merge branch 'shirlyn' into 'master' See merge request
!79
parents
212f5a1b
bf721116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
17 deletions
+29
-17
personal-app.vue
src/views/personal-space/personal-app/personal-app.vue
+29
-17
No files found.
src/views/personal-space/personal-app/personal-app.vue
View file @
28a0123f
...
@@ -252,14 +252,16 @@ const handleCardContentScrollDebounce = debounce(
...
@@ -252,14 +252,16 @@ const handleCardContentScrollDebounce = debounce(
</div>
</div>
<div
v-show=
"!agentAppListLoading"
class=
"mt-[5px]"
>
<div
v-show=
"!agentAppListLoading"
class=
"mt-[5px]"
>
<div
v-if=
"agentAppList.length"
class=
"grid-content grid grid-cols-4"
>
<div
v-if=
"agentAppList.length"
class=
"grid-content grid grid-cols-4"
>
<div
v-for=
"agentAppItem in agentAppList"
:key=
"agentAppItem.baseInfo.agentId"
class=
"mb-[20px] mr-[15px]"
>
<div
v-for=
"agentAppItem in agentAppList"
:key=
"agentAppItem.baseInfo.agentId"
class=
"mb-[20px] mr-[15px] cursor-pointer"
@
click=
"handleEditPersonalApp(agentAppItem.baseInfo.agentId)"
>
<div
<div
class=
"rounded-[10px]! ml-[5px] max-w-[380px] pb-[19px] pl-[24px] pr-[27px] pt-[20px] shadow-[0_4px_10px_0px_rgba(103,103,103,.1)]"
class=
"rounded-[10px]! ml-[5px] max-w-[380px] pb-[19px] pl-[24px] pr-[27px] pt-[20px] shadow-[0_4px_10px_0px_rgba(103,103,103,.1)]"
>
>
<div
<div
class=
"flex cursor-pointer justify-between"
>
class=
"flex cursor-pointer justify-between"
@
click=
"handleEditPersonalApp(agentAppItem.baseInfo.agentId)"
>
<div
class=
"popover-trigger mb-[19px] mr-[15px] text-[14px]"
>
<div
class=
"popover-trigger mb-[19px] mr-[15px] text-[14px]"
>
<div
class=
"agent-desc mb-[58px] h-[23px] w-full max-w-[160px] font-semibold"
>
<div
class=
"agent-desc mb-[58px] h-[23px] w-full max-w-[160px] font-semibold"
>
<n-ellipsis
style=
"max-width: 180px"
:line-clamp=
"1"
>
<n-ellipsis
style=
"max-width: 180px"
:line-clamp=
"1"
>
...
@@ -296,15 +298,20 @@ const handleCardContentScrollDebounce = debounce(
...
@@ -296,15 +298,20 @@ const handleCardContentScrollDebounce = debounce(
{{ formatDateTime(agentAppItem.modifiedTime) }}
{{ formatDateTime(agentAppItem.modifiedTime) }}
</div>
</div>
<div
class=
"flex"
>
<div
class=
"flex"
>
<Star
<div
v-show=
"agentAppItem.baseInfo.agentPublishStatus !== 'draft'"
class=
"rounded-[25px] p-[5px] hover:bg-[rgb(243,243,245)]"
theme=
"two-tone"
@
click
.
stop=
"handleApplicationsCollect(agentAppItem)"
size=
"18"
>
:fill=
"agentAppItem.isCollect === 'Y' ? ['#ffc06d', '#ffc06d'] : ['#333', '#fff']"
<Star
:stroke-width=
"3"
v-show=
"agentAppItem.baseInfo.agentPublishStatus !== 'draft'"
class=
"cursor-pointer transition-all delay-150 duration-300 ease-in-out"
theme=
"two-tone"
@
click=
"handleApplicationsCollect(agentAppItem)"
size=
"18"
/>
:fill=
"agentAppItem.isCollect === 'Y' ? ['#ffc06d', '#ffc06d'] : ['#333', '#fff']"
:stroke-width=
"3"
class=
"cursor-pointer transition-all delay-150 duration-300 ease-in-out"
/>
</div>
<n-popover
<n-popover
placement=
"bottom-end"
placement=
"bottom-end"
trigger=
"hover"
trigger=
"hover"
...
@@ -312,7 +319,12 @@ const handleCardContentScrollDebounce = debounce(
...
@@ -312,7 +319,12 @@ const handleCardContentScrollDebounce = debounce(
class=
"rounded-[10px]! py-[1px]! mb-[0px]! shadow-[0_4px_10px_0px_rgba(103,103,103,.15)]! px-[12px]! cursor-pointer"
class=
"rounded-[10px]! py-[1px]! mb-[0px]! shadow-[0_4px_10px_0px_rgba(103,103,103,.15)]! px-[12px]! cursor-pointer"
>
>
<
template
#
trigger
>
<
template
#
trigger
>
<MoreOne
size=
"16"
fill=
"#333"
:stroke-width=
"3"
class=
"ml-[13px] mt-[1px] cursor-pointer"
/>
<div
class=
"ml-[5px] cursor-pointer rounded-[25px] p-[5px] hover:bg-[rgb(243,243,245)]"
@
click
.
stop
>
<MoreOne
size=
"18"
fill=
"#333"
:stroke-width=
"3"
/>
</div>
</
template
>
</
template
>
<!-- <div
<!-- <div
v-show="agentAppItem.baseInfo.agentPublishStatus !== 'draft'"
v-show="agentAppItem.baseInfo.agentPublishStatus !== 'draft'"
...
@@ -332,7 +344,7 @@ const handleCardContentScrollDebounce = debounce(
...
@@ -332,7 +344,7 @@ const handleCardContentScrollDebounce = debounce(
>
>
<
template
#
trigger
>
<
template
#
trigger
>
<div
<div
class=
"hover:bg-active-color mb-[10px] h-[24px] w-full rounded-[4px] py-[5px] pl-[5px] text-[14px] leading-[14px] text-[#333333]"
class=
"hover:bg-active-color mb-[10px]
mt-[8px]
h-[24px] w-full rounded-[4px] py-[5px] pl-[5px] text-[14px] leading-[14px] text-[#333333]"
>
>
{{
t
(
'common_module.data_table_module.remove_applications'
)
}}
{{
t
(
'common_module.data_table_module.remove_applications'
)
}}
</div>
</div>
...
@@ -346,7 +358,7 @@ const handleCardContentScrollDebounce = debounce(
...
@@ -346,7 +358,7 @@ const handleCardContentScrollDebounce = debounce(
</div>
</div>
<div
v-show=
"agentAppItem.isSale === 'N'"
>
<div
v-show=
"agentAppItem.isSale === 'N'"
>
<div
<div
class=
"hover:bg-active-color mb-[10px] h-[24px] w-full rounded-[4px] py-[5px] pl-[5px] text-[14px] leading-[14px] text-[#333333]"
class=
"hover:bg-active-color mb-[10px]
mt-[8px]
h-[24px] w-full rounded-[4px] py-[5px] pl-[5px] text-[14px] leading-[14px] text-[#333333]"
@
click=
"handleChangeApplicationsSaleStatus(agentAppItem)"
@
click=
"handleChangeApplicationsSaleStatus(agentAppItem)"
>
>
{{ t('common_module.data_table_module.listing_applications') }}
{{ t('common_module.data_table_module.listing_applications') }}
...
...
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