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
9c1f38af
Commit
9c1f38af
authored
May 26, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改照片路径为绝对路径,否则打包后引用系统加载不到图片
2.增加100%,否则引用系统样式不对
parent
9d998c56
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
38 deletions
+38
-38
common.scss
mods/components/3dviewConvertor/styles/common.scss
+1
-1
planDetail.scss
mods/components/3dviewConvertor/styles/planDetail.scss
+14
-14
pointsDetails.scss
mods/components/3dviewConvertor/styles/pointsDetails.scss
+4
-4
preControl.scss
mods/components/3dviewConvertor/styles/preControl.scss
+18
-18
ConvertorView3DRoot.js
mods/components/3dviewConvertor/view/ConvertorView3DRoot.js
+1
-1
No files found.
mods/components/3dviewConvertor/styles/common.scss
View file @
9c1f38af
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
// border-radius: $core-border-radius;
// border-radius: $core-border-radius;
// box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
// box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
// box-sizing: border-box;
// box-sizing: border-box;
background-image
:
url('
./..
/assets/convertor/3dview/dialogbg.png')
;
background-image
:
url('
/mods/components/3dviewConvertor
/assets/convertor/3dview/dialogbg.png')
;
background-color
:
rgba
(
25
,
86
,
147
,
0
.5
);
background-color
:
rgba
(
25
,
86
,
147
,
0
.5
);
.body-min-header
{
.body-min-header
{
...
...
mods/components/3dviewConvertor/styles/planDetail.scss
View file @
9c1f38af
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
width
:
216px
!
important
;
width
:
216px
!
important
;
height
:
100%
!
important
;
height
:
100%
!
important
;
padding
:
0px
;
padding
:
0px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/detail-info.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/detail-info.png')
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
position
:
relative
;
position
:
relative
;
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
.carImg
{
.carImg
{
width
:
35px
;
width
:
35px
;
background
:
url('
./..
/assets/convertor/3dview/plan/car.png')
no-repeat
top
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/car.png')
no-repeat
top
;
}
}
.carHead
{
.carHead
{
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
width
:
81px
!
important
;
width
:
81px
!
important
;
margin-left
:
5px
!
important
;
margin-left
:
5px
!
important
;
font-size
:
5px
!
important
;
font-size
:
5px
!
important
;
background-image
:
url('
./..
/assets/convertor/3dview/plan/post.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/post.png')
;
text-align
:
center
!
important
;
text-align
:
center
!
important
;
line-height
:
27px
!
important
;
line-height
:
27px
!
important
;
}
}
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
margin-left
:
0px
;
margin-left
:
0px
;
height
:
25px
;
height
:
25px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/plan/detail-title.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/detail-title.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
margin-left
:
3px
;
margin-left
:
3px
;
height
:
25px
;
height
:
25px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/zhuyibar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/zhuyibar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
margin-left
:
3px
;
margin-left
:
3px
;
height
:
25px
;
height
:
25px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/jianyibar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jianyibar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
margin-left
:
3px
;
margin-left
:
3px
;
height
:
25px
;
height
:
25px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/jinggaobar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jinggaobar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -436,7 +436,7 @@
...
@@ -436,7 +436,7 @@
width
:
316px
!
important
;
width
:
316px
!
important
;
height
:
100%
!
important
;
height
:
100%
!
important
;
padding
:
0px
;
padding
:
0px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/detail-info.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/detail-info.png')
no-repeat
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
position
:
relative
;
position
:
relative
;
...
@@ -534,7 +534,7 @@
...
@@ -534,7 +534,7 @@
.carImg
{
.carImg
{
width
:
59px
;
width
:
59px
;
background
:
url('
./..
/assets/convertor/3dview/plan/car.png')
no-repeat
top
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/car.png')
no-repeat
top
;
}
}
.carHead
{
.carHead
{
...
@@ -557,7 +557,7 @@
...
@@ -557,7 +557,7 @@
width
:
81px
!
important
;
width
:
81px
!
important
;
margin-left
:
45px
!
important
;
margin-left
:
45px
!
important
;
font-size
:
13px
!
important
;
font-size
:
13px
!
important
;
background-image
:
url('
./..
/assets/convertor/3dview/plan/post.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/post.png')
;
text-align
:
center
!
important
;
text-align
:
center
!
important
;
line-height
:
27px
!
important
;
line-height
:
27px
!
important
;
}
}
...
@@ -571,7 +571,7 @@
...
@@ -571,7 +571,7 @@
margin-left
:
5px
;
margin-left
:
5px
;
height
:
35px
;
height
:
35px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/plan/detail-title.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/plan/detail-title.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -580,7 +580,7 @@
...
@@ -580,7 +580,7 @@
margin-left
:
5px
;
margin-left
:
5px
;
height
:
35px
;
height
:
35px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/zhuyibar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/zhuyibar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -589,7 +589,7 @@
...
@@ -589,7 +589,7 @@
margin-left
:
5px
;
margin-left
:
5px
;
height
:
35px
;
height
:
35px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/jianyibar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jianyibar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
@@ -598,7 +598,7 @@
...
@@ -598,7 +598,7 @@
margin-left
:
5px
;
margin-left
:
5px
;
height
:
35px
;
height
:
35px
;
color
:
white
;
color
:
white
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/jinggaobar.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jinggaobar.png')
;
background-size
:
100%
;
background-size
:
100%
;
background-repeat
:
round
;
background-repeat
:
round
;
}
}
...
...
mods/components/3dviewConvertor/styles/pointsDetails.scss
View file @
9c1f38af
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
.amos-modal-container
{
.amos-modal-container
{
background-image
:
url('
./..
/assets/convertor/3dview/toolmodalbg.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/toolmodalbg.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
height
:
262px
;
height
:
262px
;
width
:
452px
!
important
;
width
:
452px
!
important
;
...
@@ -225,7 +225,7 @@
...
@@ -225,7 +225,7 @@
height
:
8px
;
height
:
8px
;
}
}
::-webkit-scrollbar-thumb
{
/* 拖动条 */
::-webkit-scrollbar-thumb
{
/* 拖动条 */
background-image
:
url('
./..
/assets/convertor/3dview/scrollslider.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/scrollslider.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
height
:
10px
;
height
:
10px
;
}
}
...
@@ -233,13 +233,13 @@
...
@@ -233,13 +233,13 @@
background-color
:rgba
(
17
,
44
,
88
,
0
.2
)
;
background-color
:rgba
(
17
,
44
,
88
,
0
.2
)
;
}
}
::-webkit-scrollbar-button
{
::-webkit-scrollbar-button
{
background-image
:
url('
./..
/assets/convertor/3dview/scrollbutton.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/scrollbutton.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
height
:
100%
;
height
:
100%
;
.amos-modal-container
{
.amos-modal-container
{
background-image
:
url('
./..
/assets/convertor/3dview/modalbg.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/modalbg.png')
;
height
:
497px
;
height
:
497px
;
width
:
866px
!
important
;
width
:
866px
!
important
;
background-color
:
rgba
(
255
,
255
,
255
,
0
);
background-color
:
rgba
(
255
,
255
,
255
,
0
);
...
...
mods/components/3dviewConvertor/styles/preControl.scss
View file @
9c1f38af
...
@@ -59,22 +59,22 @@
...
@@ -59,22 +59,22 @@
width
:
260px
;
width
:
260px
;
height
:
206px
;
height
:
206px
;
padding
:
20px
;
padding
:
20px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/buzhouqu.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/buzhouqu.png')
no-repeat
;
.step-trace
{
.step-trace
{
height
:
144px
;
height
:
144px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/step-trace.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/step-trace.png')
no-repeat
;
.next-step
{
.next-step
{
width
:
24px
;
width
:
24px
;
height
:
24px
;
height
:
24px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/buzhouqu-xiayibu.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/buzhouqu-xiayibu.png')
no-repeat
;
}
}
.previous-step
{
.previous-step
{
width
:
24px
;
width
:
24px
;
height
:
24px
;
height
:
24px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/buzhouqu-dangqianbu.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/buzhouqu-dangqianbu.png')
no-repeat
;
}
}
}
}
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
width
:
840px
;
width
:
840px
;
height
:
60px
;
height
:
60px
;
margin
:
0
auto
;
margin
:
0
auto
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/dingbu.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/dingbu.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
height
:
30px
;
height
:
30px
;
margin
:
0
auto
;
margin
:
0
auto
;
margin-top
:
10px
;
margin-top
:
10px
;
background-image
:
url('
./..
/assets/convertor/3dview/prePlan/baojing.png')
;
background-image
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/baojing.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
height
:
60px
;
height
:
60px
;
margin-bottom
:
7px
;
margin-bottom
:
7px
;
text-align
:
center
;
text-align
:
center
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu.png')
;
.text-icon
{
.text-icon
{
width
:
36px
;
width
:
36px
;
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
.text-icon
{
.text-icon
{
// flex: 1 0 16%;
// flex: 1 0 16%;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-shijian.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-shijian.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
.text-icon
{
.text-icon
{
// flex: 1 0 16%;
// flex: 1 0 16%;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-shuichi.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-shuichi.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
.text-icon
{
.text-icon
{
// flex: 1 0 8%;
// flex: 1 0 8%;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-shuiwei.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-shuiwei.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
.text-icon
{
.text-icon
{
// flex: 1 0 7%;
// flex: 1 0 7%;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-gongshu.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-gongshu.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
.text-icon
{
.text-icon
{
// flex: 1 0 7%;
// flex: 1 0 7%;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-paomo.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-paomo.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
.amos-modal-confirm-confirm
{
.amos-modal-confirm-confirm
{
.amos-modal-container
{
.amos-modal-container
{
text-align
:
center
;
text-align
:
center
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/tishitanchuang.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/tishitanchuang.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
box-shadow
:
unset
;
box-shadow
:
unset
;
...
@@ -305,7 +305,7 @@
...
@@ -305,7 +305,7 @@
.amos-btn
{
.amos-btn
{
width
:
95px
;
width
:
95px
;
height
:
44px
;
height
:
44px
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
border
:
0
;
border
:
0
;
}
}
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
height
:
40px
;
height
:
40px
;
margin-top
:
-5px
;
margin-top
:
-5px
;
color
:
white
;
color
:
white
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png')
no-repeat
;
border
:
0
;
border
:
0
;
}
}
}
}
...
@@ -454,7 +454,7 @@
...
@@ -454,7 +454,7 @@
.precontrol-water-view
{
.precontrol-water-view
{
width
:
260px
;
width
:
260px
;
text-align
:
center
;
text-align
:
center
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/buzhouqu.png')
no-repeat
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/buzhouqu.png')
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
padding-top
:
10px
;
padding-top
:
10px
;
...
@@ -493,7 +493,7 @@
...
@@ -493,7 +493,7 @@
height
:
20px
;
height
:
20px
;
width
:
20px
;
width
:
20px
;
float
:
left
;
float
:
left
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-shuiwei.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-shuiwei.png')
;
background-size
:
cover
;
background-size
:
cover
;
// background-repeat: no-repeat;
// background-repeat: no-repeat;
}
}
...
@@ -502,7 +502,7 @@
...
@@ -502,7 +502,7 @@
height
:
17px
;
height
:
17px
;
width
:
20px
;
width
:
20px
;
float
:
left
;
float
:
left
;
background
:
url('
./..
/assets/convertor/3dview/prePlan/shujuqu-shuichi.png')
;
background
:
url('
/mods/components/3dviewconvertor
/assets/convertor/3dview/prePlan/shujuqu-shuichi.png')
;
background-size
:
cover
;
background-size
:
cover
;
}
}
}
}
...
...
mods/components/3dviewConvertor/view/ConvertorView3DRoot.js
View file @
9c1f38af
...
@@ -96,7 +96,7 @@ class ConvertorView3DRoot extends Basic {
...
@@ -96,7 +96,7 @@ class ConvertorView3DRoot extends Basic {
render
()
{
render
()
{
const
{
isEdit
}
=
this
.
state
;
const
{
isEdit
}
=
this
.
state
;
return
(
return
(
<
div
>
<
div
style
=
{{
height
:
'100%'
}}
>
{
isEdit
?
''
:
<
Statistical
refshExceptAreaData
=
{
this
.
refshExceptAreaData
}
/>
}
{
isEdit
?
''
:
<
Statistical
refshExceptAreaData
=
{
this
.
refshExceptAreaData
}
/>
}
<
div
className
=
"sys-view-3d"
>
<
div
className
=
"sys-view-3d"
>
<
View3D
<
View3D
...
...
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