Giter Club home page Giter Club logo

Comments (19)

BearJ avatar BearJ commented on May 14, 2024 4

@polyrabbit 目前可以这样修复,在自己的样式里加入这段代码:

.weui-picker__item{
    padding: 0;
    height: 34px;
    line-height: 34px;
}

from weui.js.

baiyapeng avatar baiyapeng commented on May 14, 2024 1

@polyrabbit @liniu 不知道你们问题解决了没有,其实 toast 也会有大小失常的问题,我在项目中添加以下样式代码,已经完美解决,可以参考下
.weui-picker { font-size: 16px !important; }

.weui-toast { font-size: small !important; }

from weui.js.

sklme avatar sklme commented on May 14, 2024

可能是修改了微信浏览器字体造成的,能否提供一下demo的地址,定位一下问题?

from weui.js.

polyrabbit avatar polyrabbit commented on May 14, 2024

可以通过关注公众号WeCron,设置一个提醒,然后打开这个提醒的网页版,就可以重现该问题,还是需要我重新搭一套环境来重现?

from weui.js.

liniu avatar liniu commented on May 14, 2024

我也碰到这个问题,结果跟选中的时间不是同一个值

from weui.js.

sklme avatar sklme commented on May 14, 2024

你的CSS污染了picker,改变本身的字体大小。
你检查调试一下看看是什么哪里的样式影响了。

我们这边后续也增加一下,屏蔽一下外界的样式污染。
@polyrabbit

from weui.js.

liniu avatar liniu commented on May 14, 2024

没错,确实是改变字体大小引起的,后续完善吧

from weui.js.

polyrabbit avatar polyrabbit commented on May 14, 2024

OK,谢谢,期待后续的完善。

from weui.js.

liaoliaokl avatar liaoliaokl commented on May 14, 2024

datapicker 可以设置打开的时候默认选中的是当天的信息吗,有没有具体的文档

from weui.js.

BearJ avatar BearJ commented on May 14, 2024

@liaoliaokl 看看这里:https://github.com/weui/weui.js/blob/master/docs/component/picker.md

from weui.js.

LazyHua avatar LazyHua commented on May 14, 2024

@polyrabbit 你的问题我昨天遇到了,是因为添加了mui.css的原因,你可以试试把mui.css去掉应该就可以了

from weui.js.

LazyHua avatar LazyHua commented on May 14, 2024

@BearJ 我昨天试了下你发的网址上picker的默认值设置,可是发布出去会出现,在微信端跟uc没有时间选择的情况,后来改了下东西就可以了,但是设置打开的时候默认选中的是当天的信息这个又不起作用了,这是为什么呀

from weui.js.

polyrabbit avatar polyrabbit commented on May 14, 2024

@LazyHua 谢谢,但我并没有用mui.css,用的是ionic,估计里面哪一项把font-size给改了,我也不知道应该改成什么。

from weui.js.

BearJ avatar BearJ commented on May 14, 2024

@LazyHua 参数里有个id的项,建议你传入不同的id,因为同一个id会被缓存

from weui.js.

BearJ avatar BearJ commented on May 14, 2024

这里定位不准的问题需要从weui.css层面修复

from weui.js.

LazyHua avatar LazyHua commented on May 14, 2024

恩好的,谢谢

from weui.js.

BearJ avatar BearJ commented on May 14, 2024

@baiyapeng 好的,谢谢提醒,我们去看看~

from weui.js.

xiaosongxiaosong avatar xiaosongxiaosong commented on May 14, 2024

最开始以为是ionic和weui冲突,最后静下心定位出来过来看发现果然有这个issue

from weui.js.

YuWenZhong avatar YuWenZhong commented on May 14, 2024

我同样碰到这个问题,改用1.1.2版本css就好使了。

from weui.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.