diff --git a/pages/component/button/button.uvue b/pages/component/button/button.uvue index 7ceb1623324957358a190ebe47795e83126cb11c..a630008a004791d33ea0474a10076ea979fa32a5 100644 --- a/pages/component/button/button.uvue +++ b/pages/component/button/button.uvue @@ -43,13 +43,14 @@ :type="type_enum[type_enum_current].name" :plain="plain_boolean" @click="button_click" @touchstart="button_touchstart" @touchmove="button_touchmove" @touchcancel="button_touchcancel" @touchend="button_touchend" @tap="button_tap" @longpress="button_longpress" class="btn" - :style="default_style ? 'color: #cccccc': ''">{{text}} + :style="default_style ? 'color:#ffffff;backgroundColor:#1AAD19;borderColor:#1AAD19;': ''" + :hover-class="default_style ? 'is-hover': 'button-hover'">{{text}} - + @@ -72,4 +73,10 @@ height: 200rpx; border: 1px solid #666; } + + .is-hover { + color: rgba(255, 255, 255, 0.6); + background-color: #179b16; + border-color: #179b16; + } \ No newline at end of file