简单分页 代码: <style>ul.pagination { display: inline-block; padding: 0; margin: 0;}ul.pagination li {display: inline;} /*设置为内联元素*/ul.pagination li a { bord ...
分类:
Web程序 时间:
2020-04-13 00:17:27
阅读次数:
80
过滤数据 使用SELECT语句的WHERE子句指定搜索条件。 使用WHERE子句 在SELECT语句中,数据根据WHERE子句中指定的搜索条件进行过滤。 WHERE子句在表名(FROM子句)之后给出,如下所示: 输入 SELECT prod_name, prod_price FROM product ...
分类:
数据库 时间:
2020-04-12 23:02:16
阅读次数:
153
有的时候我们发送ajax请求到后台,然后返回一个动态的参数到url做跳转,因为tp有专门的路由,直接将js带入到tp路由去生成显然不现实,这个时候只需要迂回一下,先用tp自带路由生成一个连接,然后再用js去替换即可 demo: $.post('{:url("home/member/order_sub ...
分类:
Web程序 时间:
2020-04-12 22:53:12
阅读次数:
231
所学时间 6小时 代码量 500 了解到的知识 一个是运用webview进行操作 一个了解了一下极光推送还未开始学习 ...
分类:
其他好文 时间:
2020-04-12 20:47:05
阅读次数:
55
/***不设置时,录制的视频总是倒着,翻屏导致视频上下翻滚*/ mediaRecorder.setOrientationHint(270); ...
分类:
其他好文 时间:
2020-04-12 20:10:04
阅读次数:
52
1408. String Matching in an Array Given an array of string words. Return all strings in words which is substring of another word in any order. String ...
分类:
其他好文 时间:
2020-04-12 18:45:33
阅读次数:
75
问题: degree:给定数组中重复最多元素的次数 求重复次数为degree的元素中,距离最短子数组的长度。 Example 1: Input: [1, 2, 2, 3, 1] Output: 2 Explanation: The input array has a degree of 2 beca ...
分类:
其他好文 时间:
2020-04-12 18:26:54
阅读次数:
58
ylbtech-Code-Validator:验证IPv4地址 1.返回顶部 1、 using System; namespace Sp.Common { public class ValidatorHelper { /// <summary> /// 验证IPv4地址 /// [第一位和最后一位数 ...
分类:
其他好文 时间:
2020-04-12 16:40:12
阅读次数:
66
1、索引的使用场景 哪些情况使用索引: 1、主键自动建立唯一索引 2、频繁作为查询条件的字段应该创建索引 where 3、多表关联查询中,关联字段应该创建索引on两边都要创建索引 select * from user left join order on user.id = order.userid ...
分类:
数据库 时间:
2020-04-12 16:18:16
阅读次数:
106
题目如下: 思路: (1)题目的意思:让我们把十进制转化为十三进制,再把十三进制转化为十进制 (2)需要注意的是,如果转化为十三进制的时候 eg;input 26(13的倍数),那么十三进制为10,重点来了这个时候不是让你输入一零 而是让你输入是十,也就是只输入高位就可以了 代码如下: #inclu ...
分类:
其他好文 时间:
2020-04-12 16:12:02
阅读次数:
70