摘要: 方法一:全局引入echarts 步骤: 1、全局安装 echarts依赖。 cnpm install echarts -- save 2、引入echarts模块,在Vue项目的main.js中引入echarts模块,即是写入如下代码: 3、在需要的组件,如index.vue中 //根据窗口的大小变动 阅读全文
posted @ 2018-10-16 09:32 彩色泡泡 阅读(5793) 评论(0) 推荐(1) 编辑
摘要: <template> <div class="index_background" > </div> </template> <style> .index_background{ background: url('~@/../static/images/login-bg.png') center to 阅读全文
posted @ 2018-10-16 09:31 彩色泡泡 阅读(3724) 评论(1) 推荐(0) 编辑