33 lines
936 B
PHP
Executable File
33 lines
936 B
PHP
Executable File
<?php
|
|
|
|
/* @var $this yii\web\View */
|
|
use yii\helpers\Html;
|
|
use yii\bootstrap\ActiveForm;
|
|
use yii\helpers\Url;
|
|
use yii\widgets\LinkPager;
|
|
|
|
$this->title = '选择平台';
|
|
$plats = [
|
|
['pid'=>1,'title'=>'情景海湾','thumb'=>Yii::getAlias('@web').'/img/nopic.jpg']
|
|
];
|
|
?>
|
|
<div class="wrapper wrapper-content">
|
|
<div class="row">
|
|
<?php foreach($plats as $plat){?>
|
|
<div class="col-sm-4 col-md-3">
|
|
<a href="<?php echo Url::toRoute(['index/index','pid'=>$plat['pid']]);?>">
|
|
<div class="thumbnail">
|
|
<img alt="300x200" src="<?php echo $plat['thumb']?>"/>
|
|
<div class="caption" style="text-align: center;">
|
|
<h3>
|
|
<?php echo $plat['title']?>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
<?=Html::jsFile('@web/js/welcome.min.js?v=1.0.0')?>
|