自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 收藏
  • 关注

原创 Angular2数据滚动展示

Angular2数据自动循环滚动展示,鼠标经过时暂停滚动效果,AfterViewInit生命周期内获取dom高度

2022-09-29 15:18:35 719

原创 Angular echarts复杂常用配置项

angular2+ngx-echarts应用。echarts图表随窗口resize更新视图。柱状图横向从高到低排名,柱状图最大值颜色修改(bar颜色自定义)。饼图图例显示数据及百分比,饼图图例文字颜色与对应饼图颜色一致(pie legend图例内容颜色自定义)。

2022-09-29 14:38:10 780

原创 Error: Projects must list all files or use an ‘include‘ pattern.

import引入文件时,文件明明存在却报错:File 'xxx/packages/@vue/src/use-list.ts' is not listed within the file list of project 'xxx/packages@/vue/tsconfig.json'. Projects must list all files or use an 'include' pattern.解决方法:在is not listed within the file 指明的文件中的 in..

2021-10-11 14:06:18 12522 2

原创 vue目录结构

# HRP[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)基于 [vuejs 2.x][vuejs] 和 [element-ui][element-ui]...

2020-03-05 11:02:43 192

原创 VUE问题记录-子组件router-view跳转

要实现子组件之间的跳转,必须有一个公共的router-view父组件父组件:router-view转换的场所,展示子组件外的共有内容,不是具体页面,所以不要加name属性父组件(写成通用的公共组件):<template> <div> <router-view :key="key" /> </div>...

2019-11-05 10:45:21 1616

转载 js日期初始化总结

new Date()参数设置https://blog.csdn.net/AiHuanhuan110/article/details/100034023new Date()用法https://www.cnblogs.com/Sweepingmonk/p/10868467.html

2019-10-14 09:40:17 188

转载 IE8兼容 - placeholder

方法一:(缺点:输入时文字和提示文字颜色只能一样)<input type="text" onblur="if (this.value == '') { this.value = '请输入工号'; }" onfocus="if (this.value == '请输入工号') { this.value = ''; }" value="请输入工号">方法二:(常用)<...

2019-05-27 15:49:40 217

原创 jquery - 切换点根据内容数量而添加

圆点根据内容增多而添加,每四行为一个圆点的内容效果图:<html lang="zh-CN"><head> <meta charset="utf-8"> <style> li { list-style: none; } .week-box { ...

2019-05-27 15:28:41 143

转载 jquery - 将单元格转化为可编辑文本

<table class="table table-striped table-hover table-input"><thead><tr><th width="12%">接收人</th><th width="12%">接收方式</th><th width="21%">邮件/手机号码<...

2019-05-27 15:24:29 317

转载 IE8兼容 - 多行文本溢出部分省略

1、id<p id="cut_str" title="您好, 温州市鹿城区南浦社区卫计服务中心(330302018) 南浦卫计中心">您好, 温州市鹿城区南浦社区卫计服务中心(330302018) 南浦卫计中心</p><script> //js控制文字过多隐藏 function cutString(str, len) { ...

2019-05-22 11:14:32 1123

转载 jquery - 导航栏滚动监听

<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margi...

2019-05-22 11:10:39 1010

转载 jquery - 添加图片文件

<div class="z_photo z_photo-add"> <div class="z_file"> <input type="file" name="file" id="file" value="" accept="image/*" multiple onchange="imgChange('z_photo','z_file');"...

2019-05-22 11:00:10 4395

原创 jquery - 表格行选中后上移下移

// 单选框$("body").on("click", ".checkbox-only", function() { if ($(this).is(".onlychange")) { $(this).removeClass("onlychange"); } else { $(this).addClass("onlychange"); }...

2019-05-22 10:48:02 347

转载 jquery - 表格单元格连续选中

<html> <head> <title>jquery table 选中效果</title> <script type="text/javascript" src="js/jquery-1.10.1.min.js"></script> <style> .tb{ cellspacin...

2019-05-22 10:39:48 802

转载 jquery - 插件 - 日历时间选择

http://t1m0n.name/air-datepicker/docs/文档<link href="../Content/dist/css/datepicker.css" rel="stylesheet" type="text/css" /><link href="../Content/dist/css/select2.css" rel="stylesheet...

2019-05-22 10:30:20 669

转载 jquery - 插件 - 块结构拖拽更改

<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="utf-8"> <link href="../Content/bootstrap.min.css" rel="stylesheet"></head><body> <div...

2019-05-22 10:28:31 177

原创 jquery - 插件 - 滚动条样式

<link href="../Content/jquery.mCustomScrollbar.css" rel="stylesheet" /><script src="../Scripts/jquery.mCustomScrollbar.concat.min.js"></script>//main-y-scroll滚动条$(function(){ $...

2019-05-22 10:26:34 241

转载 jquery - 插件 - 颜色选择器

<link href="../../Content/jquery.minicolors.css" rel="stylesheet" /><input type="text" id="saturation-demo" class="form-control demo" data-control="saturation" value="#ffafac"><scr...

2019-05-22 10:25:35 278

原创 jquery - 插件 - 表格拖拽排序

<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="utf-8" /> <link href="../../Content/bootstrap.min.css" rel="stylesheet"></head><body> ...

2019-05-22 10:23:47 514

转载 JS - 正则

var num = 98let ex1 = /^(0+[1-9]{1,2})$/;ex1.test(num)\ 做为转意,即通常在"\"后面的字符不按原来意义解释,如/b/匹配字符"b",当b前面加了反斜杆后/\b/,转意为匹配一个单词的边界。-或-对正则表达式功能字符的还原,如"*"匹配它前面元字符0次或多次,/a*/将匹配a,aa,aaa,加了"\"后,/a\*/将只匹...

2019-04-29 14:15:37 81

原创 JS - 数字递增

<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>js实现数字从1动态递增到10</title> <script src="js/jquery-1.8.0.js"></script></head&g...

2019-04-29 14:04:20 3491

原创 React-2、Ant Design Menu与layout公共布局

index.js中设置公共布局的header、footer和导航import React,{ Component } from 'react';import ReactDOM from 'react-dom';//引入antd导航组件import { Menu, Icon, Layout } from 'antd';//引入ant-design样式import 'antd/di...

2019-03-05 11:12:32 2172

原创 React-1、基础项目搭建及环境配置

1、mac以管理员身份执行命令sudo chown -R whoami /usr/local2、查看版本号确定是否已安装node与npmnode -vnpm -v3、全局安装create-react-app脚手架工具npm install -g create-react-app4、将项目建于指定文件夹(/Users/xxx/Documents/react)下c...

2019-03-05 10:25:55 157

原创 jquery - 点击列表按钮 图片横向滚动

<!DOCTYPE html><html><head> <title></title> <script src="../scripts/jquery.js" type="text/javascript"></script> <style type="text/css"> * { mar...

2018-06-22 16:18:00 1488

原创 jquery - 焦点图下标显示、自动轮播(下标手动)

<!DOCTYPE html><html><head><title>ads</title><script src="../scripts/jquery.js" type="text/javascript"></script><style type="text/css">* {margin:...

2018-06-22 13:45:55 656

转载 jquery - 焦点图左右按钮、下标显示、自动轮播

<!doctype html><html lang="en"><head><meta charset="UTF-8"><title>焦点图左右按钮、下标显示、自动轮播</title><style type="text/css">*{ padding: 0; margin: 0;}img{ v...

2018-06-22 11:00:38 354

转载 jquery - 颜色选择器

<link href="../../Content/jquery.minicolors.css" rel="stylesheet" /><input type="text" id="saturation-demo" class="form-control demo" data-control="saturation" value="#ffafac"><scr...

2018-06-20 14:43:32 1188

原创 jquery - checkbox样式修改、全选全不选、选中更改value

<!DOCTYPE html><html><head> <title>checkbox</title> <link rel="stylesheet" href="fonts/iconfont.css"> <script src="js/jquery-1.10.1.min.js" type="text/java...

2018-06-20 14:29:15 1322

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除