纪念日调整
This commit is contained in:
@@ -1,5 +1,27 @@
|
||||
<!--pages/message/index.wxml-->
|
||||
<text>纪念日</text>
|
||||
<view class="contentView">
|
||||
<view wx:for="{{anniversaryList}}" wx:key="index" class="anniversary">
|
||||
<image wx:if="{{ item.type == 'birthday' }}" src="/images/birthday.jpg"/>
|
||||
<image wx:elif="{{ item.type == 'love' }}" src="/images/love.png"/>
|
||||
<image wx:elif="{{ item.type == 'baby' }}" src="/images/baby.png"/>
|
||||
<image wx:else src="/images/life.jpg"></image>
|
||||
<view class="title">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="remark">
|
||||
<view class="countdown">
|
||||
<text>距离{{item.repeat}}周年</text>
|
||||
<t-countdown time="{{item.nextDate}}" showDay="{{true}}" />
|
||||
</view>
|
||||
<view class="countdown">
|
||||
<text>今天{{item.repeat}}周年啦!</text>
|
||||
</view>
|
||||
</view>
|
||||
<t-divider content="✿✿✿---■Quinn■---✿✿✿" />
|
||||
</view>
|
||||
</view>
|
||||
<t-empty wx:if="{{dataEmpty}}" t-class="empty-cls" icon="info-circle-filled" description="暂无纪念日" />
|
||||
<t-fab icon="add" bind:click="handleClick"></t-fab>
|
||||
<view>
|
||||
<foot-tab iconList="{{aIconList}}"/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user