Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pingshan-ranqi
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
yaqizhang
pingshan-ranqi
Commits
785cd613
Commit
785cd613
authored
Nov 08, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_jzl'
parents
3c674200
470cba0f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
17 deletions
+65
-17
jsconfig.json
gassafety-web/jsconfig.json
+14
-0
compSelect.png
gassafety-web/src/assets/images/comp/compSelect.png
+0
-0
compSelected.png
gassafety-web/src/assets/images/comp/compSelected.png
+0
-0
index.vue
gassafety-web/src/views/enterprise/mapView/index.vue
+51
-17
No files found.
gassafety-web/jsconfig.json
0 → 100644
View file @
785cd613
{
"compilerOptions"
:
{
"target"
:
"ES6"
,
"jsx"
:
"react"
,
"baseUrl"
:
"./"
,
"paths"
:
{
"components/*"
:
[
"src/components/*"
],
"assets/*"
:
[
"src/assets/*"
],
"@/*"
:
[
"src/*"
]
}
},
"exclude"
:
[
"node_modules"
,
"dist"
],
"include"
:
[
"src/**/*"
]
}
gassafety-web/src/assets/images/comp/compSelect.png
0 → 100644
View file @
785cd613
1.04 KB
gassafety-web/src/assets/images/comp/compSelected.png
0 → 100644
View file @
785cd613
1.93 KB
gassafety-web/src/views/enterprise/mapView/index.vue
View file @
785cd613
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
</div>
</div>
<!-- 只能动态传入内嵌盒子的高 -->
<!-- 只能动态传入内嵌盒子的高 -->
<div
class=
"scroll"
:style=
"{ height: `${boxHeight}px` }"
>
<div
class=
"scroll"
:style=
"{ height: `${boxHeight}px` }"
>
<el-input
<
!-- <
el-input
v-model="keyWord"
v-model="keyWord"
placeholder="点击输入设备名称"
placeholder="点击输入设备名称"
id="tipinput"
id="tipinput"
...
@@ -139,13 +139,13 @@
...
@@ -139,13 +139,13 @@
<i class="iconfont icon-search"></i>
<i class="iconfont icon-search"></i>
</div>
</div>
</template>
</template>
</el-input>
</el-input>
-->
<!-- <el-button class="search-but" @click="search()">搜索</el-button> -->
<!-- <el-button class="search-but" @click="search()">搜索</el-button> -->
<el-button
class=
"refresh-but"
@
click=
"refreshMap()"
>
<
!-- <
el-button class="refresh-but" @click="refreshMap()">
<i class="iconfont icon-reset"></i>
<i class="iconfont icon-reset"></i>
</el-button>
</el-button>
-->
<div
class=
"leftBar-wrapper"
>
<div
class=
"leftBar-wrapper"
>
燃气公司
<!-- 燃气公司 -->
<div
class=
"comp-wrapper"
>
<div
class=
"comp-wrapper"
>
<div
<div
...
@@ -173,16 +173,19 @@
...
@@ -173,16 +173,19 @@
@
click
.
stop=
"leftBarChange(item)"
@
click
.
stop=
"leftBarChange(item)"
>
>
<!-- @click="arrowRightChange(item)" -->
<!-- @click="arrowRightChange(item)" -->
<!-- 对钩旁边的文字 -->
<
span
class=
"upPic"
>
上图
</span
>
<
!-- <span class="upPic"> 上图 </span> --
>
<div
class=
"left"
>
<div
class=
"left"
>
<i
class=
"iconfont"
:class=
"item.icon"
></i>
<i
class=
"iconfont"
:class=
"item.icon"
></i>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
{{ item.label }}
{{ item.label }}
</div>
</div>
<!-- 有多少设备 -->
<div
class=
"diviceNum"
>
({{allList[index].length}})个设备
</div>
<!-- 对钩 -->
<i
class=
"el-icon-check bingo"
></i>
<i
class=
"el-icon-check bingo"
></i>
<
i
class=
"ju"
></i
>
<
!-- <i class="ju"></i> --
>
<i
<i
class=
"arrow-right el-icon-arrow-right"
class=
"arrow-right el-icon-arrow-right"
:class=
"{ active: arrowRightNum.indexOf(item.value) >= 0 }"
:class=
"{ active: arrowRightNum.indexOf(item.value) >= 0 }"
...
@@ -376,8 +379,9 @@ export default {
...
@@ -376,8 +379,9 @@ export default {
radio1
:
""
,
radio1
:
""
,
// 1新建,2编辑,3删除,点按钮变色
// 1新建,2编辑,3删除,点按钮变色
targetNum
:
0
,
targetNum
:
0
,
// 左边的bar的active判定
// 左边的bar的active判定
被选中显示的设备
leftBarNum
:
[
1
,
2
,
3
,
4
,
7
,
8
,
9
,
10
],
leftBarNum
:
[
1
,
2
,
3
,
4
,
7
,
8
,
9
,
10
],
// leftBarNum: [],
// 右转箭头的样式active判定
// 右转箭头的样式active判定
arrowRightNum
:
[],
arrowRightNum
:
[],
// 新建里的值
// 新建里的值
...
@@ -385,7 +389,7 @@ export default {
...
@@ -385,7 +389,7 @@ export default {
createValue
:
0
,
createValue
:
0
,
createLabel
:
"新增"
,
createLabel
:
"新增"
,
//所有燃气公司
//所有燃气公司
comp
:
[
"公司A"
,
"公司B"
,
"公司C"
],
comp
:
[
"公司A"
,
"公司B"
,
"公司C"
,
"公司C"
,
"123"
],
// 公司被选中状态
// 公司被选中状态
compChangeArr
:
[],
compChangeArr
:
[],
...
@@ -1907,19 +1911,31 @@ input[type="radio"] {
...
@@ -1907,19 +1911,31 @@ input[type="radio"] {
// 燃气公司选项
// 燃气公司选项
.comp-wrapper
{
.comp-wrapper
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
color
:
#fff
;
color
:
#fff
;
padding-left
:
35px
;
padding-left
:
25px
;
// justify-content: space-between;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
.comp
{
.comp
{
width
:
96px
;
height
:
42px
;
font-size
:
14px
;
background-image
:
url(../../../assets/images/comp/compSelect.png)
;
text-align
:
center
;
line-height
:
38px
;
margin-right
:
10px
;
margin-right
:
10px
;
cursor
:
pointer
;
cursor
:
pointer
;
padding
:
2px
4px
;
padding
:
2px
4px
;
border-radius
:
5px
;
border-radius
:
5px
;
// 第三个不展示
&
:nth-child
(
2n
+
3
)
{
margin-right
:
0px
;
}
&
:hover
{
&
:hover
{
background-color
:
#053b6a
94
;
background-color
:
#053b6a
94
;
}
}
&
.active
{
&
.active
{
background-
color
:
#053b6a
;
background-
image
:
url(../../../assets/images/comp/compSelected.png)
;
color
:
#31eaea
!
important
;
color
:
#31eaea
!
important
;
}
}
}
}
...
@@ -2039,6 +2055,7 @@ input[type="radio"] {
...
@@ -2039,6 +2055,7 @@ input[type="radio"] {
border-top
:
1px
solid
rgba
(
5
,
59
,
106
,
0
);
border-top
:
1px
solid
rgba
(
5
,
59
,
106
,
0
);
}
}
}
}
// box浮动上去的颜色
// box浮动上去的颜色
&
:hover
{
&
:hover
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -2054,6 +2071,13 @@ input[type="radio"] {
...
@@ -2054,6 +2071,13 @@ input[type="radio"] {
.right
{
.right
{
color
:
#31eaea
ab
!
important
;
color
:
#31eaea
ab
!
important
;
}
}
>
i
{
display
:
block
!
important
;
color
:
#31eaea
ab
!
important
;
}
.diviceNum
{
color
:
#31eaea
ab
;
}
}
}
.upPic
{
.upPic
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -2079,7 +2103,8 @@ input[type="radio"] {
...
@@ -2079,7 +2103,8 @@ input[type="radio"] {
z-index
:
2
;
z-index
:
2
;
position
:
absolute
;
position
:
absolute
;
// line-height: 48px;
// line-height: 48px;
left
:
45px
;
left
:
20px
;
display
:
none
;
top
:
16px
;
top
:
16px
;
color
:
#fff
;
color
:
#fff
;
}
}
...
@@ -2111,11 +2136,14 @@ input[type="radio"] {
...
@@ -2111,11 +2136,14 @@ input[type="radio"] {
color
:
#31eaea
!
important
;
color
:
#31eaea
!
important
;
}
}
>
i
{
>
i
{
// color: #31eaea;
// color: #053b6a;
color
:
#053b6a
;
color
:
#31eaea
;
display
:
block
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.diviceNum
{
color
:
#31eaea
;
}
&
:hover
{
&
:hover
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background-color
:
#053b6a
94
;
background-color
:
#053b6a
94
;
...
@@ -2126,7 +2154,7 @@ input[type="radio"] {
...
@@ -2126,7 +2154,7 @@ input[type="radio"] {
}
}
.left
,
.left
,
.right
{
.right
{
color
:
#31eaea
ab
!
important
;
color
:
#31eaea
!
important
;
}
}
}
}
}
}
...
@@ -2144,6 +2172,12 @@ input[type="radio"] {
...
@@ -2144,6 +2172,12 @@ input[type="radio"] {
font-size
:
16px
;
font-size
:
16px
;
margin-left
:
4px
;
margin-left
:
4px
;
}
}
.diviceNum
{
color
:
#fff
;
position
:
absolute
;
left
:
160px
;
top
:
12px
;
}
}
}
.goback
{
.goback
{
display
:
flex
;
display
:
flex
;
...
...
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