动画删除

This commit is contained in:
gaofy 2023-12-28 15:45:07 +08:00
parent ceac0f6412
commit 808e03b86d

View File

@ -18,7 +18,7 @@
<tr class="text1-color"> <tr class="text1-color">
<th v-for="item in weekEn" :key="item">{{ item }}</th> <th v-for="item in weekEn" :key="item">{{ item }}</th>
</tr> </tr>
<tr v-if="week.length > 0" class="swing_flip_1"> <tr v-if="week.length > 0" class="">
<td v-for="item in week" :key="item" :class="{ <td v-for="item in week" :key="item" :class="{
'record-mark': recordWeek.some((r: any) => dateFormater('yyyy-MM-dd', r.date) === dateFormater('yyyy-MM-dd', item)), 'record-mark': recordWeek.some((r: any) => dateFormater('yyyy-MM-dd', r.date) === dateFormater('yyyy-MM-dd', item)),
'active': dateFormater('yyyy-MM-dd', item) === dateFormater('yyyy-MM-dd', currentDate) 'active': dateFormater('yyyy-MM-dd', item) === dateFormater('yyyy-MM-dd', currentDate)
@ -31,7 +31,7 @@
</table> </table>
</div> </div>
<el-button text icon="Plus" style="width: 100%;margin-bottom: 5px;" @click="addRecord()">新建</el-button> <el-button text icon="Plus" style="width: 100%;margin-bottom: 5px;" @click="addRecord()">新建</el-button>
<div class="record-box move_2"> <div class="record-box ">
<el-empty v-if="record.length < 1" :description="dateFormater('MM月dd日', currentDate) + '没有任何记录'" style="padding: 0;" /> <el-empty v-if="record.length < 1" :description="dateFormater('MM月dd日', currentDate) + '没有任何记录'" style="padding: 0;" />
<div class="record-item" v-for="(item, index) in record" :key="'record-' + index" @click="viewRecord(item)"> <div class="record-item" v-for="(item, index) in record" :key="'record-' + index" @click="viewRecord(item)">
<div class="icon-box"> <div class="icon-box">