提交 fe609ed2 编写于 作者: W WOSHIMAHAIFENG

补充hoverclass默认样式

上级 143e0a92
...@@ -37,9 +37,9 @@ ...@@ -37,9 +37,9 @@
}) })
}, },
//用于自动化测试 //用于自动化测试
checkUniButtonElement(): boolean { checkUniButtonElement() : boolean {
const button = uni.getElementById("testButton") const button = uni.getElementById("testButton")
if(button != null && button instanceof UniButtonElement) { if (button != null && button instanceof UniButtonElement) {
return true return true
} }
return false return false
...@@ -97,4 +97,9 @@ ...@@ -97,4 +97,9 @@
background-color: #179b16; background-color: #179b16;
border-color: #179b16; border-color: #179b16;
} }
.button-hover {
color: rgba(0, 0, 0, 0.6);
background-color: #dedede;
}
</style> </style>
...@@ -181,6 +181,15 @@ ...@@ -181,6 +181,15 @@
.container { .container {
width: 100%; width: 100%;
height: 60px; height: 60px;
/* background-color: orange; */ }
.is-hover {
color: rgba(255, 255, 255, 0.6);
background-color: #179b16;
border-color: #179b16;
}
.button-hover {
color: rgba(0, 0, 0, 0.6);
background-color: #dedede;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册