更新+修复媒体管理修改

This commit is contained in:
tyt 2024-06-15 16:03:35 +08:00
parent 047d46950d
commit 9840085703
11 changed files with 6644 additions and 170 deletions

View File

@ -165,6 +165,13 @@
<span>2024.05.30</span>
</li>
</ul>
<ul>
<li>
<a href="https://ledok.cn:8443/download/R56S Datasheet-V1.1.pdf" target="_blank" title="R56S Datasheet-V1.1">R56S Datasheet-V1.1.pdf</a>
<span>规格书</span>
<span>2024.05.30</span>
</li>
</ul>
</div>
</div>
</div>

View File

@ -164,7 +164,14 @@
<div class="document-ul-box">
<ul>
<li>
<a href="https://ledok.cn:8443/download/RS5A规格书-V1.2.pdf" target="_blank" title="RS5A规格书-V1.3">RS5A规格书-V1.2.pdf</a>
<a href="https://ledok.cn:8443/download/RS5A规格书-V1.3.pdf" target="_blank" title="RS5A规格书-V1.3">RS5A规格书-V1.3.pdf</a>
<span>规格书</span>
<span>2024.05.30</span>
</li>
</ul>
<ul>
<li>
<a href="https://ledok.cn:8443/download/RS5A Datasheet-V1.3.pdf" target="_blank" title="RS5A Datasheet-V1.3">RS5A Datasheet-V1.3.pdf</a>
<span>规格书</span>
<span>2024.05.30</span>
</li>

View File

@ -175,6 +175,13 @@
<span>2024.05.30</span>
</li>
</ul>
<ul>
<li>
<a href="https://ledok.cn:8443/download/RS5S Datasheet-V1.3.pdf" target="_blank" title="RS5S Datasheet-V1.3">RS5S Datasheet-V1.3.pdf</a>
<span>规格书</span>
<span>2024.05.30</span>
</li>
</ul>
</div>
</div>
</div>

View File

@ -189,7 +189,7 @@
<div class="document-ul-box">
<ul>
<li>
<a href="https://ledok.cn:8443/download/ST40规格书-V1.1.pdf" target="_blank" title="ST40规格书-V1.1.pdf">ST40规格书-V1.1.pdf</a>
<a href="https://ledok.cn:8443/download/ST40规格书-V1.2.pdf" target="_blank" title="ST40规格书-V1.2.pdf">ST40规格书-V1.2.pdf</a>
<span>规格书</span>
<span>2024.03.13</span>
</li>

View File

@ -96,42 +96,33 @@
font-size: .8333vw;
}
.form-group .form-control,
.form-group .form-select {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
.form-group .form-control,
.form-group .form-file,
.form-group select {
padding-left: 8px;
padding: 8px 30px 8px 14px;
border: 1px solid #ccc;
border-radius: 0.2vw;
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group .form-select option {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
border: 1px solid #ccc;
border-radius: 0.2vw;
.form-group .form-file {
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group select {
margin-right: 0.6333vw;
}
.form-group button {
width: 40px;
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
width: 40px;
height: 28px;
line-height: 28px;
padding: auto;
padding: 8px 12px;
border-radius: 2px;
}
@ -169,14 +160,40 @@
.layui-table td,
.layui-table th {
position: relative;
height: 28px;
line-height: 28px;
height: 35px;
line-height: 35px;
}
.layui-table td,
.layui-table th {
padding: 0px;
}
/* @media screen and (max-width: 460px) {
.form-group>div {
font-size:16px;
}
.form-group .form-control,
.form-group .form-file,
.form-group select {
font-size:16px;
}
.form-group .form-file {
font-size:16px;
}
.form-group button {
font-size:16px;
}
.layui-table tbody th,
.layui-table tbody td {
font-size: 16px;
}
} */
</style>
<body>
@ -335,7 +352,7 @@
<div style="display: flex;flex-wrap: wrap;">
<div class="form-group">
<div>请选择分辨率:</div>
<select class="form-select" id="selectResolutionRatio" onchange="searchFile()">
<select id="selectResolutionRatio" onchange="searchFile()">
<option value="64_16">64_16</option>
<option value="64_32">64_32</option>
<option value="64_64">64_64</option>
@ -350,9 +367,8 @@
</div>
<div class="form-group">
<input type="file" id="file" style="border: none;">
<button type="button" id="btnUpload" style="width: 80px;"
onclick="uploadFile()">上传文件</button>
<input class="form-file" type="file" id="file" style="border: none;">
<button type="button" id="btnUpload" onclick="uploadFile()">上传文件</button>
</div>
</form>
<div id="fileTable">
@ -486,7 +502,8 @@
});
html += "</tbody></table>"
$("#fileTable").html(html);
} else {
} else {
console.log('打印测试')
var html = "<table border=1><thead><tr><td>文件名称</td><td>操作</td></tr></thead><tbody><tr><td colspan=2>暂无数据</td></tr></tbody><table>";
$("#fileTable").html(html);
}

View File

@ -297,6 +297,51 @@
<h5>RS5S规格书-V1.3.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/RS5S Datasheet-V1.3.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>RS5S Datasheet-V1.3.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/RS5A规格书-V1.3.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>RS5A规格书-V1.3.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/RS5A Datasheet-V1.3.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>RS5A Datasheet-V1.3.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/R56S规格书-V1.1.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>R56S规格书-V1.1.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/R56S Datasheet-V1.1.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>R56S Datasheet-V1.1.pdf</h5>
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/RLB1规格书-V1.2.pdf" class="left"
target="_blank">

View File

@ -236,12 +236,12 @@
</a>
</div>
<div class="box">
<a href="https://ledok.cn:8443/download/ST40规格书-V1.1.pdf" class="left"
<a href="https://ledok.cn:8443/download/ST40规格书-V1.2.pdf" class="left"
target="_blank">
<div class="TextIcon">
<img src="/static/image/pdfDownload.png" alt="" />
</div>
<h5>ST40规格书-V1.1.pdf</h5>
<h5>ST40规格书-V1.2.pdf</h5>
</a>
</div>
</div>

View File

@ -124,16 +124,36 @@
width: 100%;
height: 62%;
}
.consumerBottom{
width: 100%;
height: 45px;
margin-right: 10px;
position: absolute;
bottom: 0px;
display: flex;
justify-content: flex-end;
align-items: center;
.consumerBottom {
width: 100%;
height: 50px;
margin-right: 10px;
position: absolute;
bottom: 0px;
display: flex;
justify-content: flex-end;
align-items: center;
}
.consumerBottom button {
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
padding: 8px 12px;
border-radius: 2px;
}
.bgRed {
background-color: #d35c5d;
}
.bgBlue {
background-color: lightsteelblue;
}
.form-group {
display: flex;
align-items: center;
@ -145,70 +165,124 @@ align-items: center;
font-size: .8333vw;
}
.form-group .form-control,
.form-group .form-select {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
.form-group .form-control,
.form-group .form-file,
.form-group select {
padding-left: 8px;
padding: 8px 30px 8px 14px;
border: 1px solid #ccc;
border-radius: 0.2vw;
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group .form-select option {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
border: 1px solid #ccc;
border-radius: 0.2vw;
.form-group .form-file {
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group select {
margin-right: 0.6333vw;
}
.form-group button {
width: 40px;
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
width: 40px;
height: 28px;
line-height: 28px;
padding: auto;
padding: 8px 12px;
border-radius: 2px;
}
.btns {
width: 40px;
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
width: 40px;
height: 28px;
line-height: 28px;
padding: auto;
padding: 8px 12px;
border-radius: 2px;
}
@media screen and (max-width: 750px) {
.form-group {
display: block;
}
.form-group>div{
margin-bottom: 5px;
}
.form-group .form-control{
width: 80%;
}
}
.layui-table {
width: 100%;
margin: 0px;
}
.layui-table thead th,
.layui-table thead td {
text-align: center;
}
.layui-table thead th {
background-color: #9dc9ff;
font-size: 0.9375vw;
font-weight: 700;
}
.layui-table tbody th,
.layui-table tbody td {
font-size: 0.8333vw;
}
.layui-table td,
.layui-table th {
position: relative;
height: 35px;
line-height: 35px;
}
.layui-table td,
.layui-table th {
padding: 0px;
}
@media screen and (max-width: 460px) {
.form-group {
display: block;
}
.form-group>div {
font-size: 16px;
margin-bottom: 5px;
display: none;
}
.form-group .form-control {
width: 80%;
}
.form-group .form-control,
.form-group .form-file,
.form-group select {
font-size: 16px;
}
.form-group .form-file {
font-size: 16px;
}
.form-group button {
font-size: 16px;
}
.layui-table tbody th,
.layui-table tbody td {
font-size: 16px;
}
.consumerContent {
width: 80%;
height: 40%;
}
.consumerBottom button {
font-size: 16px;
}
}
</style>
@ -376,10 +450,10 @@ align-items: center;
</div>
</form>
</div>
<div class="consumerBottom" >
<div class="consumerBottom">
<button type="button" onclick="consumerClose()"
style="background-color:lightsteelblue ;margin-right: 15px;" class="btns btn-default">取消</button>
<button type="button" onclick="consumerConfirm()" class="btns btn-primary"
style="background-color:lightsteelblue ;margin-right: 15px;" class="btn-default">取消</button>
<button type="button" onclick="consumerConfirm()" class="btn-primary"
style="background-color:lightsteelblue ;margin-right: 10px;">确定</button>
</div>
</div>

View File

@ -222,7 +222,7 @@
<form>
<div class="form-group">
<button type="button" onclick="consumerUploadShow()"
style="margin-right: 10px;width: 80px;">添加素材</button>
style="margin-right: 10px;">添加素材</button>
<select class="form-select" id="consumerSelectResolutionRatio" onchange="consumerList()">
<option value="">请选择分辨率</option>
@ -288,8 +288,8 @@
<div class="consumerBottom">
<button type="button" onclick="consumerClose()"
style="background-color:lightsteelblue ;margin-right: 15px;"
class="btns btn-default">取消</button>
<button type="button" onclick="consumerUpload()" class="btns btn-primary"
class="btn-default">取消</button>
<button type="button" onclick="consumerUpload()" class="btn-primary"
style="background-color:lightsteelblue ;margin-right: 10px;">确定</button>
</div>
</div>
@ -301,7 +301,7 @@
<div class="form-group">
<div>请输入像素:</div>
<input id="resolutionInput" class="form-control" style="margin-right: 10px;" type="text">
<button type="button" onclick="consumerResolutionAdd()" class="btn btn-primary">添加</button>
<button type="button" onclick="consumerResolutionAdd()" class="btn-primary">添加</button>
</div>
</form>
<div id="consumerResolutionTable">
@ -315,7 +315,7 @@
<div class="form-group">
<div>请输入公司名:</div>
<input id="companyInput" class="form-control" style="margin-right: 10px;" type="text">
<button type="button" onclick="consumerCompanyAdd()" class="btn btn-primary">添加</button>
<button type="button" onclick="consumerCompanyAdd()" class="btn-primary">添加</button>
</div>
</form>
<div id="consumerCompanyTable">
@ -475,87 +475,64 @@
transition: all 0.3s;
}
.bgRed {
background-color: #d35c5d;
}
background-color: #d35c5d;
}
.bgBlue {
background-color: lightsteelblue;
}
.bgBlue {
background-color: lightsteelblue;
}
.bgRed {
background-color: #d35c5d;
}
.form-group {
display: flex;
align-items: center;
margin-bottom: 0.6333vw;
}
.bgBlue {
background-color: lightsteelblue;
}
.form-group>div {
margin-right: 0.6333vw;
font-size: .8333vw;
}
.form-group {
display: flex;
align-items: center;
margin-bottom: 0.6333vw;
}
.form-group>div {
margin-right: 0.6333vw;
font-size: .8333vw;
}
.form-group .form-control,
.form-group .form-file,
.form-group select {
padding-left: 8px;
padding: 8px 30px 8px 14px;
border: 1px solid #ccc;
border-radius: 0.2vw;
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group .form-control,
.form-group .form-select {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
.form-group .form-file {
font-size: 0.8333vw;
}
border: 1px solid #ccc;
border-radius: 0.2vw;
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group select {
margin-right: 0.6333vw;
}
.form-group .form-select option {
width: 200px;
height: 28px;
line-height: 28px;
padding-left: 8px;
.form-group button {
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
padding: 8px 12px;
border-radius: 2px;
}
border: 1px solid #ccc;
border-radius: 0.2vw;
font-size: 0.8333vw;
box-sizing: border-box;
}
.form-group button {
width: 40px;
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
width: 40px;
height: 28px;
line-height: 28px;
padding: auto;
border-radius: 2px;
}
.btns {
width: 40px;
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
width: 40px;
height: 28px;
line-height: 28px;
padding: auto;
border-radius: 2px;
}
.btns {
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
padding: 8px 12px;
border-radius: 2px;
}
.layui-table {
width: 100%;
@ -580,8 +557,8 @@
.layui-table td,
.layui-table th {
position: relative;
height: 28px;
line-height: 28px;
height: 35px;
line-height: 35px;
}
.layui-table td,
@ -621,7 +598,7 @@
z-index: 10000;
background-color: #ffffff;
width: 30%;
height: 30%;
height: 35%;
margin-top: 10%;
border-radius: 2%;
}
@ -644,7 +621,7 @@
}
.consumerBottom{
width: 100%;
height: 45px;
height: 50px;
margin-right: 10px;
position: absolute;
bottom: 0px;
@ -652,30 +629,68 @@
justify-content: flex-end;
align-items: center;
}
.consumerBottom button{
background-color: lightsteelblue;
color: #fff;
border: none;
cursor: pointer;
font-size: 0.8333vw;
padding: 8px 12px;
border-radius: 2px;
}
@media screen and (max-width: 750px) {
@media screen and (max-width: 460px) {
.tab-content{
overflow: scroll;
}
.tab-links li a{
font-size: 16px;
}
.pager ul li{
font-size: 12px;
}
.form-group {
display: block;
}
.form-group>div {
font-size: 16px;
margin-bottom: 5px;
display: none;
}
.form-group .form-control {
width: 80%;
}
}
@media screen and (max-width: 600px) {
.form-group .form-control,
.form-group .form-file,
.form-group select {
.layui-table td,
.layui-table th {
position: relative;
height: 24px;
line-height: 24px;
font-size: 16px;
}
.form-group .form-file {
font-size: 16px;
}
.form-group button {
font-size: 16px;
}
.layui-table tbody th,
.layui-table tbody td {
font-size: 12px;
}
.consumerContent {
width: 80%;
height: 40%;
}
.consumerBottom button {
font-size: 16px;
}
}
</style>
<script>

View File

@ -7684,7 +7684,7 @@ pre code {
color: #bababa;
}
select {
/* select {
border: .0521vw solid #ccc;
background: #fff;
-webkit-border-radius: .2604vw;
@ -7697,7 +7697,7 @@ select {
margin-right: .5208vw;
-webkit-box-shadow: 0 0 .2604vw #eee;
box-shadow: 0 0 .2604vw #eee;
}
} */
select:disabled {
background-color: #eef1f6;

File diff suppressed because one or more lines are too long