添加UniApp

This commit is contained in:
2025-08-11 23:18:31 +08:00
parent 2f3d39fb00
commit 42cc8cf2e2
61 changed files with 1237 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
<template>
<view class="container">
<image class="bg" src="/static/splash/background.png" mode="aspectFill"></image>
<view class="overlay">
<image class="logo" src="/static/logo.png" mode="widthFix"></image>
<text class="app-name">Emotion Museum</text>
</view>
</view>
</template>
<script>
export default {
onLoad() {},
}
</script>
<style>
.container {
position: relative;
width: 750rpx;
height: 100vh;
}
.bg {
position: absolute;
left: 0;
top: 0;
width: 750rpx;
height: 100vh;
}
.overlay {
position: absolute;
left: 0;
top: 0;
width: 750rpx;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
width: 160rpx;
margin-bottom: 24rpx;
}
.app-name {
font-size: 36rpx;
color: #111;
}
</style>