diff --git a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml index 1f0cd0a..b49c8f2 100644 --- a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml +++ b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml @@ -14,7 +14,7 @@ operate_time AS uploadTime, '1' AS sourceType, '违章照片' AS sourceTypeName, - '1' AS collectStatus + '0' AS collectStatus FROM sys_logs diff --git a/src/main/resources/static/css/synthesisQuery/synthesisQuery.css b/src/main/resources/static/css/synthesisQuery/synthesisQuery.css index c1c2511..bce03cb 100644 --- a/src/main/resources/static/css/synthesisQuery/synthesisQuery.css +++ b/src/main/resources/static/css/synthesisQuery/synthesisQuery.css @@ -196,7 +196,51 @@ body { height: 100%; justify-content: space-evenly; } +.hidden-btn>div{ + width: 50px; + height: 50px; + border-radius: 50px; + background-color: #fff; +} +.hidden-btn>div>div{ + width: 24px; + height: 24px; + cursor: pointer; +} +.img-view{ + background: url("../../img/synthesisQuery/view.png") no-repeat 0 0 / 100% 100% ; +} +.img-view:hover{ + background: url("../../img/synthesisQuery/view_check.png") no-repeat 0 0 / 100% 100% ; +} +.img-download{ + background: url("../../img/synthesisQuery/download.png") no-repeat 0 0 / 100% 100% ; +} +.img-download:hover{ + background: url("../../img/synthesisQuery/download_check.png") no-repeat 0 0 / 100% 100% ; +} + +.img-water{ + background: url("../../img/synthesisQuery/water.png") no-repeat 0 0 / 100% 100% ; +} +.img-water:hover{ + background: url("../../img/synthesisQuery/water_check.png") no-repeat 0 0 / 100% 100% ; +} + +.img-collect{ + background: url("../../img/synthesisQuery/collect.png") no-repeat 0 0 / 100% 100% ; +} +.img-collect:hover{ + background: url("../../img/synthesisQuery/collect_check.png") no-repeat 0 0 / 100% 100% ; +} + +.img-collect-check{ + background: url("../../img/synthesisQuery/collect_check.png") no-repeat 0 0 / 100% 100% ; +} +.img-collect-check:hover{ + background: url("../../img/synthesisQuery/collect.png") no-repeat 0 0 / 100% 100% ; +} .layui-input:hover, .layui-select:hover, .layui-textarea:hover { diff --git a/src/main/resources/static/img/synthesisQuery/collect.png b/src/main/resources/static/img/synthesisQuery/collect.png new file mode 100644 index 0000000..6df7f50 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/collect.png differ diff --git a/src/main/resources/static/img/synthesisQuery/collect_check.png b/src/main/resources/static/img/synthesisQuery/collect_check.png new file mode 100644 index 0000000..75dc4c0 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/collect_check.png differ diff --git a/src/main/resources/static/img/synthesisQuery/download.png b/src/main/resources/static/img/synthesisQuery/download.png new file mode 100644 index 0000000..312ea2b Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/download.png differ diff --git a/src/main/resources/static/img/synthesisQuery/download_check.png b/src/main/resources/static/img/synthesisQuery/download_check.png new file mode 100644 index 0000000..6fc79f8 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/download_check.png differ diff --git a/src/main/resources/static/img/synthesisQuery/view.png b/src/main/resources/static/img/synthesisQuery/view.png new file mode 100644 index 0000000..ea75d91 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/view.png differ diff --git a/src/main/resources/static/img/synthesisQuery/view_check.png b/src/main/resources/static/img/synthesisQuery/view_check.png new file mode 100644 index 0000000..3694c58 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/view_check.png differ diff --git a/src/main/resources/static/img/synthesisQuery/water.png b/src/main/resources/static/img/synthesisQuery/water.png new file mode 100644 index 0000000..255917c Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/water.png differ diff --git a/src/main/resources/static/img/synthesisQuery/water_check.png b/src/main/resources/static/img/synthesisQuery/water_check.png new file mode 100644 index 0000000..7190ed6 Binary files /dev/null and b/src/main/resources/static/img/synthesisQuery/water_check.png differ diff --git a/src/main/resources/static/js/synthesisQuery/synthesisQuery.js b/src/main/resources/static/js/synthesisQuery/synthesisQuery.js index 2cfa59d..b5aabad 100644 --- a/src/main/resources/static/js/synthesisQuery/synthesisQuery.js +++ b/src/main/resources/static/js/synthesisQuery/synthesisQuery.js @@ -99,10 +99,10 @@ function initImgData(list) { "

" + item.id.substr(0, 10) + "

" + " " + "
" + - " " + - " " + - " " + - (item.collectStatus === '0' ? "":"") + + "
" + + "
" + + "
" + + (item.collectStatus === '0' ? "
":"
") + "
" + " "); }) @@ -110,18 +110,19 @@ function initImgData(list) { return htmlArr; } +/**放大*/ function viewImg(item) { - + alert(item.id) } - +/**放大*/ function imgDownLoad(item) { - + alert(item.id) } - +/**水印下载*/ function waterImgDownLoad(item) { - + alert(item.id) } - +/**收藏*/ function collectImg(item,type) { - + alert(item.id) }