08 2021 档案
摘要:可直接拿去用,如果需要两个按钮,需自己手动添加 css /* 弹窗样式 */ .login { position: fixed; height: 100px; width: 240px; background: #ffffff; border-radius: 0.25rem; left: 50%;
阅读全文
摘要:首先下载html2canvas.js和jsPdf.debug.js两个js文件 html2canvas:http://html2canvas.hertzen.com/ jsPdf.debug:https://parall.ax/products/jspdf html <div id="host_fi
阅读全文
摘要:首先去html2canvas官网下载html2canvas.js文件 html2canvas官网地址:http://html2canvas.hertzen.com/ HTML <div id="host_file" class="container"> <div id="view" class="p
阅读全文
摘要:1. 由zz_text1页面跳转到zz_text2页面 2. zz_text1页面代码 <button style="width: 1rem;height: 0.6rem;line-height: 0.6rem;text-align: center;" @click="GoPage">跳转</but
阅读全文
摘要:css: .listTitle{width: 7.5rem;height: 1rem;margin: auto;display: flex;align-items: center;justify-content: space-between;border-bottom: 1px solid #eee
阅读全文
摘要:css: .recharge_box{display: flex;padding: 0.1rem 0.1rem;justify-content: space-between;} .recharge{width: 2rem;height: 1rem;text-align: center;line-he
阅读全文
摘要:首先介绍一下$.each有两个参数,分别是object和callback $.each( object, callback ) object:需要遍历的对象或数组。 callback:每个成员/元素执行的回调函数。 直接上代码 css *{margin: 0;padding: 0;} .shop_b
阅读全文
摘要:// pop() 方法从数组中删除最后一个元素 var fruits = ["Banana", "Orange", "Apple", "Mango"]; // 被删除的值赋值给x var x = fruits.pop(); console.log(fruits,x) //打印删除元素后的数组和被删除
阅读全文