Skip to content

translate 的值不能写死 50px #23

Description

@u3u

translate 的值不能写死 50 应该获取 .mint-loadmore-top.mint-loadmore-bottom 元素的高度
虽然说加载提示的文字没人会把提示语写很长 也就是说高度保持不变
但是还有一种特殊情况 就是在页面缩放 (dpr=2) 的情况下 这里的 50px 相当于 dpr=125px
这种情况下就会导致 "加载中" 的提示只能显示一半 因为实际 100px 才等于 dpr=150px

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions