将下面的代码添加到主题的functions.php就可以给分类添加分类模板 //指定文章模板 function load_single_template($template) { $new_template = ''; // single post template if( is_single() ...
分类:
其他好文 时间:
2020-09-03 17:03:30
阅读次数:
52
getNowFormatDate(n) { if(n==''){ n=new Date() } var date = new Date(n); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth ...
分类:
Web程序 时间:
2020-09-02 16:49:06
阅读次数:
67
In SAP note 1230076 “Generation of ABAP loads: Tips for the analysis”, a tool report RSDEPEND is introduced. It is explained in the note “An ABAP prog ...
分类:
其他好文 时间:
2020-09-02 16:48:52
阅读次数:
41
Axios 说明 Axios 是一个基于 promise 的 HTTP 库,可以用在浏览器和 node.js 中。 安装 npm 中安装 npm install axios 使用 cdn: <script src="https://unpkg.com/axios/dist/axios.min.js" ...
分类:
移动开发 时间:
2020-09-02 16:47:48
阅读次数:
68
1 Shell介绍 Shell的作用是解释执行用户的命令,用户输入一条命令,Shell就解释执行一条,这种方式称为交互式(Interactive),Shell还有一种执行命令的方式称为批处理(Batch),用户事先写一个Shell脚本(Script),其中有很多条命令,让Shell一次把这些命令执行 ...
分类:
系统相关 时间:
2020-08-31 11:54:22
阅读次数:
56
在index.html 文件的header标签内加入: <script type="text/javascript"> function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE ...
分类:
其他好文 时间:
2020-08-26 18:50:56
阅读次数:
57
正则表达式的使用 先说RegExp对象的一个方法 test() - 使用这个方法可以用来检查一个字符串是否符合正则表达式的规则,如果符合则返回true,否则返回false。 1、用正则表达式来检查一个字符串中是否含有字母a var reg = new RegExp("a"); var s="abcd ...
分类:
编程语言 时间:
2020-08-26 18:31:55
阅读次数:
50
官方的demo是这样的:地址:[http://lbs.amap.com/api/javascript-api/example/infowindow/add-infowindows-to-multiple-markers] <script type="text/javascript"> //初始化地图 ...
分类:
其他好文 时间:
2020-08-25 18:46:38
阅读次数:
161
pip install flask_script from flask import Flask from flask_script import Manager # 启动命令的管理类 app = Flask(__name__) # 创建manager管理类的对象 manager = Manager ...
分类:
其他好文 时间:
2020-08-25 18:31:01
阅读次数:
40