2023-12-21 15:52:49 +08:00
|
|
|
<template>
|
|
|
|
<view class="content">
|
|
|
|
<image class="logo" src="/static/logo.png" />
|
|
|
|
<view class="text-area">
|
|
|
|
<text class="title">{{ title }}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
2023-12-21 16:50:50 +08:00
|
|
|
<script setup lang="ts" name="TestIndex">
|
2023-12-21 15:52:49 +08:00
|
|
|
import { ref } from 'vue'
|
2023-12-21 16:52:10 +08:00
|
|
|
import { fun, fun as yy } from '../../test/import-sort'
|
2023-12-21 16:50:50 +08:00
|
|
|
|
2023-12-21 15:52:49 +08:00
|
|
|
const title = ref('Hello')
|
2023-12-21 16:08:47 +08:00
|
|
|
fun()
|
2023-12-21 16:52:10 +08:00
|
|
|
yy()
|
2023-12-21 15:52:49 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 200rpx;
|
2023-12-21 16:21:40 +08:00
|
|
|
height: 200rpx;
|
|
|
|
margin: 200rpx auto 50rpx;
|
2023-12-21 15:52:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-area {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 36rpx;
|
|
|
|
color: #8f8f94;
|
|
|
|
}
|
|
|
|
</style>
|