提交 b93fbc62 编写于 作者: Mosher's avatar Mosher

delete:删除冗余文件

上级 034682d0
......@@ -131,8 +131,6 @@ import AppRawItemVideo from './components/layout-element/media/app-rawitem-video
import AppPresetQrCode from './components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.vue';
import AppPresetSwitch from './components/layout-element/interactive/app-preset-switch/app-preset-switch.vue';
import AppPresetTextInput from './components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue';
import AppIndexDefaultMenu from './components/layout-element/index/app-index-default-menu/app-index-default-menu.vue';
import AppIndexLogout from './components/layout-element/index/app-index-logout/app-index-logout.vue';
import AppIndexNavTabs from './components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue';
import AppIndexOrgSelect from './components/layout-element/index/app-index-org-select/app-index-org-select.vue';
import AppIndexUserInfo from './components/layout-element/index/app-index-user-info/app-index-user-info.vue';
......@@ -282,8 +280,6 @@ export const AppComponents = {
v.component('app-preset-qrcode',AppPresetQrCode);
v.component('app-preset-switch',AppPresetSwitch);
v.component('app-preset-text-input',AppPresetTextInput);
v.component('app-index-default-menu', AppIndexDefaultMenu);
v.component('app-index-logout', AppIndexLogout);
v.component('app-index-nav-tabs', AppIndexNavTabs);
v.component('app-index-org-select', AppIndexOrgSelect);
v.component('app-index-user-info', AppIndexUserInfo);
......
<template>
<div :class="curClassName" :style="curStyle">
默认菜单
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexDefaultMenu extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexDefaultMenu
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexDefaultMenu
*/
get curClassName() {
return {
'app-index-default-menu': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexDefaultMenu
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexDefaultMenu
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-default-menu.less';
</style>
\ No newline at end of file
<template>
<div :class="curClassName" :style="curStyle">
登出
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component({})
export default class AppIndexLogout extends Vue {
/**
* 名称
*
* @type {string}
* @memberof AppIndexLogout
*/
@Prop() public name!: string;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexLogout
*/
@Prop() public layoutModelDetails: any;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexLogout
*/
public currentLayoutModel: any;
/**
* 当前容器类名
*
* @memberof AppIndexLogout
*/
get curClassName() {
return {
'app-index-logout': true,
[this.name]: true,
[this.currentLayoutModel.sysCss]: this.currentLayoutModel.sysCss ? true : false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexLogout
*/
get curStyle() {
if (this.currentLayoutModel) {
return this.currentLayoutModel.getElementStyle();
}
return '';
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexLogout
*/
created() {
this.currentLayoutModel = this.layoutModelDetails[this.name];
}
}
</script>
<style lang='less'>
@import './app-index-logout.less';
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册