添加UniApp
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<image class="banner" src="/static/home/banner.png" mode="widthFix"></image>
|
||||
<view class="content">
|
||||
<text class="title">首页</text>
|
||||
<image class="device-entry" src="/static/devices/device_placeholder.png" mode="widthFix"></image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.container { width: 750rpx; }
|
||||
.banner { width: 750rpx; }
|
||||
.content { padding: 24rpx; }
|
||||
.title { font-size: 32rpx; font-weight: 600; margin-bottom: 16rpx; }
|
||||
.device-entry { width: 100%; border-radius: 16rpx; }
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user