- 博客(19)
- 收藏
- 关注
原创 安装宝塔面板
加粗样式@TOC你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:撤销:Ctrl/Command + Z重做:Ctrl/Command + Y加粗:Ctrl/Command + B斜体:Ctrl/Command + I标题:Ctrl/Com
2025-04-14 22:09:16
884
原创 我在开发中用到的一些js数组、字符、对象操作
1.concat作用:合并多个数组特点:返回一个新数组,不会改变已有数组例1: let arr1 = [1, 2, 3, 4]; let arr2 = [5, 6, 7, 8]; let arr3 = arr1.concat(arr2); console.log(arr3);//1,2,3,4,5,6,7,82.find作用:查找数组中满足提供的测试函数的第一个元素的值并返回特点:(1)数组中的每个元素都会调用一遍测试函数,当有元素满足条件时,后面的元素不会再执行
2022-06-22 20:56:26
156
原创 Jquery实现多个表格的全选复选框功能
实现多个表格的复选框功能,HTML+CSS部分<style> .kctc-table tbody { width: 1180px; background-color: #fff; } .kctc-table tbody tr { width: 1180px; display: flex; } .kctc-table thead { width: 1180px;
2022-03-17 13:51:38
1342
原创 jquery实现表格的全选复选框功能1
效果图html + css<style> .red { color: red; } .tab-title { width: 100%; height: 40px; padding-bottom: 8px; display: flex; } .tckc { background-color: #4CAF50; } .tab-title s
2022-03-16 11:08:47
1789
原创 jquery实现点击跳转到相应位置
CSS部分<style>body { background: #F1F1F1;}.wrapper{ width: 1200px;}.duoxuanti { color: #4D76E0;}.blue-bg { background-color: #4C76E2; color: #fff; border-radius: 3px;}.search-main { position: relative; backgr
2022-03-10 13:36:13
1947
原创 制作网页在浏览器上端的ico小图标
像这样的在浏览器上的小图标。第一步打开网站https://www.bitbug.net/第二步在HTML中使用<link rel="shortcut icon" href="./images/cwj.ico">
2022-03-09 09:15:35
266
原创 Jquery实现返回顶部功能
HTML部分 <div class="fanhui-top"> <!--我这里用的是阿里巴巴图标--> <i class="iconfont" style="font-size: 20px;"></i> </div>Jquery部分//1.隐藏返回顶部按钮$(".fanhui-top").hide() //2.当窗口滚动距离>100px时,显示按钮,否则隐藏按钮 $(win
2022-03-07 09:57:01
624
原创 CSS3实现内容左右移动动画
Html部分:<div class="notice"> <ul class="ul1"> <li>质检结果需要保存才能永久存储,否则关闭页面会清空质检数据</li> <li>使用遇到障碍?在左侧导航查看帮助</li> <li>保存质检结果方式可设置手动或自动保存</li> </ul></div>Css样式:.notice { pos
2021-08-05 11:18:59
2432
原创 uni-app实现微信文件预览和分享
<template> <view class="content"> <l-file ref="lFile" :logo="logo" @up-success="onSuccess"></l-file> <uni-table border stripe emptyText="暂无更多数据"> <!-- 表头行 --> <uni-tr> <uni-th align="c
2021-07-06 16:52:03
1091
原创 微信小程序实现文件上传功能
//选择上传文件的按钮和提交文件上传按钮<button @click="onUpload">选择上传的文件</button><button @click="submitUpload">上传</button>//onUpload-------wx.chooseMessageFile先将文件上传到微信的 暂存区,打印res可以看到一个暂存的路径// let headers = {// 'Content-Type': "multipart/for
2021-05-29 16:02:40
8976
原创 js提取时间
const year =this.yearold.getFullYear();const month = this.yearold.getMonth()+1;const date = this.yearold.getDate();const hours = this.yearold.getHours()const minutes = this.yearold.getMinutes();const seconds = this.yearold.getSeconds();console.log(ye
2021-04-29 21:55:14
870
原创 码云仓库的操作
(一)将代码提交到码云仓库1.初始化仓库git init2.将本地文件放到暂存区git add .3.将本地文件放到本地仓库中git commit -m '提交web商城'4. 链接远程仓库
2021-04-08 14:34:32
794
原创 Vuex知识点总结
VueX的使用1.安装vuex的依赖包npm install vuex --save2.导入vuex包import Vuex from 'vuex'Vue.use(Vuex)3.创建store对象export default new Vuex.Store({ state: { count:0 },)4.将store对象挂载到Vue实例中new Vue({ router, store, render: h => h(App)}
2021-03-11 15:32:08
211
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人