🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
命名空间: ~~~ builder\widget ~~~ ```php WidgetFacade::echo2Return(function () { \yii\bootstrap4\Modal::$autoIdPrefix = 'ModalB4'; \yii\bootstrap4\Modal::begin([ 'title' => 'ModalB4 title', 'bodyOptions' => [ 'class' => 'text-center', ], 'toggleButton' => [ 'label' => 'ModalB4 btn', 'class' => 'layui-btn layui-btn-sm layui-btn-primary', ], ]); echo implode("\n", array_fill(0, 100, 'ModalB4 content')); \yii\bootstrap4\Modal::end(); }), ```