Initial commit,修正
This commit is contained in:
Executable
+31
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
use yii\helpers\Html;
|
||||
use yii\bootstrap\ActiveForm;
|
||||
use yii\helpers\Url;
|
||||
use yii\widgets\LinkPager;
|
||||
|
||||
fm_load()->fm_func('url');
|
||||
$atturl = Yii::$app->params['attachSrc'].Yii::$app->params['attachDir'];
|
||||
$this->title = '选择平台';
|
||||
?>
|
||||
<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['id']]);?>">
|
||||
<div class="thumbnail">
|
||||
<img alt="300x200" src="<?php echo fmFunc_url_img($plat['thumb'],$atturl)?>"/>
|
||||
<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')?>
|
||||
Reference in New Issue
Block a user