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

多数据部件——全选按钮

上级 a7031a0a
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
<div class="app-mob-mdctrl-${ctrl.name}"> <div class="app-mob-mdctrl-${ctrl.name}">
<ion-list class="items"> <ion-list class="items">
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' "> <template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall">
<ion-checkbox v-show="showCheack" @click.stop="checkboxSelect(item)"></ion-checkbox>
<ion-label class="selectal-label" v-show="showCheack">全选</ion-label>
</div>
<ion-item-sliding v-for="(item, index) in items" @click="goPage(item)" :key="index" class="app-mob-mdctrl-item" @touchstart="start" @touchend="end"> <ion-item-sliding v-for="(item, index) in items" @click="goPage(item)" :key="index" class="app-mob-mdctrl-item" @touchstart="start" @touchend="end">
<#-- BENGIN:输出界面行为组 --> <#-- BENGIN:输出界面行为组 -->
<@outPutActionGroup ctrl /> <@outPutActionGroup ctrl />
...@@ -37,6 +41,10 @@ ...@@ -37,6 +41,10 @@
<ion-list class="items"> <ion-list class="items">
<#--多数据视图||多数据视图(部件视图)--> <#--多数据视图||多数据视图(部件视图)-->
<template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' "> <template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall">
<ion-checkbox v-show="showCheack" @click.stop="checkboxSelect(item)"></ion-checkbox>
<ion-label class="selectal-label" v-show="showCheack">全选</ion-label>
</div>
<ion-item-sliding v-for="(item, index) in items" @click="goPage(item)" :key="index" class="app-mob-mdctrl-item" @touchstart="start" @touchend="end"> <ion-item-sliding v-for="(item, index) in items" @click="goPage(item)" :key="index" class="app-mob-mdctrl-item" @touchstart="start" @touchend="end">
<#-- BENGIN:输出界面行为组 --> <#-- BENGIN:输出界面行为组 -->
<@outPutActionGroup ctrl /> <@outPutActionGroup ctrl />
......
...@@ -10,4 +10,12 @@ ...@@ -10,4 +10,12 @@
} }
.iconcheck{ .iconcheck{
width: 70px; width: 70px;
}
.selectall{
padding: 5px 20px;
padding: 0 20px;
display: flex;
}
.selectal-label{
padding-left: 15px;
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册