-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<template> | ||
<h1>微智护</h1> | ||
</template> | ||
<van-steps> | ||
<van-step>本机</van-step> | ||
<van-step>网关</van-step> | ||
<van-step>终端</van-step> | ||
</van-steps> | ||
<div class="subtitle">设备列表</div> | ||
<van-skeleton row="5" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<template> | ||
实况 | ||
<van-skeleton row="5" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
<template> | ||
我的 | ||
</template> | ||
<div class="profile"> | ||
<div class="avatar"> | ||
<van-icon name="user-o" size="30" color="white" /> | ||
</div> | ||
<div class="name">测试用户</div> | ||
</div> | ||
<van-cell-group> | ||
<van-cell title="用户名" value="admin" /> | ||
</van-cell-group> | ||
<van-button type="danger" block>退出登录</van-button> | ||
</template> | ||
|
||
<style scoped> | ||
.profile { | ||
display: flex; | ||
padding: 10px; | ||
gap: 10px; | ||
} | ||
.name { | ||
font-size: 0.9rem; | ||
} | ||
.avatar { | ||
display: inline-block; | ||
padding: 10px; | ||
border-radius: 100%; | ||
background-color: lightgray; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<template> | ||
统计 | ||
<van-skeleton row="5" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.van-button--block { | ||
width: calc(100% - 20px); | ||
margin: auto; | ||
} | ||
|
||
.subtitle { | ||
font-size: 0.9rem; | ||
font-weight: bold; | ||
margin: 10px; | ||
} |