mirror of
https://github.com/veops/cmdb.git
synced 2025-08-11 06:19:42 +08:00
前后端全面升级
This commit is contained in:
24
cmdb-ui/src/components/CardTitle/CardTitle.vue
Normal file
24
cmdb-ui/src/components/CardTitle/CardTitle.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div class="ops-card-title">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CardTitle',
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.ops-card-title {
|
||||
border-top-left-radius: 15px;
|
||||
font-size: 1vw;
|
||||
height: 2.2vw;
|
||||
color: #011d93;
|
||||
background: linear-gradient(270deg, rgba(206, 226, 255, 0) -6.74%, #d2e4ff 96.74%);
|
||||
padding: 5px 10px;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
}
|
||||
</style>
|
2
cmdb-ui/src/components/CardTitle/index.js
Normal file
2
cmdb-ui/src/components/CardTitle/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import CardTitle from './CardTitle'
|
||||
export default CardTitle
|
Reference in New Issue
Block a user