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
8e5e71c0
Commit
8e5e71c0
authored
Apr 17, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 应用分享页消息列表滚动置底调整
parent
8c09d74f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
11 deletions
+41
-11
message-list.vue
src/views/share/components/message-list.vue
+23
-7
message-list.vue
src/views/share/components/mobile/message-list.vue
+18
-4
No files found.
src/views/share/components/message-list.vue
View file @
8e5e71c0
...
@@ -83,12 +83,28 @@ function handleScrollToBottom() {
...
@@ -83,12 +83,28 @@ function handleScrollToBottom() {
<ContinueQuestion
:continuous-question-list=
"continuousQuestionList"
/>
<ContinueQuestion
:continuous-question-list=
"continuousQuestionList"
/>
</div>
</div>
<div
<Transition
name=
"back-bottom-btn"
mode=
"out-in"
>
v-show=
"visible"
<div
class=
"flex-center hover:text-theme-color absolute bottom-5 right-5 h-6 w-6 cursor-pointer rounded-full bg-white shadow-[0_0_0_1px_#ededed]"
v-show=
"visible"
@
click
.
stop=
"clickBackBottom"
class=
"flex-center hover:text-theme-color absolute bottom-5 right-5 h-6 w-6 cursor-pointer rounded-full bg-white shadow-[0_0_0_1px_#ededed]"
>
@
click
.
stop=
"clickBackBottom"
<i
class=
"iconfont icon-left rotate-270 text-sm"
/>
>
</div>
<i
class=
"iconfont icon-huidaodibu text-sm"
/>
</div>
</Transition>
</main>
</main>
</
template
>
</
template
>
<
style
lang=
"scss"
scoped
>
.back-bottom-btn-enter-active
,
.back-bottom-btn-leave-active
{
transition-timing-function
:
ease-in-out
;
transition-duration
:
0
.2s
;
transition-property
:
opacity
;
}
.back-bottom-btn-enter-from
,
.back-bottom-btn-leave-to
{
opacity
:
0
;
}
</
style
>
src/views/share/components/mobile/message-list.vue
View file @
8e5e71c0
...
@@ -81,9 +81,11 @@ function handleScrollToBottom() {
...
@@ -81,9 +81,11 @@ function handleScrollToBottom() {
<ContinueQuestion
v-model:continuous-question-list=
"continuousQuestionList"
:type=
"'continuous'"
/>
<ContinueQuestion
v-model:continuous-question-list=
"continuousQuestionList"
:type=
"'continuous'"
/>
</div>
</div>
<div
v-show=
"visible"
class=
"back-bottom-btn"
@
click
.
stop=
"clickBackBottom"
>
<Transition
name=
"back-bottom-btn"
mode=
"out-in"
>
<i
class=
"iconfont icon-left back-bottom-btn-icon"
/>
<div
v-show=
"visible"
class=
"back-bottom-btn"
@
click
.
stop=
"clickBackBottom"
>
</div>
<i
class=
"iconfont icon-huidaodibu back-bottom-btn-icon"
/>
</div>
</Transition>
</main>
</main>
</
template
>
</
template
>
...
@@ -99,8 +101,20 @@ function handleScrollToBottom() {
...
@@ -99,8 +101,20 @@ function handleScrollToBottom() {
@apply
flex-center
hover
:text-theme-color
absolute
bottom-
[
20px
]
right-
[
20px
]
h-
[
24px
]
w-
[
24px
]
cursor-pointer
rounded-full
bg-white
shadow-
[
0_0_0_1px_
#ededed
]
;
@apply
flex-center
hover
:text-theme-color
absolute
bottom-
[
20px
]
right-
[
20px
]
h-
[
24px
]
w-
[
24px
]
cursor-pointer
rounded-full
bg-white
shadow-
[
0_0_0_1px_
#ededed
]
;
&
-icon
{
&
-icon
{
@apply
rotate-270
text-
[
14px
]
;
@apply
text-
[
14px
]
;
}
}
}
}
}
}
.back-bottom-btn-enter-active
,
.back-bottom-btn-leave-active
{
transition-timing-function
:
ease-in-out
;
transition-duration
:
0
.2s
;
transition-property
:
opacity
;
}
.back-bottom-btn-enter-from
,
.back-bottom-btn-leave-to
{
opacity
:
0
;
}
</
style
>
</
style
>
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