Browse Source

一些优化

pull/35/head
xiaoz 6 years ago
parent
commit
2a5583e4ed
  1. 6
      application/views/admin/identify.php
  2. 4
      application/views/admin/tinypng.php
  3. 9
      application/views/user/found.php
  4. 2
      data/version.txt
  5. 7
      static/css/admin.css

6
application/views/admin/identify.php

@ -1,13 +1,13 @@
<div class="layui-container site"> <div class="layui-container site">
<div class="layui-row"> <div class="layui-row">
<div class="layui-col-lg8"> <div class="layui-col-lg12">
<div class="setting-msg"> <div class="setting-msg">
ImgURL需要使用Moderate Content提供的API来进行鉴黄识别,详细说明请参考帮助文档。 ImgURL需要使用Moderate Content提供的API来进行鉴黄识别,详细说明请参考<a href="https://doc.xiaoz.me/#/imgurl2/maintain?id=%E5%9B%BE%E7%89%87%E9%89%B4%E9%BB%84" rel = "nofollow" target = "_blank">帮助文档</a>
</div> </div>
<div class = "identify-msg"> <div class = "identify-msg">
<ol> <ol>
<li>由于某些原因可能接口会超时或者识别错误,建议配合 crontab 来定时识别图片。</li> <li>由于某些原因可能接口会超时或者识别错误,建议配合 crontab 来定时识别图片。</li>
<li>鉴黄接口地址为:/deal/identify_more</li> <li>鉴黄接口地址为: <a href="/deal/identify_more">/deal/identify_more</a> </li>
<li>Moderate Content无法做到100%精准,可能存在误判,识别后的图片会标记为可疑图片。</li> <li>Moderate Content无法做到100%精准,可能存在误判,识别后的图片会标记为可疑图片。</li>
</ol> </ol>
</div> </div>

4
application/views/admin/tinypng.php

@ -1,8 +1,8 @@
<div class="layui-container site"> <div class="layui-container site">
<div class="layui-row"> <div class="layui-row">
<div class="layui-col-lg8"> <div class="layui-col-lg12">
<div class="setting-msg"> <div class="setting-msg">
ImgURL需要使用TinyPNG提供的API来压缩图片,可同时设置2个API KEY,详细说明请查看帮助文档 ImgURL需要使用 <a href="https://tinypng.com/" rel = "nofollow" target = "_blank">TinyPNG</a> 提供的API来压缩图片,需要同时设置2个API KEY,详细说明请查看<a href="https://doc.xiaoz.me/#/imgurl2/maintain?id=%E5%9B%BE%E7%89%87%E5%8E%8B%E7%BC%A9" target = "_blank" rel = "nofollow">帮助文档</a>
</div> </div>
</div> </div>
<div class="layui-col-lg6"> <div class="layui-col-lg6">

9
application/views/user/found.php

@ -4,6 +4,15 @@
$this->load->helper('basic'); $this->load->helper('basic');
?> ?>
<div class="layui-container" style = "margin-top:2em;margin-bottom:6em;"> <div class="layui-container" style = "margin-top:2em;margin-bottom:6em;">
<div class="layui-row">
<div class="layui-col-lg12">
<!-- <div class="layui-btn-group">
<button class="layui-btn layui-btn-sm"> 默认</button>
<button class="layui-btn layui-btn-sm">浏览量</button>
<button class="layui-btn layui-btn-sm">高清</button>
</div> -->
</div>
</div>
<div class="layui-row layui-col-space5" id = "found"> <div class="layui-row layui-col-space5" id = "found">
<?php <?php
foreach ($imgs as $img) foreach ($imgs as $img)

2
data/version.txt

@ -1 +1 @@
v2.0-20190109 v2.0-20190110

7
static/css/admin.css

@ -12,10 +12,11 @@ body a{
} }
.setting-msg{ .setting-msg{
width:100%; width:100%;
color: #fff; color: #FF5722;
background-color: #fc7c5f; border-left: 3px solid #FF5722;
background-color: #F0F0F0;
padding:0.8em; padding:0.8em;
border-radius: 5px; border-radius: 1px;
margin-bottom:2em; margin-bottom:2em;
} }
.identify-msg{ .identify-msg{

Loading…
Cancel
Save