We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@nutui/nutui-react-taro
2.4.1
jd
https://cofe-portal.jdfmgt.com/app/m/#/app/static/files?app_id=61b06d3c1b8eeeb5de3a56d9&release_type=2
import React, { useState } from 'react' import { ImagePreview, Cell } from '@nutui/nutui-react-taro'
const Demo1 = () => { const images = [ { src: '//fastly.jsdelivr.net/npm/@vant/assets/apple-4.jpeg', }, { src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/26597/30/4870/174583/5c35c5d2Ed55eedc6/50e27870c25e7a82.png', }, { src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/9542/17/12873/201687/5c3c4362Ea9eb757d/60026b40a9d60d85.jpg', }, { src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/30042/36/427/82951/5c3bfdabE3faf2f66/9adca782661c988c.jpg', }, ] const [showPreview, setShowPreview] = useState(false) return ( <> <ImagePreview autoPlay images={images} visible={showPreview} onClose={() => setShowPreview(false)} /> <Cell title="展示图片预览" onClick={() => setShowPreview(true)} /> </> ) } export default Demo1
期望可以 隐藏页码
目前没有api可以支持 隐藏页码
👽 Taro v3.6.19
代理https://jtk-pre.jd.com: 启动 taro-plugin-environment:读取env环境变量 undefined
Taro CLI 3.6.19 environment info: System: OS: macOS 13.4 Shell: 5.9 - /bin/zsh Binaries: Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v18.0.0/bin/yarn npm: 8.6.0 - ~/.nvm/versions/node/v18.0.0/bin/npm npmPackages: @tarojs/cli: 3.6.14 => 3.6.14 @tarojs/components: 3.6.14 => 3.6.14 @tarojs/helper: 3.6.14 => 3.6.14 @tarojs/plugin-framework-react: 3.6.14 => 3.6.14 @tarojs/plugin-html: 3.6.14 => 3.6.14 @tarojs/plugin-platform-jd: 3.6.14 => 3.6.14 @tarojs/react: 3.6.14 => 3.6.14 @tarojs/runtime: 3.6.14 => 3.6.14 @tarojs/shared: 3.6.14 => 3.6.14 @tarojs/taro: 3.6.14 => 3.6.14 @tarojs/taro-loader: 3.6.14 => 3.6.14 @tarojs/webpack5-runner: 3.6.14 => 3.6.14 babel-preset-taro: 3.6.14 => 3.6.14 eslint-config-taro: 3.6.14 => 3.6.14 react: ^18.0.0 => 18.2.0
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
NutUI React 包名
@nutui/nutui-react-taro
NutUI React 版本号
2.4.1
平台
jd
重现链接
https://cofe-portal.jdfmgt.com/app/m/#/app/static/files?app_id=61b06d3c1b8eeeb5de3a56d9&release_type=2
重现步骤
import React, { useState } from 'react'
import { ImagePreview, Cell } from '@nutui/nutui-react-taro'
const Demo1 = () => {
const images = [
{
src: '//fastly.jsdelivr.net/npm/@vant/assets/apple-4.jpeg',
},
{
src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/26597/30/4870/174583/5c35c5d2Ed55eedc6/50e27870c25e7a82.png',
},
{
src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/9542/17/12873/201687/5c3c4362Ea9eb757d/60026b40a9d60d85.jpg',
},
{
src: '//m.360buyimg.com/mobilecms/s750x366_jfs/t1/30042/36/427/82951/5c3bfdabE3faf2f66/9adca782661c988c.jpg',
},
]
const [showPreview, setShowPreview] = useState(false)
return (
<>
<ImagePreview
autoPlay
images={images}
visible={showPreview}
onClose={() => setShowPreview(false)}
/>
<Cell title="展示图片预览" onClick={() => setShowPreview(true)} />
</>
)
}
export default Demo1
期望的结果是什么?
期望可以 隐藏页码
![image](https://private-user-images.githubusercontent.com/118147499/345267530-c89c3297-9a6a-4be8-85a2-0053ce5afdf8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTY3NDQsIm5iZiI6MTczOTI5NjQ0NCwicGF0aCI6Ii8xMTgxNDc0OTkvMzQ1MjY3NTMwLWM4OWMzMjk3LTlhNmEtNGJlOC04NWEyLTAwNTNjZTVhZmRmOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNzU0MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kOGQxNWJlYTRjYWVlNDE2MGMxZmQ2MDI3N2IxYWYyMmI2ZjJiY2QyOTgxZDg3MWYxYjhhY2QxMmZhMDIwYTQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.0bJvZtVzEe1Rp54ek2KcDvGtExn_SoO0GAMYH3zI7VA)
实际的结果是什么?
目前没有api可以支持 隐藏页码
环境信息
👽 Taro v3.6.19
代理https://jtk-pre.jd.com:
启动 taro-plugin-environment:读取env环境变量 undefined
Taro CLI 3.6.19 environment info:
System:
OS: macOS 13.4
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.0.0/bin/yarn
npm: 8.6.0 - ~/.nvm/versions/node/v18.0.0/bin/npm
npmPackages:
@tarojs/cli: 3.6.14 => 3.6.14
@tarojs/components: 3.6.14 => 3.6.14
@tarojs/helper: 3.6.14 => 3.6.14
@tarojs/plugin-framework-react: 3.6.14 => 3.6.14
@tarojs/plugin-html: 3.6.14 => 3.6.14
@tarojs/plugin-platform-jd: 3.6.14 => 3.6.14
@tarojs/react: 3.6.14 => 3.6.14
@tarojs/runtime: 3.6.14 => 3.6.14
@tarojs/shared: 3.6.14 => 3.6.14
@tarojs/taro: 3.6.14 => 3.6.14
@tarojs/taro-loader: 3.6.14 => 3.6.14
@tarojs/webpack5-runner: 3.6.14 => 3.6.14
babel-preset-taro: 3.6.14 => 3.6.14
eslint-config-taro: 3.6.14 => 3.6.14
react: ^18.0.0 => 18.2.0
其他补充信息
No response
The text was updated successfully, but these errors were encountered: