|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
@ -1,64 +1,73 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="v-header">
|
<div class="v-header">
|
||||||
<div class="v-left-text">
|
<div class="v-left-text" :style="{color:variables.primaryColor,
|
||||||
<Icon size="20" :type="icon" />
|
'border-bottom': '2px solid'+ variables.primaryColor}">
|
||||||
<span>{{text}}</span>
|
<Icon size="20" :type="icon" />
|
||||||
</div>
|
<span>{{text}}</span>
|
||||||
<div class="content">
|
</div>
|
||||||
<slot name="content"></slot>
|
<div class="content">
|
||||||
</div>
|
<slot name="content"></slot>
|
||||||
<!-- <div class="v-right-content">
|
</div>
|
||||||
<slot></slot>
|
<!-- <div class="v-right-content">
|
||||||
</div> -->
|
<slot></slot>
|
||||||
<div class="selerchcontent">
|
</div> -->
|
||||||
<slot ></slot>
|
<div class="selerchcontent">
|
||||||
</div>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</div>
|
||||||
<script>
|
</template>
|
||||||
export default {
|
<script>
|
||||||
props: {
|
import variables from '@/styles/variables.scss'
|
||||||
icon: {
|
export default {
|
||||||
type: String,
|
props: {
|
||||||
default: ""
|
icon: {
|
||||||
},
|
type: String,
|
||||||
text: {
|
default: ""
|
||||||
type: String,
|
},
|
||||||
default: "未定义名称"
|
text: {
|
||||||
}
|
type: String,
|
||||||
}
|
default: "未定义名称"
|
||||||
};
|
}
|
||||||
</script>
|
},
|
||||||
<style lang="less" scoped>
|
computed: {
|
||||||
.v-header {
|
variables() {
|
||||||
display: flex;
|
return variables
|
||||||
border-bottom: 1px solid #dcdee2;
|
}
|
||||||
flex-direction: column;
|
}
|
||||||
.v-left-text {
|
};
|
||||||
margin-top: 3px;
|
</script>
|
||||||
padding-bottom: 6px;
|
<style lang="less" scoped>
|
||||||
// padding-top: 10px;
|
.v-header {
|
||||||
font-weight: bold;
|
display: flex;
|
||||||
font-size: 15px;
|
border-bottom: 1px solid #dcdee2;
|
||||||
color: #122583;
|
flex-direction: column;
|
||||||
white-space: nowrap;
|
|
||||||
border-bottom: 2px solid #122583;
|
.v-left-text {
|
||||||
> span {
|
margin-top: 3px;
|
||||||
position: relative;
|
padding-bottom: 6px;
|
||||||
top: 2px;
|
// padding-top: 10px;
|
||||||
}
|
font-weight: bold;
|
||||||
}
|
font-size: 15px;
|
||||||
.content {
|
white-space: nowrap;
|
||||||
line-height: 25px;
|
|
||||||
padding-left: 10px;
|
>span {
|
||||||
padding: 6px 0 0 10px;
|
position: relative;
|
||||||
}
|
top: 2px;
|
||||||
.v-right-content {
|
}
|
||||||
flex: 1;
|
}
|
||||||
}
|
|
||||||
|
.content {
|
||||||
.selerchcontent{
|
line-height: 25px;
|
||||||
flex: 1;
|
padding-left: 10px;
|
||||||
}
|
padding: 6px 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.v-right-content {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selerchcontent {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import '~view-design/src/styles/index.less';
|
@import '~view-design/src/styles/index.less';
|
||||||
|
|
||||||
// Here are the variables to cover, such as:
|
// Here are the variables to cover, such as:
|
||||||
@primary-color: #122583;
|
@primary-color: #0a729b;
|
||||||
|
|||||||