1058 A+B in Hogwarts (20分) 题目: If you are a fan of Harry Potter, you would know the world of magic has its own currency system as Hagrid explained it ...
分类:
其他好文 时间:
2020-01-27 00:20:32
阅读次数:
91
A Petya is a big fan of mathematics, esecially its part related to fractions. Recently he learned that a fraction is called proper iff its numerator i ...
home 代码: import 'package:flutter/material.dart'; import 'package:flutter_project/service/service_method.dart'; import 'dart:convert'; import 'swiper_d ...
分类:
其他好文 时间:
2020-01-22 12:34:23
阅读次数:
76
前言 肯定会遇到没有npm化的库 自己写的js 方法 在Vue中该怎么引用呢 第一种 如果库是es6写的 就可以用import 引入 比如我自己写的http 封装接口的方法 就可以这样子导入哦 第二种是jquery的库 可以在静态资源导入(或者是cdn资源加载) 我是vue-cli 3.0 基础之上 ...
分类:
Web程序 时间:
2020-01-21 18:31:21
阅读次数:
96
代码: ScreenUtil.instance = ScreenUtil(width: 750,height: 1334)..init(context); print('设备像素密度:${ScreenUtil.pixelRatio}'); print('设备高度:${ScreenUtil.scree ...
分类:
其他好文 时间:
2020-01-21 18:05:44
阅读次数:
94
条件:打印 月份-第几周 若本月前七天不在全在第一周则这一周计入到上月第五周。 分析: 1.条件判断分别处理前七天和大于等于七天的数据; 2.当前月的7号是关键,如果在周天就不需要放到上月,如果不在周天就要条件判断。 3.日期函数理解 时间函数: 创建 Date 对象的语法:var myDate=n ...
分类:
其他好文 时间:
2020-01-19 12:36:33
阅读次数:
260
// 工厂模式 function Factory(){ let obj = {}; obj.name = '张三'; obj.fn = function(){ console.log("fan") } return obj; } /* 用中文语言可以理解为 创建原料 加工原料 出场原料 */ ...
分类:
其他好文 时间:
2020-01-11 20:43:58
阅读次数:
85
https://blog.csdn.net/fanrenxiang/article/details/97759075 ...
分类:
其他好文 时间:
2020-01-11 15:27:09
阅读次数:
72
一 思考 二 项目 - 多线程 压缩包: 链接 ...
分类:
编程语言 时间:
2020-01-10 15:27:49
阅读次数:
68