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

事件冒泡 && 代码格式 -fix

上级 9c0be901
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
background-color: transparent; background-color: transparent;
position: absolute; position: absolute;
right: 12px; right: 12px;
top: 50%; top: calc(50% - 9px);
transform: translateY(-50%); transform: translateY(-50%);
z-index: 9998; z-index: 9998;
display: flex; display: flex;
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
line-height: 40px; line-height: 40px;
text-align: right; text-align: right;
color: #969696; color: #969696;
--padding-bottom:0; --padding-bottom: 0;
--padding-end:26px; --padding-end: 26px;
--padding-start:0; --padding-start: 0;
--padding-top:0; --padding-top: 0;
} }
} }
<template> <template>
<div class="app-mobile-select-drop-down"> <div class="app-mobile-select-drop-down">
<div class="cancel-icon" v-if="curvalue"><ion-icon name="close-circle-outline" @click="onClear"></ion-icon></div> <div class="cancel-icon" v-if="curvalue"><ion-icon name="close-circle-outline" @click.stop="onClear"></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>
<div class="select_text" @click="openSelect" >{{curvalue}}</div> <div class="select_text" @click="openSelect" >{{curvalue}}</div>
<ion-select :selected-text="selectValue" :ref="name+'select'" v-show="false" :disabled="disabled " @ionChange="change" interface="action-sheet" :cancel-text="$t('app.button.cancel')" @ionCancel="cancel"> <ion-select :selected-text="selectValue" :ref="name+'select'" v-show="false" :disabled="disabled " @ionChange="change" interface="action-sheet" :cancel-text="$t('app.button.cancel')" @ionCancel="cancel">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册