<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>头部导航栏 on 我的博客</title><link>https://blog.suoyiran.tech/tags/%E5%A4%B4%E9%83%A8%E5%AF%BC%E8%88%AA%E6%A0%8F/</link><description>Recent content from 我的博客</description><generator>Hugo</generator><language>zh-CN</language><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Thu, 06 Dec 2018 14:31:23 +0800</lastBuildDate><atom:link href="https://blog.suoyiran.tech/tags/%E5%A4%B4%E9%83%A8%E5%AF%BC%E8%88%AA%E6%A0%8F/index.xml" rel="self" type="application/rss+xml"/><item><title>小程序自定义头部导航栏</title><link>https://blog.suoyiran.tech/post/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%87%AA%E5%AE%9A%E4%B9%89%E5%A4%B4%E9%83%A8%E5%AF%BC%E8%88%AA%E6%A0%8F/</link><pubDate>Thu, 06 Dec 2018 14:31:23 +0800</pubDate><guid>https://blog.suoyiran.tech/post/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%87%AA%E5%AE%9A%E4%B9%89%E5%A4%B4%E9%83%A8%E5%AF%BC%E8%88%AA%E6%A0%8F/</guid><description>
<![CDATA[<h1>小程序自定义头部导航栏</h1><p>作者：前端老李（<no value>）</p>
        
          <h2 id="背景">
<a class="header-anchor" href="#%e8%83%8c%e6%99%af"></a>
背景
</h2><p>我们在小程序开发过程中是否对小程序头部导航栏有过抱怨，比如文字颜色只支持<code>black/white</code>，或者我们想加个返回首页的按钮，让通过分享进入二级页面的用户能够轻松地返回首页。又或者我们想加一些其他个性化的样式等等；这些都需要我们去自定义头部导航栏。</p>
        
        <hr><p>本文2018-12-06首发于<a href='https://blog.suoyiran.tech/'>我的博客</a>，最后修改于2018-12-06</p>]]></description><category>微信小程序</category></item></channel></rss>