最终想实现的效果如下 需要明白的两件事 #####一.搜索的逻辑 1.首先增加一个搜索a标签,class命名为chongzhi 2.熟悉搜索的逻辑,所有的tab,所有的jstree都是,通过给通用搜索,传递值,才引起了下面表格的变化. 3.我把js代码写在了backend.js的init里,类似于写 ...
分类:
其他好文 时间:
2020-06-30 12:53:46
阅读次数:
266
路径相关函数 path.basename('/foo/bar/baz/asdf/quux.html'); // Returns: 'quux.html' path.basename('/foo/bar/baz/asdf/quux.html', '.html'); // Returns: 'quux' ...
分类:
Web程序 时间:
2020-06-29 20:17:20
阅读次数:
72
Trapping Rain Water (H) 题目 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is ...
分类:
移动开发 时间:
2020-06-29 09:29:26
阅读次数:
60
题目 给定一个含有 n 个正整数的数组和一个正整数 s ,找出该数组中满足其和 ≥ s 的长度最小的连续子数组,并返回其长度。如果不存在符合条件的连续子数组,返回 0。 示例: 输入:s = 7, nums = [2,3,1,2,4,3] 输出:2 解释:子数组 [4,3] 是该条件下的长度最小的连 ...
分类:
编程语言 时间:
2020-06-29 00:15:29
阅读次数:
45
Bootstrap 导航元素使用相同的标记和基类,改变修饰的class,可以在不同的样式间进行切换如".nav-pills"(胶囊式导航)与 “.nav-tabs” (标签式导航) 创建一个标签式的导航菜单: 以一个带有class .nav 的无序列表开始。添加 class .nav-tabs。下面 ...
分类:
其他好文 时间:
2020-06-28 18:19:14
阅读次数:
55
给定一个含有 n 个正整数的数组和一个正整数 s ,找出该数组中满足其和 ≥ s 的长度最小的连续子数组,并返回其长度。如果不存在符合条件的连续子数组,返回 0。 示例: 输入: s = 7, nums = [2,3,1,2,4,3]输出: 2解释: 子数组 [4,3] 是该条件下的长度最小的连续子 ...
分类:
编程语言 时间:
2020-06-28 18:13:02
阅读次数:
52
地址 https://leetcode-cn.com/problems/minimum-size-subarray-sum/ 给定一个含有 n 个正整数的数组和一个正整数 s , 找出该数组中满足其和 ≥ s 的长度最小的连续子数组,并返回其长度。 如果不存在符合条件的连续子数组,返回 0。 示例: ...
分类:
编程语言 时间:
2020-06-28 12:50:37
阅读次数:
68
方案一:使用 极坐标系 和 bar 实现 效果: 实现代码: const chartData = { title: { text: '75', textStyle: { color: '#01c4a3', fontSize: 30, }, subtext: '总分:100分', subtextSty ...
分类:
其他好文 时间:
2020-06-28 10:00:54
阅读次数:
336
给定一个字符串数组 words,找到 length(word[i]) * length(word[j]) 的最大值,并且这两个单词不含有公共字母。你可以认为每个单词只包含小写字母。如果不存在这样的两个单词,返回 0。 示例 1: 输入: ["abcw","baz","foo","bar","xtfn ...
分类:
其他好文 时间:
2020-06-28 00:13:29
阅读次数:
71
修改sitemap.json文件 "global": { "webviewParameter": { "titleNView": { "autoBackButton": true, "backgroundColor": "#f7f7f7",//导航栏背景色 "titleColor": "#00000 ...
分类:
移动开发 时间:
2020-06-27 21:40:37
阅读次数:
173