| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <template>
- <view class="content">
- <image class="logo" src="/static/logo.png"/>
- <view class="text-area">
- <text class="title">{{ title }}</text>
- </view>
- <uv-button type="primary" text="确定"></uv-button>
- <uv-calendars insert @change="change"/>
- <uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix"></uv-image>
- <uv-qrcode ref="qrcode" size="300px" value="https://h5.uvui.cn"></uv-qrcode>
- <uv-switch v-model="open" loading></uv-switch>
- <tab-bar></tab-bar>
- </view>
- </template>
- <script setup lang="ts">
- import {ref} from 'vue'
- import TabBar from "@/components/tab-bar";
- const title = ref('Hello')
- const open = ref(false)
- const change = () => {
- console.log("change")
- }
- </script>
- <style>
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
- </style>
|