提交 9a3fa6ca 编写于 作者: Q qiang

fix: 优化 picker 组件鼠标显示效果(H5)

上级 3959fd69
<template> <template>
<uni-picker <uni-picker
:disabled="disabled"
@click.stop="_show" @click.stop="_show"
v-on="$listeners"> v-on="$listeners">
<div <div
...@@ -438,6 +439,15 @@ export default { ...@@ -438,6 +439,15 @@ export default {
<style> <style>
uni-picker { uni-picker {
display: block; display: block;
cursor: pointer;
}
uni-picker[hidden] {
display: none;
}
uni-picker[disabled] {
cursor: not-allowed;
} }
.uni-picker-container { .uni-picker-container {
...@@ -526,6 +536,7 @@ uni-picker { ...@@ -526,6 +536,7 @@ uni-picker {
font-size: 17px; font-size: 17px;
line-height: 45px; line-height: 45px;
overflow: hidden; overflow: hidden;
cursor: pointer;
} }
.uni-picker-container .uni-picker-action.uni-picker-action-cancel { .uni-picker-container .uni-picker-action.uni-picker-action-cancel {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册