上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: // 加载模板引擎 const template = require('art-template') var tempStr = 'my name is {{username}}' var res = template.render(tempStr, { username: 'xyz' }) con 阅读全文
posted @ 2021-04-10 22:12 程序员陈师兄cxycsx 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1.安装art-template模板引擎 npm install art-template 2.模板引擎的使用 <script src='node_modules/art-template/lib/template-web.js'></script> <script type='text/templ 阅读全文
posted @ 2021-04-10 21:57 程序员陈师兄cxycsx 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1.算术运算符 + - * / % ++ -- int i = 10; int j = 3; int k; System.out.println(i + j); // 13 System.out.println(i - j); // 7 System.out.println(i * j); // 3 阅读全文
posted @ 2021-04-10 20:01 程序员陈师兄cxycsx 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1.Java标识符命名规则 由字母、数字、下划线、$、不能以数字开头、严格区分大小写 2.Java命名规范 类名、接口名 UserLogin 变量、方法名 getData 常量 CONFIG 3.变量 变量包含三部分: 数据类型、变量名、值 int age = 18; 变量需声明赋值才能访问 4.变 阅读全文
posted @ 2021-04-10 17:14 程序员陈师兄cxycsx 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 6.数据类型 基本数据类型 int float boolean char 引用数据类型 类 接口 数组 字符串 7.数据类型内存 byte 1 short 2 int 4 long 8 float 4 double 8 boolean 1 char 2 8、字符表 'A' -> 65 'a' -> 阅读全文
posted @ 2021-04-10 17:13 程序员陈师兄cxycsx 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 数据类型转换 转换规则: 1.除boolean类型外, 剩余7种类型都可以互相转换 2.不同的数据类型做运算, 先转换为大容量的数据类型再做运算 3.小容量 -> 大容量 byte -> short -> int -> long -> float -> double char -> short 和 阅读全文
posted @ 2021-04-10 17:11 程序员陈师兄cxycsx 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 小程序反编译教程 1.准备工具 MT管理器 VMOS Pro node环境搭建:https://nodejs.org/zh-cn/ 2.小程序包 找到.wxapkg小程序包(大小为2M以下) 文件路径如下: /data/data/com.tencent.mm/MicroMsg/微信号id文件夹/ap 阅读全文
posted @ 2021-04-10 11:28 程序员陈师兄cxycsx 阅读(1102) 评论(0) 推荐(0) 编辑
摘要: <swiper class='swiper' autoplay indicator-dots circular indicator-color='#fff' indicator-active-color='red' interval="3000" duration="100" style="heig 阅读全文
posted @ 2021-04-07 22:06 程序员陈师兄cxycsx 阅读(47) 评论(0) 推荐(0) 编辑
摘要: "tabBar": { "color": "#8a8a8a", "selectedColor": "#1AAD16", "backgroundColor": "#fff", "borderStyle": "white", "list": [ { "pagePath": "pages/index/in 阅读全文
posted @ 2021-04-07 21:00 程序员陈师兄cxycsx 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.阿里巴巴矢量字体图标库 地址:https://www.iconfont.cn/ 2.选择图标 → 添加至项目 → Font class → 在线链接 - 复制样式 3.css样式引用 @import "./styles/iconfont.wxss"; 阅读全文
posted @ 2021-04-07 20:34 程序员陈师兄cxycsx 阅读(58) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页