first commit

This commit is contained in:
云泽网
2025-07-27 21:42:34 +08:00
commit c1cce5ccb4
2779 changed files with 340042 additions and 0 deletions
+203
View File
@@ -0,0 +1,203 @@
.layui-form-label {
color: #6a6f6c;
width: 100px;
}
.layui-input-block {
margin-left: 130px;
}
.add-spec-value {
height: 38px;
line-height: 38px;
color: #4e8bff;
cursor: pointer;
}
.add-spec-value:hover {
color: #0641cb;
}
.goods-img-del-x {
display: none;
position: absolute;
z-index: 100;
top: -4px;
right: -2px;
width: 20px;
height: 20px;
font-size: 16px;
line-height: 16px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 10px;
}
.goods-li {
float: left;
opacity: 1;
position: relative;
}
.goods-img {
width: 80px;
height: 80px;
padding: 4px;
}
.goods-img-add {
font-size: 60px;
vertical-align: middle
}
.master-image{
margin-bottom:4px;
float: left;
position: relative;
}
.poster-image{
margin-bottom:4px;
float: left;
position: relative;
}
.goods-spec-img {
width: 48px;
height: 48px;
}
.goods-spec-del-x {
display: none;
position: absolute;
z-index: 100;
top: 15px;
right: 15px;
width: 18px;
height: 18px;
font-size: 16px;
line-height: 14px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 15px;
}
.goods-spec-value-del-x {
display: none;
position: absolute;
z-index: 100;
top: -8px;
right: -8px;
width: 20px;
height: 20px;
font-size: 15px;
line-height: 20px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 15px;
}
.goods-spec-img-del-x {
display: none;
position: absolute;
z-index: 100;
top: -2px;
right: 10px;
width: 20px;
height: 20px;
font-size: 16px;
line-height: 14px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 10px;
}
.goods-one-spec-img-del-x {
display: none;
position: absolute;
z-index: 100;
top: -2px;
right: 10px;
width: 20px;
height: 20px;
font-size: 16px;
line-height: 14px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 10px;
}
.goods-spec-value-input {
margin-bottom: 5px;
}
.goods-spec {
margin-top: 10px;
margin-bottom: 10px;
background-color: #f3f5f9;
padding: 10px;
}
.goods-spec-div {
position: relative;
}
.form-label-asterisk {
color: red;
padding-right: 5px
}
.spec-lists-table th {
text-align: center;
}
.spec-lists-table td {
text-align: center;
}
.batch-div{
padding-bottom: 10px;
padding-top: 10px;
}
.click-a {
color: #4685fd;
padding-right: 10px;
cursor: pointer;
}
.batch-spec-title{
color: #6a6f6c;
float: left;
}
.unit-tips{
float: left;
display: block;
padding: 9px 0!important;
line-height: 20px;
margin-right: 10px;
}
.show-video{
display: inline-block;
position: relative;
}
.goods-video-del-x {
display: none;
position: absolute;
z-index: 100;
top: -4px;
right: -16px;
width: 20px;
height: 20px;
font-size: 16px;
line-height: 16px;
color: #fff;
text-align: center;
cursor: pointer;
background: hsla(0, 0%, 60%, .6);
border-radius: 10px;
}
+89
View File
@@ -0,0 +1,89 @@
.layui-icon-file:before {
content: "\e623";
}
.add-border {
border-radius: 5px;
border: 2px solid #3B91FF;
background-color: #f1f5fa;
}
.white-border {
border: 2px solid #ffffff;
}
.img-border {
width: 130px;
height: 130px;
box-sizing: border-box;
padding: 5px;
}
.container {
display: flex;
justify-content: flex-start;
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background-color: #FFFFFF;
}
.cate-box {
flex-shrink: 0;
border-right: 1px #EEEEEE solid;
width: 200px;
}
.footer {
display: flex;
justify-content: space-between;
height: 55px;
min-height: 55px;
align-items: center;
padding: 0 30px;
position: fixed;
bottom: 0;
left: 201px;
right: 0;
border-top: 1px solid #EEEEEE;
background-color: #FFFFFF;
}
.footer #page {
margin: 0 20px;
}
.gallery {
flex: 1;
}
.gallery .img-lists li {
display: inline-block;
margin: 5px;
}
.gallery .img-lists .file-image {
width: 80%;
height: 80%;
vertical-align: middle;
/*transform: scale(0.98);*/
object-fit: contain;
}
.gallery .img-lists .file-name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100px;
}
/*分类名称*/
.layui-tree-txt {
width: 100px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

+101
View File
@@ -0,0 +1,101 @@
body {
}
.login {
min-width: 1180px;
width: 100vw;
height: 100vh;
background-color: #F6F6F6;
display: flex;
align-items: center;
justify-content: center;
}
.login-form-box {
display: flex;
}
.logo {
position: fixed;
top: 10px;
left: 40px;
}
.login-left .login-left-img{
width: 500px;
height: 500px;
}
.login-left .login-left-img img{
width: 100%;
height: 100%;
}
.login-right {
width: 500px;
height: 500px;
background-color: white;
}
.login-title {
font-size: 24px;
font-weight: 500;
margin-top: 40px;
margin-bottom: 50px;
}
.login-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.form-box-item {
width: 346px;
display: flex;
align-items: center;
height: 40px;
border:1px solid rgba(229,229,229,1);
margin-top: 16px;
}
.form-box-checked {
width: 346px;
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
height: 40px;
}
.submit-btn {
width:346px;
height:44px;
display: flex;
justify-content: center;
align-items: center;
color: white;
background-color: #2ad3b6;
border: none;
}
.icon {
width: 45px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border:1px solid rgba(229,229,229,1);
}
footer {
position: fixed;
bottom: 20px;
left: 40%;
font-size:12px;
color:rgba(112,112,112,1);
font-weight:400;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+108
View File
@@ -0,0 +1,108 @@
var Times = {
// 获取几天前日期
getDay: function(day){
var today = new Date();
var targetday_milliseconds=today.getTime() + 1000*60*60*24*day;
today.setTime(targetday_milliseconds);
var tYear = today.getFullYear();
var tMonth = today.getMonth();
var tDate = today.getDate();
tMonth = Times.doHandleMonth(tMonth + 1);
tDate = Times.doHandleMonth(tDate);
return tYear+"-"+tMonth+"-"+tDate;
}
// 处理月份
,doHandleMonth: function(month){
var m = month;
if(month.toString().length === 1){
m = "0" + month;
}
return m;
},
/**
* Notes: 日期时间格式 转 时间戳
* date: 日期时间 如: 2020-12-1 13:23:11
*/
tostrtime: function(date) {
return Date.parse(new Date(date)) / 1000;
},
timestampToTime: function(timestamp) {
var date = new Date(timestamp * 1000);
var Y = date.getFullYear() + '-';
var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-';
var D = date.getDate() + ' ';
var h = date.getHours() < 10 ? '0'+date.getHours() + ':' : date.getHours() + ':';
var m = date.getMinutes() < 10 ? '0'+date.getMinutes() + ':' : date.getMinutes() + ':';
var s = date.getSeconds() < 10 ? '0'+date.getSeconds() : date.getSeconds();
return Y + M + D + h + m + s;
},
/**
* Notes: 今天的开始时间和结束时间
* isStamp: 是否转成时间戳
*/
today: function(isStamp) {
isStamp = isStamp === undefined ? true : isStamp;
var start = Times.getDay(0) + " 00:00:00"
var end = Times.getDay(0) + " 23:59:59"
if (isStamp) {
start = Times.tostrtime(start);
end = Times.tostrtime(end);
}
return [start, end];
},
/**
* Notes: 本月开始和结束
* isStamp: 是否转成时间戳
*/
month: function(isStamp) {
isStamp = isStamp === undefined ? true : isStamp;
var date=new Date();
// 开始时间
var Year = date.getFullYear();
var Month = (date.getMonth() +1) < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1;
var start = Year + '-' + Month + '-01 00:00:00'
// 结束时间
var currentMonth=date.getMonth();
var nextMonth=++currentMonth;
var nextMonthFirstDay=new Date(date.getFullYear(),nextMonth,1);
var oneDay=1000*60*60*24;
var lastDate = new Date(nextMonthFirstDay-oneDay);
var endDate = lastDate.getFullYear()+"-"+((lastDate.getMonth()+1)<10?"0":"")+(lastDate.getMonth()+1)+"-"+(lastDate.getDate()<10?"0":"")+lastDate.getDate();
var end = endDate + ' 23:59:59';
if (isStamp) {
start = Times.tostrtime(start);
end = Times.tostrtime(end);
}
return [start, end];
},
/**
* 获取几天前零点到现在/昨日结束的时间
* Notes: 本月开始和结束
* isStamp: 是否转成时间戳
*/
dayToNow: function(day, isStamp){
day = day === undefined ? -1 : day;
isStamp = isStamp === undefined ? true : isStamp;
var start = Times.getDay(day) + " 00:00:00";
var end = Times.getDay(day) + " 23:59:59";
if (isStamp) {
start = Times.tostrtime(start);
end = Times.tostrtime(end);
}
return [start, end];
},
/**
* 获取当前时间戳
*/
curTimestamp : function() {
return Date.parse(new Date()) / 1000
}
};
File diff suppressed because one or more lines are too long
+118
View File
@@ -0,0 +1,118 @@
function getImageWidth(url, callback) {
var img = new Image();
img.src = url;
if (img.complete) {
callback(img.width, img.height);
} else {
img.onload = function () {
callback(img.width, img.height);
}
}
}
function in_array(search,array){
for(var i in array){
if(array[i]==search){
return true;
}
}
return false;
}
function uniq(array){
var temp = [];
for(var i = 0; i < array.length; i++){
if(temp.indexOf(array[i]) == -1){
temp.push(array[i]);
}
}
return temp;
}
//判断字符串是否为空格
function isEmptyString(str) {
str = str.replace(/(^\s*)|(\s*$)/g, "");
if (str.length == 0) {
return true;
}
return false;
}
//数组去重
function unique(arr){
var hash=[];
for (var i = 0; i < arr.length; i++) {
if(hash.indexOf(arr[i])==-1){
hash.push(arr[i]);
}
}
return hash;
}
//元素交换
function swop(first, second) {
html = first.html();
first.html(second.html());
second.html(html);
}
//笛卡尔积生成
function cartesianProduct(arr) {
if (arr.length < 2) return arr[0] || [];
return [].reduce.call(arr, function (col, set) {
let res = [];
col.forEach(c => {
set.forEach(s => {
let t = [].concat(Array.isArray(c) ? c : [c]);
t.push(s);
res.push(t);
})
});
return res;
});
}
//元素交换
function swop(first, second) {
html = first.html();
first.html(second.html());
second.html(html);
}
//数组去重
function unique(arr){
var hash=[];
for (var i = 0; i < arr.length; i++) {
if(hash.indexOf(arr[i])==-1){
hash.push(arr[i]);
}
}
return hash;
}
//转换数组格式
function array_column(data,key) {
var result = [];
for(var i in data){
result[data[i][key]] = data[i];
}
return result;
}
function array_unique(arr){
for(var i=0; i<arr.length; i++){
for(var j=i+1; j<arr.length; j++){
if(arr[i]==arr[j]){
arr.splice(j,1);
j--;
}
}
}
return arr;
}
/**
* 判断是否为整数
* @param obj
* @returns {boolean}
*/
function isInteger(obj) {
return obj % 1 === 0
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/** layui-v2.4.3 MIT License By https://www.layui.com */
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Some files were not shown because too many files have changed in this diff Show More