上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页
摘要: 具体效果如下: 第一次加载如下图: 然后点击天蓝色按钮换成天蓝色皮肤如下图: 然后关闭网页重新打开或者在打开另一个网页如下图: 因为皮肤用Cookie保存了下来,所以不会重置 具体的实现代码如下: <!DOCTYPE html><html lang="en" xmlns="http://www.w3 阅读全文
posted @ 2019-02-12 17:56 雪莉06 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 其中min、max可以自定义可以动态获取数据 yAxis : [ { type : 'value', axisLine:{show:true, lineStyle:{color:'#ccc'} }, axisTick:{ show:false, }, axisLabel:{ show:true, i 阅读全文
posted @ 2019-01-04 15:46 雪莉06 阅读(15456) 评论(0) 推荐(0) 编辑
摘要: option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], name:'分', nameLocation:'middle', nameTextStyle:{ color: 阅读全文
posted @ 2019-01-04 15:24 雪莉06 阅读(14667) 评论(0) 推荐(0) 编辑
摘要: $(function() { // 路径配置 require.config({ paths : { // echarts: 'http://echarts.baidu.com/build/dist' echarts : './plugins/echarts-2.2.7/doc/example/www 阅读全文
posted @ 2019-01-03 16:51 雪莉06 阅读(2049) 评论(0) 推荐(0) 编辑
摘要: geo: { map: 'china', center: [112.194115019531, 23.582111640625], zoom: 12, aspectScale: 1, //长宽比 label: { normal: { show: true, textStyle: { fontSize 阅读全文
posted @ 2019-01-03 15:15 雪莉06 阅读(12443) 评论(0) 推荐(1) 编辑
摘要: 关键代码: $("#dg2").datagrid({ onClickRow: function (index, row) { //easyui封装好的时间(被单机行的索引,被单击行的值) $("#bar"+index).show(); $("#bar"+index).siblings().hide( 阅读全文
posted @ 2018-12-26 18:09 雪莉06 阅读(2240) 评论(0) 推荐(0) 编辑
摘要: 不管是vue还是react 这种单页面的框架一定都少不了路由 下面给大家讲讲在实际项目中react的路由设置 第一步: 在src目录下新建一个目录route 在该目录下新建一个index.js用于管理路由 如: import React ,{ Component } from 'react'impo 阅读全文
posted @ 2018-12-13 09:28 雪莉06 阅读(1761) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> $(window).resize(function () { $('#tt').tabs({ width: $("#tt").parent().width(), height: "auto" }); }) $(function() { 阅读全文
posted @ 2018-12-12 09:30 雪莉06 阅读(1837) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/MaiJiangDou/p/9245063.html#4136668 转载 一、构建一个新项目 1、命令行运行如下命令,构建一个新的react项目 2、运行项目,效果如下图 二、项目目录 如下图,是新构建项目的目录: 1、node_modules 用于 阅读全文
posted @ 2018-12-07 15:35 雪莉06 阅读(280) 评论(2) 推荐(0) 编辑
摘要: 本文主要介绍了jQuery、layer实现弹出层的打开、关闭功能,需要的朋友可以参考下,希望能帮助到大家。 打开弹出层: 在list页面带入layer.js 在list页面点击时,弹出form弹出层,list.js: 1 2 3 4 5 6 7 8 9 10 11 12 13 $(".add_cat 阅读全文
posted @ 2018-11-29 16:31 雪莉06 阅读(1862) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 37 下一页