From f7bfb34d6b31c60d43704b58a0517212c301cea9 Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 18 Feb 2020 14:28:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20button=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=BC=A0=E6=A0=87=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/button/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/core/view/components/button/index.vue b/src/core/view/components/button/index.vue index 610e3e47d..58354e14b 100644 --- a/src/core/view/components/button/index.vue +++ b/src/core/view/components/button/index.vue @@ -131,6 +131,7 @@ export default { overflow: hidden; color: #000000; background-color: #F8F8F8; + cursor: pointer; } uni-button[hidden] { @@ -192,6 +193,7 @@ export default { uni-button[disabled] { color: rgba(255, 255, 255, 0.6); + cursor: not-allowed; } uni-button[disabled][type=default], @@ -287,6 +289,10 @@ export default { padding: 0 1.34em; } + uni-button[loading]:not([disabled]){ + cursor: progress; + } + uni-button[loading]:before { content: " "; display: inline-block; @@ -375,4 +381,4 @@ export default { border-color: rgba(230, 67, 64, 0.6); background-color: transparent; } - + -- GitLab