Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
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
station
amos-station-module-view
Commits
959b9a77
Commit
959b9a77
authored
May 25, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改header和编辑居中
parent
16fec21d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
actionbar.scss
mods/components/3dviewConvertor/styles/actionbar.scss
+6
-7
moduleEdit.scss
mods/components/3dviewConvertor/styles/moduleEdit.scss
+7
-6
index.js
mods/components/3dviewConvertor/view/actionbar/index.js
+1
-1
No files found.
mods/components/3dviewConvertor/styles/actionbar.scss
View file @
959b9a77
.action-pane-data
{
.action-pane-data
{
position
:
absolute
;
bottom
:
5%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
position
:
absolute
;
.action-list
{
left
:
45%
!
important
;
top
:
90%
!
important
;
.action-list
{
height
:
40px
;
height
:
40px
;
padding
:
0
1rem
;
padding
:
0
1rem
;
border-radius
:
6px
;
border-radius
:
6px
;
...
@@ -49,4 +49,4 @@
...
@@ -49,4 +49,4 @@
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
96
,
154
,
0
.8
)
0%
,
rgba
(
0
,
54
,
105
,
0
.5
)
100%
);
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
96
,
154
,
0
.8
)
0%
,
rgba
(
0
,
54
,
105
,
0
.5
)
100%
);
}
}
}
}
}
}
\ No newline at end of file
mods/components/3dviewConvertor/styles/moduleEdit.scss
View file @
959b9a77
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
.topBox
{
.topBox
{
position
:
absolute
;
position
:
absolute
;
top
:
34px
;
top
:
34px
;
left
:
40%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
}
}
...
@@ -17,7 +18,7 @@
...
@@ -17,7 +18,7 @@
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
#fff
;
vertical-align
:
top
;
vertical-align
:
top
;
.titleText
{
.titleText
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -37,7 +38,8 @@
...
@@ -37,7 +38,8 @@
.bottomBox
{
.bottomBox
{
position
:
absolute
;
position
:
absolute
;
bottom
:
34px
;
bottom
:
34px
;
left
:
40%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
177px
;
width
:
177px
;
...
@@ -198,10 +200,10 @@
...
@@ -198,10 +200,10 @@
}
}
}
}
}
}
.editButton
{
.editButton
{
position
:
absolute
;
position
:
absolute
;
bottom
:
100px
;
bottom
:
100px
;
left
:
50%
;
left
:
50%
;
}
}
}
}
\ No newline at end of file
mods/components/3dviewConvertor/view/actionbar/index.js
View file @
959b9a77
...
@@ -27,7 +27,7 @@ class ActionBar extends Component {
...
@@ -27,7 +27,7 @@ class ActionBar extends Component {
render
()
{
render
()
{
const
{
animationProps
,
activeAction
=
'panoramic'
}
=
this
.
props
;
const
{
animationProps
,
activeAction
=
'panoramic'
}
=
this
.
props
;
return
(
return
(
<
SidePane
className
=
"action-pane-data"
{...
animationProps
}
>
<
SidePane
className
=
"action-pane-data"
left
=
{
false
}
top
=
{
false
}
{...
animationProps
}
>
<
div
className
=
"action-list"
>
<
div
className
=
"action-list"
>
{
{
actionBars
.
map
(
a
=>
{
actionBars
.
map
(
a
=>
{
...
...
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