diff --git a/web_src/js/components/Images.vue b/web_src/js/components/Images.vue
index 40a2ff18f..b6a246fb3 100644
--- a/web_src/js/components/Images.vue
+++ b/web_src/js/components/Images.vue
@@ -13,7 +13,7 @@
-
+
搜索
@@ -44,7 +44,7 @@
@@ -55,14 +55,14 @@
{{ scope.row.place }}
- {{ scope.row.description }}
+ {{ scope.row.description | clearP}}
+
+ {{scope.row.createtime | transformTimestamp}}
+
@@ -99,7 +102,7 @@
-
+
搜索
@@ -132,7 +135,7 @@
@@ -143,7 +146,7 @@
@@ -151,7 +154,7 @@
{{ scope.row.place }}
- {{ scope.row.description }}
+ {{ scope.row.description | clearP }}
+
+ {{scope.row.createtime | transformTimestamp}}
+
@@ -315,7 +321,7 @@ export default {
},
- handleCurrentChange1(){
+ handleCurrentChange1(val){
this.params1.page = val
this.getImageList1()
@@ -366,6 +372,37 @@ export default {
}
},
+ filters:{
+
+
+
+
+ clearP(value){
+ console.log("sorce value",value)
+ if(!value) return ''
+ const reg = /\<\/?p\>/g;
+ value = value.replace(reg,'')
+ console.log("repalace:",value)
+ return value
+
+ },
+ transformTimestamp(timestamp){
+ console.log("timestamp",timestamp)
+ let a = new Date(timestamp).getTime();
+ const date = new Date(a);
+ const Y = date.getFullYear() + '-';
+ const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
+ const D = (date.getDate() < 10 ? '0'+date.getDate() : date.getDate()) + ' ';
+ const h = (date.getHours() < 10 ? '0'+date.getHours() : date.getHours()) + ':';
+ const m = (date.getMinutes() <10 ? '0'+date.getMinutes() : date.getMinutes()) + ':' ;
+ const s = (date.getSeconds() <10 ? '0'+date.getSeconds() : date.getSeconds()) ; // 秒
+ const dateString = Y + M + D + h + m + s;
+ // console.log('dateString', dateString); // > dateString 2021-07-06 14:23
+ return dateString;
+ },
+
+
+ },
watch:{
search(val){
if(!val && this.activeName=='first'){
@@ -407,8 +444,57 @@ export default {
.el-table thead{
background-color: #f5f5f6;
}
+/deep/ .el-tabs__item:hover{
+ color: #000;
+ font-weight: 500;
+
+}
+/deep/ .el-tabs__item.is-active {
+ color: #000;
+ font-weight: 500;
+}
+/deep/ .el-tabs__active-bar{
+ background-color:#000
+}
+
+/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
+ background-color: #5bb973;
+ color: #FFF;
+}
+/deep/ .el-pagination.is-background .el-pager li.active {
+ color: #fff;
+ cursor: default;
+}
+/deep/ .el-pagination.is-background .el-pager li:hover {
+ color: #5bb973;
+}
+/deep/ .el-pagination.is-background .el-pager li:not(.disabled):hover {
+ color: #5bb973;
+}
+/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active:hover {
+ background-color: #5bb973;
+ color: #FFF;
+}
+
+/deep/ .el-pager li.active {
+ color: #08C0B9;
+ cursor: default;
+}
+/deep/ .el-pagination .el-pager li:hover {
+ color: #08C0B9;
+}
+/deep/ .el-pagination .el-pager li:not(.disabled):hover {
+ color: #08C0B9;
+}
+/* /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active{
+ background-color: #5bb973;
+ color: #000;
+} */
+/* /deep/ .el-pager li:hover{
+ color: #000;
+} */
#success{
- background-color: #4093ff;
+ background-color: #5bb973;
color: white;
}
.text-over{