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

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> </tr>
</thead> </thead>
<tbody> <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"> <td class="text-center">
{{shops.floorNum}}-{{shops.roomNum}} {{shops.floorNum}}-{{shops.roomNum}}
</td> </td>
@ -96,16 +96,12 @@
<td class="text-center"> <td class="text-center">
{{shops.roomArea}}平方米 {{shops.roomArea}}平方米
</td> </td>
<td class="text-center" v-if="shops.state == '2006'"> <td class="text-center">
{{shops.startTime}} {{shops.startTime}}
</td> </td>
<td class="text-center" v-else> <td class="text-center">
</td>
<td class="text-center" v-if="shops.state == '2006'">
{{shops.endTime}} {{shops.endTime}}
</td> </td>
<td class="text-center" v-else>
</td>
<td class="text-center"> <td class="text-center">
{{shops.roomRent}} {{shops.roomRent}}
</td> </td>
@ -151,7 +147,7 @@
</tbody> </tbody>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="8"> <td colspan="12">
<ul class="pagination float-right"></ul> <ul class="pagination float-right"></ul>
</td> </td>
</tr> </tr>