Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tabbar-item中a标签应该可以配置地址 #243

Closed
jxiaox opened this issue Jun 5, 2016 · 2 comments
Closed

tabbar-item中a标签应该可以配置地址 #243

jxiaox opened this issue Jun 5, 2016 · 2 comments

Comments

@jxiaox
Copy link

jxiaox commented Jun 5, 2016

<a href="javascript:;" class="weui_tabbar_item" :class="{'weui_bar_item_on': $parent.index === index}" @click="onItemClick">

href应该可以配置

@airyland
Copy link
Owner

airyland commented Jun 5, 2016

目前可以用@click事件来处理跳转逻辑。你用的路由是vue-router?

@airyland
Copy link
Owner

airyland commented Jun 5, 2016

Will be implemented on v0.1.1.
Example: https://github.com/airyland/vux/blob/master/src/demos/TabbarLink.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants