|
@@ -1,52 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="content">
|
|
|
|
|
- <image class="logo" src="/static/logo.png" />
|
|
|
|
|
- <view class="text-area">
|
|
|
|
|
- <text class="title">{{ title }}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <uni-badge text="1"></uni-badge>
|
|
|
|
|
- <uni-badge text="2" type="success"></uni-badge>
|
|
|
|
|
- <uni-badge text="3" type="primary" :inverted="true"></uni-badge>
|
|
|
|
|
-
|
|
|
|
|
- <wd-button>主要按钮</wd-button>
|
|
|
|
|
- <wd-button type="success">成功按钮</wd-button>
|
|
|
|
|
- <wd-button type="primary">主要按钮</wd-button>
|
|
|
|
|
- <wd-button type="info">信息按钮</wd-button>
|
|
|
|
|
- <wd-button type="warning">警告按钮</wd-button>
|
|
|
|
|
- <wd-button type="error">危险按钮</wd-button>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="content"> </view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-import { ref } from 'vue'
|
|
|
|
|
-const title = ref('Hello')
|
|
|
|
|
|
|
+uni.reLaunch({
|
|
|
|
|
+ url: '/pages/login/index',
|
|
|
|
|
+})
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style scoped lang="scss">
|
|
|
|
|
-.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: var(--wot-color-theme);
|
|
|
|
|
-}
|
|
|
|
|
-</style>
|
|
|
|
|
|
|
+<style scoped lang="scss"></style>
|