短视频直播源码,点击按钮,按钮有被点击反馈效果
<template>
<view class="page" >
<button class="btn0" hover-class="checkActive">连接车辆</button>
</view>
</template>
<style>
.btn0{
padding: 0upx 0;
align-self: center;
color: #007AFF;
font-size: 30upx;
background-color: rgb(31, 31, 31);
border-radius: 11upx;
width: 300upx;
border: solid 2upx #FFFFFF;
}
.checkActive{
padding: 0upx 0;
align-self: center;
color: #0056b7;
font-size: 30upx;
background-color: rgb(31, 31, 31);
border-radius: 11upx;
width: 300upx;
border: solid 2upx #a2a4ae;
}
</style>
以上就是 短视频直播源码,点击按钮,按钮有被点击反馈效果,更多内容欢迎关注之后的文章