摘要: 方法一: <img :src="codeIMG" alt="二维码图片" style="width:60%;" /> <span @click="downloadCodeImg()">点击保存</span> codeIMG: require("../../assets/image/222.png") 阅读全文
posted @ 2020-06-11 11:12 web小超 阅读(1661) 评论(0) 推荐(0) 编辑
摘要: <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小超 阅读(931) 评论(0) 推荐(0) 编辑
摘要: <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小超 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: 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小超 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 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小超 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 一。ES6新增声明变量的关键字有哪些?如何用?有什么特点? let b = 2; let定义的变量只在当前块内有效 let定义的变量不能重名 let定义变量不存在声明提前 语法:const key = value; 定义在块作用域内的常量,在外部不能访问 常量不能被重复定义:是为了保证常量定义使用时 阅读全文
posted @ 2020-05-26 19:20 web小超 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 一、什么是弹性盒布局(可伸缩的盒子) 优势:1》写起来比较简单 2》灵活性、代码优雅 缺点:1》不兼容ie和安卓低级版本 新弹性盒(讲) 老弹性盒 二、使用 容器 (父元素) display:flex : 让容器成员是弹性的项目 flex-direction : 决定主轴是什么方向(项目排序方向) 阅读全文
posted @ 2020-05-26 19:16 web小超 阅读(277) 评论(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小超 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 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小超 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 使用插槽 定义插槽 nav 阅读全文
posted @ 2020-05-26 19:05 web小超 阅读(239) 评论(0) 推荐(0) 编辑