码迷,mamicode.com
首页 >  
搜索关键字:angularjs $routeprovider template function    ( 67881个结果
php对数字进行万。亿的转化
/** * 格式化数字 */ public function float_number($number){ $length = strlen($number); //数字长度 if($length > 8){ //亿单位 $str = substr_replace(strstr($number,su ...
分类:Web程序   时间:2021-07-28 21:33:14    阅读次数:0
jquery事件绑定与事件委托
事件 页面载入 ready(fn) //当DOM载入就绪可以查询及操纵时绑定一个要执行的函数。 $(document).ready(function(){}) > $(function(){}) 事件处理 $("").on(eve,[selector],[data],fn) // 在选择元素上绑定一 ...
分类:Web程序   时间:2021-07-26 16:57:01    阅读次数:0
【PostGIS】实时坐标-电子围栏-判断-(参考遥想公瑾当年postgres+socket.io+nodejs实时地图应用实践)
CREATE OR REPLACE FUNCTION "public"."process_t_gps"() RETURNS "pg_catalog"."trigger" AS $BODY$ DECLARE rec record; ewith record; BEGIN IF (TG_OP = 'DE ...
分类:Web程序   时间:2021-07-26 16:42:44    阅读次数:0
vue上传
<template> <div id="app"> <!-- <img alt="Vue logo" src="./assets/logo.png"> --> <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> --> <!-- <el-uploa ...
分类:Web程序   时间:2021-07-19 16:58:35    阅读次数:0
Python用函数判断输入的字符是不是数字,以及它是否大于等于0,如果大于0,返回它,小于0,返回它的相反数。
# 判断输入的字符是不是数字,以及它是否大于等于0,如果大于0,返回它,小于0,返回它的相反数。def function(x): if x.isdigit() and int(x) >= 0: # 判断是否都是数字,是的话赋予int型 return x elif x.isalpha(): # 判断是 ...
分类:编程语言   时间:2021-07-19 16:38:52    阅读次数:0
VBS批量修改文件名
原图 修改后 '批量修改文件名.vbs Function GetScriptPath() GetScriptPath = Left(WScript.ScriptFullName, Len(WScript.ScriptFullName) - Len(WScript.ScriptName)) End F ...
分类:其他好文   时间:2021-07-19 16:29:20    阅读次数:0
[HCTF 2018]WarmUp
<?php highlight_file(__FILE__); class emmm { public static function checkFile(&$page) { $whitelist = ["source"=>"source.php","hint"=>"hint.php"]; if ( ...
分类:其他好文   时间:2021-07-16 17:40:01    阅读次数:0
类模板
1 // 2 // Created by Administrator on 2021/7/15. 3 // 4 5 #ifndef C__TEST01_PERSON_H 6 #define C__TEST01_PERSON_H 7 8 //类模板 9 template<class T1, class ...
分类:其他好文   时间:2021-07-16 17:31:48    阅读次数:0
vue实现div高度可拖拽
vue实现div高度可拖拽 这里有一个现成的demo,可以实现页面div的拖拽功能,但是和我想要的效果不是很一样,所以说后边有根据我的实际需求又重新修改了一下,先看一下现在的demo效果。 <template> <div id="eagleMapContainer" style="border: 1 ...
分类:其他好文   时间:2021-07-13 17:44:58    阅读次数:0
重复点击菜单。路由重复被点击时报错
在router中加入 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push (location) { return originalPush.call(this, location ...
分类:其他好文   时间:2021-07-12 18:19:36    阅读次数:0
67881条   1 2 3 4 ... 6789 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!