幻城

Results 8 issues of 幻城

如果有想法想feat component的话,在兼容暗黑模式,有几个规范需要告诉你: 1. Concis目前提供暗黑主题,在文档显示需要兼容,开发组件需要在样式文件中提供两套类名,如concis-button(light) / concis-dark-button(dark); 2. 在组件代码中需根据GlobalConfig context中darkTheme来判断用户项目是否开启深色模式,开启即使用concis-dark-component类。 ![image](https://user-images.githubusercontent.com/78004597/180177460-1fc213ea-f069-485a-af5a-b38c95903964.png) 参考之前组件的模板就好,写的很清楚,集成所有类名,给组件原本类名加一个判断就可以,后续推出其他主题可能会改变写法,先暂时这么做。

修改Tabs组件`type`=`card`或`type`=`card-gutter`、`tabPosition`=`left | right | top | bottom`时样式错乱的问题。 ## Types of changes - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [ ] Documentation change...

Modify the problem that the header line is in the wrong position when the Tabs component is in type=line, tabPosition=bottom. 修改Tabs组件在type=line、tabPosition=bottom时,header线位置错误的问题。 ## Types of changes - [ ] New feature...

修复暗黑模式下Tabs组件为type=capsule & disabled时仍有hover效果的问题 ![image](https://user-images.githubusercontent.com/78004597/183288828-ea589d30-98e7-4a94-a375-c4693a304d99.png) - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [ ] Documentation change - [ ] Coding style change -...

修改文档: Tabs组件position案例中的props为tabPosition ![image](https://user-images.githubusercontent.com/78004597/183289228-957e87a5-07c5-467c-a262-5c7b0a60c3f4.png) ## Types of changes - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [x] Documentation change - [ ] Coding style...

修复文档Form组件中输入框自动提示在Chorme中的bug ## Types of changes - [ ] New feature - [x] Bug fix - [ ] Enhancement - [ ] Documentation change - [ ] Coding style change -...

如图: ![image](https://user-images.githubusercontent.com/78004597/183057481-f58a2043-a0fc-4d0f-a3f2-12a46295b7d6.png) ![image](https://user-images.githubusercontent.com/78004597/183057491-9b172364-59ad-4c7b-bd35-2c794ccc2e39.png)

dumi-theme-mobile主题页面向下滚动,iframe会自动刷新到url根目录 首次加载: ![WechatIMG923](https://user-images.githubusercontent.com/78004597/182327750-319014b7-5a8d-4f6d-ae1c-652b5d6944a9.png) 向下滚动一段距离,再回到页面顶部: ![WechatIMG924](https://user-images.githubusercontent.com/78004597/182328286-7cb6f532-aa84-4780-b58e-b39dcc7f435f.png) ### Versions - dumi:1.1.40 - node:16.13.2 - npm:8.1.2 - OS:macOS - Browser:Google browser ### Steps to reproduce 1. dumi安装mobile主题。 2. 支持mobile的demo,首次进入页面,mobile iframe显示正常。 3. 页面向下滚动。 4....

bug