<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wxs on 我的博客</title><link>https://blog.suoyiran.tech/tags/wxs/</link><description>Recent content from 我的博客</description><generator>Hugo</generator><language>zh-CN</language><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Sun, 21 Apr 2019 13:23:42 +0800</lastBuildDate><atom:link href="https://blog.suoyiran.tech/tags/wxs/index.xml" rel="self" type="application/rss+xml"/><item><title>小程序火力全开--wxs应用</title><link>https://blog.suoyiran.tech/post/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%81%AB%E5%8A%9B%E5%85%A8%E5%BC%80--wxs%E5%BA%94%E7%94%A8/</link><pubDate>Sun, 21 Apr 2019 13:23:42 +0800</pubDate><guid>https://blog.suoyiran.tech/post/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%81%AB%E5%8A%9B%E5%85%A8%E5%BC%80--wxs%E5%BA%94%E7%94%A8/</guid><description>
<![CDATA[<h1>小程序火力全开--wxs应用</h1><p>作者：前端老李（<no value>）</p>
        
          <p>小程序代码片段: <a href="https://developers.weixin.qq.com/s/wLqNVcm57s6A">https://developers.weixin.qq.com/s/wLqNVcm57s6A</a></p>
<h2 id="场景描述">
<a class="header-anchor" href="#%e5%9c%ba%e6%99%af%e6%8f%8f%e8%bf%b0"></a>
场景描述
</h2><p>如果有过 Vue 开发经验，相信在小程序开发过程中体会到了种种不方便，我前几天遇到一个很简单的问题，把时间戳成用户可读的格式，比如 <code>155216232488</code> 为 <code>2019-02-15 15:37:12</code>，其实这个很简单，网上一搜一大堆，但是如果我们拿到了一个小说的对象比如下面这样的数据结构</p>
        
        <hr><p>本文2019-04-21首发于<a href='https://blog.suoyiran.tech/'>我的博客</a>，最后修改于2019-04-21</p>]]></description><category>微信小程序</category></item></channel></rss>