提交 68113477 编写于 作者: H hdx

navigator: 移除TODO,已支持事件冒泡

上级 c75b08fb
...@@ -2,14 +2,11 @@ ...@@ -2,14 +2,11 @@
<view> <view>
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt"> <view class="uni-padding-wrap uni-common-mt">
<!-- TODO 暂不支持嵌入button组件,需客户端解决事件冒泡问题 -->
<navigator class="navigator" url="navigate?title=navigate"> <navigator class="navigator" url="navigate?title=navigate">
<!-- <button type="default">跳转到新页面</button> --> <button type="default">跳转到新页面</button>
<text class="btn">跳转到新页面</text>
</navigator> </navigator>
<navigator class="navigator" url="redirect?title=redirect" open-type="redirect"> <navigator class="navigator" url="redirect?title=redirect" open-type="redirect">
<!-- <button type="default">在当前页打开</button> --> <button type="default">在当前页打开</button>
<text class="btn">在当前页打开</text>
</navigator> </navigator>
</view> </view>
</view> </view>
...@@ -27,13 +24,6 @@ ...@@ -27,13 +24,6 @@
<style> <style>
.navigator { .navigator {
margin-top: 15px; margin-bottom: 15px;
}
.btn {
padding: 12px 5px;
text-align: center;
border: 1px solid #dbdbdb;
border-radius: 5px;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册