Java提供了:String、StringBuffer和StringBuilder,它们都是CharSequence的实现类,都可以作为字符串使用。 String代表了字符序列不可变的字符串;而StringBuffer、StringBuilder都代表了字符序列可变的字符串。 StringBuffe ...
分类:
其他好文 时间:
2020-12-08 12:31:44
阅读次数:
5
<html> <head> <style type="text/css"> .res { color: Red; } .result{ background: yellow; } </style> <script src="https://apps.bdimg.com/libs/jquery/2.1 ...
分类:
其他好文 时间:
2020-12-08 12:17:40
阅读次数:
4
一、使用vue-cli创建模板项目 1、什么是vue-cli 是vue官方提供的脚手架工具。脚手架工具简单讲就是自动将项目需要的环境、依赖等信息都配置好。 2、全局安装vue-cli (1)检查npm 版本,建议安装到最新版本。 【命令行查看版本号】 node -v npm -v 【升级npm(可选 ...
分类:
其他好文 时间:
2020-12-08 12:15:31
阅读次数:
3
示例图: 在page.json配置即可 { "path": "pages/index/logs", "style": { "navigationBarTitleText": "日志", "app-plus": { "titleNView": { "buttons": [{ "text": "德基店" ...
分类:
移动开发 时间:
2020-12-08 12:14:59
阅读次数:
24
// setupPersistentNs creates persistent namespace without switchin to it. // Note, pid namespaces cannot be persisted. func setupPersistentNs(namespac ...
分类:
其他好文 时间:
2020-12-07 12:33:25
阅读次数:
6
模板题:https://loj.ac/p/129 知识点:是while不是if 待填坑 code: #include <iostream> #include <cstdio> #include <cstring> using namespace std; const int MAXN = 2e6 + ...
分类:
其他好文 时间:
2020-12-07 12:32:21
阅读次数:
7
1 #include <iostream> 2 using namespace std; 3 int abc(int); 4 int fun1(int); 5 int fun1(int a) 6 { 7 cout << "递归函数1" << endl; 8 if (a == 1) 9 { 10 re ...
分类:
其他好文 时间:
2020-12-07 12:04:33
阅读次数:
4
在IDEA中HTML格式化(快捷键:Ctrl+Alt+L)时默认不缩进。 1.File→Settings 2.Editor→Code Style→HTML 3.Other→Do not indent children of 4.将里面的html,body,head统统删掉,然后点击OK,问题解决。 ...
分类:
Web程序 时间:
2020-12-07 12:03:58
阅读次数:
8
注意点:想要将缩放之后的div对齐顶点,那么需要将css属性设置为:transform-origin: 0 0 <div style="width: 900px; height: 900px; background: gray; overflow: auto;"> <div style="width ...
分类:
Web程序 时间:
2020-12-07 11:57:04
阅读次数:
8
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 6 ...
分类:
Web程序 时间:
2020-12-07 11:49:54
阅读次数:
9