summaryrefslogtreecommitdiffstats
path: root/bangumi.php
diff options
context:
space:
mode:
authorKengwang <1136772134@qq.com>2020-05-23 11:22:37 +0800
committerKengwang <1136772134@qq.com>2020-05-23 11:22:37 +0800
commit92dd977271b2aa3490782f1be1dffddbd0172903 (patch)
treeba7f7187a103ced15ecf2242147231fe13a31a2b /bangumi.php
parent0ea95b970cf2e5dbf016ac246f8185ae8dfac3ed (diff)
🍳 Fixed: 追番进度偶发性错误
针对于 #55 进行修复 假如有空的话 @BigCoke233 大佬可以改一下UI的样子
Diffstat (limited to 'bangumi.php')
-rwxr-xr-xbangumi.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/bangumi.php b/bangumi.php
index 003e7af..1cc8439 100755
--- a/bangumi.php
+++ b/bangumi.php
@@ -104,6 +104,10 @@ if ($_GET['dbg'] == 'rawlist') {
</div>
<div class="bangumi-content">
<h3 class="bangumi-title" title="<?php echo $bangumi['title']; ?>"><?php echo $bangumi['title']; ?></h3>
+ <?php
+ //番剧进度开始
+ if ($bangumi['both_follow']):
+ ?>
<div class="bangumi-progress" style="width:100%">
<div class="bangumi-progress-bar"
style="width:<?php
@@ -138,6 +142,10 @@ if ($_GET['dbg'] == 'rawlist') {
<div class="bangumi-progress-num">进度:<?php echo $ep;
echo ' / ';
echo $total; ?></div>
+ <?php
+ endif;
+ //番剧进度结束
+ ?>
</div>
</a>
</div>