<navigation-bar title="文章" back="{{false}}" color="black" background="#FFF"></navigation-bar>

<scroll-view scroll-y class="container">
  <view class="article-container" wx:if="{{article}}">
    <view class="article-header">
      <text class="article-title">{{article.title}}</text>
      <text class="article-time">{{formatDate}}</text>
    </view>
    <view class="article-content">
      <rich-text nodes="{{article.content}}"></rich-text>
    </view>  </view>
</scroll-view>
