diff --git a/src/assets/search.png b/src/assets/search.png new file mode 100644 index 0000000..519e7c6 Binary files /dev/null and b/src/assets/search.png differ diff --git a/大屏/src/pages/index.vue b/大屏/src/pages/index.vue index 436a623..35f7fac 100644 --- a/大屏/src/pages/index.vue +++ b/大屏/src/pages/index.vue @@ -3,6 +3,24 @@
+
+
+ + +
搜索
+
+
+
+
+
+
{{item.name}}
+
+
+
+ +
漫游模式
+
第一人称
+
@@ -256,6 +274,14 @@ export default { cardNo:'', name:'' }, + searchText:'', + legendList:[ + {color:'#388CFF',name:'1级区域'}, + {color:'#1AE1FF',name:'2级区域'}, + {color:'#F4CD2F',name:'3级区域'}, + {color:'#FF690B',name:'4级区域'}, + {color:'#C40707',name:'5级区域'} + ] } }, methods:{ @@ -486,6 +512,100 @@ export default { height:100%; z-index:1; } + .searchInput{ + position: absolute; + z-index:2; + + width:40%; + left:30%; + top:10%; + .searchContent{ + + position: relative; + &>img{ + width:2rem; + height:2rem; + position: absolute; + left:2.3rem; + top:50%; + transform: translateY(-50%); + } + input{ + width: calc(100% - 13rem); + height: 5rem; + background: rgba(3,8,34,0.4); + border-radius: 2.5rem; + border: 1px solid #68E1FF; + padding-left:5rem; + font-weight: 400; + font-size: 1.4rem; + color: #FFFFFF; + padding-right:8rem; + } + .searchBtn{ + position: absolute; + width: 7rem; + height: 80%; + background: #1378E7; + border-radius: 2.5rem; + display: flex; + align-items: center; + justify-content: center; + font-family: SourceHanSansSC; + font-weight: 400; + font-size: 1.4rem; + color: #FFFFFF; + + right:0.6rem; + top:10%; + cursor: pointer; + } + } + + } + .lengend{ + + position: absolute; + bottom:5rem; + left:26%; + z-index:10; + .legendItem{ + display: flex; + align-items: center; + margin-top:2rem; + .flag{ + width: 2rem; + height: 1.2rem; + } + .name{ + margin-left:1.3rem; + font-family: SourceHanSansSC; + font-weight: 400; + font-size: 1.4rem; + color: #FFFFFF; + } + } + } + .toolBox{ + + position: absolute; + left:32%; + display: flex; + z-index:10; + + border-radius: 4px; + bottom:5rem; + .toolBtn{ + padding:1.3rem 2rem; + background: rgba(10,11,12,0.72); + border: 1px solid #1AE1FF; + margin-right:1.2rem; + font-family: SourceHanSansSC; + font-weight: 400; + font-size: 1.8rem; + color: #FFFFFF; + } + } } .header{ position: absolute;