+ [task#125045 doing, 1h] Add instruction page.

This commit is contained in:
liyang
2024-08-12 13:52:43 +08:00
committed by 曹延义
parent 0fe825fe8a
commit 67f5fc24dd
+24 -7
View File
@@ -9,12 +9,29 @@ declare(strict_types=1);
* @link https://www.zentao.net
*/
namespace zin;
h::iframe
div
(
set::width('100%'),
set::id('iframe-instruction'),
set::frameborder(0),
set::src('https://www.zentao.net/book/zentaopms/978.html?fullScreen=zentao&theme=default'),
on::init()->call('window.getIframeHeight')
set::className('space-y-4'),
div
(
h3($lang->zanode->instructionPage->title),
div
(
set::className('leading-normal'),
$lang->zanode->instructionPage->desc
)
),
div
(
h5($lang->zanode->instructionPage->imageInstruction),
img(set::className('w-1/2'), set::src($lang->zanode->instructionPage->image))
),
div
(
h5($lang->zanode->instructionPage->h1),
div(set::className('leading-normal whitespace-pre-line'), $lang->zanode->instructionPage->h1Desc),
),
div
(
)
);