jjw

写给自己的博客。 记录学习的点滴以备查。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2024年6月29日

摘要: 一、尽可能设置父元素的高度(这是最简单、灵活的方式)。然后通过设置子元素的 flex-basis,flex-shrink,flex-grow分配空间,再使用justify-content, align-items. align-content进行版式控制。 二、父元素不设置高度,依靠子元素的高度来撑 阅读全文

posted @ 2024-06-29 12:37 jjw 阅读(2) 评论(0) 推荐(0) 编辑

摘要: <div class="box"> <div class="item">item1</div> <div class="item">item2</div> <div class="item">item3</div> <div class="item">item4</div> <div class=" 阅读全文

posted @ 2024-06-29 10:12 jjw 阅读(2) 评论(0) 推荐(0) 编辑

2024年1月13日

摘要: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V 阅读全文

posted @ 2024-01-13 16:28 jjw 阅读(127) 评论(0) 推荐(0) 编辑

2024年1月11日

摘要: 一、安装过程中有一步要跳过检测安装,否则会花费很多时间。 二、安装后要修改镜像源为国内的:etc/apt/sources.list,这样后期apt install 时就方便了。 其它: 1、安装MYSQL wget https://repo.mysql.com//mysql-apt-config_0 阅读全文

posted @ 2024-01-11 11:56 jjw 阅读(18) 评论(0) 推荐(0) 编辑

2024年1月10日

摘要: 关于TJSONConverters的使用 unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.C 阅读全文

posted @ 2024-01-10 17:18 jjw 阅读(62) 评论(0) 推荐(0) 编辑

摘要: 涉及的重要类 REST.Json,REST.JsonReflect,REST.Json.Interceptors, REST.Json.Types单元中。 一、TJson类 最简单的一个类,提供了JSON -> OBJECT和OBJECT -> JSON几个方法,方法有TJsonOptions参数, 阅读全文

posted @ 2024-01-10 16:41 jjw 阅读(200) 评论(0) 推荐(0) 编辑

2024年1月7日

摘要: procedure TForm1.Button1Click(Sender: TObject); var v: variant; begin { [ODBC] DRIVER=SQL Server 会报错 DRIVER=ODBC Driver 18 for SQL Server 没问题 } dbProp 阅读全文

posted @ 2024-01-07 00:04 jjw 阅读(52) 评论(0) 推荐(0) 编辑

2023年9月20日

摘要: { TDateTimeConverter } function TDateTimeConverter.CanConvert(ATypeInf: PTypeInfo): Boolean; begin Result := True; end; function TDateTimeConverter.Re 阅读全文

posted @ 2023-09-20 21:35 jjw 阅读(24) 评论(0) 推荐(0) 编辑

2023年8月25日

摘要: TOL = class(TObject) public procedure W(W: TJsonWriter; Instance: TObject; Options: TTextWriterWriteObjectOptions); end; TPerson = class private FName 阅读全文

posted @ 2023-08-25 14:06 jjw 阅读(186) 评论(0) 推荐(0) 编辑

2023年8月22日

摘要: TFileServiceFunction = record strict private type TFunctionNameRec = record const LoadFile = 'LoadFile'; SaveFile = 'SaveFile'; GetAllFileNames = 'Get 阅读全文

posted @ 2023-08-22 14:34 jjw 阅读(98) 评论(0) 推荐(0) 编辑