diff --git a/style/mobile/components/calendar/v2/_index.less b/style/mobile/components/calendar/v2/_index.less index 21f6da320f..6648975e0c 100644 --- a/style/mobile/components/calendar/v2/_index.less +++ b/style/mobile/components/calendar/v2/_index.less @@ -1,5 +1,7 @@ @import "../../../base.less"; +@import "../../../mixins/_cursor.less"; + @import "./_var.less"; .@{prefix}-calendar { diff --git a/style/mobile/mixins/_cursor.less b/style/mobile/mixins/_cursor.less new file mode 100644 index 0000000000..0b8c143268 --- /dev/null +++ b/style/mobile/mixins/_cursor.less @@ -0,0 +1,7 @@ +.cursor-pointer() { + cursor: pointer; + -webkit-tap-highlight-color: transparent; + /* stylelint-disable-next-line */ + -webkit-user-select: none; + user-select: none; +}