Files
lions-vote-backend/resources/views/index/index.blade.php
2022-05-04 15:41:02 +08:00

18 lines
666 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('layouts')
@section('content')
<ul class="ui-list ui-border-tb ">
@foreach($list as $vote)
<li onclick="window.location.href='{{ route('vote', $vote) }}'">
<div class="ui-list-img-square">
<span style="background-image:url(http://placeholder.qiniudn.com/188x188)"></span>
</div>
<div class="ui-list-info ui-border-t">
<h4 class="ui-nowrap">{{ $vote->title }}</h4>
<p class="ui-nowrap">这是内容加ui-nowrap可以超出长度截断</p>
</div>
</li>
@endforeach
</ul>
@endsection