Silent 6 anni fa
parent
commit
9401e785b6
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      wechat/pages/article/article.js
  2. 1 0
      wechat/pages/article/article.wxml

+ 1 - 0
wechat/pages/article/article.js

xqd
@@ -123,6 +123,7 @@ Page({
         'type': tab
       },
       success: res => {
+        console.log(res)
         if (res.data.status == 'success') {
           if (res.data.type != 'both' && res.data.list.length <= 0) {
             wx.showToast({

+ 1 - 0
wechat/pages/article/article.wxml

xqd
@@ -36,6 +36,7 @@
           <view class="info-content" wx:for="{{ article_list }}">
             <view class='info-bg' catchtap='redirectToArticle' data-id='{{ item.id }}'>
               <view class="info-label">{{ item.title||'未命名' }}</view>
+              <view class="info-date">{{ item.publish_date }}</view>
             </view>
           </view>
         </view>