[Feature] Component
himself65 opened this issue · comments
Alex Yang commented
Alex Yang commented
Avatar
support display img
or only characters
example:
<b-avatar color="blue"
:size="100">
<img src="...xxx">
</b-avatar>
<b-avatar color="red" :size="64"> LG </b-avatar>
Alex Yang commented
Button
b-button
has any common usege like router
, type
...
<b-button-group direction="row">
<b-button color="green" type="info" :router="xxx" round>Home</b-button>
<b-button color="red" type="info" :router="xxx" round>HOT</b-button>
<b-button color="blue" type="info" :router="xxx" round>Me</b-button>
<b-button color="gray" type="info" :router="xxx" round>About</b-button>
</b-button-group>
<b-button disable="false">Click Me</b-button>
<b-button block>Wide button</b-button>
Alex Yang commented
Pagination
it's used to separate long sets of data
Alex Yang commented
Bottom Navigation
default to display on mobile, it's element has icon, text
Alex Yang commented
Block
example:
<template>
<div>
<h1>Enjoy Coding Life!</h1>
<div class="playground">
<b-block
:color="'green'"
status="AC"
disabled>
1000ms/128kb
</b-block>
<b-block
:color="'red'"
status="WA"
disabled>
1000ms/128kb
</b-block>
<b-block
:color="'bluelight'"
status="WA"
disabled>
1000ms/128kb
</b-block>
<b-block
:color="'yellow'"
status="WA"
disabled>
1000ms/128kb
</b-block>
<b-block
:color="'orange'"
status="WA"
disabled>
1000ms/128kb
</b-block>
<b-block
:color="'brown'"
status="WA"
disabled>
1000ms/128kb
</b-block>
</div>
</div>
</template>
<script>
export default {
name: 'Playground'
}
</script>
<style lang="stylus" scoped>
.playground {
display: flex
flex-direction: row
}
</style>
Alex Yang commented
this issue will not update