提交 945ccb75 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新视图标题

上级 aeeb7578
......@@ -14,6 +14,7 @@ import { entityServiceRegister } from '@/service/entity-service-register';
import { counterServiceRegister } from '@/counter/counter-service-register';
import { codeListRegister } from '@codelist/codelist-register';
import { messageServiceRegister } from '@/message/message-service-register';
import AppCaption from './components/app-caption/app-caption.vue'
import AppHelp from './components/app-help/app-help.vue'
import AppButton from './components/app-button/app-button.vue'
import InputBox from './components/input-box/input-box.vue'
......@@ -169,6 +170,7 @@ export const AppComponents = {
v.prototype.$verify = Verify;
v.prototype.$viewTool = ViewTool;
v.prototype.$uiActionTool = UIActionTool;
v.component('app-caption',AppCaption);
v.component('app-help',AppHelp);
v.component('app-button',AppButton);
v.component('app-edit-view-layout',AppEditViewLayout);
......
.app-caption {
font-size: 18px;
font-weight: 700;
color: var(--app-color-black);
}
\ No newline at end of file
<template>
<span class="app-caption">{{caption}}</span>
</template>
<script lang='ts'>
import { Vue, Component, Prop } from 'vue-property-decorator';
@Component({})
export default class AppCaption extends Vue {
/**
* 按钮标题
*
* @type {string}
* @memberof AppButton
*/
@Prop() public caption?: string;
}
</script>
<style lang="scss">
@import './app-caption.scss';
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册