Giter VIP home page Giter VIP logo

Comments (20)

lixxu avatar lixxu commented on May 24, 2024

能把生成的html源码贴出来看一下吗? 我这里没有测试环境. 另外, 是3.3.7版本吧? 官网没看到有3.7版本

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

bootstrp 3.3 版本在分页开始处加了<nav aria-label="Page navigation example">, 稍后我会更新.

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

发了0.5.3, 但没验证是否可行, 配置文件里用 CSS_FRAMEWORK = "bootstrap3_3", 参数形式时用css_framework = "bootstrap3_3"指定版本

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

可能是手机浏览器的问题吧, 我把你贴的存成html文件, 电脑上打开是正常的, 上面加了

, 下面的没加, 都没有出现你说的问题.

image

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

上面加了<nav>, 下面的没加, 都没有出现你说的问题.

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

pip install -U flask-paginate
image

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

估计是浏览器的问题了, 不过看起来是宽度不够换行了. 是不是布局哪里设置的问题?

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

可是你看我的截图, 我只是把你贴出来的html存到文件里, 打开显示很正常啊.

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

像这样的? 这就是宽度不够导致的, 看截图不同的手机尺寸, 显示就不一样
image
image

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

这已经是自适应了吧

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

意思是根据宽度自动调整字体大小?

from flask-paginate.

lovefox666 avatar lovefox666 commented on May 24, 2024

from flask-paginate.

lixxu avatar lixxu commented on May 24, 2024

分页的html是已经生成的, 没办法知道设备尺寸, 而且这也不是它该做的事情, 它只是分页用的啊.
这个问题不是扩展的问题了, 就此结贴了.
你可以试试调整一下 inner_windowouter_window的数字看看有没有改善. 但如果能改善也是治标不治本, 因为如果页数是个很大的数字时 比如第1234567 页, 也许两个就占满屏幕了.

from flask-paginate.

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.