mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Improvement] Tag: adjust style (#689)
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
<template>
|
||||
<span class="van-tag van-hairline--surround" :class="{ [`van-tag--${type}`]: type, 'van-tag--plain': plain, 'van-tag--mark': mark }">
|
||||
<span
|
||||
class="van-tag van-hairline--surround"
|
||||
:class="{
|
||||
[`van-tag--${type}`]: type,
|
||||
'van-tag--plain': plain,
|
||||
'van-tag--mark': mark
|
||||
}"
|
||||
>
|
||||
<slot />
|
||||
</span>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user