<?php
use wap\assets\AppAsset;
use yii\helpers\Url;
use yii\helpers\StringHelper;

$this->title = StringHelper::truncate($model['title'], 10);

/* @var $this \yii\web\View */

$asset = $this->getAssetManager()->getBundle(AppAsset::className());
?>

<div class="task-infowrap" style="background:#f7f7f7">
    <div class="task-info"> <span>消息内容</span><img src="<?= $asset->baseUrl ?>/images/taskinfoimg.png">
        <h4>【<?= $model['title'] ?>】</h4>
        <p><?= $model['content'] ?></p>
    </div>
</div>
