oasis

Results 53 comments of oasis

> > 链接的使用方式是img标签的形式呈现,因此设置color本身不会对img生效。 > > 可以和其他 icon 一样使用 text 背景的方式吗,如果是 image 的话无法修改颜色了,使用外部 icon 很不方便 可以通过外部字体 Icon 来使用 icon 组件,使用图片是一个单独的功能。

发个完整的 demo 吧,在 Taro 3.6.35 NutUI-react-taro 2.7.0 上无法复现问题。

不建议使用 extends 继承,因为在实际使用 configprovider 时,我们需要设计新的 locales 类型,如下面代码中给出的注释。 ```tsx import { BaseProps } from '../../base/props' import { Locales, PageDirection } from '../../base/locales' import enUS from '../../../locales/en-US' export interface BaseConfigProvider extends BaseProps...

同 switch 另外一个 pr 中的建议,可以参考,不需要增加额外状态

@tarojs/plugin-platform-weapp: ^3.6.17 => 3.6.17 版本需要和 taro 保持一致。

> @oasis-cloud @dushoujun @irisSong 周五了,这周的发版也还修改这个方案吗? 您们可以讨论决定一下,用那种方案。 确定方案了,如果没时间的话我可以根据您们觉得的方案提个PR 可以提个 PR,来看看你实际想要的是什么样子的组件。代码理解意图最直观。

类型为 primary 的 Button 组件,使用的 CSS 变量 和 Scss 变量如下: --nutui-color-primary-stop1: green; --nutui-color-primary-stop2: green; $button-primary-background-color: linear-gradient( 135deg, $color-primary-stop-1 0%, $color-primary-stop-2 100% ) !default;

发下 babel 配置看看

> 重现连接: [shengzhou1216/nutui-react-taro-theme-test](https://github.com/shengzhou1216/nutui-react-taro-theme-test) > > // babel-preset-taro 更多选项和默认值: > // https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md > module.exports = { > presets: [ > ['taro', > { > framework: 'react', > ts: 'true', > compiler:...