提交 af9f5322 编写于 作者: zhujiamin's avatar zhujiamin

app-mobile-check-list样式统一

上级 9846b4da
.app-mobile-check-list {
width: 100%;
ion-icon{
.cancel-icon {
width: 16px;
height: 16px;
background-color: #fcfcfc;
position: absolute;
right: 15px;
bottom: 13px;
z-index:2;
right: 12px;
top: 50%;
transform: translateY(-50%);
z-index: 9998;
display: flex;
justify-content: center;
align-items: center;
ion-icon{
position: absolute;
font-size: 16px;
right: 0;
top: 0;
color:#969696;
z-index:9999;
}
}
ion-select{
width: 100%;
......@@ -14,10 +29,14 @@
text-align: right;
color: #969696 !important;
}
ion-select::part(text) {
padding-right: 15px;
}
ion-select::part(icon) {
display: none !important;
opacity: 0 !important;
}
.ion-select-icon{
.ion-select-icon {
right: 17px;
top: 50%;
margin-top: -3px;
......@@ -29,6 +48,6 @@
border-top: 5px solid;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
color: #615e5ec4;
color: #969696;
}
}
<template>
<div class="app-mobile-check-list">
<ion-icon v-if="curValue" name="close-outline" @click="clear"></ion-icon>
<div class="cancel-icon" v-if="curValue"><ion-icon name="close-circle-outline" @click="clear"></ion-icon></div>
<div v-if="curValue== null || curValue==''" class="ion-select-icon"></div>
<ion-select ref="checkList" @ionChange="change" multiple="true" :ok-text="$t('app.button.confirm')" :cancel-text="$t('app.button.cancel')">
<ion-select-option v-for="option of options" :key="option.value" :value="option.value">{{option.text}}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册