Initial commit
This commit is contained in:
16
wechat-mini-program/pages/message/index.wxml
Normal file
16
wechat-mini-program/pages/message/index.wxml
Normal file
@@ -0,0 +1,16 @@
|
||||
<view class="container">
|
||||
<view class="notification-list" wx:if="{{notifications.length > 0}}">
|
||||
<view class="notification-item" wx:for="{{notifications}}" wx:key="id">
|
||||
<view class="notification-header">
|
||||
<text class="title">{{item.title}}</text>
|
||||
<text class="time">{{item.created_at}}</text>
|
||||
</view>
|
||||
<view class="notification-content">
|
||||
{{item.content}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty-state" wx:else>
|
||||
<text>暂无消息</text>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user