|
@@ -39,10 +39,10 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="card-body">
|
|
<view class="card-body">
|
|
|
<view class="row">开始时间:{{ formatDateTime(item.beginTime) }}</view>
|
|
<view class="row">开始时间:{{ formatDateTime(item.beginTime) }}</view>
|
|
|
- <view class="row">到期时间:{{ formatDateTime(item.endTime) }}</view>
|
|
|
|
|
- <view class="row">有效时长:{{ item.duration }}天</view>
|
|
|
|
|
|
|
+ <view class="row">到期时间:<text v-if="item.endTime == 4102416000">永久有效</text><text v-else>{{ formatDateTime(item.endTime) }}</text></view>
|
|
|
|
|
+ <view class="row">有效时长:<text v-if="item.duration == 0">永久</text><text v-else>{{ item.duration }}天</text></view>
|
|
|
<view class="row">获得方式:{{ formatGetType(item.getType) }}</view>
|
|
<view class="row">获得方式:{{ formatGetType(item.getType) }}</view>
|
|
|
- <view class="row">获得时间:{{ item.createdAt }}</view>
|
|
|
|
|
|
|
+ <view class="row">获得时间:{{ item.createdAt.substr(0,16) }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="card-footer" v-if="item.status === '0'">
|
|
<view class="card-footer" v-if="item.status === '0'">
|
|
|
<button class="action-btn" @click="voidItem(item)">作废</button>
|
|
<button class="action-btn" @click="voidItem(item)">作废</button>
|