Skip to content

Commit 0f806e2

Browse files
authored
feat: support placeholder and zIndex props (#4116)
* feat(Navbar): support zIndex and placeholder props * test: update snapshots * feat(TabBar): support zIndex and placeholder props * chore: update demo
1 parent 0bca8b0 commit 0f806e2

File tree

82 files changed

+210
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+210
-173
lines changed

packages/components/avatar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ isComponent: true
1919

2020
## 代码演示
2121

22-
<a href="https://developers.weixin.qq.com/s/a86Sfimw7VSO" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
22+
<a href="https://developers.weixin.qq.com/s/oiQl6pmr855m" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
2323

2424
<blockquote style="background-color: #d9e1ff; font-size: 15px; line-height: 26px;margin: 16px 0 0;padding: 16px; border-radius: 6px; color: #0052d9" >
2525
<p>Tips: 请确保开发者工具为打开状态。导入开发者工具后,依次执行:npm i > 构建npm包 > 勾选 "将JS编译成ES5"</p>

packages/components/avatar/_example/avatar.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<view class="skyline">
2-
<t-navbar class="demo-navbar" title="Avatar" leftArrow />
2+
<t-navbar class="demo-navbar" title="Avatar" leftArrow placeholder zIndex="{{99}}" />
33
<scroll-view scroll-y type="list" class="scroll-view">
44
<view class="demo">
55
<t-demo-header

packages/components/badge/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ isComponent: true
1818

1919
## 代码演示
2020

21-
<a href="https://developers.weixin.qq.com/s/TgaeQimG73SD" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
21+
<a href="https://developers.weixin.qq.com/s/omQZvpmT8g5q" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
2222

2323
<blockquote style="background-color: #d9e1ff; font-size: 15px; line-height: 26px;margin: 16px 0 0;padding: 16px; border-radius: 6px; color: #0052d9" >
2424
<p>Tips: 请确保开发者工具为打开状态。导入开发者工具后,依次执行:npm i > 构建npm包 > 勾选 "将JS编译成ES5"</p>

packages/components/badge/_example/badge.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<t-navbar title="Badge" leftArrow />
1+
<t-navbar title="Badge" leftArrow placeholder zIndex="{{99}}" />
22
<t-demo-header
33
title="Badge 徽标"
44
desc="用于告知用户,该区域的状态变化或者待处理任务的数量。"

packages/components/badge/_example/skyline/badge.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<view class="skyline">
2-
<t-navbar class="block" title="Badge" left-arrow />
2+
<t-navbar class="block" title="Badge" left-arrow placeholder zIndex="{{99}}" />
33
<scroll-view scroll-y type="list" class="scroll-view">
44
<view class="demo-title">Badge 徽标</view>
55
<view class="demo-desc">用于告知用户,该区域的状态变化或者待处理任务的数量。</view>

packages/components/cell/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ isComponent: true
1919

2020
## 代码演示
2121

22-
<a href="https://developers.weixin.qq.com/s/bz7aGimL72S2" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
22+
<a href="https://developers.weixin.qq.com/s/UMQsbpmt8m5m" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
2323

2424
<blockquote style="background-color: #d9e1ff; font-size: 15px; line-height: 26px;margin: 16px 0 0;padding: 16px; border-radius: 6px; color: #0052d9" >
2525
<p>Tips: 请确保开发者工具为打开状态。导入开发者工具后,依次执行:npm i > 构建npm包 > 勾选 "将JS编译成ES5"</p>

packages/components/cell/_example/cell.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<t-navbar title="Cell" leftArrow />
1+
<t-navbar title="Cell" leftArrow placeholder zIndex="{{99}}" />
22
<view class="demo">
33
<t-demo-header title="Cell 单元格" desc="用于各个类别行的信息展示。" notice="渲染框架支持情况:Skyline、WebView" />
44
<t-demo title="01 组件类型" desc="单行单元格">

packages/components/cell/_example/skyline/cell.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<view class="skyline">
2-
<t-navbar title="Cell" leftArrow />
2+
<t-navbar title="Cell" leftArrow placeholder zIndex="{{99}}" />
33
<scroll-view scroll-y type="list" class="scroll-view">
44
<view class="demo">
55
<view class="demo-title">Cell 单元格</view>

packages/components/grid/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ isComponent: true
1919

2020
## 代码演示
2121

22-
<a href="https://developers.weixin.qq.com/s/6H70dimL7jSK" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
22+
<a href="https://developers.weixin.qq.com/s/LyQxOpme8p5A" title="在开发者工具中预览效果" target="_blank" rel="noopener noreferrer"> 在开发者工具中预览效果 </a>
2323

2424
<blockquote style="background-color: #d9e1ff; font-size: 15px; line-height: 26px;margin: 16px 0 0;padding: 16px; border-radius: 6px; color: #0052d9" >
2525
<p>Tips: 请确保开发者工具为打开状态。导入开发者工具后,依次执行:npm i > 构建npm包 > 勾选 "将JS编译成ES5"</p>

packages/components/grid/_example/grid.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<t-navbar title="Grid" leftArrow />
1+
<t-navbar title="Grid" leftArrow placeholder zIndex="{{99}}" />
22
<view class="demo">
33
<t-demo-header
44
title="Grid 宫格"

0 commit comments

Comments
 (0)