会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
web前端
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年6月11日
js点击保存图片
摘要: 方法一: <img :src="codeIMG" alt="二维码图片" style="width:60%;" /> <span @click="downloadCodeImg()">点击保存</span> codeIMG: require("../../assets/image/222.png")
阅读全文
posted @ 2020-06-11 11:12 web小超
阅读(1686)
评论(0)
推荐(0)
2020年6月10日
vant地区三级联动
摘要: <van-cell-group> <!--cell+popup+area省市区的坑--> <van-cell v-model="carmodel" value @click="shows = true"></van-cell> <van-popup v-model="shows" position=
阅读全文
posted @ 2020-06-10 20:45 web小超
阅读(941)
评论(0)
推荐(0)
2020年6月9日
input 输入金额正则判断
摘要: <input pattern="\d*" type="tel" onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" keyboardType="UIKeyboardTypeDecimalPad;" v-model="value" class=
阅读全文
posted @ 2020-06-09 14:12 web小超
阅读(1384)
评论(0)
推荐(0)
2020年6月2日
git 实用命令
摘要: git clone ssh:/git@xxxxxxxx.com:2222/xxxxxx/x/x/x.git //克隆项目git fetch origin dev-lhc:dev-lhc git checkout dev-lhcgit pullgit branch --set-upstream-to=
阅读全文
posted @ 2020-06-02 16:04 web小超
阅读(122)
评论(0)
推荐(0)
2020年5月29日
vux使用和帮助函数
摘要: store index.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ state: { duan:"192", age:"15" }, mutations:
阅读全文
posted @ 2020-05-29 11:59 web小超
阅读(199)
评论(0)
推荐(0)
2020年5月26日
ES6
摘要: 一。ES6新增声明变量的关键字有哪些?如何用?有什么特点? let b = 2; let定义的变量只在当前块内有效 let定义的变量不能重名 let定义变量不存在声明提前 语法:const key = value; 定义在块作用域内的常量,在外部不能访问 常量不能被重复定义:是为了保证常量定义使用时
阅读全文
posted @ 2020-05-26 19:20 web小超
阅读(150)
评论(0)
推荐(0)
弹性盒布局
摘要: 一、什么是弹性盒布局(可伸缩的盒子) 优势:1》写起来比较简单 2》灵活性、代码优雅 缺点:1》不兼容ie和安卓低级版本 新弹性盒(讲) 老弹性盒 二、使用 容器 (父元素) display:flex : 让容器成员是弹性的项目 flex-direction : 决定主轴是什么方向(项目排序方向)
阅读全文
posted @ 2020-05-26 19:16 web小超
阅读(289)
评论(0)
推荐(0)
圣杯布局
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{ margin:0;padding:0; } .container{ display: flex; hei
阅读全文
posted @ 2020-05-26 19:14 web小超
阅读(102)
评论(0)
推荐(0)
axios
摘要: import axios from "axios"; axios.defaults.baseURL = "xxxxx"; // axios.changeOrigin=true; export let gethotsongs =(e) => { return request("xxxx",e,"GET
阅读全文
posted @ 2020-05-26 19:12 web小超
阅读(249)
评论(0)
推荐(0)
插槽的使用
摘要: 使用插槽 定义插槽 nav
阅读全文
posted @ 2020-05-26 19:05 web小超
阅读(252)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告