Commit d5010858 by 汪伟伟

a

parent 395dc568
...@@ -74,6 +74,7 @@ class TasController extends AdminController ...@@ -74,6 +74,7 @@ class TasController extends AdminController
} }
} }
$com['user'] = $username; $com['user'] = $username;
$com['refer'] = filter_var($com['refer'], FILTER_VALIDATE_URL) !== false ?"<a href={$com['refer']} target='_blank' style='color: #00b44e'>点击查看</a>":$com['refer'];
array_unshift($com, $key + 1); array_unshift($com, $key + 1);
$com['action'] = '<a style="margin-right:2%" href="/tasks/' . $com['id'] . '?type=1"><i class=""></i> <span class="text-success">查看 </span></a> $com['action'] = '<a style="margin-right:2%" href="/tasks/' . $com['id'] . '?type=1"><i class=""></i> <span class="text-success">查看 </span></a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment