Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
quantum-blocks-h5
Commits
cb25117c
Commit
cb25117c
authored
Sep 23, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(backtop): 问题修复
parent
81c086f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
index.vue
app/web/page/activity/component/BackTop/index.vue
+11
-4
No files found.
app/web/page/activity/component/BackTop/index.vue
View file @
cb25117c
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</cr-popover>
</cr-popover>
<div
v-if=
"showShareOverlay"
class=
"share-overlay"
@
click.self=
"onShareOverlayClick"
>
<div
v-if=
"showShareOverlay"
class=
"share-overlay"
@
click.self=
"onShareOverlayClick"
>
<launch-weapp
:jump-url=
"mpSchema"
v-if=
"isWechat && shareOpenMethod === 1"
/>
<launch-weapp
:jump-url=
"mpSchema"
v-if=
"isWechat && shareOpenMethod === 1"
/>
<launch-app
:jump-url=
"link"
app-schema=
"appSchema"
v-if=
"isWechat && shareOpenMethod === 2"
/>
<launch-app
:jump-url=
"link"
:
app-schema=
"appSchema"
v-if=
"isWechat && shareOpenMethod === 2"
/>
</div>
</div>
</div>
</div>
...
@@ -66,8 +66,9 @@ export default {
...
@@ -66,8 +66,9 @@ export default {
backTopList
()
{
backTopList
()
{
if
(
this
.
pageData
.
props
&&
this
.
pageData
.
props
.
btAttachVal
)
{
if
(
this
.
pageData
.
props
&&
this
.
pageData
.
props
.
btAttachVal
)
{
const
{
btAttachVal
,
showShare
}
=
this
.
pageData
.
props
;
const
{
btAttachVal
,
showShare
}
=
this
.
pageData
.
props
;
showShare
&&
(
isApp
||
isWxMp
)
&&
btAttachVal
.
push
(
SHARE_CONFIG
);
const
btAttachValDeep
=
JSON
.
parse
(
JSON
.
stringify
(
btAttachVal
));
return
btAttachVal
;
showShare
&&
(
isApp
||
isWxMp
)
&&
btAttachValDeep
.
push
(
SHARE_CONFIG
);
return
btAttachValDeep
;
}
}
return
[];
return
[];
},
},
...
@@ -124,7 +125,7 @@ export default {
...
@@ -124,7 +125,7 @@ export default {
initShareInfo
()
{
initShareInfo
()
{
if
(
EASY_ENV_IS_NODE
)
return
;
if
(
EASY_ENV_IS_NODE
)
return
;
const
{
coverImage
,
pageName
,
pageDescribe
,
shareCoverImage
}
=
this
.
pageInfo
;
const
{
coverImage
,
pageName
,
pageDescribe
,
shareCoverImage
}
=
this
.
pageInfo
;
const
link
=
`
${
window
.
location
.
origin
}${
window
.
location
.
pathname
}
?vccToken={token}&vccChannel={registerFrom}
`
;
const
link
=
`
${
window
.
location
.
origin
}${
window
.
location
.
pathname
}
`
;
this
.
shareInfo
=
{
this
.
shareInfo
=
{
event
:
"
showShareView
"
,
event
:
"
showShareView
"
,
data
:
{
data
:
{
...
@@ -169,6 +170,7 @@ export default {
...
@@ -169,6 +170,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@deep: ~'>>>';
@deep: ~'>>>';
.wxmp-tip {
.wxmp-tip {
position: fixed !important;
position: fixed !important;
top: -32px;
top: -32px;
...
@@ -178,21 +180,26 @@ export default {
...
@@ -178,21 +180,26 @@ export default {
background-color: #fff;
background-color: #fff;
color: #333;
color: #333;
box-shadow: 0 2px 12px 0 rgba(100, 101, 102, 28%);
box-shadow: 0 2px 12px 0 rgba(100, 101, 102, 28%);
&__reference {
&__reference {
font-size: 0;
font-size: 0;
}
}
&__angle::before {
&__angle::before {
border-color: transparent transparent rgb(255 255 255);
border-color: transparent transparent rgb(255 255 255);
}
}
}
}
&__content {
&__content {
width: 160px;
width: 160px;
.cr-icon--weapp-nav {
.cr-icon--weapp-nav {
vertical-align: sub;
vertical-align: sub;
margin: 0 5px;
margin: 0 5px;
}
}
}
}
}
}
.share-overlay {
.share-overlay {
position: fixed;
position: fixed;
top: 0;
top: 0;
...
...
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