-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Layout Navigation on Safari app & Improve Input component
- Loading branch information
1 parent
b54ede0
commit 0e6d0c5
Showing
10 changed files
with
174 additions
and
31 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
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
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
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<template> | ||
<Window> | ||
<template v-slot:navigation> | ||
<div class="navigation glass-material"> | ||
<Button bg icon="layout_9_line" /> | ||
<Button bg icon="left_line" /> | ||
<Button bg icon="right_line" /> | ||
|
||
<Input | ||
class="search-input" | ||
placeholder="Search or Enter website name" | ||
:width="350" | ||
round | ||
center | ||
v-model="inputValue" | ||
> | ||
<template v-slot:prefix> | ||
<Button icon="world_2_line"></Button> | ||
</template> | ||
|
||
<template v-slot:suffix> | ||
<Button icon="refresh_1_line" /> | ||
</template> | ||
</Input> | ||
|
||
<Button bg icon="upload_line" /> | ||
<Button bg icon="add_line" /> | ||
<Button bg icon="copy_2_line" /> | ||
</div> | ||
</template> | ||
|
||
Window画布内容 | ||
</Window> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ref } from 'vue' | ||
import Window from '@/components/Window/index.vue' | ||
import Button from '@/components/Button/index.vue' | ||
import Input from '@/components/Input/index.vue' | ||
defineOptions({ | ||
name: 'SafariView' | ||
}) | ||
let inputValue = ref('teenage.engineering') | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
.navigation { | ||
// border: 1px solid red; | ||
width: 600px; | ||
height: 40px; | ||
margin-bottom: 15px; | ||
padding: 8px; | ||
// 布局 | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
.search-input { | ||
margin: 0 10px; | ||
} | ||
} | ||
</style> |