| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- html
- <template>
- <div class="default-page">
- <img :src="getImagePath('default.png')" alt="Image" class="mimg" />
- <p class="mp">{{ description }}</p>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- description: "酒店预定系统8月15正式开放"
- };
- },
- methods: {
- getImagePath(imageName) {
- return require(`@/static/images/${imageName}`);
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- .default-page {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100vh;
- text-align: center;
- background-color: #fff;
- .mimg {
- height: 50%;
- width: auto;
- margin-bottom: 20rpx;
- }
- .mp {
- opacity: 1;
- font-size: 30rpx;
- font-weight: 400;
- line-height: 2.8rem;
- height: 50%;
- color: rgba(87, 146, 240, 1);
- text-align: center;
- vertical-align: top;
- }
- }
- @media screen and (orientation: landscape) {
- .default-page {
- flex-direction: row;
- .mimg {
- width: 50%;
- height: auto;
- }
- .mp {
- margin: 1rem;
- }
- }
- }
- </style>
|