随笔分类 -  后台系统开发的ui组件--element ui

基于vue开发
摘要:问题:C:\Users\XXX\AppData\Roaming\npm\webpack.ps1因为在此系统上禁止运行脚本 管理员输入 set-ExecutionPolicy RemoteSigned 回车 输入 A 或者 Y即可解决 阅读全文 »
posted @ 2022-10-31 14:48 鱼樱前端 阅读(41) 评论(0) 推荐(0) 编辑
摘要:<!-- * @Description: element ui表格校验 由于最近太多人问这个需要怎么校验所以贴了一个demo供参考 * @Version: 2.0 * @Autor: lhl * @Date: 2020-01-15 11:15:40 * @LastEditors: lhl * @La 阅读全文 »
posted @ 2020-05-08 09:30 鱼樱前端 阅读(5278) 评论(1) 推荐(0) 编辑
摘要:<!-- * @Description: * @Version: 2.0 * @Autor: lhl * @Date: 2020-01-15 11:15:40 * @LastEditors: lhl * @LastEditTime: xxx --> <template> <div> <el-tabl 阅读全文 »
posted @ 2020-05-07 16:19 鱼樱前端 阅读(677) 评论(0) 推荐(0) 编辑
摘要:Vue使用阿里图标导入项目1.新建一个项目(如果已有项目可忽略)2.选好图标添加入库3.选择 Font-class (个人喜欢的格式)下载至本地4.main.js导入 import './assets/aliicon/iconfont.css' // 阿里图库5.组件使用 <i class="ico 阅读全文 »
posted @ 2020-03-30 09:42 鱼樱前端 阅读(441) 评论(0) 推荐(0) 编辑
摘要:// tagsView.vue <template> <div class="tags" v-if="showTags"> <ul> <li class="tags-li" v-for="(item,index) in tabsList" :class="{'active': isActive(it 阅读全文 »
posted @ 2020-03-27 14:36 鱼樱前端 阅读(480) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="wrap-dialog-box"> <!-- 弹窗 --> <el-dialog title="通知" :visible.sync="dialogVisible" center width="80%" class="dialog-box-center"> 阅读全文 »
posted @ 2020-03-27 14:30 鱼樱前端 阅读(5355) 评论(0) 推荐(0) 编辑
摘要:1.安装 cnpm i vue-seamless-scroll -S 2.组件调用 import vueSeamless from "vue-seamless-scroll"; (或者全局注册) 3.https://www.npmjs.com/package/vue-seamless-scroll 阅读全文 »
posted @ 2020-03-27 10:58 鱼樱前端 阅读(2017) 评论(0) 推荐(0) 编辑
摘要:1.安装插件 npm/cnpm i v-viewer -S 2.main.js配置 import Viewer from 'v-viewer' // 图片预览 import 'viewerjs/dist/viewer.css' Vue.use(Viewer) Viewer.setDefaults({ 阅读全文 »
posted @ 2020-03-24 12:24 鱼樱前端 阅读(4348) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="test-table-box mt20"> <el-table stripe :data="list" :height="tableHeight" border style="width: 100%" ref="multipleTable" toolti 阅读全文 »
posted @ 2020-01-14 11:21 鱼樱前端 阅读(944) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="table-cooperte"> <el-table :data="tableData" stripe style="width: 100%" border ref="table" :span-method="objectSpanMethod" tooltip-effect="dark" :height="tableHeight" :row-style 阅读全文 »
posted @ 2019-12-19 17:48 鱼樱前端 阅读(445) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="container"> <el-table :data="tableData" border row-key="id"> <el-table-column align="center" v-for="(item, index) in col" :key= 阅读全文 »
posted @ 2019-12-19 17:41 鱼樱前端 阅读(2358) 评论(0) 推荐(0) 编辑
摘要:// 还可以使用:第一个参数是默认的value参数,第二个是我们自己想传入的参数 @change='selectChange($event,vIndex)' 阅读全文 »
posted @ 2019-10-15 17:21 鱼樱前端 阅读(5094) 评论(0) 推荐(0) 编辑
摘要:import * as types from '../mutation-types' const state = { btnCode: getBtnCode(), } const mutations = { getBtnObj(state, btnCodeObj) { // 登录成功后获取--按钮权限 state.btnCode = btnCodeObj; }, } ... 阅读全文 »
posted @ 2019-06-27 17:52 鱼樱前端 阅读(2021) 评论(0) 推荐(0) 编辑
摘要:开始!正常的简单的拆分下是这样的文件当然module可以在store下面新建一个文件夹用来处理单独模块的vuex管理比较合适。 1.index.js下面 import Vue from 'vue' import Vuex from 'vuex' import state from './state' 阅读全文 »
posted @ 2019-03-04 10:51 鱼樱前端 阅读(1033) 评论(0) 推荐(0) 编辑
摘要:直接上代码配置: 首先是config下面的文件修改 dev.env.js 其次是config下面的文件修改 prod.env.js 其次是config下面的文件不变 test.env.js 配置config下面 的index.js跨域代理设置: 新建api.js 直接执行命令即可打对应包 阅读全文 »
posted @ 2019-01-04 11:34 鱼樱前端 阅读(1437) 评论(0) 推荐(0) 编辑
摘要:1.config index.js下面的跨域代理设置: 2.http.js(封装axios) 3.api.js(封装接口) 4.vuex构成 (1)index.js (2)state.js (3)mutation-types.js (常量) (4)mutation.js (5)actions (这里 阅读全文 »
posted @ 2019-01-03 10:44 鱼樱前端 阅读(2516) 评论(0) 推荐(0) 编辑
摘要:具体属性方法参考官方网站:http://element-cn.eleme.io/#/zh-CN/component/installation 阅读全文 »
posted @ 2019-01-03 10:05 鱼樱前端 阅读(11598) 评论(0) 推荐(2) 编辑
摘要:11111111111111111 click 激活 {{ item }} 第一块的内容是在这里 通过accordion属性来设置是否以手风琴模式显示。 ... 阅读全文 »
posted @ 2019-01-03 10:01 鱼樱前端 阅读(12403) 评论(0) 推荐(0) 编辑
摘要:vue config下面的index.js配置host: '0.0.0.0',共享ip (假设你的电脑启动了这个服务我电脑一样可以启动) 回调函数就是一个参数,将这个函数作为参数传到另一个函数里面,当那个函数执行完之后,再执行传进去的这个函数。这个过程就叫做回调;回调,回调,就是回头调用的意思。主函 阅读全文 »
posted @ 2018-12-20 14:59 鱼樱前端 阅读(645) 评论(0) 推荐(0) 编辑
摘要:1.参考 https://www.npmjs.com/package/vue-wangeditor 使用该富文本编辑器 阅读全文 »
posted @ 2018-12-12 17:47 鱼樱前端 阅读(5545) 评论(0) 推荐(0) 编辑

 
拂雪 - 不才
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.
  1. 1 往后余生 王贰浪
  2. 2 拂雪 不才
  3. 3 我的一个道姑朋友 洛尘鞅
  4. 4 大田后生仔 王雨萌
点击右上角即可分享
微信分享提示