优化商铺起租日期和截止日期显示

This commit is contained in:
xiaogang 2021-10-18 08:34:48 +08:00
parent 5cbb8a22cf
commit e400f74b8f

View File

@ -77,7 +77,7 @@
</tr>
</thead>
<tbody>
<tr v-for="shops in shopsInfo.shopss">
<tr v-for="shops in shopsInfo.shopss" :class="{ 'table-danger' : new Date(shops.endTime).getTime() < new Date().getTime()}">
<td class="text-center">
{{shops.floorNum}}-{{shops.roomNum}}
</td>
@ -96,16 +96,12 @@
<td class="text-center">
{{shops.roomArea}}平方米
</td>
<td class="text-center" v-if="shops.state == '2006'">
<td class="text-center">
{{shops.startTime}}
</td>
<td class="text-center" v-else>
</td>
<td class="text-center" v-if="shops.state == '2006'">
<td class="text-center">
{{shops.endTime}}
</td>
<td class="text-center" v-else>
</td>
<td class="text-center">
{{shops.roomRent}}
</td>
@ -151,7 +147,7 @@
</tbody>
<tfoot>
<tr>
<td colspan="8">
<td colspan="12">
<ul class="pagination float-right"></ul>
</td>
</tr>