| | |
| | | :class="activePage == i ? 'left-card-active' : ''" |
| | | @click="openMenu(item, i)" |
| | | > |
| | | <span class="icon iconfont">{{item.icon}}</span> |
| | | <img :src="item.img_black" class="icon iconfont icon_black" /> |
| | | <img :src="item.img_white" class="icon iconfont icon_white" /> |
| | | <span class="card-text">{{ item.name }}</span> |
| | | </div> |
| | | </div> |
| | |
| | | import { getUrlKey } from "@/api/utils"; |
| | | import systemClean from "../views/systemClean"; |
| | | import updateSettings from "../views/updateSettings"; |
| | | import BackUp from "../views/backUp"; |
| | | // import BackUp from "../views/backUp"; |
| | | import restartSettings from "../views/restartSettings"; |
| | | import sysInfo from "../views/sysInfo"; |
| | | export default { |
| | |
| | | components: { |
| | | systemClean, |
| | | updateSettings, |
| | | BackUp, |
| | | // BackUp, |
| | | restartSettings,sysInfo |
| | | }, |
| | | data() { |
| | | return { |
| | | menuArr: [ |
| | | { name: "æ´æ°è®¾ç½®" ,icon:"\ue6fa" }, |
| | | // { name: "å¤ä»½è¿å",icon:"" }, |
| | | { name: "ç³»ç»æ¸
ç" ,icon:"\uea3b" }, |
| | | { name: "éå¯è®¾ç½®" ,icon:"\ue709" }, |
| | | { name: "ç³»ç»ä¿¡æ¯" ,icon:"\ue709" }, |
| | | { name: "æ´æ°è®¾ç½®" ,img_black:"/images/vindicate/æ´æ°è®¾ç½®-é».png", img_white:"/images/vindicate/æ´æ°è®¾ç½®-ç½.png",}, |
| | | { name: "ç³»ç»æ¸
ç" ,img_black:"/images/vindicate/ç³»ç»æ¸
ç-é».png", img_white:"/images/vindicate/ç³»ç»æ¸
ç-ç½.png",}, |
| | | { name: "éå¯è®¾ç½®" ,img_black:"/images/vindicate/éå¯è®¾ç½®-é».png", img_white:"/images/vindicate/éå¯è®¾ç½®-ç½.png",}, |
| | | { name: "ç³»ç»ä¿¡æ¯" ,img_black:"/images/vindicate/ç³»ç»ä¿¡æ¯-é».png", img_white:"/images/vindicate/ç³»ç»ä¿¡æ¯-ç½.png",}, |
| | | ], |
| | | activePage: 0, |
| | | free: 0, |
| | |
| | | <style lang="scss"> |
| | | .container { |
| | | height: 100%; |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex: 1; |
| | |
| | | box-sizing: border-box; |
| | | .container-left { |
| | | height: 100%; |
| | | width: 240px; |
| | | |
| | | width: 244px; |
| | | overflow: auto; |
| | | box-sizing: border-box; |
| | | flex-shrink: 0; |
| | | padding: 10px; |
| | | border-right: 5px solid rgba(248, 248, 248, 1); |
| | | padding: 17px 10px 0 10px; |
| | | box-sizing: border-box; |
| | | background: #fff; |
| | | .left-card { |
| | | height: 50px; |
| | | position: relative; |
| | | width: 224px; |
| | | height: 56px; |
| | | cursor: pointer; |
| | | border-radius: 10px; |
| | | margin-bottom: 10px; |
| | | display: flex; background-color: #f8f8f8; |
| | | |
| | | border-radius: 8px; |
| | | margin-bottom: 4px; |
| | | display: flex; |
| | | background-color: #F2F2F7; |
| | | align-items: center; |
| | | .icon_white { |
| | | position: absolute; |
| | | top: 8px; |
| | | left: 0; |
| | | visibility: hidden; |
| | | } |
| | | .iconfont { |
| | | margin-left: 15px; |
| | | margin-right: 10px; |
| | | font-size: 18px; |
| | | width: 40px; |
| | | height: 40px; |
| | | margin: 0 20px 0 20px; |
| | | background: #333333; |
| | | border-radius: 8px; |
| | | } |
| | | .card-text { |
| | | font-size: 15px; |
| | | font-family: PingFang SC; |
| | | font-weight: 700; |
| | | font-size: 16px; |
| | | line-height: 22.4px; |
| | | } |
| | | } |
| | | .left-card-active { |
| | | color: #fff; |
| | | background-color: rgba(61, 104, 225, 1); |
| | | background-color: #4E94FF; |
| | | .icon_black { |
| | | visibility: hidden; |
| | | } |
| | | .icon_white{ |
| | | visibility: visible; |
| | | } |
| | | .iconfont { |
| | | color: #333333; |
| | | background-color: #fff; |
| | | } |
| | | } |
| | | |
| | | .left-card:hover { |
| | | background-color: rgba(61, 104, 225, 1); |
| | | background-color: #4E94FF; |
| | | color: #fff; |
| | | .iconfont { |
| | | color: #333333; |
| | | background-color: #fff; |
| | | } |
| | | .icon_black { |
| | | visibility: hidden; |
| | | } |
| | | .icon_white{ |
| | | visibility: visible; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | v-if="serializedNumber != ''"
|
| | | >导åºäº§åå¯é¥</el-button
|
| | | >
|
| | | <div class="desc" style="color: rgba(71, 153, 247, 1)">
|
| | | <div class="desc activation">
|
| | | {{ serializedNumber == "" ? "æªæ¿æ´»" : "å·²æ¿æ´»" }}
|
| | | </div>
|
| | | </div>
|
| | |
| | | </div>
|
| | | <div class="bar">
|
| | | <div class="name">产åå¯é¥ï¼</div>
|
| | | <div class="desc" style="font-size: 12px">
|
| | | {{ authorization || "--" }}
|
| | | <div class="desc" >
|
| | | {{ authorization || "-" }}
|
| | | </div>
|
| | | </div>
|
| | | <div class="bar">
|
| | |
| | | <style lang="scss">
|
| | | .v-sys-info {
|
| | | width: 100%;
|
| | | background-color: #F2F2F7;
|
| | | .el-dialog__header {
|
| | | padding: 15px 20px 10px;
|
| | | text-align: left;
|
| | |
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | position: relative;
|
| | | padding: 20px 40px;
|
| | | padding: 10px 15px 0 10px;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | | > .el-form-item__label:before,
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | }
|
| | | .auto {
|
| | | .title-bg {
|
| | | background-color: #f8f8f8;
|
| | | height: 150px;
|
| | | border-radius: 12px;
|
| | | margin-bottom: 20px;
|
| | | background-color: #fff;
|
| | | height: 110px;
|
| | | border-radius: 8px;
|
| | | margin-bottom: 10px;
|
| | | display: flex;
|
| | | flex-direction: column;
|
| | | justify-content: center;
|
| | | .title {
|
| | | font-size: 34px;
|
| | | font-weight: 600;
|
| | | line-height: 50px;
|
| | | font-size: 24px;
|
| | | font-weight: 700;
|
| | | line-height: 33.6px;
|
| | | }
|
| | | .desc {
|
| | | font-size: 16px;
|
| | | line-height: 30px;
|
| | | margin-top:10px ;
|
| | | font-size: 12px;
|
| | | line-height: 16.8px;
|
| | | font-weight: 700;
|
| | | }
|
| | | }
|
| | | .bar {
|
| | | display: flex;
|
| | | align-items: center;
|
| | | padding: 12px 25px;
|
| | | background-color: #f8f8f8;
|
| | | padding: 12px 40px;
|
| | | background-color: #fff;
|
| | | justify-content: space-between;
|
| | | border-radius: 12px;
|
| | | margin-bottom: 10px;
|
| | |
| | | align-items: center;
|
| | | }
|
| | | .name {
|
| | | font-size: 15px;
|
| | | font-size: 16px;
|
| | | font-weight: 700;
|
| | | text-align: left;
|
| | | min-width: 180px;
|
| | | }
|
| | | .desc {
|
| | | font-size: 15px;
|
| | | font-size: 16px;
|
| | | font-weight: 700;
|
| | | margin-left: 20px;
|
| | | max-width: 600px;
|
| | | /* overflow: hidden; */
|
| | |
| | | word-wrap: break-word;
|
| | | text-align: left;
|
| | | }
|
| | | .activation{
|
| | | width: 90px;
|
| | | height: 28px;
|
| | | background: rgba(78,148,255,0.1);
|
| | | border: 1px solid #4E94FF;
|
| | | border-radius:20px ;
|
| | | text-align: center;
|
| | | line-height: 28px;
|
| | | color: #333;
|
| | | font-size: 14px;
|
| | | }
|
| | | .el-input {
|
| | | width: 100%;
|
| | | .el-input {
|
| | |
| | |
|
| | | <div class="cur-version">å½åçæ¬ï¼{{ curVersionName }}</div>
|
| | | </div>
|
| | |
|
| | | <div class="wifi" v-if="activePage == 1">
|
| | | <div class="content">
|
| | | <div class="title">ç³»ç»æ´æ°è®¾ç½®</div>
|
| | |
| | | flex: 1;
|
| | | flex-basis: auto;
|
| | | box-sizing: border-box;
|
| | | border-top: 4px solid #f8f8f8;
|
| | | border-left: 4px solid #f8f8f8;
|
| | | .cluster-center {
|
| | | height: 100%;
|
| | | width: 280px;
|
| | | width: 300px;
|
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | flex-shrink: 0;
|
| | | padding: 10px;
|
| | | border-right: 5px solid #f8f8f8;
|
| | | padding: 24px 10px 0 10px;
|
| | | border-right: 4px solid #f8f8f8;
|
| | |
|
| | | .menu-item {
|
| | | background-color: #f8f8f8;
|
| | | height: 50px;
|
| | | margin-bottom: 10px;
|
| | | background-color: #F2F2F7;
|
| | | height: 56px;
|
| | | margin-bottom: 4px;
|
| | | border-radius: 8px;
|
| | | line-height: 50px;
|
| | | box-sizing: border-box;
|
| | | font-size: 14px;
|
| | | line-height: 56px;
|
| | | box-sizing: border-box; |
| | | cursor: pointer;
|
| | | padding: 0 20px;
|
| | | padding: 0 15px;
|
| | | display: flex;
|
| | | justify-content: space-between;
|
| | | .con {
|
| | | .iconfont {
|
| | | width: 26px;
|
| | | height: 26px;
|
| | | margin-right: 10px;
|
| | | color: #333;
|
| | | }
|
| | | .menu-text {
|
| | | font-size: 15px;
|
| | | font-size: 16px;
|
| | | font-weight: 700;
|
| | | }
|
| | | }
|
| | | }
|
| | | .menu-item-active {
|
| | | color: #fff;
|
| | | background-color: rgba(61, 104, 225, 1);
|
| | | background-color: #4E94FF;
|
| | | }
|
| | | .menu-item:hover {
|
| | | color: #fff;
|
| | | background-color: rgba(61, 104, 225, 1);
|
| | | background-color: #4E94FF;
|
| | | }
|
| | | }
|
| | | .cluster-right {
|
| | |
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | position: relative;
|
| | | padding: 20px 40px;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | | > .el-form-item__label:before,
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | }
|
| | | }
|
| | | .wifi {
|
| | | .content {
|
| | | margin-bottom: 20px;
|
| | | }
|
| | | padding: 10px 0 0 10px;
|
| | | .bar {
|
| | | display: flex;
|
| | | align-items: center;
|
| | | height: 50px;
|
| | | padding: 0 25px;
|
| | | background-color: #f8f8f8;
|
| | | justify-content: space-between;
|
| | | border-radius: 12px;
|
| | | margin-bottom: 10px;
|
| | | padding-left:20px ;
|
| | | .name {
|
| | | font-size: 15px;
|
| | | font-size: 14px;
|
| | | font-weight: 700;
|
| | | }
|
| | | }
|
| | | .title {
|
| | | text-align: left;
|
| | | padding: 10px;
|
| | | padding: 17px 0 17px 25px;
|
| | | font-size: 16px;
|
| | | color:#333;
|
| | | font-weight: 700;
|
| | | }
|
| | | .el-switch{
|
| | | width: 40px;
|
| | | height: 14px;
|
| | | margin-right: 17px;
|
| | | }
|
| | | .is-checked .el-switch__core{
|
| | | background-color: #4E97FF !important;
|
| | | }
|
| | | }
|
| | |
|