添加bar组件
This commit is contained in:
@@ -5,13 +5,19 @@
|
||||
<text class="title">{{title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<l-tabbar v-model="active">
|
||||
<l-tabbar-item icon="home">首页</l-tabbar-item>
|
||||
<l-tabbar-item icon="app">应用</l-tabbar-item>
|
||||
<l-tabbar-item icon="chat">聊天</l-tabbar-item>
|
||||
<l-tabbar-item icon="user">我的</l-tabbar-item>
|
||||
</l-tabbar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
title: 'Hello12'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
Reference in New Issue
Block a user