上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页

2020年9月30日

摘要: <!-- 引入中文语言包 --> <script src="/assets/js/lang/cn.js"></script> <!-- 引入越南语言包 --> <script src="/assets/js/lang/vietnam.js"></script> <script type=text/j 阅读全文
posted @ 2020-09-30 14:47 完美前端 阅读(309) 评论(0) 推荐(0)

2020年9月26日

摘要: sudo chmod -R 777 websites 阅读全文
posted @ 2020-09-26 14:30 完美前端 阅读(136) 评论(0) 推荐(0)

2020年9月22日

摘要: node app.js 打开 http://127.0.0.1:8888/index 阅读全文
posted @ 2020-09-22 12:16 完美前端 阅读(1902) 评论(0) 推荐(0)

2020年9月17日

摘要: app.js 文件内容 const fs = require('fs'); // 导入文件系统模块 let cn = require('./cn.json'); // 导入cn.json文件的数据 var temp = {}; // 遍历cn.json中的lhc_game_config数组,并为te 阅读全文
posted @ 2020-09-17 18:01 完美前端 阅读(583) 评论(0) 推荐(0)

2020年9月6日

摘要: 新建service.ts import { Injectable } from '@angular/core'; import { LangCN } from './cn'; import { LangEn } from './en'; @Injectable() export class Lang 阅读全文
posted @ 2020-09-06 19:35 完美前端 阅读(365) 评论(0) 推荐(0)

2020年9月3日

摘要: git config --global http.sslVerify false 去掉git的ssl验证 阅读全文
posted @ 2020-09-03 11:51 完美前端 阅读(334) 评论(0) 推荐(0)

2020年9月1日

摘要: #### 安装Angular CLI npm install -g @angular/cli #### 创建新项目 ng new 项目名称 #### 启动项目 ng serve --open #### 项目默认访问地址 localhost:4200/ #### 创建新组件 ng g c 组件名称 # 阅读全文
posted @ 2020-09-01 14:35 完美前端 阅读(193) 评论(0) 推荐(0)

2020年8月30日

摘要: #### 使用的地方 import { Lang } from '../../lib/en'; console.log(new Lang('1')['en']); // '1'是传参 #### en.ts export class Lang { public en = { "HOME": "Home 阅读全文
posted @ 2020-08-30 15:30 完美前端 阅读(761) 评论(0) 推荐(0)

2020年8月12日

摘要: 1. 打开host文件 // 通过vi命令打开host文件 sudo vi /etc/hosts 2. 进入编辑模式 // 输入i,进入编辑模式 3. 退出编辑模式 // 编辑完成后,按ESC键退出编辑模式 4. 保存修改 // 输入:wq并按回车,保存对host文件的修改 Mac查找hosts文件 阅读全文
posted @ 2020-08-12 17:07 完美前端 阅读(3255) 评论(0) 推荐(0)

2020年8月7日

摘要: 使用Opacity控件来设置子控件的透明度 body: Opacity( opacity: 0.5, // 设置透明度为0.5,完全透明为0.0,完全不透明为1.0 child: Container( width: 100.0, height: 100.0, margin: EdgeInsets.a 阅读全文
posted @ 2020-08-07 11:45 完美前端 阅读(3325) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页

导航