Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
d368e244
Commit
d368e244
authored
Oct 20, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
padding fix
parent
40c67c46
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
index.scss
dsk-operate-ui/src/assets/styles/index.scss
+2
-2
project.scss
dsk-operate-ui/src/assets/styles/project.scss
+0
-3
public.scss
dsk-operate-ui/src/assets/styles/public.scss
+1
-2
index.vue
dsk-operate-ui/src/views/market/index.vue
+13
-1
No files found.
dsk-operate-ui/src/assets/styles/index.scss
View file @
d368e244
...
...
@@ -231,9 +231,9 @@ li {
}
.app-container
{
width
:
100%
;
margin
:
12
px
24px
;
padding
:
16
px
24px
;
background-color
:
#f5f5f5
;
padding-bottom
:
16px
!
important
;
box-sizing
:
border-box
;
.el-input__inner
{
border-color
:
#d9d9d9
;
color
:
#232323
;
...
...
dsk-operate-ui/src/assets/styles/project.scss
View file @
d368e244
.el-card
{
overflow
:
initial
;
}
.app-container
{
padding
:
0
;
}
//小导航
.miantitle
{
color
:
#232323
;
...
...
dsk-operate-ui/src/assets/styles/public.scss
View file @
d368e244
...
...
@@ -1222,8 +1222,7 @@ select {
color
:
#232323
;
}
.enterprise_contatiner
{
padding
:
0
;
padding-bottom
:
16px
;
}
.el-input-group__append
{
cursor
:
pointer
;
...
...
dsk-operate-ui/src/views/market/index.vue
View file @
d368e244
...
...
@@ -32,6 +32,7 @@ export default {
timelongs
:
7200
,
//刷新token时间
tokentimer
:
null
,
showMaxPageTip
:
false
,
iframeIns
:
null
,
};
},
created
()
{
...
...
@@ -39,9 +40,10 @@ export default {
this
.
domain
=
'https://plug.jiansheku.com'
;
}
else
{
this
.
domain
=
'https://pre-plug.jiansheku.com'
// this.domain
='http://192.168.60.8:3400'
// this.domain
= 'http://192.168.60.104:3400';
}
this
.
gettokens
();
this
.
iframeObserver
();
window
.
addEventListener
(
"message"
,
this
.
pagecapListener
,
{
passive
:
true
});
},
mounted
()
{
...
...
@@ -54,8 +56,18 @@ export default {
steerScroll
(
'companyIframe'
,
this
.
navigation
,
this
.
footHeight
);
// iframeId: iframe的id;navigation:页面排除iframe后剩下的顶部高度;footHeight: 页面排除iframe后剩下的底部高度;state:监听or移除监听;parentId: 父级id[不带默认就是铺满整个页面]];_this:指向当前实例(可忽略)
clearInterval
(
this
.
tokentimer
);
window
.
removeEventListener
(
"message"
,
this
.
pagecapListener
,
{
passive
:
true
});
// 移除layout样式
this
.
iframeIns
.
contentWindow
.
postMessage
(
""
,{})
},
methods
:
{
async
iframeObserver
()
{
try
{
await
this
.
$nextTick
();
this
.
iframeIns
=
document
.
querySelector
(
".market-iframe"
);
}
catch
(
error
)
{
console
.
log
(
error
);
}
},
// 列表翻页上限
pagecapListener
(
e
)
{
const
{
origin
,
data
}
=
e
;
...
...
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