taro RN 不支持 linear-gradient 属性

sy5wg1nm  于 5个月前  发布在  其他
关注(0)|答案(2)|浏览(59)

相关平台

React Native

使用框架: React

复现步骤

wu

期望结果

支持

实际结果

不支持

环境信息

👽 Taro v3.5.3

  Taro CLI 3.5.3 environment info:
    System:
      OS: macOS 12.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.10.0 - /usr/local/bin/node
      Yarn: 1.22.11 - ~/.nvm/versions/node/v16.10.0/bin/yarn
      npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.3 => 3.5.3
      @tarojs/components: 3.5.3 => 3.5.3
      @tarojs/helper: 3.5.3 => 3.5.3
      @tarojs/plugin-framework-react: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-alipay: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-jd: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-qq: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-swan: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-tt: 3.5.3 => 3.5.3
      @tarojs/plugin-platform-weapp: 3.5.3 => 3.5.3
      @tarojs/react: 3.5.3 => 3.5.3
      @tarojs/rn-runner: 3.5.3 => 3.5.3
      @tarojs/router: 3.5.3 => 3.5.3
      @tarojs/runtime: 3.5.3 => 3.5.3
      @tarojs/shared: 3.5.3 => 3.5.3
      @tarojs/taro: 3.5.3 => 3.5.3
      @tarojs/taro-h5: 3.5.3 => 3.5.3
      @tarojs/taro-rn: 3.5.3 => 3.5.3
      @tarojs/webpack5-runner: 3.5.3 => 3.5.3
      babel-preset-taro: 3.5.3 => 3.5.3
      eslint-config-taro: 3.5.3 => 3.5.3
      expo: ~46.0.1 => 46.0.7
      react: ^17.0.2 => 17.0.2
      react-native: ^0.68.2 => 0.68.3
owfi6suc

owfi6suc1#

我看到大佬已经有做了 https://github.com/zhiqingchen/linear-gradient-taro
可以考虑直接在 taro-shell / taro-playground 中引入,这样起码开发者能自己处理linear-gradient相关场景

相关问题