lijinlong
许宏杰 2 years ago
parent 003cd0c8ac
commit 244dfb2162

@ -1,77 +1,76 @@
<template>
<!-- <div class="pc"> -->
<div class="container">
<div class="main-container">
<div class="top_nav">
<div class="top_left">
<router-link
v-for="item in menus.slice(0, 2)"
:key="item.id"
class="nav_item left_nav"
active-class="selected_nav"
exact
:to="{ path: item.path }"
>
{{ item.name }}
</router-link>
</div>
<div class="center_title">太仓市网络综合治理平台</div>
<div class="top_right">
<router-link
v-for="item in menus.slice(2, 4)"
:key="item.id"
class="nav_item right_nav"
active-class="selected_nav"
exact
:to="{ path: item.path }"
>
{{ item.name }}
</router-link>
<div class="pc">
<div class="container">
<div class="main-container">
<div class="top_nav">
<div class="top_left">
<router-link
v-for="item in menus.slice(0, 2)"
:key="item.id"
class="nav_item left_nav"
active-class="selected_nav"
exact
:to="{ path: item.path }"
>
{{ item.name }}
</router-link>
</div>
<div class="center_title">太仓市网络综合治理平台</div>
<div class="top_right">
<router-link
v-for="item in menus.slice(2, 4)"
:key="item.id"
class="nav_item right_nav"
active-class="selected_nav"
exact
:to="{ path: item.path }"
>
{{ item.name }}
</router-link>
</div>
<div class="time-wrap">
<div class="icon" />
<span class="date">{{ now.date }}</span>
<span class="time">
{{ now.hour + ":" + now.minute + ":" + now.second }}
</span>
</div>
<div class="year-wrap"></div>
</div>
<div class="time-wrap">
<div class="icon" />
<span class="date">{{ now.date }}</span>
<span class="time">
{{ now.hour + ":" + now.minute + ":" + now.second }}
</span>
</div>
<div class="year-wrap"></div>
<router-view />
</div>
<router-view />
</div>
<div>
<el-button
v-if="!dialogDetails && $route.name === '网络舆情'"
type="primary"
style="
background-color: rgba(255, 255, 255, 0.2);
position: absolute;
top: 160px;
left: 1600px;
z-index: 9999;
"
@click="dialogDetails = !dialogDetails"
>切换</el-button
<div>
<el-button
v-if="!dialogDetails && $route.name === '网络舆情'"
type="primary"
style="
background-color: rgba(255, 255, 255, 0.2);
position: absolute;
top: 160px;
left: 1600px;
z-index: 9999;
"
@click="dialogDetails = !dialogDetails"
>切换</el-button
>
</div>
<el-dialog
v-if="dialogDetails"
v-el-drag-dialog
class="screen-dialog"
:visible.sync="dialogDetails"
width="2530px"
top="20px"
:modal-append-to-body="true"
center
:modal="false"
>
<div class="iframeBox">
<commandControl />
</div>
</el-dialog>
</div>
<el-dialog
v-if="dialogDetails"
v-el-drag-dialog
class="screen-dialog"
:visible.sync="dialogDetails"
width="2530px"
top="20px"
:modal-append-to-body="true"
center
:modal="false"
>
<div class="iframeBox">
<commandControl />
</div>
</el-dialog>
</div>
<!-- </div> -->
</template>
<script>

@ -26,7 +26,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath
*/
// publicPath: './',
publicPath: "/demo/taicangzongzhi",
publicPath: "/demo/taicangzongzhi2",
outputDir: "dist",
assetsDir: "static",
lintOnSave: process.env.NODE_ENV === "development",

Loading…
Cancel
Save