|
@@ -9,13 +9,13 @@
|
|
|
<nut-cell title="success 类型">
|
|
<nut-cell title="success 类型">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag type="success">标签</nut-tag>
|
|
<nut-tag type="success">标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="danger 类型">
|
|
<nut-cell title="danger 类型">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag type="danger">标签</nut-tag>
|
|
<nut-tag type="danger">标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="warning 类型">
|
|
<nut-cell title="warning 类型">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag type="warning">标签</nut-tag>
|
|
<nut-tag type="warning">标签</nut-tag>
|
|
@@ -27,33 +27,33 @@
|
|
|
<nut-cell title="空心样式">
|
|
<nut-cell title="空心样式">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag plain>标签</nut-tag>
|
|
<nut-tag plain>标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="圆角样式">
|
|
<nut-cell title="圆角样式">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag round type="primary">标签</nut-tag>
|
|
<nut-tag round type="primary">标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="标记样式">
|
|
<nut-cell title="标记样式">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag mark type="primary">标签</nut-tag>
|
|
<nut-tag mark type="primary">标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="可关闭标签">
|
|
<nut-cell title="可关闭标签">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag v-if="show" closeable @close="close" type="primary"
|
|
<nut-tag v-if="show" closeable @close="close" type="primary"
|
|
|
>标签</nut-tag
|
|
>标签</nut-tag
|
|
|
>
|
|
>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
</nut-cell-group>
|
|
</nut-cell-group>
|
|
|
|
|
|
|
|
<nut-cell-group title="自定义">
|
|
<nut-cell-group title="自定义">
|
|
|
<nut-cell title="背景颜色">
|
|
<nut-cell title="背景颜色">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag color="#FA685D">标签</nut-tag>
|
|
<nut-tag color="#FA685D">标签</nut-tag>
|
|
|
- </template></nut-cell
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </nut-cell>
|
|
|
<nut-cell title="文字颜色">
|
|
<nut-cell title="文字颜色">
|
|
|
<template v-slot:link>
|
|
<template v-slot:link>
|
|
|
<nut-tag color="#E9E9E9" textColor="#999999">标签</nut-tag>
|
|
<nut-tag color="#E9E9E9" textColor="#999999">标签</nut-tag>
|
|
@@ -87,24 +87,3 @@ export default createDemo({
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
-
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
|
-.nut-tag {
|
|
|
|
|
- margin-right: 15px;
|
|
|
|
|
- &:last-child {
|
|
|
|
|
- margin-bottom: 0;
|
|
|
|
|
- margin-right: 0;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.nut-cell {
|
|
|
|
|
- align-items: flex-end;
|
|
|
|
|
- border-radius: 0;
|
|
|
|
|
- .nut-cell__title {
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
- font-family: PingFangSC;
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
- color: rgba(102, 102, 102, 1);
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-</style>
|
|
|