上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 69 下一页
摘要: 在项目中要求用 Json的方式请求,并在 easyui-datagrid中实现分页。 easyui-datagrid 绑定方式 $('#grid').datagrid('options').url=url ; $('#grid').datagrid('options').queryParams=qu 阅读全文
posted @ 2021-03-09 16:53 海乐学习 阅读(860) 评论(0) 推荐(0) 编辑
摘要: <table id='grid' class='easyui-datagrid' style='width:100%;height:450px' title='列表' iconCls='icon-table' pagination='true' rownumbers='true' fitColumn 阅读全文
posted @ 2021-03-09 14:48 海乐学习 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 最近在使用 H+ bootstrap框架中 发现 多窗体的菜单底部有一个白线问题,多少有些不完美。 解决方案: h+/css/style.css 在这个文件中 /*CONTENTTABS*/ .content-tabs { position: relative; height: 42px; /* 菜 阅读全文
posted @ 2021-03-03 15:54 海乐学习 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 在使用 bootstrap框架中 发现 html按钮每次点击时都会出现一个黑色的边框,不是很美观。 在 bootstrap.min.css 中有下面这段代码影响: .btn.active.focus, .btn.active:focus,.btn.focus, .btn:active.focus,. 阅读全文
posted @ 2021-03-02 15:25 海乐学习 阅读(2221) 评论(0) 推荐(0) 编辑
摘要: 在Vue项目中遇到动态列表中的某些字的颜色要与其内容的变化而变化 如图 根据 用户是否 注册来 动态改变 其文字的颜色 Html <el-col :span="8" v-for="(dataItem, index) in pageContentData" :key="index"> <div cla 阅读全文
posted @ 2021-02-22 14:17 海乐学习 阅读(492) 评论(0) 推荐(0) 编辑
摘要: //参数 var params = {}; params['module'] = "ai"; params['action'] = "nextAiNode"; params['apiVersion'] = "1.0"; params['userId'] = ""; params['sessionId 阅读全文
posted @ 2021-02-20 12:35 海乐学习 阅读(211) 评论(0) 推荐(0) 编辑
摘要: vue.config.js // Axios跨域请求 devServer:{ port:4000,//vue网页访问的端口 host:"127.0.0.1",//vue网页访问的地址 https:false, open:false, proxy: { '/sina': { //为用于替换的的标识字符 阅读全文
posted @ 2021-01-19 22:58 海乐学习 阅读(2558) 评论(0) 推荐(0) 编辑
摘要: 一、定义 全局变量 注:如果不在 store目录下的 index.js 定义 则 在其它 ***.vue 页面 代码中赋值,其它页面的这个全局变量,是不会变化的。 store目录下的 index.js export default new Vuex.Store({ state: { current_ 阅读全文
posted @ 2021-01-13 20:32 海乐学习 阅读(35106) 评论(0) 推荐(0) 编辑
摘要: 1.安装:npm install axios --save-dev 2.main.js中导入 import axios from 'axios'; Vue.prototype.$axios=axios; axios.defaults.baseURL ='http://localhost/VueApi 阅读全文
posted @ 2021-01-11 12:18 海乐学习 阅读(5300) 评论(0) 推荐(0) 编辑
摘要: 在vue开发中遇到 加载json配置文件,而且这个配置文件不应被打包 这就需要在 public 目录下 创建static目录 。 在static目录下 创建 config.json 文件 ,文件内容如下: { "apiUrl": "http://localhost/VueApi" } 读取方法分两种 阅读全文
posted @ 2021-01-07 22:48 海乐学习 阅读(4058) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 69 下一页