| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <div class="banner" :style="{backgroundImage: 'url(' + bgImage + ')' }" >
- {{ title }}
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- props: {
- bgImage: {
- type: String,
- default: ''
- },
- title: {
- type: String,
- default: ''
- }
- },
- created() {
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- @import "~static/common/style.sass";
- .banner {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 595px;
- font-size:64px;
- font-family:PingFangSC-Medium, sans-serif;
- font-weight:500;
- color:#ffffff;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- }
- </style>
|