摘要:
<!DOCTYPE html> <html> <head> <title>瀑布流</title> <meta charset="utf-8"> </head> <style type="text/css"> ul,li{list-style: none; } *{margin:0; padding: 阅读全文
摘要:
<input type="file" accept="image.*" id="btn"> let inp = document.getElementById('btn'); addEventListener('change', (e) => { let file = e.target.files[ 阅读全文
摘要:
<view class="head-wrap" style="height:300rpx;background:#999;"></view> <view class="card-wrap" style="transform:{{translateValue}};transition:{{transi 阅读全文
摘要:
const gulp = require('gulp'); const htmlmin = require('gulp-htmlmin'); const fileinclude = require('gulp-file-include'); const csso = require('gulp-cs 阅读全文
摘要:
let arr = ["贵州省", "江苏省", "江西省", "浙江省", "四川省", "安徽省", "山东省", "上海", "湖北省", "福建省", "辽宁省", "山西省", "河北省", "青海省", "黑龙江省", "内蒙古自治区", "北京" 阅读全文
摘要:
分转化为元 - 正则解决精度 export const regFenToYuan = (fen) =>{ var num = fen; num=fen*0.01; num+=''; var reg = num.indexOf('.') >-1 ? /(\d{1,3})(?=(?:\d{3})+\.) 阅读全文
摘要:
js //解析URL function parseURL(url) { var a = document.createElement('a'); a.href = url; return { source: url, protocol: a.protocol.replace(':',''), hos 阅读全文
摘要:
```css .clearfix:after{/*伪元素是行内元素 正常浏览器清除浮动方法*/ content: ""; display: block; height: 0; clear:both; visibility: hidden; } .clearfix{ *zoom: 1;/... 阅读全文
摘要:
1、vue里修改微信的title 阅读全文