| | |
| | | v-bind:style="{left: data.leftOffset + 'px', top: data.topOffset + 'px', 'z-index': 125 + data.order, width: width + 'px', height: height + 'px'}" |
| | | > |
| | | <div class="d-frame-title" v-drag='fullScreen' @click="frameClick"> |
| | | <div class="d-frame-title-operation"> |
| | | <div class="icon iconfont back" @click="back"></div> |
| | | <div class="d-frame-title-operation"> |
| | | <i class="icon-minus d-frame-operation-minus" @click="minFrame(data,$event)"> |
| | | <img :src="`${publicPath}images/desktop/header-icon/min.png`" alt /> |
| | | </i> |
| | |
| | | |
| | | }, |
| | | |
| | | back(){ |
| | | let active = this.$store.state.desktop.minDocks |
| | | active = active.filter(item => item.highlight) |
| | | console.log(`è¿å${active.alt}`); |
| | | const iframeArr = document.querySelectorAll("iframe") |
| | | iframeArr.forEach(item=>{ |
| | | item.contentWindow.postMessage({msg:`è¿å${active[0].alt}`},"*") |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | directives: { |
| | | drag(el, binding) { |
| | |
| | | z-index: 2; |
| | | } |
| | | |
| | | .back { |
| | | position: absolute; |
| | | cursor: pointer; |
| | | top: 8px; |
| | | left: 10px; |
| | | } |
| | | |
| | | .d-frame-title-operation i { |
| | | font-size: 18px; |
| | | display: inline-block; |
| | |
| | | |
| | | <div class="container-center" v-if="activeIndex == 0"> |
| | | <div class="account-left" v-if="activeIndex == 0"> |
| | | <div class="account-list"> |
| | | <div class="account-list" |
| | | :class="{'account-list-scroll' |
| | | :account_list_scroll}" |
| | | @mouseenter="account_list_scroll = true" |
| | | @mouseleave="account_list_scroll = false" |
| | | > |
| | | <div |
| | | class="account-card" |
| | | :class="activeAccountIndex == index ? 'account-card-active' : ''" |
| | |
| | | ref="view_6" |
| | | ></deviceInfo> |
| | | </div> |
| | | <div class="welcome-page" v-else ref="curPage"> |
| | | <div class="welcome-page" v-else ref="curPage" @mouseup="mouseDownIndex = ''"> |
| | | <div |
| | | class="search-box" |
| | | :class="showRecomand ? 'border-change' : ''" |
| | |
| | | <div |
| | | class="nav-child" |
| | | @click="openWelcome(i)" |
| | | @mousedown="mouseDownIndex = i" |
| | | :class="mouseDownIndex === i? 'nav-child-active':''" |
| | | v-for="(item, i) in menuArr" |
| | | :key="i" |
| | | > |
| | |
| | | inputHour: "", |
| | | inputMin: "", |
| | | inputSec: "", |
| | | mouseDownIndex:'', |
| | | inputYrs: "", |
| | | showInputNickName: false, |
| | | inputMonth: "", |
| | |
| | | ], |
| | | confirmPassword: [{ validator: v4, trigger: "blur" }], |
| | | }, |
| | | account_list_scroll: false |
| | | }; |
| | | }, |
| | | created(){ |
| | |
| | | // } |
| | | }, |
| | | mounted() { |
| | | window.addEventListener("message",(e)=>{ |
| | | if(e.data.msg === 'è¿åç³»ç»è®¾ç½®') { |
| | | this.showWelcome = true |
| | | } |
| | | }) |
| | | const menu = getUrlKey("menu"); |
| | | if (menu) { |
| | | this.showWelcome = false; |
| | |
| | | text-align: left; |
| | | box-sizing: border-box; |
| | | padding: 0 20px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-size: 14px; |
| | | cursor: pointer; |
| | | } |
| | |
| | | text-align: left; |
| | | box-sizing: border-box; |
| | | padding: 0 20px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-size: 14px; |
| | | } |
| | | .res-bar:hover { |
| | |
| | | } |
| | | } |
| | | .nav-items { |
| | | max-width: 960px; |
| | | margin: 0 auto; |
| | | .nav-child { |
| | | box-sizing: border-box; |
| | | background-color: rgba(251, 251, 255, 0.1); |
| | |
| | | cursor: pointer; |
| | | border: 2px solid #F2F2F7; |
| | | |
| | | &:hover { |
| | | &-active { |
| | | border: 2px solid #4E94FF; |
| | | } |
| | | |
| | | &:hover { |
| | | background: #F2F2F7; |
| | | } |
| | | |
| | |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | margin-top: 24px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | } |
| | | } |
| | | } |
| | |
| | | flex-basis: auto; |
| | | box-sizing: border-box; |
| | | background-color: #fff; |
| | | border-top: 1px solid #e1e0e6; |
| | | color: #4F4F4F; |
| | | border-top: 2px solid #E1E0E6; |
| | | .container-left { |
| | | height: 100%; |
| | | width: 244px; |
| | |
| | | height: 56px; |
| | | cursor: pointer; |
| | | border-radius: 8px; |
| | | margin-bottom: 10px; |
| | | margin-bottom: 4px; |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 0 20px; |
| | | |
| | | .card-text { |
| | | margin-left: 20px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-weight: bold; |
| | | font-size: 16px; |
| | | line-height: 22px; |
| | | height: 22px; |
| | | } |
| | | img { |
| | | height: 40px; |
| | | width: 40px; |
| | | height: 30px; |
| | | width: 30px; |
| | | } |
| | | .w { |
| | | display: none; |
| | |
| | | overflow: auto; |
| | | flex-shrink: 0; |
| | | padding: 10px; |
| | | border-right: 4px solid #f2f2f7; |
| | | padding-top: 6px; |
| | | padding-right: 5px; |
| | | border-top: 4px solid #f2f2f7; |
| | | border-left: 4px solid #f2f2f7; |
| | | box-sizing: border-box; |
| | | background-color: #fbfaff; |
| | | border-left: 4px solid #f2f2f7; |
| | | .account-left { |
| | | height: 100%; |
| | | .account-list { |
| | | height: calc(85%); |
| | | overflow: auto; |
| | | padding-right: 5px; |
| | | &::-webkit-scrollbar-track, &::-webkit-scrollbar-thumb { visibility: hidden; } |
| | | &::-webkit-scrollbar { |
| | | background-color: #fff; |
| | | } |
| | | |
| | | &.account-list-scroll::-webkit-scrollbar-thumb, &.account-list-scroll::-webkit-scrollbar-track { |
| | | visibility: visible; |
| | | } |
| | | &.account-list-scroll::-webkit-scrollbar { |
| | | background-color: #f5f5f5; |
| | | } |
| | | } |
| | | .add-account { |
| | | color: var(--colorCard); |
| | |
| | | height: 19.21px; |
| | | background: #ffffff; |
| | | border-radius: 20px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | transform: scale(0.833333); |
| | | line-height: 22.21px; |
| | | span { |
| | |
| | | position: relative; |
| | | padding: 30px 40px; |
| | | background: #f2f2f7; |
| | | border-left: 4px solid #f2f2f7; |
| | | border-top: 4px solid #f2f2f7; |
| | | .account-right { |
| | | height: 100%; |
| | | .account-content { |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | min-width: 200px; |
| | | .user-name { |
| | | margin-bottom: 10px; |
| | |
| | | font-weight: bold; |
| | | font-size: 16px; |
| | | line-height: 22px; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | margin-bottom: 40px; |
| | | height: 28px; |
| | | display: flex; |
| | |
| | | border-radius: 8px; |
| | | padding: 0 15px 0 20px; |
| | | .el-select-dropdown__item { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | height: 32px; |
| | | font-size: 12px; |
| | | line-height: 32px; |
| | |
| | | width: 100%; |
| | | } |
| | | .el-select .el-input .el-select__caret { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-size: 14px; |
| | | font-weight: 600; |
| | | } |
| | |
| | | font-size: 15px; |
| | | } |
| | | .el-input__clear { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-size: 16px; |
| | | line-height: 48px; |
| | | } |
| | |
| | | line-height: 48px; |
| | | font-size: 16px; |
| | | font-weight: 600; |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | height: 48px; |
| | | background: #fbfaff; |
| | | border-bottom: 2px solid #f2f2f7; |
| | |
| | | border-radius: 8px; |
| | | padding: 0 15px 0 20px; |
| | | .el-select-dropdown__item { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | height: 32px; |
| | | font-size: 12px; |
| | | line-height: 32px; |
| | |
| | | width: 100%; |
| | | } |
| | | .el-select .el-input .el-select__caret { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | font-size: 14px; |
| | | font-weight: 600; |
| | | } |
| | |
| | | .datetime-right { |
| | | .datetime-left { |
| | | .device-time { |
| | | color: #333333; |
| | | color: #4F4F4F; |
| | | .title { |
| | | display: flex; |
| | | justify-content: center; |
| | |
| | | box-sizing: border-box;
|
| | | flex-shrink: 0;
|
| | | padding: 10px;
|
| | | padding-top: 6px;
|
| | | border-right: 4px solid #f2f2f7;
|
| | | border-left: 4px solid #f2f2f7;
|
| | | border-top: 4px solid #f2f2f7;
|
| | | .menu-item {
|
| | | background: #f2f2f7;
|
| | | height: 56px;
|
| | | margin-bottom: 4px;
|
| | | border-radius: 8px;
|
| | |
| | | padding: 0 20px;
|
| | | display: flex;
|
| | | justify-content: space-between;
|
| | |
|
| | | &:hover {
|
| | | background: #f2f2f7;
|
| | | }
|
| | |
|
| | | .item-left {
|
| | | display: flex;
|
| | | align-items: center;
|
| | |
| | | }
|
| | | }
|
| | | .menu-item-active {
|
| | | background-color: var(--colorCard);
|
| | | background-color: var(--colorCard) !important;
|
| | | color: #ffffff;
|
| | | }
|
| | | }
|
| | |
| | | box-sizing: border-box;
|
| | | position: relative;
|
| | | padding: 10px;
|
| | | padding-top: 6px;
|
| | | border-top: 4px solid #f2f2f7;
|
| | | .title {
|
| | | height: 48px;
|
| | | font-size: 16px;
|
| | | line-height: 48px;
|
| | | color: #333333;
|
| | | color: #4F4F4F;
|
| | | font-weight: bold; background: #F2F2F7;
|
| | | border-radius: 8px;
|
| | | margin-bottom: 10px;
|
| | |
| | | border: 2px solid #409eff !important;
|
| | | }
|
| | | .el-select-dropdown__item {
|
| | | color: #333333;
|
| | | color: #4F4F4F;
|
| | | height: 32px;
|
| | | font-size: 12px;
|
| | | line-height: 32px;
|
| | |
| | | width: 100%;
|
| | | }
|
| | | .el-select .el-input .el-select__caret {
|
| | | color: #333333;
|
| | | color: #4F4F4F;
|
| | | font-size: 14px;
|
| | | font-weight: 600;
|
| | | }
|
| | |
| | | }
|
| | | .switch-bar .name {
|
| | | font-size: 14px;
|
| | | color: #333;
|
| | | color: #4F4F4F;
|
| | | font-weight: bold;
|
| | | }
|
| | | .wifi-option {
|
| | |
| | | border-radius: 8px;
|
| | | .name {
|
| | | font-size: 14px;
|
| | | color: #333;
|
| | | color: #4F4F4F;
|
| | | font-weight: bold;
|
| | | .icon {
|
| | | color: #4e94ff;
|
| | |
| | | padding: 14px 20px;
|
| | | font-weight: bold;
|
| | | font-size: 14px;
|
| | | color: #333333;
|
| | | color: #4F4F4F;
|
| | | }
|
| | | .ip-input-container {
|
| | | max-width: none !important;
|
| | |
| | | line-height: 48px;
|
| | | }
|
| | | .ad {
|
| | | margin-top: 10px;
|
| | | height: 32px;
|
| | | text-align: center;
|
| | | font-size: 17px;
|
| | |
| | | font-size: 15px;
|
| | | font-weight: bold;
|
| | | font-size: 14px;
|
| | | color: #333333;
|
| | | color: #4F4F4F;
|
| | | }
|
| | | .right {
|
| | | display: flex;
|
| | |
| | | box-sizing: border-box;
|
| | | flex-shrink: 0;
|
| | | padding: 10px;
|
| | | padding-top: 6px;
|
| | | border-right: 4px solid #f2f2f7;
|
| | | border-left: 4px solid #f2f2f7;
|
| | | border-top: 4px solid #f2f2f7;
|
| | | .menu-item {
|
| | | background-color: #f8f8f8;
|
| | | cursor: pointer;
|
| | |
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | position: relative;
|
| | | border-top: 4px solid #f2f2f7;
|
| | | padding: 20px 40px;
|
| | | padding-top: 16px;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | | > .el-form-item__label:before,
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | box-sizing: border-box;
|
| | | flex-shrink: 0;
|
| | | padding: 10px 10px;
|
| | | padding-top: 6px;
|
| | | border-right: 4px solid #f2f2f7;
|
| | | border-top: 4px solid #f2f2f7;
|
| | | border-left: 4px solid #f2f2f7;
|
| | | background-color: #fbfaff;
|
| | |
|
| | | .menu-item {
|
| | | height: 56px;
|
| | | margin-bottom: 4px;
|
| | |
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | background-color: rgb(251, 250, 255);
|
| | | border-top: 4px solid #f2f2f7;
|
| | |
|
| | | padding: 10px 18px 10px 10px;
|
| | | padding: 6px 18px 10px 10px;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | | > .el-form-item__label:before,
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | .el-form-item {
|
| | | margin-bottom: 10px;
|
| | | height: 50px;
|
| | | background: #f8f8f8;
|
| | | background: #F2F2F7;
|
| | | padding: 4px 20px;
|
| | | -webkit-box-sizing: border-box;
|
| | | box-sizing: border-box;
|
| | |
| | | text-align: center;
|
| | | font-weight: 700;
|
| | | border: none;
|
| | | }
|
| | | background: #F2F2F7;
|
| | | border-radius: 8px;
|
| | | height: 48px;
|
| | | margin-bottom: 4px;
|
| | | border:2px solid #F2F2F7 !important; |
| | | }
|
| | | .bar-group {
|
| | | overflow: auto;
|
| | | height: calc(100% - 100px);
|
| | | .general-bar {
|
| | | height: 48px;
|
| | | background-color: #f8f8f8;
|
| | | background: #F2F2F7;
|
| | | border-radius: 10px;
|
| | | line-height: 48px;
|
| | | box-sizing: border-box;
|
| | |
| | | display: flex;
|
| | | justify-content: space-between;
|
| | | margin-bottom: 2px;
|
| | | border: 2px solid #f8f8f8;
|
| | | border:2px solid #F2F2F7;
|
| | | margin-bottom: 4px;
|
| | | .name {
|
| | | font-size: 14px;
|
| | | }
|
| | |
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | flex-shrink: 0;
|
| | | padding: 10px 10px 0px 10px;
|
| | | padding: 6px 10px 0px 10px;
|
| | | background-color: #FBFAFF;
|
| | | border-right: 4px solid #F2F2F7;
|
| | | border-top: 4px solid #F2F2F7;
|
| | | border-left: 4px solid #F2F2F7;
|
| | | .menu-item {
|
| | | /* background-color: #F2F2F7; */
|
| | | height: 56px;
|
| | |
| | | padding: 0 20px;cursor: pointer;
|
| | | display: flex;
|
| | | align-items: center;
|
| | | color: #333;
|
| | | color: #4F4F4F;
|
| | | .title {
|
| | | font-size: 16px;
|
| | | font-weight: 700;
|
| | |
| | | box-sizing: border-box;
|
| | | position: relative;
|
| | | padding: 10px;
|
| | | padding-top: 6px;
|
| | | border-top: 4px solid #F2F2F7;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | | > .el-form-item__label:before,
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | stripe |
| | | class="tableBox" |
| | | > |
| | | <el-table-column label="åç§°" width="180"> |
| | | <el-table-column label="åç§°" width="231"> |
| | | <template slot-scope="scope"> |
| | | <span class="iconfont icon"></span> |
| | | <span>{{ scope.row.desc }} </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="CPU" width="180"> |
| | | <el-table-column label="CPU" width="150"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.cpu.toFixed(2) }} %</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="å
å"> |
| | | <el-table-column label="å
å" width="150"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.mem.toFixed(2) }} %</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="disk" label="硬ç"></el-table-column> |
| | | <el-table-column label="ç®å"> |
| | | <el-table-column prop="disk" label="硬ç" width="150"></el-table-column> |
| | | <el-table-column label="ç®å" width="150"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.gpu }} M</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="net" label="ç½ç»"></el-table-column> |
| | | <el-table-column prop="net" label="ç½ç»" width="150"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | |
| | |
| | | lineStyle: { |
| | | width: 1, |
| | | type: "solid", |
| | | color:"rgb(242,242,242)" |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | axisTick: { |
| | | show: false, |
| | | }, |
| | | splitLine: { |
| | | lineStyle: { |
| | | color:"rgb(242,242,242)" |
| | | } |
| | | } |
| | | }, |
| | | series: [ |
| | | { |
| | |
| | | } |
| | | |
| | | .column-right { |
| | | background-color: #fff; |
| | | overflow-y: auto; |
| | | overflow-x: auto; |
| | | } |
| | |
| | | <template> |
| | | <div class="container vindicate" v-if="!showWelcome"> |
| | | |
| | | <div class="container-left"> |
| | | <div |
| | | class="left-card" |
| | |
| | | <sysInfo v-if="activePage == 3" style="width: 100%" ref="view_3"></sysInfo> |
| | | </div> |
| | | |
| | | <div class="welcome-page" v-else ref="curPage" @click="showRecomand = false"> |
| | | <div class="welcome-page" v-else ref="curPage" @click="showRecomand = false" @mouseup="mouseDownIndex = ''"> |
| | | <div |
| | | class="search-box" |
| | | :class="showRecomand ? 'border-change' : ''" |
| | |
| | | @click="openWelcome(i)" |
| | | v-for="(item, i) in menuArr" |
| | | :key="i" |
| | | @mousedown="mouseDownIndex = i" |
| | | :class="mouseDownIndex === i? 'nav-child-active':''" |
| | | > |
| | | <div class="child-info"> |
| | | <!-- <span class="icon iconfont welcome-icon">{{ item.icon }}</span> --> |
| | |
| | | full: 0, |
| | | showWelcome:true, |
| | | searchText:'', |
| | | showRecomand:false |
| | | showRecomand:false, |
| | | mouseDownIndex:'' |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | // }); |
| | | } |
| | | this.getLeftPer() |
| | | console.log(99999); |
| | | window.addEventListener("message",(e)=>{ |
| | | console.log(999); |
| | | if(e.data.msg === 'changeColor') { |
| | | document.documentElement.style.setProperty('--colorCard',`${e.data.color}`) |
| | | } |
| | | } |
| | | if (e.data.msg === 'è¿åç³»ç»ç»´æ¤') { |
| | | this.showWelcome = true |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | |
| | | } |
| | | } |
| | | .nav-items { |
| | | max-width: 960px; |
| | | margin: 0 auto; |
| | | .nav-child { |
| | | box-sizing: border-box; |
| | | background-color: rgba(251, 251, 255, 0.1); |
| | |
| | | border: 2px solid #F2F2F7; |
| | | |
| | | &:hover { |
| | | border: 2px solid #4E94FF; |
| | | background: #F2F2F7; |
| | | } |
| | | |
| | | &-active { |
| | | border: 2px solid #4E94FF; |
| | | } |
| | | |
| | | // box-shadow: 2px 2px 4px rgb(226, 226, 226); |
| | |
| | | flex: 1; |
| | | flex-basis: auto; |
| | | box-sizing: border-box; |
| | | position: relative; |
| | | |
| | | .back { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | } |
| | | |
| | | .container-left { |
| | | height: 100%; |
| | | width: 244px; |
| | |
| | | .restart {
|
| | | margin: 0 auto;
|
| | | padding: 10px;
|
| | | width: 74% !important;
|
| | | font-size: 16px;
|
| | | color: #333;
|
| | | font-weight: 700;
|
| | |
| | | <script>
|
| | | import { deleteData } from "@/api/system";
|
| | | export default {
|
| | | created(){
|
| | | const end = new Date();
|
| | | const start = new Date();
|
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
| | | var year=end.getFullYear();
|
| | | var month=end.getMonth()+1;
|
| | | var day=end.getDate();
|
| | | month=month<10?"0"+month:month;
|
| | | day=day<10?"0"+day:day;
|
| | | const endTime = year+"-"+month+"-"+day
|
| | |
|
| | | var year2=start.getFullYear();
|
| | | var month2=start.getMonth()+1;
|
| | | var day2=start.getDate();
|
| | | month2=month2<10?"0"+month2:month2;
|
| | | day2=day2<10?"0"+day2:day2;
|
| | | const startTime = year2+"-"+month2+"-"+day2
|
| | | this.dataRange = [startTime,endTime]
|
| | | },
|
| | | data() {
|
| | | return {
|
| | | pickerOptions: {
|
| | |
| | | day.setTime(day.getTime() - 24 * 60 * 60 * 1000);
|
| | | return time.getTime() > day;
|
| | | },
|
| | | shortcuts: [{
|
| | | text: 'æè¿ä¸å¨',
|
| | | onClick(picker) {
|
| | | const end = new Date();
|
| | | const start = new Date();
|
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
| | | picker.$emit('pick', [start, end]);
|
| | | }
|
| | | }, {
|
| | | text: 'æè¿ä¸ä¸ªæ',
|
| | | onClick(picker) {
|
| | | const end = new Date();
|
| | | const start = new Date();
|
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
| | | picker.$emit('pick', [start, end]);
|
| | | }
|
| | | }, {
|
| | | text: 'æè¿ä¸ä¸ªæ',
|
| | | onClick(picker) {
|
| | | const end = new Date();
|
| | | const start = new Date();
|
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
| | | picker.$emit('pick', [start, end]);
|
| | | }
|
| | | }]
|
| | | },
|
| | | loading: false,
|
| | | loadingText: '',
|
| | | dataRange: []
|
| | | dataRange: [],
|
| | | };
|
| | | },
|
| | | props:["free","full"],
|
| | |
| | | }
|
| | | }
|
| | | </style>
|
| | |
|
| | | <style lang="scss">
|
| | | .clean-time-picker {
|
| | | top: 208px !important;
|
| | | left: 343px !important;
|
| | | width: 624px !important;
|
| | |
|
| | | .el-picker-panel__sidebar {
|
| | | background: #EEF5FF;
|
| | | button {
|
| | | margin: 10px 0;
|
| | | }
|
| | | }
|
| | |
|
| | | tbody {
|
| | | tr:first-child {
|
| | | background: #EEF5FF;
|
| | | }
|
| | | }
|
| | | }
|
| | | </style>
|
| | |
| | | </div>
|
| | | <div class="cluster-right">
|
| | | <div class="net-set" v-if="activePage == 0">
|
| | | <el-radio-group
|
| | | <!-- <el-radio-group
|
| | | v-model="radio2"
|
| | | size="medium"
|
| | | fill="rgba(61, 104, 225, 1)"
|
| | | >
|
| | | <el-radio-button label="æ£æ¥æ´æ°"></el-radio-button>
|
| | | <el-radio-button label="ä¸ä¼ æ´æ°"></el-radio-button>
|
| | | </el-radio-group>
|
| | | </el-radio-group> -->
|
| | |
|
| | | <div class="button-group">
|
| | | <div class="bottom">
|
| | | <div class="top" :class="{ 'toggle':radio2 !== 'æ£æ¥æ´æ°' }"></div>
|
| | | <div class="label-left" :class="{ 'toggle':radio2 == 'æ£æ¥æ´æ°' }" @click="radio2 = 'æ£æ¥æ´æ°'">æ£æ¥æ´æ°</div>
|
| | | <div class="label-right" :class="{ 'toggle':radio2 !== 'æ£æ¥æ´æ°' }" @click="radio2 = 'ä¸ä¼ æ´æ°'">ä¸ä¼ æ´æ°</div>
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="update-center" v-if="radio2 == 'æ£æ¥æ´æ°'">
|
| | | <img v-if="!upgrading&&hasNewVersion||checking"
|
| | |
| | | justify-content: start;
|
| | | height: 95%;
|
| | | padding: 0 30px;
|
| | | .el-radio-group {
|
| | | /* .el-radio-group {
|
| | | margin-top:33px ;
|
| | | .el-radio-button__inner {
|
| | | font-size: 14px;
|
| | |
| | | color: white !important;
|
| | | }
|
| | | }
|
| | | } */
|
| | | .button-group {
|
| | | margin: 0 auto;
|
| | | margin-top: 30px;
|
| | | width: 168px;
|
| | | height: 28px;
|
| | | .bottom {
|
| | | position: relative;
|
| | | height: 100%;
|
| | | background: #F2F2F7;
|
| | | border-radius: 20px;
|
| | | cursor: pointer;
|
| | | .top {
|
| | | position: absolute;
|
| | | top: 0;
|
| | | left: 0;
|
| | | width: 84px;
|
| | | height: 28px;
|
| | | background: #4E94FF;
|
| | | border-radius: 20px;
|
| | | transition: all .2s linear;
|
| | | &.toggle {
|
| | | left: 84px;
|
| | | }
|
| | | }
|
| | | .label-left {
|
| | | position: absolute;
|
| | | width: 84px;
|
| | | height: 28px;
|
| | | top: 0;
|
| | | left: 0;
|
| | | z-index: 1;
|
| | | font-size: 14px;
|
| | | line-height: 28px;
|
| | | font-weight: 700;
|
| | | color: #333333;
|
| | | &.toggle {
|
| | | color: #fff;
|
| | | }
|
| | | }
|
| | | .label-right {
|
| | | position: absolute;
|
| | | width: 84px;
|
| | | height: 28px;
|
| | | top: 0;
|
| | | right: 0;
|
| | | z-index: 1;
|
| | | font-size: 14px;
|
| | | line-height: 28px;
|
| | | font-weight: 700;
|
| | | color: #333333;
|
| | | &.toggle {
|
| | | color: #fff;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | @keyframes spin {
|
| | | from {
|