このコミットが含まれているのは:
テクニカル諏訪子 2021-02-06 13:19:25 +09:00
コミット 70d97e73c3
2個のファイルの変更6行の追加0行の削除

ファイルの表示

@ -76,6 +76,8 @@ class Prayer {
$res->comments['total'] += (isset($res->ytcomment['total']) ? $res->ytcomment['total'] : 0);
if (isset($res->ytcomment['come'])) $res->comments['come'] = array_merge($res->comments['come'], $res->ytcomment['come']);
DB::table('vid_video')->where('vid', $vid)->update(['view' => $res->view+1]);
return view('pages.site.video.prayer', ['res' => $res, 'menu' => $this->menu, 'user' => $this->user]);
}

ファイルの表示

@ -6,6 +6,10 @@
<div class="meta" style="text-align: right;">{{ $res->publish_date }}で公開</div>
<div class="back">
<video style="max-width: 813px; width: 100%; height: 458px;" poster="{{ $res->thumbnail }}" src="{{ $res->url }}" controls></video>
<div class="row">
<div class="col"><!----></div>
<div class="col" style="text-align: right; margin: 4px; font-size: 120%;">視聴数:{{ $res->view }}</div>
</div>
</div>
<div class="comment">
<div class="container-fluid">