
前端
gengyan_99
这个作者很懒,什么都没留下…
展开
-
react
homepage": "./", 加入package.json ,解决发布后首页打不开,报404错误。原创 2022-08-03 17:49:46 · 172 阅读 · 1 评论 -
linux命令
1:查找apache安装目录 :find / -name apache原创 2022-01-15 15:13:58 · 415 阅读 · 0 评论 -
sourcetree发现不了代码
换了新的imac,发现代码克隆失败。折腾了一天,终于可以克隆了。总结下原因1:vpn配置文件不正确,端口号不正确,导致能连上,但下载不了。2:sourcetree第一次拉取失败,需要用命令行git clone url...的方式拉取一次,然后使用sourcetree。3:或者通过git clone 添加下代码,sourcetree就能找到代码了...原创 2021-08-11 13:19:54 · 348 阅读 · 0 评论 -
h5复制文本到剪切板
copyContentH5(content) {var copyDom = document.createElement(‘div’);copyDom.innerText=content;copyDom.style.position=‘absolute’;copyDom.style.top=‘0px’;copyDom.style.right=’-9999px’;document.body.appendChild(copyDom);var range = document.createRange原创 2021-05-12 15:42:39 · 293 阅读 · 0 评论 -
axios使用
axios使用axios.get(’/user?ID=12345’).then(function (response) {console.log(response);}).catch(function (error) {console.log(error);});// 可选地,上面的请求可以这样做axios.get(’/user’, {params: {ID: 1234}}).then(function (response) {console.log(response);}).原创 2020-11-27 16:34:56 · 553 阅读 · 0 评论 -
H5调用js代码
工具sublime框架学习 vue 开源代码Vant网页错误验证工具:http://validator.w3.org/css简单动画:https://daneden.github.io/animate.css/判断是否拥有某个类:$(this).is('.sellouts') <!DOCTYPE html><html lang="zh-Hans"&g...原创 2017-10-23 15:31:44 · 12204 阅读 · 0 评论 -
css
水平居中 :text-align:right;right;center;垂直居中:vertical-align:bottom;top;middle;合并边框:border-collapse:collapse;设置某列的宽度:<th style="width:70%">Firstname</th>列编组:<colgroup span="2" style=...原创 2018-07-30 09:42:21 · 204 阅读 · 0 评论 -
webservice
webservice w3c提出,主要支持者微软、ibm。webservice 基于soap协议。目前银行,证券行业仍然在使用。webservice 继任者RESTful api。webservice 对于ios、android支持很差,需要用户自己封装soap对象。...原创 2018-10-12 14:01:06 · 210 阅读 · 0 评论 -
linux服务器搭建
系统使用了CentOS7.2LAMP安装:https://yq.aliyun.com/articles/521424?spm=5176.10695662.1996646101.searchclickresult.68b91364THaaS2默认访问网页路径:/var/www/html/gary.php默认配置文件路径:/etc/httpd/conf/httpd.conf修改的配置项 ...转载 2018-12-12 11:38:50 · 210 阅读 · 0 评论