-
//index.weapp.js
`/* eslint-disable */
import React from 'react';
import Taro from '@tarojs/taro';
const IconFont = (props) => {
const { name, size, color } = props;
return ;
};
…
-
### NutUI React 包名
@nutui/nutui-react-taro
### NutUI React 版本号
2.6.0
### 平台
weapp
### 重现链接
https://codesandbox.io/p/devbox/nutui-react-2x-demo-fg4vxd?file=%2Fsrc%2FApp.tsx
### 重现步骤
```
…
-
https://github.com/NervJS/taro-ui/blob/e59358d72b691c368080a40dab0c4641b5db3018/src/components/image-picker/index.tsx#L85
``` js
private handleRemoveImg = (idx: number,e:any): void => {
…
ghost updated
3 years ago
-
### NutUI React 包名
@nutui/nutui-react-taro
### NutUI React 版本号
2.6.1
### 平台
weapp
### 重现链接
无
### 重现步骤
安装 nutui 后, 按需引入插件, 编译成微信小程序后提示 Templat xxx not found, 已按照文档需求安装插件, 并配置config
# 页面
…
-
### 相关平台
微信小程序
### 复现仓库
[https://gitee.com/hoseale/taroui-textarea-bug.git](https://gitee.com/hoseale/taroui-textarea-bug.git)
**小程序基础库: 2.30.2**
**使用框架: React**
### 复现步骤
1. 安装taro的3.6.…
-
> 鉴于`echarts-taro3-react`的自带的`echarts.js`比较旧,而且在hooks写法下还会出现报错,所以简单写了个taro插件来覆盖node_module里的文件并替换可能导致错误的地方。
单独做个npm包有点麻烦,所以这里做个记录,希望大佬不要介意,有需要的自取:
1. 首先去[Echarts在线定制](https://echarts.apache.org/…
-
## 前言
`Taro@3.0` 发版以来,基本上保持在一周的时间发版,主要是修复 `bug`。通过社区可以了解到,`Taro@3.x` 发版带来了重大变革,其中对 `H5` 和小程序场景进行重构,提供了新的特性和新的架构。
`Taro@3.0` 发版之后,社区一直很活跃,不少用户开始使用一键式(命令)升级。
```sh
$ taro update project [versi…
-
**问题描述**
使用taro-ui 中的AtNavBar 组件,没有做任何特殊处理及样式修改的情况下,不管是微信小程序还是百度小程序均样式错乱
**复现步骤**
npm run dev:weapp
npm run dev:swan
不管是开发工具还是真机样式均乱
```js
import Taro, { useState,useEffect,useCallback …
-
### 这个特性解决了什么问题?
rn和mini, h5传参方式一致
### 这个 API 长什么样?
width: ${props => props.width};
import { View, Text, Button } from '@tarojs/components';
View可以用传参,Text, Button等不行。View是如何做到的,其它组件能…
-
### Taro UI 版本信息
2.2.4
### 问题描述
AtInput 组件在 android 下获得焦点位置不正确,每次重新获得焦点后,焦点位置在输入框所有内容之前
### 复现步骤
1. android 系统
2. 支付宝小程序
3. 任意 type="text" 的输入框
### 复现代码
import Taro from '@taroj…