优化首页信息

This commit is contained in:
hdm 2022-04-24 19:03:02 +08:00
parent ec1bd6c208
commit 9be61beb45
2 changed files with 53 additions and 37 deletions

View File

@ -5,7 +5,7 @@
.table-title {
font-size: 18px;
font-weight: 800;
padding: 15px 15px 0;
padding: 12px 12px 0;
}
.panel-num table {
width: 100%;
@ -55,14 +55,15 @@
.panel-more a {
color: #0088FF
}
.info-td{width:90px; text-align:right; background-color:#f8f8f8; color:#999; padding:5px 3px;}
</style>
{/block}
<!-- 主体 -->
{block name="body"}
<div class="layui-row layui-col-space15">
<div class="layui-row layui-col-space12">
<div class="layui-col-md8">
<div class="layui-row layui-col-space15">
<div class="layui-row layui-col-space12">
<div class="layui-col-md12">
<div class="layui-card panel-num">
<table>
@ -118,49 +119,63 @@
<table class="layui-table" lay-skin="" lay-size="sm">
{if condition="($install == true)"}
<tr>
<td colspan="4" style="color: #E94335; background-color:#f5f5f5">提醒发现app目录下的install文件夹没删除为了系统的安全,请手动去删除。</td>
<td colspan="4" style="color: #E94335; background-color:#f8f8f8">提醒发现app目录下的install文件夹没删除为了系统的安全,请手动去删除。</td>
</tr>
{/if}
<tr>
<td class="layui-td-gray">服务器系统</td>
<td class="info-td">服务器系统</td>
<td>{:get_system_info('os')}</td>
<td class="layui-td-gray">PHP版本</td>
<td class="info-td">PHP版本</td>
<td>{:get_system_info('php')}</td>
</tr>
<tr>
<td class="layui-td-gray">上传限制</td>
<td class="info-td">上传附件限制</td>
<td>{:get_system_info('upload_max_filesize')}</td>
<td class="layui-td-gray">执行限制</td>
<td class="info-td">执行时间限制</td>
<td>{:get_system_info('max_execution_time')}</td>
</tr>
<tr>
<td class="layui-td-gray">ThinkPHP</td>
<td colspan="3">{:TP_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:10px"
href="https://www.kancloud.cn/manual/thinkphp6_0" target="_blank">TP6文档</a></td>
</tr>
<tr>
<td class="layui-td-gray">Layui</td>
<td colspan="3">{:LAYUI_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:10px"
href="https://www.layui.site/doc/" target="_blank">Layui文档</a></td>
</tr>
<tr>
<td class="layui-td-gray">勾股OA</td>
<td colspan="3">{:CMS_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:10px"
<td class="info-td">勾股OA</td>
<td colspan="3">{:CMS_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:8px"
href="https://blog.gougucms.com/home/book/detail/bid/3.html" target="_blank">勾股OA文档</a></td>
</tr>
<tr>
<td class="layui-td-gray">BUG反馈</td>
<td class="info-td">ThinkPHP版本</td>
<td colspan="3">{:TP_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:8px" href="https://www.kancloud.cn/manual/thinkphp6_0" target="_blank">TP6文档</a></td>
</tr>
<tr>
<td class="info-td">Layui版本</td>
<td colspan="3">{:LAYUI_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:8px" href="https://www.layui.site/doc/" target="_blank">Layui文档</a></td>
</tr>
<tr>
<td class="info-td">BUG反馈</td>
<td colspan="3"><a href="mailto:hdm58@qq.com" target="_blank">hdm58@qq.com</a></td>
</tr>
<tr>
<td class="layui-td-gray">QQ交流群</td>
<td class="info-td">QQ交流群</td>
<td colspan="3">搜Q群24641076或点击 <a href="https://jq.qq.com/?_wv=1027&k=pxshRv6I" target="_blank" rel="nofollow"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="gougucms交流群" title="gougucms交流群" style="vertical-align:middle"></a></td>
</tr>
<tr>
<td class="layui-td-gray">同系开源软件</td>
<td colspan="3"><a class="layui-badge layui-bg-blue" style="margin-right:20px" href="https://gitee.com/gougucms/gougucms" target="_blank">勾股CMS</a><a class="layui-badge layui-bg-blue" style="margin-right:20px" href="https://gitee.com/gougucms/blog.git" target="_blank">勾股BLOG</a></td>
<td class="info-td">同系列开源软件</td>
<td colspan="3"><a class="layui-badge layui-bg-blue" style="margin-right:8px" href="https://gitee.com/gougucms/gougucms" target="_blank">勾股CMS</a><a class="layui-badge layui-bg-blue" style="margin-right:8px" href="https://gitee.com/gougucms/blog.git" target="_blank">勾股BLOG</a><a class="layui-badge layui-bg-blue" href="https://gitee.com/gougucms/dev" target="_blank">勾股DEV</a></td>
</tr>
<tr>
<td class="info-td">🍗🍗<br/>给作者加鸡腿<br/>🍗🍗</td>
<td colspan="3">
<img src="https://www.gougucms.com/static/home/images/zfb.png" data-event="pay" style="width:50%; max-width:100%; cursor:pointer;" align=center /><img src="https://www.gougucms.com/static/home/images/wx.png" data-event="pay" style="width:50%; max-width:100%; cursor:pointer;" align=center />
</td>
</tr>
</table>
<script>
$('body').on('click','[data-event="pay"]',function(){
var src=$(this).attr('src');
layer.open({
type:1,
title:'感谢您给作者加鸡腿🍗🍗',
content:'<img src="'+src+'" style="width:100%" align=center />',
});
})
</script>
</div>
</div>
<div class="layui-card">
@ -304,7 +319,7 @@
});
var ops = {
title: {
top: '15px',
top: '12px',
text: '今日与昨日员工活跃度',
left: '12px',
textStyle: {
@ -314,9 +329,9 @@
},
color: ["#1AAD19", "#1890FF"],
grid: {
left: '20px',
left: '16px',
right: '30px',
bottom: '15px',
bottom: '12px',
top: '60px',
containLabel: true
},
@ -334,7 +349,7 @@
},
legend: {
data: ["今日", "昨日"],
top: '18px',
top: '16px',
},
xAxis: [{
type: "category",
@ -391,9 +406,9 @@
let myChart = echarts.init(document.getElementById('chartYear'));
let option = {
title: {
top: '15px',
top: '12px',
text: '近一年员工活跃度',
left: '12px',
left: '10px',
textStyle: {
fontSize: '18',
color: '#333',

View File

@ -20,8 +20,8 @@
border-radius: 8px;
}
body.right-open{overflow-y:clip;}
div.layui-table-main::-webkit-scrollbar{width:15px;height:15px}
div.layui-table-main::-webkit-scrollbar-thumb{min-width:15px;min-height:15px;background-color:rgba(0,0,0,.15);background-clip:content-box;border:2px solid transparent;border-radius:15px}
div.layui-table-main::-webkit-scrollbar{width:12px;height:12px}
div.layui-table-main::-webkit-scrollbar-thumb{min-width:12px;min-height:12px;background-color:rgba(0,0,0,.15);background-clip:content-box;border:2px solid transparent;border-radius:12px}
div.layui-table-main::-webkit-scrollbar-track{background-color:transparent}
div.layui-table-main::-webkit-scrollbar-track:hover{background-color:rgba(0,0,0,.04)}
div.layui-table-main::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4);border:2px solid transparent}
@ -39,7 +39,7 @@
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #aaa;
}
.layui-card { box-shadow: 0 1px 3px 0 rgb(5 32 96 / 10%);}
.layui-card { box-shadow: 0 1px 3px 0 rgb(5 32 96 / 10%); margin-bottom:12px!important;}
.layui-table, .layui-table-view{margin:0}
.layui-table td,.layui-table th{padding:9px 10px;}
.layui-table-cell{padding:0 10px;}
@ -67,8 +67,8 @@
.layui-td-gray4{color:#999; width:150px; text-align:right; background-color:#f8f8f8;}
.layui-td-gray font,.layui-td-gray2 font,.layui-td-gray3 font{color:#FF6347; margin-left: 3px;}
.main-body{padding:12px;padding-bottom: 0; min-width: 868px;}
.body-content{background-color:#fff; padding:10px 15px;}
.body-table{background-color:#fff; margin-bottom:15px}
.body-content{background-color:#fff; padding:10px 12px;}
.body-table{background-color:#fff; margin-bottom:12px}
.h3-title{font-size:18px; height:39px; font-weight:800}
.h3-title2{font-size:18px; height:39px; font-weight:800; padding-top:20px}
.body-form-btn{padding:10px 0;}
@ -82,7 +82,7 @@
.span-color-6{color:#FF33CC;}
.span-color-7{color:#6699FF;}
.span-color-8{color:#CC9933;}
.layui-tab-title .layui-this:after {width:calc(100% - 35px );left:15px; min-width:65px;}
.layui-tab-title .layui-this:after {width:calc(100% - 35px );left:12px; min-width:65px;}
@keyframes layui-rl{
from{transform:translateX(0px);}to{transform:translateX(-100%);}
@ -108,7 +108,8 @@
.layui-anim-rl.layui-layer-iframe{
overflow:initial!important;
}
.right-popup-close{position: absolute;width:50px;height:44px;line-height:44px;text-align:center; left: -52px;right:0; top: 50px;background-color:#FF5722;color:#fff;border-radius:6px 0 0 6px; cursor:pointer; border:2px solid #fff;}
.right-popup-close{position: absolute;width:24px;height:60px; padding:30px 6px; line-height:30px;text-align:center; left: -38px;right:0; top: 20%;background-color:#FF5722;color:#fff;border-radius:6px 0 0 6px; cursor:pointer; border:2px solid #fff; border-right:none; font-weight:600; font-size:14px;}
.right-popup-close:hover{opacity:0.88}
.page-content{background-color:#fff;}