上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 38 下一页
摘要: <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 蓝色帅-橙子哥 阅读(5258) 评论(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 蓝色帅-橙子哥 阅读(1947) 评论(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 蓝色帅-橙子哥 阅读(4298) 评论(0) 推荐(0) 编辑
摘要: umi+ dva + antd构建react工程项目(组件化开发搭建项目)1.官方网站安装node.js(并确保 node 版本是 10.13 或以上)2.先确保安装成功npm或者yarn3.npm i yarn tyarn -g (国内源)4.如果你没有 npx,需要先安装它,用于执行 node_ 阅读全文
posted @ 2020-03-18 10:47 蓝色帅-橙子哥 阅读(1453) 评论(0) 推荐(0) 编辑
摘要: 1.npm install -g create-react-app 创建新项目 2.npm install --save react-router-dom 安装路由 3.组建测试代码测试组件 import React, { Component } from 'react' import { Brow 阅读全文
posted @ 2020-03-17 16:27 蓝色帅-橙子哥 阅读(288) 评论(0) 推荐(0) 编辑
摘要: import React, { Component } from 'react' import logo from './logo.svg'; import './App.css'; import axios from 'axios' // react 使用 axios // 本页面只做基础的 re 阅读全文
posted @ 2020-03-11 12:14 蓝色帅-橙子哥 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1.下载并按照nodejs 版本控制建议下载nvm管理(node版本管理工具)2.安装官方脚手架工具 npm install -g create-react-app mkdir ReactDemo // 创建ReactDemo文件夹cd ReactDemo // 进入ReactDemo文件夹crea 阅读全文
posted @ 2020-03-11 12:09 蓝色帅-橙子哥 阅读(140) 评论(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 蓝色帅-橙子哥 阅读(926) 评论(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 蓝色帅-橙子哥 阅读(433) 评论(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 蓝色帅-橙子哥 阅读(2347) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 38 下一页