CSDN
博客园
简书

01 2021 档案

摘要:1)、 cursor:default 默认正常鼠标指针 2)、 cursor:hand 和 cursor:text 文本选择效果 ... 阅读全文
posted @ 2021-01-27 17:00 codernmx 阅读(104) 评论(0) 推荐(0)
摘要:根据官方文档: 代码: 参考链接:https://blog.csdn.net/r657225738/article/detail... 阅读全文
posted @ 2021-01-26 19:40 codernmx 阅读(53) 评论(0) 推荐(0)
摘要:更改小程序顶部文字颜色 js中加代码: wx.setNavigationBarColor({ frontColor: '#ff... 阅读全文
posted @ 2021-01-26 18:36 codernmx 阅读(356) 评论(0) 推荐(0)
摘要:只需要添加一行代码: @row-click="rowClick"> 在el-table中添加,如: js rowClick(row... 阅读全文
posted @ 2021-01-26 18:07 codernmx 阅读(86) 评论(0) 推荐(0)
摘要:在element-ui的运用中,涉及到了select下拉列表。项目中需要将select的默认值给展示出来,需要设置默认值 在官方给出... 阅读全文
posted @ 2021-01-25 18:51 codernmx 阅读(677) 评论(0) 推荐(0)
摘要:wxml wxss .phcolor{ color:#C8C9CC; font-size: 15px;} 效果: ... 阅读全文
posted @ 2021-01-25 15:39 codernmx 阅读(932) 评论(0) 推荐(0)
摘要:为了实现功能,我想在表格的每一行的对应列都添加一个下拉框Select,如图,但是使用官方文档的时候,会出现v-model不起作用,或... 阅读全文
posted @ 2021-01-21 22:57 codernmx 阅读(353) 评论(0) 推荐(0)
摘要:实现的样式: 实现操作部分的template代码 ... 阅读全文
posted @ 2021-01-21 15:58 codernmx 阅读(58) 评论(0) 推荐(0)
摘要:element ui是基于vue的一套前端可视化组件库,官方文档给出的dialog下的modal属性是一个布尔值,需要使用v-bin... 阅读全文
posted @ 2021-01-21 14:47 codernmx 阅读(413) 评论(0) 推荐(0)
摘要:如实现根据不同数据展示不同状态,实现是通过if判断是否显示。 主要是框选部分的代码,tableDate是我绑定的数据,reason... 阅读全文
posted @ 2021-01-21 14:44 codernmx 阅读(523) 评论(0) 推荐(0)
摘要:200 - 服务器成功返回网页 404 - 请求的网页不存在 503 - 服务不可用 详细分解: 1xx(临时响应) 表示临时响应并... 阅读全文
posted @ 2021-01-21 14:37 codernmx 阅读(20) 评论(0) 推荐(0)
摘要:QQ:Ctrl + Alt + A 微信: Alt + A W10自带:Win + Shift +S 阅读全文
posted @ 2021-01-20 13:54 codernmx 阅读(22) 评论(0) 推荐(0)
摘要:点击图触发绑定函数,调用拨号 wxml部分代码: .js部分代码: call_phone: function () { wx... 阅读全文
posted @ 2021-01-20 11:09 codernmx 阅读(409) 评论(0) 推荐(0)
摘要:wx.switchTab({url: 'pages/list/list'}); 阅读全文
posted @ 2021-01-19 21:32 codernmx 阅读(34) 评论(0) 推荐(0)
摘要:1、操作成功 wx.showToast({ title: '操作成功!', // 标题 icon: 'success'... 阅读全文
posted @ 2021-01-18 09:15 codernmx 阅读(257) 评论(0) 推荐(0)
摘要:Ctrl+Alt+上 Ctrl+Alt+下 Ctrl+Alt+左 Ctrl+Alt+右 阅读全文
posted @ 2021-01-13 20:05 codernmx 阅读(162) 评论(0) 推荐(0)
摘要:常用: Ctrl+S:保存文件 Ctrl+[, Ctrl+]:代码行缩进 Ctrl+Shift+[, Ctrl+Shif... 阅读全文
posted @ 2021-01-13 19:04 codernmx 阅读(48) 评论(0) 推荐(0)
摘要:组件 --> 直达官方文档 阅读全文
posted @ 2021-01-13 16:33 codernmx 阅读(123) 评论(0) 推荐(0)
摘要:1.引入input组件输入时报错:wx.nextTick is not a function;at undefined page o... 阅读全文
posted @ 2021-01-13 15:02 codernmx 阅读(87) 评论(0) 推荐(0)
摘要:ERROR Failed to compile with 2 errors These dependencies were not ... 阅读全文
posted @ 2021-01-13 09:36 codernmx 阅读(3305) 评论(1) 推荐(0)
摘要:wxml代码: 我这里是点击一个循环的列表,点击每一个来判断最终跳转的页面,也就是在test_to_page里面通过STATUS的... 阅读全文
posted @ 2021-01-11 18:28 codernmx 阅读(98) 评论(0) 推荐(0)
摘要:添加注释快捷键 Ctrl+K+C 可以先按Ctrl+K再按Ctrl+C 取消注释快捷键 Ctrl+K+U 可以先按Ctrl+K再按C... 阅读全文
posted @ 2021-01-11 17:59 codernmx 阅读(709) 评论(0) 推荐(0)
摘要:ipconfig /all ipconfig /all 阅读全文
posted @ 2021-01-11 13:06 codernmx 阅读(31) 评论(0) 推荐(0)
摘要:为了实现vue项目启动服务,多个人可以查看,别人可以通过ip+端口访问 在config文件下的index.js文件中,修改host为... 阅读全文
posted @ 2021-01-11 12:22 codernmx 阅读(496) 评论(0) 推荐(0)
摘要:1px=2rpx 阅读全文
posted @ 2021-01-11 10:04 codernmx 阅读(42) 评论(0) 推荐(0)
摘要:先上代码: import urllib.requestimport timedef cycle(): urllist = [ ... 阅读全文
posted @ 2021-01-10 19:50 codernmx 阅读(221) 评论(0) 推荐(0)
摘要:style中的scoped表示局部作用域,该样式只针对某一个文件例如Home.vue 使用 阅读全文
posted @ 2021-01-10 01:51 codernmx 阅读(90) 评论(0) 推荐(0)
摘要:首先是我的需求: 我是想动态生成表头,动态渲染表格数据,然后我的表头数据是读取的每一条数据的关键字 数据是请求接口得到的 先看代码:... 阅读全文
posted @ 2021-01-09 16:55 codernmx 阅读(62) 评论(0) 推荐(0)
摘要:解决:[Vue warn]: Invalid prop: type check failed for prop “data”. Ex... 阅读全文
posted @ 2021-01-09 14:08 codernmx 阅读(697) 评论(0) 推荐(0)
摘要:header-align="center"是只让表格头居中 header-align="center" 效果: align="c... 阅读全文
posted @ 2021-01-08 15:49 codernmx 阅读(303) 评论(0) 推荐(0)
摘要:首先:进入虚拟环境 执行命令: venv是我exon目录下的虚拟环境 source venv/bin/activate 可以看到前... 阅读全文
posted @ 2021-01-08 12:36 codernmx 阅读(586) 评论(0) 推荐(0)
摘要:localStorage 和 sessionStorage localStorage - 用于长久保存整个网站的数据,保存的数据没有... 阅读全文
posted @ 2021-01-07 22:30 codernmx 阅读(17) 评论(0) 推荐(0)
摘要:api.js写在src目录下api文件夹里面 api目录写个api.js import axios from 'axios'// 登... 阅读全文
posted @ 2021-01-07 22:19 codernmx 阅读(16) 评论(0) 推荐(0)
摘要:这里是截取相同的到baseUrl部分 代码可以直接执行 import urllib.requesturllist=[ '111... 阅读全文
posted @ 2021-01-06 21:44 codernmx 阅读(50) 评论(0) 推荐(0)
摘要:1. 、和仓库建立联系:git clone https://gitee.com/xxxxxxx/dianji.git 2. 、cd ... 阅读全文
posted @ 2021-01-06 21:39 codernmx 阅读(16) 评论(0) 推荐(0)
摘要:快捷键:Shift + Ctrl + T 多按几次多恢复几个 阅读全文
posted @ 2021-01-06 20:43 codernmx 阅读(26) 评论(0) 推荐(0)
摘要:首先我简单的谈谈自己对跨域的一个理解: 简单的来说就是当前的网址和你需要请求数据的网址不一样,具体怎么不一样,可以概括为几点:首先是... 阅读全文
posted @ 2021-01-06 20:20 codernmx 阅读(161) 评论(0) 推荐(0)
摘要:cd … 返回上一级目录 cd - 目录名 返回指定目录 cd …/… 返回上两级目录 cd或cd ~ 返回根目录 ... 阅读全文
posted @ 2021-01-05 19:13 codernmx 阅读(1294) 评论(0) 推荐(0)
摘要:vue2.0 配置绝对路径 需要修改的文件为:webpack.base.config.js 如下图: 界面使用的时候: ... 阅读全文
posted @ 2021-01-05 13:57 codernmx 阅读(155) 评论(0) 推荐(0)
摘要:AssertionError断言语句(assert)失败AttributeError尝试访问未知的对象属性EOFError用户输入文... 阅读全文
posted @ 2021-01-03 22:49 codernmx 阅读(17) 评论(0) 推荐(0)
摘要:使用的前提就是要导入模块 os模块中关于文件/目录常用的函数使用方法 函数名使用方法getcwd()返回当前工作目录chdir(p... 阅读全文
posted @ 2021-01-02 22:07 codernmx 阅读(51) 评论(0) 推荐(0)
摘要:文件打开模式: 打开模式执行操作r以只读方式打开文件(默认)w以写入的方式打开文件,会覆盖已存在的文件‘x如果文件已经存在,使用此模... 阅读全文
posted @ 2021-01-02 21:03 codernmx 阅读(13) 评论(0) 推荐(0)
摘要:filter() 过滤器/筛选 例子:筛选出1-9的奇数 map() 映射 这里有一个例子: 1-9的数每一个都乘以2 ... 阅读全文
posted @ 2021-01-02 17:22 codernmx 阅读(17) 评论(0) 推荐(0)
摘要:Python写一些执行脚本时,使用lambda就可以省下定义函数过程,比如说我们只是需要写个简单的脚本来管理服务器时间,我们就不需... 阅读全文
posted @ 2021-01-02 17:10 codernmx 阅读(54) 评论(0) 推荐(0)