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
b266fc0f
Commit
b266fc0f
authored
Mar 19, 2021
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 修改tabs内容背景显示异常问题
parent
e7edd6c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
index.ts
app/web/page/activity/view/activity/index.ts
+5
-3
index.vue
app/web/page/activity/view/activity/index.vue
+2
-2
config.default.ts
config/config.default.ts
+1
-1
package-lock.json
package-lock.json
+3
-3
No files found.
app/web/page/activity/view/activity/index.ts
View file @
b266fc0f
...
...
@@ -82,12 +82,14 @@ export default class Activity extends Mixins(TransformStyleMixin) {
gridItemEle
.
style
.
transform
=
'
none
'
;
gridItemEle
.
style
.
top
=
`
${
transformY
}
px`
;
// 处理backgroundColor
const
backgroundColor
=
getStyle
(
gridItemEle
,
'
backgroundColor
'
);
const
activityEle
=
document
.
querySelector
(
'
.activity
'
);
const
activityBgColor
=
getStyle
(
activityEle
,
'
backgroundColor
'
);
const
gridItemEleBgColor
=
getStyle
(
gridItemEle
,
'
backgroundColor
'
);
const
crTabs
=
tabsEle
.
childNodes
[
0
];
crTabs
.
style
.
backgroundColor
=
background
Color
;
crTabs
.
style
.
backgroundColor
=
activityBg
Color
;
const
stickyEle
=
crTabs
?.
childNodes
[
0
];
if
(
stickyEle
?.
classList
.
contains
(
'
cr-sticky
'
)
&&
stickyEle
?.
childNodes
)
{
stickyEle
.
childNodes
[
0
]?.
style
.
backgroundColor
=
background
Color
;
stickyEle
.
childNodes
[
0
]?.
style
.
backgroundColor
=
gridItemEleBg
Color
;
}
}
}
...
...
app/web/page/activity/view/activity/index.vue
View file @
b266fc0f
...
...
@@ -34,8 +34,8 @@
min-height: 100%;
background-color: rgb(244, 244, 244);
box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
overflow-x: hidden;
overflow-y: scroll;
//
overflow-x: hidden;
//
overflow-y: scroll;
/deep/ .vue-grid-layout {
min-height: 667px;
// transform: translateY(-10px);
...
...
config/config.default.ts
View file @
b266fc0f
...
...
@@ -28,7 +28,7 @@ export default (appInfo: EggAppConfig) => {
config
.
static
=
{
prefix
:
'
/public/
'
,
dir
:
path
.
join
(
appInfo
.
baseDir
,
'
public
'
),
gzip
:
true
//
gzip: true
};
config
.
keys
=
'
123456
'
;
...
...
package-lock.json
View file @
b266fc0f
...
...
@@ -20376,9 +20376,9 @@
"integrity"
:
"sha1-8z/pz7Urv9UgqhgyO8ZdsRCht2w="
},
"rollup"
:
{
"version"
:
"2.4
1.5
"
,
"resolved"
:
"http://npmprivate.quantgroups.com/rollup/-/rollup-2.4
1.5
.tgz"
,
"integrity"
:
"sha512-
uG+WNNxhOYyeuO7oRt98GA2CNVRgQ67zca75UQVMPzMrLG9FUKzTCgvYVWhtB18TNbV7Uqxo97h+wErAnpFNJ
w=="
,
"version"
:
"2.4
2.0
"
,
"resolved"
:
"http://npmprivate.quantgroups.com/rollup/-/rollup-2.4
2.0
.tgz"
,
"integrity"
:
"sha512-
P9bJnaZ2P0hawoJo+Jto8YZZqil9URogNVE4KJeyj6wrUSDIbdMvmj7CsyEFwdXu/I5SiWEzB1hfmLeMldH6w
w=="
,
"requires"
:
{
"fsevents"
:
"~2.3.1"
}
...
...
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