码迷,mamicode.com
首页 > Web开发 > 详细

饭侠View.php

时间:2018-04-23 15:50:52      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:pre   render   blocks   oba   this   ack   head   register   nbsp   

<?= $this->render($templateData);?>

<script>
    <?php $this->beginBlock(js) ?>
    var _global={
        mallId:<?= $mallId ?>,
        openId:"<?= $openId ?>",
        customerId:"<?= $customerId ?>"
    }
    <?php $this->endBlock() ?>
</script>
<?php $this->registerJs($this->blocks[‘js‘], \yii\web\View::POS_HEAD); ?>

 

饭侠View.php

标签:pre   render   blocks   oba   this   ack   head   register   nbsp   

原文地址:https://www.cnblogs.com/MR-cui/p/8918816.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!