13 files modified
1 files added
| | |
| | | <!-- 顶部导航栏 --> |
| | | <top ref="top" /> |
| | | <!-- 顶部标签卡 --> |
| | | <div class="tags-box"> |
| | | <tags /> |
| | | </div> |
| | | <search class="avue-view" v-show="isSearch"></search> |
| | | <!-- 主体视图层 --> |
| | | <div id="avue-view" v-show="!isSearch" v-if="isRefresh"> |
| | |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | .tags-box{ |
| | | background: transparent; |
| | | padding: 0 10px; |
| | | --el-color-primary: rgba(20, 65, 255, 1); |
| | | } |
| | | </style> |
| | |
| | | <div class="avue-logo"> |
| | | <transition name="fade"> |
| | | <span v-if="getScreen(isCollapse)" class="avue-logo_subtitle" key="0"> |
| | | {{ website.logo }} |
| | | <!-- {{ website.logo }}--> |
| | | <img class="logoImg" src="/img/bg/mainLogo.png" alt=""/> |
| | | </span> |
| | | </transition> |
| | | <transition-group name="fade"> |
| | | <template v-if="getScreen(!isCollapse)"> |
| | | <div class="fadeStyle"> |
| | | <img class="img" src="/img/bg/mainLogo.png" alt="" width="50%" height="50%" /> |
| | | <img class="logoImg" src="/img/bg/mainLogo.png" alt=""/> |
| | | <div class="titleName">综合管理平台</div> |
| | | <!-- <span style="font-size: 20px;" key="1"> |
| | | {{ this.parentDeptInfo.sysName }} |
| | | </span> --> |
| | | </div> |
| | | |
| | | </template> |
| | | </transition-group> |
| | | </div> |
| | |
| | | data() { |
| | | return {}; |
| | | }, |
| | | created() { |
| | | }, |
| | | created() {}, |
| | | computed: { |
| | | ...mapGetters(['isCollapse']), |
| | | ...mapGetters(['userInfo']), |
| | |
| | | }; |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .avue-logo{ |
| | | box-shadow: none; |
| | | } |
| | | .avue-logo_subtitle{ |
| | | .logoImg{ |
| | | width: 80%; |
| | | } |
| | | } |
| | | .fadeStyle { |
| | | display: flex; align-items: left; gap: 5px; margin: 8px 8px 10px 20px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | gap: 5px; |
| | | .logoImg{ |
| | | width: 50px; |
| | | height: 20px; |
| | | } |
| | | .titleName{ |
| | | font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; |
| | | font-weight: 400; |
| | | font-size: 24px; |
| | | color: #1C5CFF; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | ></el-button> |
| | | <el-drawer append-to-body :with-header="false" v-model="show" size="30%"> |
| | | <div class="setting"> |
| | | <h5>导航模式</h5> |
| | | <!-- <h5>导航模式</h5> |
| | | <div class="setting-checkbox"> |
| | | <el-tooltip class="item" effect="dark" content="侧边菜单布局" placement="top"> |
| | | <div |
| | | @click="setting.sidebar = 'vertical'" |
| | | class="setting-checkbox-item setting-checkbox-item--side" |
| | | class="setting-checkbox-item setting-checkbox-item--side" |
| | | ></div> |
| | | </el-tooltip> |
| | | <el-tooltip class="item" effect="dark" content="顶部菜单布局" placement="top"> |
| | | <div |
| | | @click="setting.sidebar = 'horizontal'" |
| | | class="setting-checkbox-item setting-checkbox-item--top" |
| | | class="setting-checkbox-item setting-checkbox-item--top" |
| | | ></div> |
| | | </el-tooltip> |
| | | </div> |
| | | </div>--> |
| | | <h5>页面布局</h5> |
| | | <div class="setting-checkbox"> |
| | | <div class="setting-item" v-for="(item, index) in list1" :key="index"> |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style lang="scss" scoped></style> |
| | | <style lang="scss" scoped> |
| | | .el-menu{ |
| | | :deep(){ |
| | | .el-menu-item.is-active{ |
| | | background: linear-gradient( 90deg, rgba(179,194,255,0.02) 0%, rgba(20,65,255,0.09) 100%) !important; |
| | | border-radius: 16px 16px 16px 16px; |
| | | i,span{ |
| | | color: rgba(20, 65, 255, 1) !important; |
| | | } |
| | | } |
| | | .el-sub-menu i{ |
| | | font-size: 16px; |
| | | } |
| | | .el-menu-item i{ |
| | | font-size: 16px; |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </style> |
| | |
| | | }, |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .avue-tags{ |
| | | border-radius: 4px; |
| | | } |
| | | </style> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="top-bar__title"> |
| | | <top-menu ref="topMenu" v-if="setting.menu"></top-menu> |
| | | <!-- <top-menu ref="topMenu" v-if="setting.menu"></top-menu>--> |
| | | <top-search class="top-bar__item" v-if="setting.search"></top-search> |
| | | </div> |
| | | <div class="top-bar__right"> |
| | | <div v-if="setting.lock" class="top-bar__item"> |
| | | <top-lock></top-lock> |
| | | </div> |
| | | <div class="top-bar__item"> |
| | | <top-qna></top-qna> |
| | | </div> |
| | | <div class="top-bar__item" v-if="setting.fullscreen"> |
| | | <top-full></top-full> |
| | | <div class="icon-box"> |
| | | <top-lock v-if="setting.lock"/> |
| | | <top-qna title="帮助中心"/> |
| | | <top-full v-if="setting.fullscreen" title="全屏"/> |
| | | </div> |
| | | <div class="top-user"> |
| | | <img class="top-bar__img" :src="userInfo.avatar " /> |
| | |
| | | display: flex !important; |
| | | align-items: center; |
| | | height: 100%; |
| | | |
| | | .icon-box{ |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 0 20px; |
| | | >*{ |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .top-bar__item { |
| | |
| | | <template> |
| | | <span v-if="text" @click="handleLock">{{ text }}</span> |
| | | <i v-else class="icon-suoping" @click="handleLock"></i> |
| | | <i v-else class="icon-suoping" @click="handleLock" title="锁屏"></i> |
| | | <el-dialog title="设置锁屏密码" v-model="box" width="30%" append-to-body> |
| | | <el-form :model="form" ref="form" label-width="80px"> |
| | | <el-form-item |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .top-qna { |
| | | display: inline-block !important; |
| | | padding: 5px; |
| | | |
| | | .help-icon { |
| | | font-size: 20px !important; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 18px; |
| | | justify-content: center; |
| | | cursor: pointer; |
| | | color: #FFFFFF; /* 白色 */ |
| | | display: inline-block !important; |
| | | line-height: 1 !important; |
| | | } |
| | | } |
| | | |
| | | /* 优化弹出框样式 */ |
| | |
| | | <template> |
| | | <el-autocomplete |
| | | class="top-search" |
| | | class="top-search ztzf-top-search" |
| | | popper-class="my-autocomplete" |
| | | v-model="value" |
| | | :fetch-suggestions="querySearch" |
| | |
| | | }; |
| | | </script> |
| | | |
| | | |
| | | <style lang="scss"> |
| | | .ztzf-top-search{ |
| | | display: flex !important; |
| | | width: 150px; |
| | | align-items: center; |
| | | .el-input__inner{ |
| | | background: #ffffff !important; |
| | | border-radius: 80px 80px 80px 80px; |
| | | padding: 0 20px; |
| | | &::placeholder { |
| | | color:rgba(172, 172, 172, 1) !important; |
| | | } |
| | | } |
| | | } |
| | | .my-autocomplete { |
| | | li { |
| | | line-height: normal !important; |
| | |
| | | display: flex; |
| | | height: 1080px; |
| | | width: 1920px; |
| | | background: url("@/assets/images/layoutBg.png") no-repeat center / 100% 100%; |
| | | overflow: hidden; |
| | | |
| | | &--horizontal { |
| | |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | // background: #f0f2f5; |
| | | background: linear-gradient( 180deg, #EEF3FE 0%, #F8F9FB 100%); |
| | | } |
| | | |
| | | #avue-view { |
| | |
| | | .avue-top, |
| | | .avue-logo, |
| | | .tags-container { |
| | | background-color: #409EFF; |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .avue-sidebar--tip { |
| | |
| | | color: #fff; |
| | | |
| | | i { |
| | | color: #fff; |
| | | cursor: pointer; |
| | | color: rgba(20, 65, 255, 1); |
| | | } |
| | | } |
| | | |
| | |
| | | .top-search { |
| | | line-height: $top_height; |
| | | position: absolute !important; |
| | | right: 200px; |
| | | right: 300px; |
| | | top: 0; |
| | | width: 300px; |
| | | width: 250px; |
| | | |
| | | .el-input__wrapper { |
| | | font-size: 13px; |
| | |
| | | .top-bar__right { |
| | | height: $top_height; |
| | | position: absolute; |
| | | margin-top: 2px; |
| | | top: 0; |
| | | |
| | | i { |