| 123456789101112131415161718192021222324252627282930313233343536 |
- <template>
- <div class="title-wrapper">
- <div class="title">
- {{title}}
- </div>
- </div>
- </template>
- <script>
- export default {
- props: {
- title: {
- type: String,
- default:''
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .title-wrapper {
- width: 100%;
- border-top: 2px solid #D82020;
- .title {
- width: 156px;
- height: 50px;
- line-height: 50px;
- text-align: center;
- background: #D82020;
- font-size: 18px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- }
- }
- </style>
|