添加登录功能
This commit is contained in:
@@ -17,7 +17,7 @@ const props = defineProps({
|
||||
|
||||
<template>
|
||||
<view
|
||||
class="container"
|
||||
class="sbtn"
|
||||
:style="{ width: width, borderRadius: rounded + 'px' }"
|
||||
@click="onClick"
|
||||
>
|
||||
@@ -26,7 +26,7 @@ const props = defineProps({
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
.sbtn {
|
||||
margin: 0 auto;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
@@ -34,5 +34,8 @@ const props = defineProps({
|
||||
background-color: #fed847;
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user