码迷,mamicode.com
首页 >  
搜索关键字:styles and themes    ( 1837个结果
评论列表显示及排序,个人中心显示
显示所有评论{% for foo in ques.comments %} 所有评论排序uquestion = db.relationship('Question', backref=db.backref('comments', order_by=creat_time.desc)) 显示评论条数{{ ...
分类:编程语言   时间:2017-12-13 02:11:30    阅读次数:215
1.3.匹配小括号的字符(可能有小括号在一行的,也有多行的)
web_url(“eview.widgets.windows.js”, “URL=httos://11.12.205.36:9143/prrtal/themes/default/componets/eview/js/eview.widgets.windown.js” “Resourse=1”, “S ...
分类:其他好文   时间:2017-12-13 02:10:17    阅读次数:110
andorid实现类似微信的底部菜单
一.layout 1.activity_main.xml 2.first_gragment.xml 3.second_fragment.xml 4.third_fragment.xml 5.item_bar.xml 二.values 1.styles.xml添加 2.colors.xml添加 三.d ...
分类:微信   时间:2017-12-13 00:15:40    阅读次数:324
fetch网络请求 get 和 post
//在React Native中,使用fetch实现网络请求/* fetch 是一个封装程度更高的网络API, 使用了Promise* Promise 是异步编程的一种解决方案* Promise 对象代表一个异步操作,有三种状态:Pending(进行中) Resolved(已完成) Rejected ...
分类:其他好文   时间:2017-12-13 00:14:38    阅读次数:193
自定义表单验证
1.引入必要的文件 <link href="~/Content/easyui/themes/default/easyui.css" rel="stylesheet" /><link href="~/Content/easyui/themes/icon.css" rel="stylesheet" /> ...
分类:其他好文   时间:2017-12-11 16:02:34    阅读次数:123
xadmin的主题use_bootswatch = True”无效解决方法
xadmin采用源代码的方式引入到项目中 在xadmin使用的过程中,设置“use_bootswatch = True”,企图调出主题菜单,显示更多主题。然而设置了后,发现主题还是默认和bootstrap2,深入跟踪源代码,发现/xadmin/plugins/themes.py下的 当use_boo ...
分类:其他好文   时间:2017-12-10 18:53:59    阅读次数:156
react-创建组件
//定义组件class InputControlES6 extends React.Component{ render (){ return (<View style="{sty.container}"></View>); }};//定义样式var sty=StyleSheet.create({ c ...
分类:其他好文   时间:2017-12-08 17:04:21    阅读次数:141
完成评论功能
定义评论的视图函数@app.route('/comment/',methods=['POST'])def comment():读取前端页面数据,保存到数据库中 用 {% endblock %} {% block main %} {{ ques.title }}{{ ques.author.usern... ...
分类:其他好文   时间:2017-12-08 16:21:00    阅读次数:124
These relative modules were not found:...{"sourceM ap":false} 报错解决
今天在使用vue2.0 + webpack 时,没有动过任何配置文件,也没更新依赖,但是报下面的错误: These relative modules were not found: * ./star10_half@2x.png in ./node_modules/_css-loader@0.28.7 ...
分类:其他好文   时间:2017-12-07 11:00:53    阅读次数:444
从首页问答标题到问答详情页
建立评论的对象关系映射: class Comment(db.Model): __tablename__='comment' 尝试实现发布评论。 1.主PY文件写视图函数,带id参数。 2.首页标题的标签做带参数的链接。 3.在详情页将数据的显示在恰当的位置。 4.建立评论的对象关系映射: 5.尝试实 ...
分类:其他好文   时间:2017-12-06 21:42:34    阅读次数:165
1837条   上一页 1 ... 77 78 79 80 81 ... 184 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!