登录功能完成
This commit is contained in:
parent
aa285cf04e
commit
55bdc8f06c
|
|
@ -5,19 +5,17 @@
|
||||||
<router-view />
|
<router-view />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Footer />
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Footer from './public/Footer'
|
|
||||||
import Header from './public/Header'
|
import Header from './public/Header'
|
||||||
export default {
|
export default {
|
||||||
name: 'Container',
|
name: 'Container',
|
||||||
components: {
|
components: {
|
||||||
Footer,
|
|
||||||
Header
|
Header
|
||||||
},
|
},
|
||||||
props: {},
|
props: {},
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="left_list">
|
<div class="left_list">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li><router-link to="/">首页</router-link></li>
|
<li><router-link to="/">首页</router-link></li>
|
||||||
<li><router-link to="/">样品发现</router-link></li>
|
<li><router-link to="/">样品发现</router-link></li>
|
||||||
<li><router-link to="/">数据资源</router-link></li>
|
<li><router-link to="/">数据资源</router-link></li>
|
||||||
|
|
@ -89,15 +89,13 @@ export default {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.footer{
|
.footer{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 320px;
|
|
||||||
background: url(../../../static/images/footBg.jpg) center no-repeat;
|
background: url(../../../static/images/footBg.jpg) center no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
padding: 20px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 50px;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
.footer_con{
|
.footer_con{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
|
|
@ -106,7 +104,7 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.footer_left{
|
.footer_left{
|
||||||
width: 405px;
|
width: 450px;
|
||||||
height: 140px;
|
height: 140px;
|
||||||
border-right: 1px solid #34455d;
|
border-right: 1px solid #34455d;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -130,9 +128,8 @@ export default {
|
||||||
height: auto;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
|
||||||
li{
|
li{
|
||||||
width: 31%;
|
width: 25%;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
a{
|
a{
|
||||||
|
|
@ -144,6 +141,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.footer_right{
|
.footer_right{
|
||||||
|
padding-left: 50px;
|
||||||
width: 720px;
|
width: 720px;
|
||||||
height: 140px;
|
height: 140px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -204,7 +202,6 @@ export default {
|
||||||
}
|
}
|
||||||
.dibu{
|
.dibu{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 60px;
|
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -240,4 +237,4 @@ export default {
|
||||||
.dibu_2 .el-input{
|
.dibu_2 .el-input{
|
||||||
height: 35px;
|
height: 35px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,7 @@ export default {
|
||||||
// 退出登录
|
// 退出登录
|
||||||
onLogout() {
|
onLogout() {
|
||||||
loginOut().then(res => {
|
loginOut().then(res => {
|
||||||
location.href = '/#/container/login'
|
location.href = './#/container/login'
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
location.reload()
|
location.reload()
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ header{
|
||||||
background: #012458;
|
background: #012458;
|
||||||
padding: 0 3%;
|
padding: 0 3%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: fixed;
|
//position: fixed;
|
||||||
top: 0;
|
//top: 0;
|
||||||
left: 0;
|
//left: 0;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
color:white;
|
color:white;
|
||||||
.otherPub{
|
.otherPub{
|
||||||
|
|
@ -1311,7 +1311,7 @@ header{
|
||||||
|
|
||||||
}
|
}
|
||||||
.container_a {
|
.container_a {
|
||||||
padding-top: 90px;
|
//padding-top: 90px;
|
||||||
}
|
}
|
||||||
.box_p{
|
.box_p{
|
||||||
padding:20px 4%;
|
padding:20px 4%;
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="离岗日期" prop="start_date">
|
<el-form-item label="航次开始" prop="start_date">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="form.start_date"
|
v-model="form.start_date"
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="返岗日期" prop="end_date">
|
<el-form-item label="航次结束" prop="end_date">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="form.end_date"
|
v-model="form.end_date"
|
||||||
|
|
|
||||||
|
|
@ -209,10 +209,13 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Footer from '../components/public/Footer'
|
||||||
import { getVoyage, getVoyageLine, getParamsList } from '../api/home'
|
import { getVoyage, getVoyageLine, getParamsList } from '../api/home'
|
||||||
import { swiper, swiperSlide } from 'vue-awesome-swiper'
|
import { swiper, swiperSlide } from 'vue-awesome-swiper'
|
||||||
import 'swiper/swiper-bundle.css'
|
import 'swiper/swiper-bundle.css'
|
||||||
|
|
@ -222,7 +225,8 @@ export default {
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
components: {
|
components: {
|
||||||
swiper,
|
swiper,
|
||||||
swiperSlide
|
swiperSlide,
|
||||||
|
Footer
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -389,13 +393,16 @@ export default {
|
||||||
this.viewer.shadowMap.darkness = 0.8
|
this.viewer.shadowMap.darkness = 0.8
|
||||||
this.viewer.scene._sunBloom = false
|
this.viewer.scene._sunBloom = false
|
||||||
this.viewer.scene.globe.showGroundAtmosphere = false
|
this.viewer.scene.globe.showGroundAtmosphere = false
|
||||||
|
// 不显示底图
|
||||||
|
// this.viewer.imageryLayers.get(0).show = false
|
||||||
|
|
||||||
// 叠加叠加影像服务
|
// 叠加叠加影像服务
|
||||||
const earthMap = new Cesium.WebMapTileServiceImageryProvider(
|
const earthMap = new Cesium.WebMapTileServiceImageryProvider(
|
||||||
{
|
{
|
||||||
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:world/EPSG:4326/EPSG:4326:{z}/{y}/{x}?format=image/png',
|
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:world/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/jpeg',
|
||||||
layer: 'ne:gmrt_20231018',
|
layer: 'ougp:world',
|
||||||
style: 'default',
|
style: 'default',
|
||||||
tileMatrixSetID: 'EPSG:4326',
|
tileMatrixSetID: 'EPSG:900913',
|
||||||
format: 'image/jpeg',
|
format: 'image/jpeg',
|
||||||
tilingScheme: new Cesium.GeographicTilingScheme()
|
tilingScheme: new Cesium.GeographicTilingScheme()
|
||||||
}
|
}
|
||||||
|
|
@ -404,10 +411,10 @@ export default {
|
||||||
// 增加海岸线
|
// 增加海岸线
|
||||||
const coastline = new Cesium.WebMapTileServiceImageryProvider(
|
const coastline = new Cesium.WebMapTileServiceImageryProvider(
|
||||||
{
|
{
|
||||||
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:GSHHS_f_L1/EPSG:4326/EPSG:4326:{z}/{y}/{x}?format=image/png',
|
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:GSHHS_f_L1/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png',
|
||||||
layer: 'ne:GSHHS_f_L1',
|
layer: 'ne:GSHHS_f_L1',
|
||||||
style: 'default',
|
style: 'default',
|
||||||
tileMatrixSetID: 'EPSG:4326',
|
tileMatrixSetID: 'EPSG:900913',
|
||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
tilingScheme: new Cesium.GeographicTilingScheme()
|
tilingScheme: new Cesium.GeographicTilingScheme()
|
||||||
}
|
}
|
||||||
|
|
@ -416,10 +423,10 @@ export default {
|
||||||
// 沉船摄影拼接图
|
// 沉船摄影拼接图
|
||||||
const shipline = new Cesium.WebMapTileServiceImageryProvider(
|
const shipline = new Cesium.WebMapTileServiceImageryProvider(
|
||||||
{
|
{
|
||||||
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:正射影像图_GM输出_20240516/EPSG:4326/EPSG:4326:{z}/{y}/{x}?format=image/png',
|
url: this.CesiumHostAddr + 'geoserver/gwc/service/wmts/rest/ougp:正射影像图_GM输出_20240516/{TileMatrixSet}/{TileMatrixSet}:{TileMatrix}/{TileRow}/{TileCol}?format=image/png',
|
||||||
layer: 'ne:No1ShipWreck_UP',
|
layer: 'ougp:正射影像图_GM输出_20240516',
|
||||||
style: 'default',
|
style: 'default',
|
||||||
tileMatrixSetID: 'EPSG:4326',
|
tileMatrixSetID: 'EPSG:900913',
|
||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
tilingScheme: new Cesium.GeographicTilingScheme()
|
tilingScheme: new Cesium.GeographicTilingScheme()
|
||||||
}
|
}
|
||||||
|
|
@ -491,7 +498,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
window.open(val, '_blank')
|
window.open(val, '_blank')
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -657,6 +664,7 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.guiji_1 {
|
.guiji_1 {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
@ -747,6 +755,15 @@ export default {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.cover {
|
||||||
|
width: 100%;
|
||||||
|
height: 800px;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 3000;
|
||||||
|
background-color: pink;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.shuju {
|
.shuju {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue