功能完善
This commit is contained in:
@@ -20,13 +20,15 @@ const props = defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view
|
||||
<button
|
||||
class="sbtn"
|
||||
hover-class="none"
|
||||
:style="{
|
||||
width: width,
|
||||
borderRadius: rounded + 'px',
|
||||
backgroundColor: disabled ? '#757575' : '#fed847',
|
||||
}"
|
||||
open-type="getUserInfo"
|
||||
@click="
|
||||
() => {
|
||||
if (!disabled) onClick();
|
||||
@@ -34,7 +36,7 @@ const props = defineProps({
|
||||
"
|
||||
>
|
||||
<slot />
|
||||
</view>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user