From beb9fcd0ba39c170fde994d41e884b94704d604a Mon Sep 17 00:00:00 2001
From: songsong <353833373@qq.com>
Date: Sat, 9 Nov 2024 22:02:38 +0800
Subject: [PATCH] fix(cell): update Icon (#2716)
* fix: update icons-react-taro version
* chore: update pnpm-lock.yaml
* fix: update Icon
* fix: update Icon
* fix: update Icon size
---
src/packages/cell/demos/taro/demo3.tsx | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/packages/cell/demos/taro/demo3.tsx b/src/packages/cell/demos/taro/demo3.tsx
index 7b889de431..65509a112b 100644
--- a/src/packages/cell/demos/taro/demo3.tsx
+++ b/src/packages/cell/demos/taro/demo3.tsx
@@ -1,6 +1,8 @@
import React from 'react'
import { Cell } from '@nutui/nutui-react-taro'
import { View, Text } from '@tarojs/components'
+import { User } from '@nutui/icons-react-taro'
+import pxTransform from '@/utils/px-transform'
const Demo3 = () => {
return (
@@ -11,11 +13,11 @@ const Demo3 = () => {
display: 'flex',
alignItems: 'center',
flexDirection: 'row',
+ lineHeight: pxTransform(20),
}}
>
- {/* */}
- {/* 我是标题 */}
- 我是标题
+
+ 我是标题
}
description={
@@ -24,9 +26,12 @@ const Demo3 = () => {
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
+ fontSize: pxTransform(12),
+ color: '#505259',
}}
>
- 我是描述1
+ 我是描述
+ 1
}
extra="描述文字"