Blame view

app-wx/views/site/index.php 613 Bytes
62d73041   xu   app-wx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
$assets = $this->getAssetManager();
$asset = $assets->getBundle('app\wx\assets\AppAsset');
?>

<div class="views">
    <div id="view-index" class="view view-main">
        <?=$this->render("/widgets/ui-loading")?>
    </div>
</div>
<?=$this->render("_index-template", ['engineer'=>$engineer, 'asset' => $asset])?>
<script>
    require.config({baseUrl: $site.assets_url + '/js/',urlArgs : "v=" + require.version});
    require([
        'site-app',
    ],
    function(app) {
        app.bootstrap({
            baseUrl: $site.base_url
        });
    });

</script>

<?=$this->render("/widgets/stat-code")?>