From e925b0da0001726292eb0b97282b928ae0199c46 Mon Sep 17 00:00:00 2001 From: WOSHIMAHAIFENG Date: Mon, 4 Mar 2024 20:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85button=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/button/button.uvue | 3 ++- pages/component/button/buttonstatus.uvue | 18 +++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pages/component/button/button.uvue b/pages/component/button/button.uvue index 607864e7..ec3646c9 100644 --- a/pages/component/button/button.uvue +++ b/pages/component/button/button.uvue @@ -57,7 +57,8 @@ - + + diff --git a/pages/component/button/buttonstatus.uvue b/pages/component/button/buttonstatus.uvue index 041bf366..162058ae 100644 --- a/pages/component/button/buttonstatus.uvue +++ b/pages/component/button/buttonstatus.uvue @@ -44,7 +44,7 @@ @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + type-default @@ -53,7 +53,7 @@ @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + type-primary @@ -62,7 +62,7 @@ @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + type-warn @@ -72,7 +72,7 @@ @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + size-default @@ -81,7 +81,7 @@ @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + size-mini @@ -91,7 +91,7 @@ @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + plain-true @@ -100,7 +100,7 @@ @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + plain-false @@ -110,7 +110,7 @@ @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + disable-false @@ -119,7 +119,7 @@ @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" :class="default_style ? 'custom-btn' : ''" :hover-class="default_style ? 'is-hover' : 'button-hover'"> - {{ text }} + disable-true -- GitLab