码迷,mamicode.com
首页 >  
搜索关键字:css div    ( 164063个结果)
vue获取图片宽高
uploadFile(event){ let that = this; let file = event.target.files[0]; let fileReader = new FileReader(); fileReader.readAsDataURL(file); //根据图片路径读取图片 ...
分类:其他好文   时间:2020-11-24 12:09:24    阅读次数:5
C# Task中的Func, Action, Async与Await的使用
在说Asnc和Await之前,先说明一下Func和Action委托, Task任务的基础的用法 1. Func public delegate TResult Func<out TResult>(); Func是一种委托,这是在3.5里面新增的,2.0里面我们使用委托是用Delegate,Func位 ...
分类:Windows程序   时间:2020-11-23 12:24:18    阅读次数:29
实验3
实验任务4#include<stdio.h> #include<math.h> int main() { int n,a,b,i,s; printf("Enter a number:"); scanf("%d",&n); while(n){ i=0; s=0; while(n!=0){ a=n%10 ...
分类:其他好文   时间:2020-11-23 12:22:09    阅读次数:3
nodejs之fs模块
1、引入fs模块 const fs = require('fs'); 2、常用方法 1、fs.stat 检测是文件还是目录 检测文件or目录是否存在 检测是文件还是目录 fs.stat('./test.html',(err,data)=>{ if(err){ console.log(err); re ...
分类:Web程序   时间:2020-11-23 12:21:53    阅读次数:12
Vue高亮输入 (Vue Highlightable Input)使用,node-interval-tree区间树,可编辑div光标前移解决方案
安装: npm install vue-highlightable-input --save 引入: import HighlightableInput from "vue-highlightable-input" 页面中使用: <template> <div class="home"> <High ...
分类:其他好文   时间:2020-11-23 12:16:03    阅读次数:4
c# ToString()格式
C 货币 2.5.ToString("C") ¥2.50 D 十进制数 25.ToString("D5") 00025 E 科学型 25000.ToString("E") 2.500000E+005 F 固定点 25.ToString("F2") 25.00 G 常规 2.5.ToString("G ...
分类:Windows程序   时间:2020-11-23 12:04:45    阅读次数:14
Vue中使用websocket的正确使用方法
原文:https://www.jianshu.com/p/9d8b2e42328c <template> <div class="test"> </div> </template> <script> export default { name : 'test', data() { return { ...
分类:Web程序   时间:2020-11-23 12:04:10    阅读次数:12
jq实现根据值选择单选框的值
<div class="radio-div"> <div style="width: 100px; float: left;"> <input name="typeName" type="radio" value="1"> <label><em></em><span>集团</span></label ...
分类:其他好文   时间:2020-11-23 12:03:56    阅读次数:5
vue.min.js 独立版本中,第三方js 通过vm使用vue内定义的数据
vue.min.js是啥? vue.min.js是vue已封装好vue.js技术,方便我们学习vue技术,使用<script>可直接将vue.min.js文件导入HTML中的,即可方便学习和快捷使用vue相关技术。 在HTML中引入vue.min.js文件 1、独立版本 我们可以在 Vue.js 的 ...
分类:Web程序   时间:2020-11-21 12:46:04    阅读次数:34
Codeforces Round #677 (Div. 3)
写在前面 最近开始刷CF,今天第一次补完完整的一套CF,总结一下吧,发现做过的题不赶紧总结写题解就容易忘了。 立个flag 争取每天更新一篇CF题解 A. Boring Apartments 模拟题,模拟就完了 #include<bits/stdc++.h> using namespace std; ...
分类:其他好文   时间:2020-11-21 12:44:54    阅读次数:33
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!