mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[Improvement] use bem mixin (#934)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<span
|
||||
class="van-tag van-hairline--surround"
|
||||
:class="{
|
||||
[`van-tag--${type}`]: type,
|
||||
'van-tag--plain': plain,
|
||||
'van-tag--mark': mark
|
||||
}"
|
||||
class="van-hairline--surround"
|
||||
:class="b({
|
||||
mark,
|
||||
plain,
|
||||
[type]: type
|
||||
})"
|
||||
>
|
||||
<slot />
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user