提交 bae2fc5d 编写于 作者: KK's avatar KK

日历部件、数据视图部件——调整长按后仍出现删除按钮

上级 53e3b6e2
...@@ -92,12 +92,12 @@ ...@@ -92,12 +92,12 @@
<van-step v-for="(i,index) in evendata[activeItem]" :key="index"> <van-step v-for="(i,index) in evendata[activeItem]" :key="index">
<p>{{i.time}}</p> <p>{{i.time}}</p>
<div class="touch" v-for="(item,index) in i.evens" :key="index" @touchstart="touchStart" @touchend="touchEnd"> <div class="touch" v-for="(item,index) in i.evens" :key="index" @touchstart="touchStart" @touchend="touchEnd">
<ion-checkbox v-if="showcheack" class="touch-checkbox" @click.stop="checkboxSelect(item)"></ion-checkbox> <ion-checkbox v-show="showcheack" class="touch-checkbox" @click.stop="checkboxSelect(item)"></ion-checkbox>
<div :key="item.id" class="even-box"> <div :key="item.id" class="even-box">
<#-- BENGIN: 事件内容项 --> <#-- BENGIN: 事件内容项 -->
<#ibizinclude>./EVENTS_CONTENT.vue.ftl</#ibizinclude> <#ibizinclude>./EVENTS_CONTENT.vue.ftl</#ibizinclude>
<#-- END: 事件内容项 --> <#-- END: 事件内容项 -->
<ion-icon @click="remove([item])" class="event-delete" name="close-outline"></ion-icon> <ion-icon v-show="!showcheack" @click="remove([item])" class="event-delete" name="close-outline"></ion-icon>
</div> </div>
</div> </div>
</van-step> </van-step>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</#if> </#if>
</div> </div>
</div> </div>
<ion-icon :style="{color :size == '6' ?'#fff':'#333'}" @click="remove([item])" class="card-delete" name="close-outline"></ion-icon> <ion-icon v-show="!showcheack" :style="{color :size == '6' ?'#fff':'#333'}" @click="remove([item])" class="card-delete" name="close-outline"></ion-icon>
</ion-card> </ion-card>
</ion-col> </ion-col>
</ion-row> </ion-row>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册