摘要: 可以参考: https://blog.csdn.net/weixin_36380516/article/details/80295101 也可以参考我的代码: https://github.com/zhf19970510/Pagination.git 阅读全文
posted @ 2019-09-24 23:25 君莫笑我十年游 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: requst.args 获得的是 列表类型原始 aa=ff&&bb=gg 通过request.args 分解为 ImmutableMultiDict([('page', u'10')])列表类型 -》 todict -》 urlencode 转换为url格式的字符串 阅读全文
posted @ 2019-09-24 22:57 君莫笑我十年游 阅读(3645) 评论(0) 推荐(0) 编辑
摘要: python3下列代码会报上边的错 print("Response:", resp.text.decode('unicode_escape'))解决办法:print("Response:", resp.text.encode('utf-8').decode('unicode_escape'))中间加 阅读全文
posted @ 2019-09-24 22:49 君莫笑我十年游 阅读(62260) 评论(0) 推荐(3) 编辑
摘要: 尝试过1.text-align:center居中;2.margin:0 auto; 3.display: flex;justify-content: center;都不行 解决: 在外层多加一个nav标签包着,然后text-align:center;就会生效了,成功实现了分页居中 <nav styl 阅读全文
posted @ 2019-09-24 22:41 君莫笑我十年游 阅读(1805) 评论(0) 推荐(0) 编辑