@ray-js/smart-ui example在哪里

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
18559697016
Posts: 53

example.png

Tags:
lshinylee
Posts: 245

Re: @ray-js/smart-ui example在哪里

example 我们暂时没有提供,计划会在组件文档页面新增 codesandbox 以方便调试

:D :D :D

lshinylee
Posts: 245

Re: @ray-js/smart-ui example在哪里

目前,基本每个组件的 demo 演示区块都已添加了 CodeSandbox 入口,方便在平台上进行编辑和预览。此外,我们计划在9月逐步开放部分组件的源代码,敬请期待。

Attachments
snap.png

:D :D :D

18559697016
Posts: 53

Re: @ray-js/smart-ui example在哪里

:D :D :D

18559697016
Posts: 53

Re: @ray-js/smart-ui example在哪里

直接复制你们的代码,效果如下

Code: Select all

<View className={styles.view}>
      <Button type="default">默认按钮</Button>
      <Button type="primary">主要按钮</Button>
      <Button type="info">信息按钮</Button>
      <Button type="warning">警告按钮</Button>
      <Button type="danger">危险按钮</Button>
</View>
666.png

你们的效果是这样的, :geek: 效果相差太大了

999.png
lshinylee
Posts: 245

Re: @ray-js/smart-ui example在哪里

可以看下是不是业务项目的 .less 文件中存在复写 button 之类的样式了,比如这里的代码 https://github.com/Tuya-Community/tuya- ... x.less#L14,我们会在正式发布以后统一升级下模板

:D :D :D

18559697016
Posts: 53

Re: @ray-js/smart-ui example在哪里

嗯,是模版代码,影响到了。给力☆( ̄▽ ̄)/$:*

Post Reply