From 09851708152afe308fc5df1fe5142fde18370a85 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Thu, 28 Dec 2023 18:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E5=AF=B9=E7=85=A7=E7=9A=84=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/index-bootstrap.php | 114 ---------------------- web/public/index.php | 211 ++++------------------------------------ web/public/input.php | 189 +++++++++++++++++++++++++++++++++++ web/public/output.php | 150 ++++++++++++++++++++++++++++ 4 files changed, 359 insertions(+), 305 deletions(-) delete mode 100644 web/index-bootstrap.php create mode 100644 web/public/input.php create mode 100644 web/public/output.php diff --git a/web/index-bootstrap.php b/web/index-bootstrap.php deleted file mode 100644 index 96cb580a..00000000 --- a/web/index-bootstrap.php +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
- -

phpy 工具集

- -
-
- - -
- -
-
- - diff --git a/web/public/index.php b/web/public/index.php index 0da1e90b..82063abc 100644 --- a/web/public/index.php +++ b/web/public/index.php @@ -1,201 +1,30 @@ - - - - + + + Convert Python code to PHP - - - - - - - - -

Python 代码转 PHP

- -

- 编程语言: - - 风格: - - 字体: - - 字体尺寸: - - 行高 (%): - -

- -
-
-
-
- -
- -
- - -
- -

快捷键

-
    -
  1. -

    Enter:换行,并保持与上一行相同的缩进

    -
  2. -
  3. -

    Tab/Shift + Tab:增加/减少缩进(支持多行)

    -
  4. -
  5. -

    Shift + DelShift + Backspace:删除整行 -

    -
  6. -
  7. -

    Home:将光标移到文本中的第一个非空格字符之前

    -
  8. -
- - - diff --git a/web/public/input.php b/web/public/input.php new file mode 100644 index 00000000..b4486f81 --- /dev/null +++ b/web/public/input.php @@ -0,0 +1,189 @@ + + + + + + Convert Python code to PHP + + + + + + + + + + +

Python

+ +

+ 风格: + + 字体: + + 字体尺寸: + + 行高 (%): + +

+ +
+
+
+
+ +
+ +
+ + +
+ +

快捷键

+
    +
  1. +

    Enter:换行,并保持与上一行相同的缩进

    +
  2. +
  3. +

    Tab/Shift + Tab:增加/减少缩进(支持多行)

    +
  4. +
  5. +

    Shift + DelShift + Backspace:删除整行 +

    +
  6. +
  7. +

    Home:将光标移到文本中的第一个非空格字符之前

    +
  8. +
+ + + + + diff --git a/web/public/output.php b/web/public/output.php new file mode 100644 index 00000000..68ee61ed --- /dev/null +++ b/web/public/output.php @@ -0,0 +1,150 @@ + + + + + + Convert Python code to PHP + + + + + + + + + + +

PHP

+ +

+ 风格: + + 字体: + + 字体尺寸: + + 行高 (%): + +

+ +
+
+
+
+ +
+ +
+ +
+ + + + +