From d4c2b1da4291e86035160030fadf16c74c5200bc Mon Sep 17 00:00:00 2001
From: Codekpy <1942171924@qq.com>
Date: Tue, 15 Nov 2022 13:52:42 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ide.html | 3 ++-
kzhzbcphp.php | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ide.html b/ide.html
index 72800c5..9ec51e9 100644
--- a/ide.html
+++ b/ide.html
@@ -11,7 +11,8 @@
-
+
+
diff --git a/kzhzbcphp.php b/kzhzbcphp.php
index 659bc1d..b77f4f4 100644
--- a/kzhzbcphp.php
+++ b/kzhzbcphp.php
@@ -35,7 +35,8 @@ echo $text = <<<__
-
+
+
--
Gitee
From 0adf2f7afc04397aad251203842487a799b31d36 Mon Sep 17 00:00:00 2001
From: Codekpy <1942171924@qq.com>
Date: Tue, 15 Nov 2022 13:55:41 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA?=
=?UTF-8?q?=E5=B0=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
blockly/ini/blocks/get.js | 2 +-
blockly/ini/workspace/library.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/blockly/ini/blocks/get.js b/blockly/ini/blocks/get.js
index 34d7b92..12721c7 100644
--- a/blockly/ini/blocks/get.js
+++ b/blockly/ini/blocks/get.js
@@ -243,7 +243,7 @@ Blockly.Blocks['style_first'] = {
this.appendValueInput("NAME")
.setCheck("Number")
.appendField(new Blockly.FieldDropdown([["宽度","width"], ["高度","height"]]), "style_name")
- .appendField(new Blockly.FieldDropdown([["百分比","point"], ["像素","px"]]), "unit");
+ .appendField(new Blockly.FieldDropdown([["百分比","%"], ["像素","px"]]), "unit");
this.setInputsInline(true);
this.setPreviousStatement(true, null);
this.setNextStatement(true, null);
diff --git a/blockly/ini/workspace/library.xml b/blockly/ini/workspace/library.xml
index 587e7a2..4b412f0 100644
--- a/blockly/ini/workspace/library.xml
+++ b/blockly/ini/workspace/library.xml
@@ -1732,7 +1732,7 @@
unit
百分比
- point
+ %
像素
px
--
Gitee
From 5c62f328a3947c0e2bc14a1afca3c3a009bbee7f Mon Sep 17 00:00:00 2001
From: Codekpy <1942171924@qq.com>
Date: Tue, 15 Nov 2022 14:04:34 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
blockly/ini/blocks/get.js.js | 2 +-
blockly/ini/workspace/toolbox.xml | 16 ----------------
2 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/blockly/ini/blocks/get.js.js b/blockly/ini/blocks/get.js.js
index f0eb6f5..220957a 100644
--- a/blockly/ini/blocks/get.js.js
+++ b/blockly/ini/blocks/get.js.js
@@ -226,7 +226,7 @@ Blockly.PHP['shuxing'] = function(block) {
// TODO: Assemble PHP into code variable.
var l = value_value;
var value_value = l.slice(1, l.length - 1);
- var code = text_name + ':' + value_value + ';
';
+ var code = text_name + ':' + value_value + ' ';
return code;
};
diff --git a/blockly/ini/workspace/toolbox.xml b/blockly/ini/workspace/toolbox.xml
index 2ae547d..e94019d 100644
--- a/blockly/ini/workspace/toolbox.xml
+++ b/blockly/ini/workspace/toolbox.xml
@@ -401,22 +401,6 @@
……
-
-
-
-
-
- 0
-
-
-
-
-
-
- 0
-
-
-
width
point
--
Gitee
From 9ae8353575698928c47ab103af4ba04adb003240 Mon Sep 17 00:00:00 2001
From: Codekpy <1942171924@qq.com>
Date: Tue, 15 Nov 2022 14:22:33 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E6=AF=94=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ide.html | 20 ++------------------
kzhzbcphp.php | 4 ++--
2 files changed, 4 insertions(+), 20 deletions(-)
diff --git a/ide.html b/ide.html
index 9ec51e9..569df26 100644
--- a/ide.html
+++ b/ide.html
@@ -469,22 +469,6 @@
……
-
-
-
-
-
- 0
-
-
-
-
-
-
- 0
-
-
-
width
point
@@ -655,9 +639,9 @@
-
+
-
+
diff --git a/kzhzbcphp.php b/kzhzbcphp.php
index b77f4f4..413054e 100644
--- a/kzhzbcphp.php
+++ b/kzhzbcphp.php
@@ -91,9 +91,9 @@ echo $text = <<<__
$wx
$bo
-
+
-
+
--
Gitee
From 13104d0588015f1f30f4a5648d9831257e271bf7 Mon Sep 17 00:00:00 2001
From: Codekpy <1942171924@qq.com>
Date: Tue, 15 Nov 2022 14:29:41 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E6=AF=94=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
blockly/ini/ide_files/function.js | 16 ++++++++++++++++
ide.html | 2 +-
kzhzbcphp.php | 2 +-
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/blockly/ini/ide_files/function.js b/blockly/ini/ide_files/function.js
index 6488d32..bcf2b65 100644
--- a/blockly/ini/ide_files/function.js
+++ b/blockly/ini/ide_files/function.js
@@ -55,6 +55,22 @@ CCCGC8CC8CCCCC8CCC8CCGGC,
8C8CCCGCGCCCGCCCCC8CCCCC:
`);
+
+function getClientHeight()
+{
+ var clientHeight=0;
+ if(document.body.clientHeight&&document.documentElement.clientHeight)
+ {
+ var clientHeight = (document.body.clientHeight
document.documentElement.clientHeight)?document.body.clientHeight:document.documentElement.clientHeight;
+ }
+ return clientHeight;
+}
+
+
function bushu(){//一键部署功能
var a=confirm("请先复制好您生成的代码!!!!是否使用此功能,第一次使用需要下载peizhi.php!(请在官网进入使用手册下载)")
diff --git a/ide.html b/ide.html
index 569df26..fd21c21 100644
--- a/ide.html
+++ b/ide.html
@@ -19,7 +19,7 @@
-