遇见
5 years ago
2 changed files with 36 additions and 3 deletions
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
<template> |
||||
<div class="search"> |
||||
<input class="search-input" type="text" placeholder="输入城市名或拼音" /> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: "CitySearch" |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="stylus" scoped> |
||||
@import '~styles/variable.styl' |
||||
.search |
||||
height .72rem |
||||
padding 0 .1rem |
||||
background : $bgColor |
||||
.search-input |
||||
box-sizing border-box |
||||
width 100% |
||||
height .62rem |
||||
padding 0 .1rem |
||||
line-height .62rem |
||||
text-align center |
||||
border-radius .06rem |
||||
color #666666 |
||||
</style> |
Reference in new issue