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

下拉选择样式清空样式 --fix2 解决ionic下拉框点击事件bug --fix1

上级 9d7237e9
.app-mobile-select { .app-mobile-select {
width: 100%; width: 100%;
.cancel-icon { .cancel-icon {
width: 12px; width: 16px;
height: 12px; height: 16px;
background-color: #fcfcfc; background-color: #fcfcfc;
position: absolute; position: absolute;
right: 15px; right: 12px;
bottom: 15px; top: 50%;
z-index: 9999; transform: translateY(-50%);
z-index: 9998;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
ion-icon{ ion-icon{
font-size: 18px; position: absolute;
font-size: 16px;
right: 0;
top: 0;
color:#969696; color:#969696;
z-index:9999;
} }
} }
ion-select { ion-select {
......
<template> <template>
<div v-if="overload" class="app-mobile-select" > <div v-if="overload" class="app-mobile-select" data-tap-disabled="true">
<div class="cancel-icon" v-if="curValue"><ion-icon name="close-circle-outline" @click="clear"></ion-icon></div> <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> <div v-if="curValue== null || curValue==''" class="ion-select-icon"></div>
<ion-select :value="curValue" :disabled="disabled ? disabled : false" @ionChange="change" interface="action-sheet" @click="load" :cancel-text="$t('app.button.cancel')"> <ion-select :value="curValue" :disabled="disabled ? disabled : false" @ionChange="change" interface="action-sheet" @click="load" :cancel-text="$t('app.button.cancel')">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册