提交 8ffd6b0d 编写于 作者: 蓝色的小猫咪's avatar 蓝色的小猫咪

nav-button 调整说明

上级 9a3f2c4e
......@@ -3,6 +3,8 @@
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
<uni-icon size="16" type="info"></uni-icon>说明 : </view>
<view class="uni-helllo-text">
<view>在App端可在pages.json里配置buttons,暂不支持动态改变buttons的样式,使用onNavigationBarButtonTap可监听buttons的点击事件。</view>
<view>在微信小程序端,不支持配置buttons,故按钮不见了。</view>
</view>
......@@ -10,6 +12,7 @@
</view>
</template>
<script>
import uniIcon from '../../../components/uni-icon.vue'
export default {
data() {
return {
......@@ -21,6 +24,9 @@
title: e.index === 0 ? "你点了分享按钮" : "你点了收藏按钮",
icon: "none"
})
},
components:{
uniIcon
}
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册