-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Cell): fix component style errors
- Loading branch information
1 parent
e1dd8bd
commit 0944337
Showing
7 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<template> | ||
<t-cell-group theme="card"> | ||
<t-cell :left-icon="lock" title="单行标题" arrow /> | ||
<t-cell :left-icon="app" title="单行标题" arrow /> | ||
<t-cell :left-icon="service" title="单行标题" arrow /> | ||
<t-cell :left-icon="internet" title="单行标题" arrow /> | ||
</t-cell-group> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { h } from 'vue'; | ||
import { LockOnIcon, ServiceIcon, InternetIcon } from 'tdesign-icons-vue-next'; | ||
import { AppIcon, ServiceIcon, InternetIcon } from 'tdesign-icons-vue-next'; | ||
const lock = () => h(LockOnIcon); | ||
const app = () => h(AppIcon); | ||
const service = () => h(ServiceIcon); | ||
const internet = () => h(InternetIcon); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters