返回顶部

09 2019 档案

摘要:参考:http://amazeui.clouddeep.cn/javascript/tabs/ 效果: html: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=de 阅读全文
posted @ 2019-09-30 16:53 前端-xyq 阅读(1109) 评论(0) 推荐(0) 编辑
摘要:效果: html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 阅读全文
posted @ 2019-09-29 17:54 前端-xyq 阅读(1570) 评论(0) 推荐(0) 编辑
摘要:搬运自:https://blog.csdn.net/twodogya/article/details/80223331 vue v-lazy官方API:https://www.npmjs.com/package/vue-lazyload 1.安装插件 npm install vue-lazyload 阅读全文
posted @ 2019-09-27 17:56 前端-xyq 阅读(27619) 评论(0) 推荐(0) 编辑
摘要:搬运自:https://juejin.im/post/5cd10959f265da03a00fe5c6 效果: demo地址: https://codepen.io/deepkolos/pen/OYPNNv?editors=1011 vue: <template> <div @appear="onA 阅读全文
posted @ 2019-09-27 15:37 前端-xyq 阅读(576) 评论(0) 推荐(0) 编辑
摘要:效果: html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 阅读全文
posted @ 2019-09-27 11:53 前端-xyq 阅读(398) 评论(0) 推荐(0) 编辑
摘要:效果: 注意在 zTreeStyle.css中会用到 zTreeStandard.png 和 zTreeStandard.gif,其位置参考css,如下: 阅读全文
posted @ 2019-09-23 11:33 前端-xyq 阅读(800) 评论(0) 推荐(0) 编辑
摘要:效果: html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 阅读全文
posted @ 2019-09-17 18:41 前端-xyq 阅读(1899) 评论(0) 推荐(0) 编辑
摘要:参考:http://bigui4.sinaapp.com/picker/colorpicker.html 效果: html: 注意:还需将big_bgcolor.jpg复制到项目中,图片放置的目录结构参考css: 阅读全文
posted @ 2019-09-17 18:13 前端-xyq 阅读(594) 评论(0) 推荐(0) 编辑
摘要:博客皮肤选择:cutstom 阅读全文
posted @ 2019-09-11 17:26 前端-xyq 阅读(175) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.kancloud.cn/wangfupeng/wangeditor2/113980 当页面向下滚动到隐藏了菜单栏时,编辑器默认会fixed菜单栏,即让菜单栏保持『吸顶』状态。但是可以通过editor.config.menuFixed 关闭fixed状态,也可以修改数值来 阅读全文
posted @ 2019-09-09 15:56 前端-xyq 阅读(1964) 评论(0) 推荐(0) 编辑
摘要:点击 //注意":"、"’";均需为英文的 阅读全文
posted @ 2019-09-09 11:23 前端-xyq 阅读(794) 评论(0) 推荐(0) 编辑
摘要:解决:(增加随机版本号) 阅读全文
posted @ 2019-09-06 17:08 前端-xyq 阅读(1412) 评论(2) 推荐(1) 编辑
摘要:取值:price.value 阅读全文
posted @ 2019-09-05 15:06 前端-xyq 阅读(10246) 评论(0) 推荐(0) 编辑
摘要:html: js: 阅读全文
posted @ 2019-09-05 15:05 前端-xyq 阅读(10035) 评论(0) 推荐(0) 编辑
摘要:var arr = ['1','2'];delete('1'); function delete(i){ var index = arr.indexOf(i); arr.splice(index, 1) } 阅读全文
posted @ 2019-09-05 15:04 前端-xyq 阅读(20212) 评论(1) 推荐(2) 编辑
摘要:vue中 方法一: 方法二: 阅读全文
posted @ 2019-09-05 15:03 前端-xyq 阅读(1637) 评论(0) 推荐(0) 编辑
摘要:html: js: 阅读全文
posted @ 2019-09-05 14:44 前端-xyq 阅读(4416) 评论(0) 推荐(0) 编辑
摘要:注:需先引入 jquery.json-xx.min.js 1. 参数跟在url后面 var name = '王一'; var age = 18; $.ajax({ type : 'get', url : "xxxxxx?name="+name+"&age="+age, async : false,/ 阅读全文
posted @ 2019-09-05 14:43 前端-xyq 阅读(19346) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.tianshan277.com/563.html 效果: html: 阅读全文
posted @ 2019-09-05 12:02 前端-xyq 阅读(2074) 评论(0) 推荐(0) 编辑
摘要:效果: 路径: https://open.weixin.qq.com/qr/code?username=需要生成二维码的公众号&style=1 style=1为二维码样式,可选择其他 阅读全文
posted @ 2019-09-05 12:02 前端-xyq 阅读(855) 评论(0) 推荐(0) 编辑
摘要:效果: html: 1.css: 阅读全文
posted @ 2019-09-05 11:34 前端-xyq 阅读(255) 评论(0) 推荐(0) 编辑
摘要:效果 html 1.js 1.css 阅读全文
posted @ 2019-09-05 11:33 前端-xyq 阅读(697) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/chenguiya/p/9118265.html 注:需为history模式 方法一: 方法二: 阅读全文
posted @ 2019-09-05 11:31 前端-xyq 阅读(3240) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/xiaohuochai/p/7388866.html 效果 html 1.js 1.css 阅读全文
posted @ 2019-09-05 11:30 前端-xyq 阅读(1418) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/maqinqin/article/details/5323824 阅读全文
posted @ 2019-09-05 11:28 前端-xyq 阅读(10399) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/fangshidaima/p/6048071.html 错误: 根据错误找到报错行: 将其改为: 即可 阅读全文
posted @ 2019-09-05 11:28 前端-xyq 阅读(642) 评论(0) 推荐(0) 编辑
摘要:效果 页面目录 index.html weui.css: 采用的是WeUI v2.0.1 (https://github.com/weui/weui) wxappeal.css methods.js TopNav.js BottomNav.js AppealNav.js AppealDetail.j 阅读全文
posted @ 2019-09-05 11:27 前端-xyq 阅读(1127) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/zhichaosong/article/details/80944924#_99 效果: wave2.png html: 阅读全文
posted @ 2019-09-05 11:23 前端-xyq 阅读(2004) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.jianshu.com/p/c819ae16d29b https://www.cnblogs.com/guxuelong/p/7743736.html M = moveto —— M x y移动到的点的x轴和y轴的坐标 L = lineto —— L x y需要两个参数 阅读全文
posted @ 2019-09-05 11:22 前端-xyq 阅读(727) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.360kuai.com/pc/9b1fdaafe62592719?cota=4&tj_url=xz&sign=360_57c3bbd1&refer_scene=so_1 打开谷歌浏览器 输入调试网址 按F12 / 鼠标右键—检查元素 在调试面板上的点击sources 在调 阅读全文
posted @ 2019-09-05 11:21 前端-xyq 阅读(2902) 评论(0) 推荐(0) 编辑
摘要:效果: html: 阅读全文
posted @ 2019-09-05 11:20 前端-xyq 阅读(3419) 评论(0) 推荐(0) 编辑
摘要:效果 html scrollVertical.css scroll.js 阅读全文
posted @ 2019-09-05 11:19 前端-xyq 阅读(1244) 评论(0) 推荐(0) 编辑
摘要:开始采用js,获取屏幕宽度,按宽高比来设置图片大小。 手机端/电脑测试都没问题,但是用微信电脑版自带浏览器打开时会变形,因为其屏幕宽度为1920。 解决:用css 阅读全文
posted @ 2019-09-05 11:14 前端-xyq 阅读(6044) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/huangfu_chunfeng/article/details/46429997 https://www.cnblogs.com/wxcbg/p/10452985.html https://blog.csdn.net/weixin_40126227 阅读全文
posted @ 2019-09-04 18:46 前端-xyq 阅读(13726) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/stpice/article/details/80586444 均为立即执行函数——IIFE (Immediately Invoked Function Expression) 写法: (1)(function foo(){/.../}()); (2 阅读全文
posted @ 2019-09-04 18:44 前端-xyq 阅读(484) 评论(0) 推荐(0) 编辑
摘要:项目jsp页面上用隐藏input框接收获取数据,在跳转入另一页面前,js操作修改数据,但返回时发现无效。 需求是点击抽奖后机会减少一次,但是当做跳转操作后返回时,次数有缓存问题 jsp: js: 解决方法: 在做跳转操作前,手动修改input框的值 —— $('#myChance').val(**) 阅读全文
posted @ 2019-09-04 18:37 前端-xyq 阅读(1311) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.jianshu.com/p/332252abe016 方法一. script: 方法二. template: 阅读全文
posted @ 2019-09-04 18:35 前端-xyq 阅读(1818) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.cnblogs.com/springlight/p/5782637.html 关键:使用转译字符 \ 来转译引号 方法一. 直接传递: 方法二. 字符串变量型 阅读全文
posted @ 2019-09-04 18:34 前端-xyq 阅读(2923) 评论(0) 推荐(0) 编辑
摘要:拆分组件为单个js见:https://www.jianshu.com/p/2f0335818ceb 效果 html js css 若需请求接口,html增加引入: 使用: 阅读全文
posted @ 2019-09-04 18:33 前端-xyq 阅读(4890) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/u010881899/article/details/80895661 例:引入element-ui js: css: 阅读全文
posted @ 2019-09-04 18:30 前端-xyq 阅读(8883) 评论(0) 推荐(1) 编辑
摘要:解决方法:注:U盘内需要有PE系统 拷贝一份正常的acpi.sys文件到u盘,插入电脑 > 开机时按F9 > 选中第三个USB *** > 回车进入PE系统,将acpi.sys放入图片1中所示路径中 > 重启 阅读全文
posted @ 2019-09-04 18:29 前端-xyq 阅读(3440) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-04 18:28 前端-xyq 阅读(3238) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/KingJin_CSDN_/article/details/77050569 main.js: 阅读全文
posted @ 2019-09-04 18:26 前端-xyq 阅读(1562) 评论(0) 推荐(0) 编辑
摘要:参考:http://www.php.cn/css-tutorial-411901.html position : 50% ;或position : center; 阅读全文
posted @ 2019-09-04 18:24 前端-xyq 阅读(1033) 评论(0) 推荐(0) 编辑
摘要:效果: html: 阅读全文
posted @ 2019-09-04 18:14 前端-xyq 阅读(742) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/LIUYANZUO/p/5679753.html html: 阅读全文
posted @ 2019-09-04 18:13 前端-xyq 阅读(610) 评论(0) 推荐(0) 编辑
摘要:效果: vue: 阅读全文
posted @ 2019-09-04 18:12 前端-xyq 阅读(383) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/qq_42221334/article/details/81630634 效果: vue: 阅读全文
posted @ 2019-09-04 18:10 前端-xyq 阅读(8022) 评论(0) 推荐(0) 编辑
摘要:我的情况是@click="xx" ,而xx函数未定义 阅读全文
posted @ 2019-09-04 18:08 前端-xyq 阅读(3203) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/Tyro_java/article/details/52013531 效果: 方法:利用 伪元素 + 缩放 注:我的页面是vue页面,使用v-for渲染的 页面: <p class="p-tag" v-if="labelList.length>0" 阅读全文
posted @ 2019-09-04 18:08 前端-xyq 阅读(2318) 评论(0) 推荐(0) 编辑
摘要:html: css: 阅读全文
posted @ 2019-09-04 16:03 前端-xyq 阅读(3471) 评论(0) 推荐(0) 编辑
摘要:效果: html文件: css文件: 阅读全文
posted @ 2019-09-04 11:02 前端-xyq 阅读(3743) 评论(0) 推荐(1) 编辑
摘要:参考:https://blog.csdn.net/feiyu_may/article/details/80987404 https://blog.csdn.net/qq_41999617/article/details/88052534 https://blog.csdn.net/u01378894 阅读全文
posted @ 2019-09-04 10:48 前端-xyq 阅读(2592) 评论(0) 推荐(0) 编辑
摘要:data定义出错,data需定义为一个数组 => data : [ ] 阅读全文
posted @ 2019-09-04 10:47 前端-xyq 阅读(3945) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/dcxia89/article/details/80402490 https://blog.csdn.net/jianglibo1024/article/details/61916954 以element-ui 的日期选择器为例 阅读全文
posted @ 2019-09-04 10:47 前端-xyq 阅读(848) 评论(0) 推荐(0) 编辑
摘要:left: 从左边开始 阅读全文
posted @ 2019-09-04 10:46 前端-xyq 阅读(445) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/qq449736038/article/details/80769507 阅读全文
posted @ 2019-09-04 10:46 前端-xyq 阅读(234) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/zhuswy/article/details/80267748 1.安装qrcode.js 2.页面中引入 3.页面使用 更简单直接的方法: 阅读全文
posted @ 2019-09-04 10:45 前端-xyq 阅读(1416) 评论(0) 推荐(0) 编辑
摘要:解决方法: 在返回时重新开启轮播 组件中: data中: 阅读全文
posted @ 2019-09-04 10:43 前端-xyq 阅读(1410) 评论(0) 推荐(0) 编辑
摘要:组件中: 注:若用以下方法,全部组件都会引用 阅读全文
posted @ 2019-09-04 10:42 前端-xyq 阅读(10040) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/qq_40204835/article/details/79853685 方法一: 利用Keep-Alive和监听器 1.首先在路由中引入需要的模块 { path: ‘/scrollDemo’, name: ‘scrollDemo’, meta: { 阅读全文
posted @ 2019-09-04 10:41 前端-xyq 阅读(10298) 评论(4) 推荐(0) 编辑
摘要:参考: https://www.cnblogs.com/zhcBlog/p/9892883.html https://blog.csdn.net/xuerwang/article/details/82761214 https://www.cnblogs.com/liuyishi/p/9459289. 阅读全文
posted @ 2019-09-04 10:35 前端-xyq 阅读(15461) 评论(0) 推荐(0) 编辑
摘要:"tabBar": { "selectedColor": "#4da9ff", //颜色 "list": [{ "pagePath": "homepage/homepage/homepage", "text": "首页", "iconPath": "images/homepage_off.png", "selectedIconPath": "images/homepa 阅读全文
posted @ 2019-09-04 10:28 前端-xyq 阅读(8527) 评论(0) 推荐(1) 编辑
摘要:参考:https://www.cnblogs.com/yangguojin/p/10301981.html 超出一行省略: 超出2行省略: 注:两行注释必须要!因为 webpack打包后-webkit-box-orient会被移除,autoprefixer会自动移除老式过时的代码,所以需要添加注释关 阅读全文
posted @ 2019-09-04 10:26 前端-xyq 阅读(1144) 评论(0) 推荐(0) 编辑
摘要:font-style: normal; 阅读全文
posted @ 2019-09-04 10:18 前端-xyq 阅读(8494) 评论(0) 推荐(0) 编辑
摘要:box-shadow: 1px 2px 5px 6px #888888 inset 1px: 必须,水平阴影的位置, 负值为左 2px: 必须,垂直阴影的位置, 负值为上; 5px: 可选,模糊距离; 6px: 可选,阴影尺寸; 888888: 可选,阴影颜色; inset: 可选,将外部阴影 (o 阅读全文
posted @ 2019-09-03 18:34 前端-xyq 阅读(2406) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/wangjia200913/article/details/49615325 语法 :nth-child(an+b) 第一种:简单数字序号写法 :nth-child(number) 直接匹配第number个元素。参数number必须为大于0的整数。 阅读全文
posted @ 2019-09-03 18:28 前端-xyq 阅读(38334) 评论(0) 推荐(1) 编辑
摘要:参考: https://blog.csdn.net/aliven1/article/details/80743470 https://blog.csdn.net/liang377122210/article/details/78880438 https://blog.csdn.net/goodaxu 阅读全文
posted @ 2019-09-03 18:26 前端-xyq 阅读(4840) 评论(0) 推荐(0) 编辑
摘要:p { white-space: nowrap; font-size: .12rem; -webkit-transform-origin-x: 0; //缩小后文字居左 -webkit-transform: scale(0.80); //关键 } 阅读全文
posted @ 2019-09-03 18:24 前端-xyq 阅读(7547) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/jiangyu1013/article/details/85676292 解决:除了import组件外,还要在components中添加 <template> <div> <div> <slide-img :imgsList="imgsList"> 阅读全文
posted @ 2019-09-03 18:23 前端-xyq 阅读(26935) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/dwb123456123456/article/details/82701740https://blog.csdn.net/u014027876/article/details/81663080https://www.jianshu.com/p/8 阅读全文
posted @ 2019-09-03 18:22 前端-xyq 阅读(632) 评论(0) 推荐(0) 编辑
摘要:利用 JSON.parse(param) 实现 例: 然后,就可以这样读取: console.log( obj.text ); ==>> { age: "18", sex: "male"} JSON.parse() 与 JSON.stringify() 的区别 1.JSON.parse(“要转换的数 阅读全文
posted @ 2019-09-03 18:13 前端-xyq 阅读(1970) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.cnblogs.com/liujn0829/p/8622960.html https://blog.csdn.net/z8735058/article/details/76824548 https://cn.vuejs.org/v2/guide/filters.htm 阅读全文
posted @ 2019-09-03 18:09 前端-xyq 阅读(2797) 评论(0) 推荐(0) 编辑
摘要:动态绑定height: :style="{height: slideHeight+'rem'}" slideHeight: 2 如果需要计算来得到高度,如: <p :style="obj">111</p> data: winHei: screen.availHeight, //屏幕高度 winWid 阅读全文
posted @ 2019-09-03 18:07 前端-xyq 阅读(3546) 评论(0) 推荐(0) 编辑
摘要:右击文件 > 验证本文档语法(V)后报错 解决: 项目右键->”属性”->”语法&框架”界面中配置项目的javaScript版本,将ECMAScript5.1 修改为6。 阅读全文
posted @ 2019-09-03 18:04 前端-xyq 阅读(953) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
回到顶部