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

全选ui调整

上级 ca461a92
......@@ -9,11 +9,6 @@
</#if>
<#if ctrl.getPSSysPFPlugin().getPFPluginType?? && ctrl.getPSSysPFPlugin().getPFPluginType()?? && ctrl.getPSSysPFPlugin().getPFPluginType()=='LIST_ITEMRENDER'>
<ion-list class="items" ref="ionlist" @touchstart="gotouchstart" @touchend="gotouchend">
<div class="selectall" v-show="isChoose">
<ion-checkbox :checked="selectAllIschecked" @ionChange="checkboxAll"></ion-checkbox>
<ion-label class="selectal-label">全选</ion-label>
<ion-label class="exit_select-label" @click="onCheackChange">退出选择</ion-label>
</div>
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
<ion-checkbox slot="start" :checked="item.checked" v-show="isChoose" @click.stop="checkboxSelect(item)"></ion-checkbox>
${ctrl.render.code}
......@@ -48,11 +43,6 @@
<#else>
<ion-list class="items" ref="ionlist">
<template v-if="(viewType == 'DEMOBMDVIEW9') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall" v-show="isChoose">
<ion-checkbox :checked="selectAllIschecked" @ionChange="checkboxAll"></ion-checkbox>
<ion-label class="selectal-label">全选</ion-label>
<ion-label class="exit_select-label" @click="onCheackChange">退出选择</ion-label>
</div>
<ion-item-sliding ref="sliding" v-for="item in items" @click="item_click(item)" :key="item.srfkey" class="app-mob-mdctrl-item" :disabled="item.sliding_disabled" @ionDrag="ionDrag">
<#-- BENGIN:输出界面行为组 -->
<@outPutActionGroup ctrl />
......@@ -82,11 +72,6 @@
<ion-list class="items" ref="ionlist" @touchmove="gotouchmove" @touchstart="gotouchstart" @touchend="gotouchend">
<#--多数据视图||多数据视图(部件视图)-->
<template v-if="(viewType == 'DEMOBMDVIEW') && controlStyle != 'SWIPERVIEW' ">
<div class="selectall" v-show="isChoose">
<ion-checkbox slot="start" :checked="selectAllIschecked" @ionChange="checkboxAll"></ion-checkbox>
<ion-label class="selectal-label">全选</ion-label>
<ion-label class="exit_select-label" @click="onCheackChange">退出选择</ion-label>
</div>
<#if ctrl.isEnableGroup?? && ctrl.isEnableGroup()?? && ctrl.isEnableGroup()>
<div class="item-grouped" v-for="obj in group_data" :key="obj.index">
<van-collapse v-model="activeName" @change="changeCollapse">
......
......@@ -64,6 +64,11 @@ ${P.getCtrlCode('mdctrl', 'CONTROL.html').code}
<#if mdctrl.getBatchPSDEToolbar?? && mdctrl.getBatchPSDEToolbar()??>
<#assign batchToolbar = mdctrl.getBatchPSDEToolbar()>
<div v-show="isChoose" class="batch_btn">
<div class="selectall" v-show="isChoose">
<ion-checkbox ></ion-checkbox>
<ion-label class="selectal-label">全选</ion-label>
</div>
<div class="batch_btn_content">
<@ibizindent blank=8>
${P.getCtrlCode(batchToolbar, 'CONTROL.html').code}
</@ibizindent>
......@@ -72,5 +77,6 @@ ${P.getCtrlCode('mdctrl', 'CONTROL.html').code}
{{$t('app.button.cancel')}}
</ion-button>
</div>
</div>
</#if>
</#assign>
\ No newline at end of file
......@@ -22,7 +22,25 @@
</#if>
.batch_btn{
display: flex;
justify-content: center;
justify-content: space-between;
align-items: center;
.batch_btn_content{
display: flex;
justify-self: center;
ion-button{
color: #505050;
--background: transparent;
font-size: 12px;
--color-activated: #505050;
--background-activated: transparent;
}
}
.selectal-label {
padding-left: 15px;
font-size: 13px;
color: @color-main-color;
}
}
.mdview-tools-select{
display: flex;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册