11 2022 档案

摘要:SheetJS/js-xlsx修改表头 https://blog.csdn.net/juzipidemimi/article/details/90815730 阅读全文
posted @ 2022-11-29 19:59 zongkm 阅读(473) 评论(0) 推荐(0) 编辑
摘要:给table加一下这个属性:pagination="pagination" 它有不少分页的功能我还不是特别了解 <a-table :columns="columns" :data-source="points.filter((point) => point.type == dataType.key) 阅读全文
posted @ 2022-11-28 09:55 zongkm 阅读(604) 评论(0) 推荐(0) 编辑
摘要:##iScroll插件(滚动条效果) 先引入iScroll的js文件 iScroll中文网站 http://caibaojian.com/iscroll-5/ 加入id=“wrapper”,给父元素加(如果是ul>li,应该给ul的父元素加) 实例化 <script type="text/javas 阅读全文
posted @ 2022-11-23 02:29 zongkm 阅读(77) 评论(0) 推荐(0) 编辑
摘要:##响应式和自适应的区别 响应式: 一个 url 可以响应多端 自适应:可以在移动设备上适应(ipad,手机) ####需要做一个项目:PC + 移动 响应式 两个页面(pc,移动) 判断设备,根据当前设备跳转对应的url 阅读全文
posted @ 2022-11-22 15:26 zongkm 阅读(39) 评论(0) 推荐(0) 编辑
摘要:###语法格式 @media only scrren and (max-width:400px){ 代码 } @media only scrren and (max-width:400px) and (max-width){ 代码 } 举例: @media only screen and (max- 阅读全文
posted @ 2022-11-22 14:25 zongkm 阅读(69) 评论(0) 推荐(0) 编辑
摘要:##animation [ animation-name ]: 检索或设置对象所应用的动画名称 [ animation-duration ]: 检索或设置对象动画的持续时间 [ animation-timing-function ]: 检索或设置对象动画的过渡类型 [ animation-delay 阅读全文
posted @ 2022-11-21 14:59 zongkm 阅读(64) 评论(0) 推荐(0) 编辑
摘要:##2D ####位移(和子绝父相中的top,left类似,百分比的话,最大位移距离等于它本身) transform:translate(x,y) transform:translateX(x) transform:translateY(y) 例如:100px*100px的方块最大位移距离(百分比时 阅读全文
posted @ 2022-11-21 10:15 zongkm 阅读(517) 评论(0) 推荐(0) 编辑
摘要:字体图标的使用 搜索阿里icon,找合适的图标,加入购物车 ,加入项目,创建新项目,下载至本地 把5个字体图标文件放到本地,把css文件放到css文件夹 #####使用 先把css文件引入进来,去网站复制代码,创建i标签,class写iconfont 和 复制的代码 去css文件修改文件路径 ### 阅读全文
posted @ 2022-11-16 14:31 zongkm 阅读(14) 评论(0) 推荐(0) 编辑
摘要:参考网页https://developer.mozilla.org/zh-CN/docs/Web/API/Document/exitFullscreen 具体 document.onclick = function (event) { if (document.fullscreenElement) 阅读全文
posted @ 2022-11-14 19:57 zongkm 阅读(192) 评论(0) 推荐(0) 编辑
摘要:代码 Number(value.slice(0, value.length - 1) 阅读全文
posted @ 2022-11-11 09:37 zongkm 阅读(28) 评论(0) 推荐(0) 编辑
摘要:+在旧页面要跳转的地方 goHome() { window.location.href = "http://xxxxxxxxxxxxxxxxxxx/?token=" + localStorage.getItem("token") + "&username=" + localStorage.getIt 阅读全文
posted @ 2022-11-07 17:42 zongkm 阅读(13) 评论(0) 推荐(0) 编辑
摘要:先写一下api里面的js吧 一般post的就是存一些数据给接口,接口本身可能也有数据 一般get的就是通过关键字,拿接口里面的数据 ####我看见的文本 js里面 因为需要把数据给接口,所以data:data 可以简写成data export function changePassword(data 阅读全文
posted @ 2022-11-07 17:26 zongkm 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1.js文件 import Vue from "vue"; const EventBus = new Vue(); export default EventBus; 接受传值的地方 import EventBus from "../utils/event-bus"; EventBus.$on("re 阅读全文
posted @ 2022-11-07 16:31 zongkm 阅读(14) 评论(0) 推荐(0) 编辑
摘要:1 最普通的 scopedSlots: { customRender: "currency" }, align: "center", <template slot="currency" slot-scope="text"> <div v-if="text"> <div>{{ text }}</div 阅读全文
posted @ 2022-11-07 10:26 zongkm 阅读(10) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示