vue
码农Movinbricks
向代码致敬
展开
-
使用vue做柱状echarts报表
柱状报表成果展示:① 后端返回如下数据(female和male每个都有95个数据。从00:00开始每一刻钟对应一个数据):② 使用vue,在template标签中写如下代码<div id="chartmainbar" style="width:1000px; height:600px; display:none"></div>③ 在script标签中写如...原创 2019-07-30 16:19:04 · 3029 阅读 · 0 评论 -
vue中 input 上传文件
<template> <div class="app-container"> <el-form id="box2" :label-position="labelPosition" v-model="dape" style="display:none; margin-left:10%;"> <el-form-item ...原创 2019-08-05 18:19:09 · 6944 阅读 · 0 评论 -
vue接入高德地图点击获取经纬度及省市区
安装vue-amapnpm install --save vue-amap在main.js中引入如下// 引入地图import aMap from 'vue-amap'Vue.use(aMap)aMap.initAMapApiLoader({ key: '高德地图中的key', plugin: ['AMap.Geolocation']})index.vue...原创 2019-08-13 15:20:00 · 8489 阅读 · 6 评论 -
Thu Mar 07 2019 19:00:00 GMT+0800 (中国标准时间) 转换为yyyy-MM-dd HH:mm:ss
Thu Mar 07 2019 19:00:00 GMT+0800 (中国标准时间) 转换为 2019-03-07 19:00:00const d = new Date(Thu Mar 07 2019 19:00:00 GMT+0800 (中国标准时间))const resDate = d.getFullYear() + '-' + this.p((d.getMonth() + 1)) +...原创 2019-09-18 17:40:11 · 2697 阅读 · 0 评论