This commit is contained in:
xuziqiang
2024-05-15 17:29:42 +08:00
commit d0155dbe3c
7296 changed files with 1832517 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import pageTitle from './page-title.vue';
import { withInstall } from '/nerv-lib/util';
export const PageTitle = withInstall(pageTitle);

View File

@@ -0,0 +1,38 @@
<template>
<div class="page-title">
<h5>{{ title }}</h5>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
name: 'pageTitle',
props: {
title: String,
},
setup() {
return {};
},
});
</script>
<style lang="less" scoped>
h5 {
position: relative;
height: 48px;
line-height: 48px;
margin: 0 24px;
&::before {
content: '';
width: 2px;
height: 12px;
background-color: #00acff;
display: inline-block;
vertical-align: middle;
margin-right: 6px;
}
}
</style>