2d14e9803042024484d4330ed3d86305.json 24 KB

1
  1. {"remainingRequest":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/log/login/index.vue?vue&type=style&index=0&id=3cc4c692&lang=scss&scoped=true","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/log/login/index.vue","mtime":1708395041887},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/css-loader/dist/cjs.js","mtime":1708395146948},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":1708395147772},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/postcss-loader/src/index.js","mtime":1708395147225},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/sass-loader/dist/cjs.js","mtime":1708395146389},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js","mtime":1708395147382}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo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ow0KfQ0KDQouc2VhcmNoQnRuOmhvdmVyIHsNCiAgYmFja2dyb3VuZC1jb2xvcjogIzRkODVmNDsNCn0NCg0KLnJlc2V0QnRuIHsNCiAgY3Vyc29yOiBwb2ludGVyOw0KICBjb2xvcjogIzU2NTY1NjsNCiAgZm9udC1zaXplOiAxNHB4Ow0KICBib3JkZXI6IDFweCBzb2xpZCAjZDdkN2Q3Ow0KICB3aWR0aDogODBweDsNCiAgaGVpZ2h0OiA0MHB4Ow0KICB0ZXh0LWFsaWduOiBjZW50ZXI7DQogIGxpbmUtaGVpZ2h0OiA0MHB4Ow0KfQ0KDQoucmVzZXRCdG46aG92ZXIgew0KICBjb2xvcjogIzFmOWZmZjsNCiAgYm9yZGVyOiAxcHggc29saWQgIzFmOWZmZjsNCiAgYmFja2dyb3VuZDogbm9uZTsNCn0NCg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoSA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/log/login","sourcesContent":["<template>\r\n <div class=\"dashboard-container\">\r\n <!-- <div class=\"dashboard-text\">\r\n <div style=\"padding: 15px; background: #fff; margin-top: -15px\">\r\n <el-row gutter=\"24\" :gutter=\"24\" type=\"flex\" style=\"flex-wrap: wrap;margin-left: -5px;\">\r\n <el-input style=\"width: 220px;margin-left: 10px;\" placeholder=\"请输入登陆地址\" v-model=\"queryParams.ipaddr\"></el-input>\r\n <el-input style=\"width: 220px;\" placeholder=\"请输入用户名称\" v-model=\"queryParams.userName\"></el-input>\r\n <el-select clearable placeholder=\"请选择状态\" v-model=\"queryParams.status\" style=\"width: 220px;\">\r\n <el-option v-for=\"item in statusOptions\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\">\r\n </el-option>\r\n </el-select>\r\n <el-row gutter=\"24\" justify=\"end\" type=\"flex\" style=\"margin-top: 5px;margin-right:20px\">\r\n <div class=\"search-btn\" v-if=\"searchShow\" :span=\"6\" justify=\"end\" style=\"display: flex; margin-top: 2px\"\r\n type=\"flex\">\r\n <div class=\"search_btn\" style=\"margin-left: 10px;position: relative;top: -5px;\" @click=\"handleQuery\">\r\n 查询\r\n </div>\r\n <div class=\"reset_btn\" style=\"margin-left: 10px;position: relative;top: -5px;\" @click=\"reset\">\r\n 重置\r\n </div>\r\n <el-button v-if=\"searchShow == false\" type=\"text\" icon=\"el-icon-arrow-up\"\r\n style=\"color: #2766dd !important; margin-left: 10px\" @click=\"searchShow = true\">收起</el-button>\r\n <el-button v-if=\"searchShow == true\" type=\"text\"\r\n style=\"color: #2766dd; margin-left: 10px;position: relative;top: -5px;\" icon=\"el-icon-arrow-down\"\r\n @click=\"searchShow = false\">展开</el-button>\r\n </div>\r\n </el-row>\r\n </el-row>\r\n <el-row :gutter=\"24\" type=\"flex\" style=\"flex-wrap: wrap;margin-left: -5px;\">\r\n <el-col :span=\"6\" v-if=\"searchShow == false\">\r\n <el-date-picker style=\"width: 458px;position: relative;top: 8px;left: -2px; \" v-model=\"dateRange\"\r\n end-placeholder=\"结束日期\" range-separator=\"至\" start-placeholder=\"开始日期\" clearable\r\n value-format=\"yyyy-MM-dd HH:mm:ss\" type=\"daterange\" :clearable=\"true\">\r\n </el-date-picker>\r\n </el-col>\r\n <el-col :span=\"7\" />\r\n <el-col v-if=\"searchShow == false\" :span=\"6\" justify=\"end\" type=\"flex\" style=\"display: flex\">\r\n <div class=\"search_btn\" style=\"margin-left: 20px;position: relative;top: 8px;\" @click=\"handleQuery\">\r\n 查询\r\n </div>\r\n <div class=\"reset_btn\" style=\"margin-left: 10px;position: relative;top: 8px;\" @click=\"reset\">\r\n 重置\r\n </div>\r\n <el-button v-if=\"searchShow == false\" type=\"text\" icon=\"el-icon-arrow-up\"\r\n style=\"color: #2766dd !important; margin-left: 10px;\" @click=\"searchShow = true\">收起</el-button>\r\n <el-button v-if=\"searchShow == true\" type=\"text\" style=\"color: #2766dd; margin-left: 10px\"\r\n icon=\"el-icon-arrow-down\" @click=\"searchShow = false\">展开</el-button>\r\n </el-col>\r\n </el-row> \r\n </div>\r\n </div> -->\r\n\r\n\r\n <div class=\"dashboard-text\">\r\n <div style=\"margin-top:-15px;background:#fff;padding:15px\">\r\n <el-row :gutter=\"24\" style=\"display:flex\">\r\n <el-input style=\"width: 220px;margin-left: 10px;\" placeholder=\"请输入登陆地址\" v-model=\"queryParams.ipaddr\"></el-input>\r\n <el-input style=\"width: 220px;\" placeholder=\"请输入用户名称\" v-model=\"queryParams.userName\"></el-input>\r\n <el-select clearable placeholder=\"请选择状态\" v-model=\"queryParams.status\" style=\"width: 220px;\">\r\n <el-option v-for=\"item in statusOptions\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\">\r\n </el-option>\r\n </el-select>\r\n <div v-if=\"searchShow == true\" :span=\"6\" style=\"display:flex;margin-top:2px\">\r\n <!-- <div class=\"search-btn\"> -->\r\n <div class=\"searchBtn\" style=\"margin-left:0px\" @click=\"handleQuery\">搜索</div>\r\n <div class=\"resetBtn\" style=\"margin-left:10px\" @click=\"reset\">重置</div>\r\n <el-button v-if=\"searchShow == false\" type=\"text\" style=\"color: #2766dd !important;margin-left:10px\"\r\n icon=\"el-icon-arrow-up\" @click=\"searchShow = true\">收起</el-button>\r\n <el-button v-if=\"searchShow == true\" type=\"text\" style=\"color:#2766DD;margin-left:10px\"\r\n icon=\"el-icon-arrow-down\" @click=\"searchShow = false\">展开</el-button>\r\n <!-- </div> -->\r\n </div>\r\n </el-row>\r\n <el-row :gutter=\"24\" style=\"display:flex\">\r\n <div v-if=\"searchShow == false\" :span=\"6\">\r\n <el-date-picker style=\"width: 458px;position: relative;top: 8px;left: 10px; \" v-model=\"dateRange\"\r\n end-placeholder=\"结束日期\" range-separator=\"至\" start-placeholder=\"开始日期\" clearable\r\n value-format=\"yyyy-MM-dd HH:mm:ss\" type=\"daterange\" :clearable=\"true\">\r\n </el-date-picker>\r\n </div>\r\n <el-col style=\"width:260px\"></el-col>\r\n <div v-if=\"searchShow == false\" :span=\"6\">\r\n <div class=\"search-btn\" style=\"display: flex;\"> \r\n <div class=\"searchBtn\" style=\"margin-top: 10px;margin-left: 15px;\" @click=\"handleQuery\">搜索</div>\r\n <div class=\"resetBtn\" style=\"margin-left:10px;margin-top: 10px;\" @click=\"reset\">重置</div>\r\n <el-button v-if=\"searchShow == false\" type=\"text\" icon=\"el-icon-arrow-up\"\r\n style=\"color: #2766dd !important;margin-left:10px;margin-top: 10px;\"\r\n @click=\"searchShow = true\">收起</el-button>\r\n <el-button v-if=\"searchShow == true\" type=\"text\" icon=\"el-icon-arrow-down\"\r\n @click=\"searchShow = false\">展开</el-button>\r\n </div>\r\n </div>\r\n </el-row>\r\n </div>\r\n </div>\r\n\r\n <div style=\"padding: 20px; background: #fff; margin-top: 15px\">\r\n <div class=\"cardHeadr\">\r\n <div style=\"font-size: 18px; float: left;\">\r\n <div style=\"float: left;margin-right: 20px;\" class=\"addBtn\" @click=\"addDepartMenDict\">\r\n <span class=\"icon font_family\">&#xe607;</span>\r\n 批量删除\r\n </div>\r\n <!-- <div style=\"float: left;\" class=\"addBtn\" @click=\"uploadOut\">\r\n <span class=\"icon font_family\">&#xe605;</span>\r\n 导出\r\n </div> -->\r\n </div>\r\n </div>\r\n\r\n\r\n\r\n <el-table ref=\"multipleTable\" :data=\"tableData\" tooltip-effect=\"dark\" style=\"width: 100%\"\r\n @selection-change=\"handleSelectionChange\">\r\n <el-table-column type=\"selection\" width=\"55\" align=\"center\">\r\n </el-table-column>\r\n <el-table-column prop=\"infoId\" label=\"访问编号\" align=\"center\" width=\"150\" />\r\n <el-table-column prop=\"userName\" label=\"用户名称\" align=\"center\" width=\"210\" />\r\n <el-table-column prop=\"ipaddr\" label=\"登录地址\" align=\"center\" width=\"210\" />\r\n <el-table-column prop=\"loginLocation\" label=\"登陆地点\" align=\"center\" width=\"150\" />\r\n <el-table-column prop=\"msg\" label=\"操作信息\" align=\"center\" />\r\n <el-table-column prop=\"status\" label=\"登录状态\" align=\"center\" width=\"150\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.status == 1 ? '成功' : '失败' }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column prop=\"loginTime\" label=\"登录日期\" align=\"center\" width=\"210\" />\r\n <!-- <el-table-column label=\"操作\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <div class=\"operateBtn\">\r\n <div>详细</div>\r\n </div>\r\n </template>\r\n </el-table-column> -->\r\n </el-table>\r\n <el-row type=\"flex\" justify=\"end\" style=\"margin-top: 10px\">\r\n <div class=\"pagination\">\r\n <el-pagination @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" :page-sizes=\"[10, 15, 20]\"\r\n :page-size=\"searchData.pageSize\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\">\r\n </el-pagination>\r\n </div>\r\n </el-row>\r\n\r\n </div>\r\n\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { getLogList, getDeleteList, getloafOut } from '@/api/loginLog'\r\nimport { mapGetters } from 'vuex'\r\n\r\nexport default {\r\n name: 'home',\r\n computed: {\r\n ...mapGetters([\r\n 'name'\r\n ])\r\n },\r\n data() {\r\n return {\r\n searchShow: true,\r\n value1: '',\r\n queryParams: {\r\n pageSize: 10,\r\n pageNum: 1,\r\n ipaddr: '',\r\n userName: '',\r\n status: ''\r\n },\r\n form: {\r\n dicrName: '',\r\n dictType: '',\r\n status: '',\r\n remark: ''\r\n },\r\n statusOptions: [\r\n {\r\n label: '成功',\r\n value: '1'\r\n },\r\n {\r\n label: '失败',\r\n value: '2'\r\n }\r\n ],\r\n searchData: {},\r\n tableData: [],\r\n dateRange: [],\r\n ids: [],\r\n total: 0,\r\n title: '新增部门字典',\r\n dialogFormVisible: false\r\n }\r\n },\r\n created() {\r\n this.getList()\r\n },\r\n methods: {\r\n handleQuery() {\r\n this.queryParams.pageNum = 1\r\n this.getList()\r\n },\r\n reset() {\r\n this.queryParams = {}\r\n this.queryParams.pageNum = 1\r\n this.queryParams.pageSize = 10\r\n this.getList()\r\n },\r\n addDepartMenDict() {\r\n if (this.ids.length == 0) {\r\n return this.$message({\r\n type: 'error',\r\n message: '请选择要删除的日志!'\r\n });\r\n }\r\n this.$confirm('确定要删除吗?', '信息提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n getDeleteList(this.ids).then((res) => {\r\n if (res.code == 200) {\r\n this.getList()\r\n this.$message({\r\n type: 'success',\r\n message: '删除成功!'\r\n })\r\n } else {\r\n this.$message({\r\n type: 'error',\r\n message: res.msg\r\n })\r\n }\r\n })\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '已取消删除'\r\n })\r\n })\r\n },\r\n handleSelectionChange(val) {\r\n this.ids = val.map((item) => item.infoId)\r\n },\r\n uploadOut() {\r\n getloafOut({}).then(res => {\r\n this.exportFile(res, '登录日志信息')\r\n })\r\n },\r\n exportFile: function (obj, name = Date.now(), suffix = 'xlsx') {\r\n const url = window.URL.createObjectURL(\r\n new Blob([obj], { type: 'application/vnd.ms-excel' })\r\n )\r\n const aDOM = document.createElement('a')\r\n aDOM.style.display = 'none'\r\n aDOM.href = url\r\n const fileName = name + '.' + suffix\r\n aDOM.setAttribute('download', fileName)\r\n document.body.appendChild(aDOM)\r\n aDOM.click()\r\n document.body.removeChild(aDOM)\r\n },\r\n getList() {\r\n if (this.dateRange) {\r\n this.queryParams.satrtTime = this.dateRange[0]\r\n this.queryParams.endTime = this.dateRange[1]\r\n } else {\r\n this.queryParams.satrtTime = ''\r\n this.queryParams.endTime = ''\r\n }\r\n getLogList(this.queryParams).then((res) => {\r\n this.tableData = res.data.records\r\n this.total = res.data.total\r\n })\r\n },\r\n handleSizeChange(val) {\r\n this.queryParams.pageSize = val\r\n this.getList()\r\n },\r\n handleCurrentChange(val) {\r\n this.queryParams.pageNum = val\r\n this.getList()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.dashboard {\r\n &-container {\r\n margin: 45px 30px 30px;\r\n }\r\n\r\n &-text {\r\n font-size: 30px;\r\n line-height: 46px;\r\n }\r\n}\r\n\r\n.dashboard-text {\r\n .el-input {\r\n margin-right: 20px;\r\n }\r\n\r\n .el-select {\r\n margin-right: 20px;\r\n }\r\n}\r\n\r\n.cardHeadr {\r\n margin-top: -20px;\r\n // display: flex;\r\n // justify-content: space-between;\r\n}\r\n\r\n.search_btn {\r\n cursor: pointer;\r\n background-color: #2766dd;\r\n color: #f7f8fb;\r\n font-size: 14px;\r\n width: 80px;\r\n height: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n}\r\n\r\n.search_btna {\r\n cursor: pointer;\r\n background-color: #2766dd !important;\r\n color: #f7f8fb;\r\n font-size: 14px;\r\n width: 80px;\r\n height: 40px;\r\n text-align: center;\r\n}\r\n\r\n.search_btna,\r\n.search_btn:hover {\r\n background-color: #4d85f4;\r\n}\r\n\r\n.reset_btn {\r\n cursor: pointer;\r\n color: #565656;\r\n font-size: 14px;\r\n border: 1px solid #d7d7d7;\r\n width: 80px;\r\n height: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n}\r\n\r\n.reset_btn:hover {\r\n color: #1f9fff;\r\n border: 1px solid #1f9fff;\r\n background: none;\r\n}\r\n\r\n.addBtn {\r\n margin: 15px 20px 15px 0;\r\n cursor: pointer;\r\n float: left;\r\n text-align: center;\r\n width: 98px;\r\n height: 34px;\r\n border-radius: 2px;\r\n border: 1px solid #ABC7FD;\r\n line-height: 34px;\r\n font-weight: 400;\r\n font-size: 14px;\r\n color: #2250C8;\r\n background-color: #E7EEFF;\r\n}\r\n\r\n.addBtn:hover {\r\n color: #FFFFFF;\r\n background-color: #2250C8;\r\n border: 1px solid #2250C8;\r\n}\r\n\r\n.addBtn:active {\r\n color: #FFFFFF;\r\n background-color: #194DA4;\r\n border: 1px solid #194DA4;\r\n}\r\n\r\n.operateBtn {\r\n display: flex;\r\n justify-content: center;\r\n color: #2866dd;\r\n\r\n div {\r\n font-size: 14px;\r\n margin: 0 5px;\r\n cursor: pointer;\r\n }\r\n}\r\n\r\n.el-tooltip__popper {\r\n max-width: 30%;\r\n padding-bottom: 5px !important;\r\n display: -webkit-box;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-line-clamp: 15;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.el-tooltip__popper,\r\n.el-tooltip__popper.is-dark {\r\n background: rgb(48, 65, 86) !important;\r\n color: #fff !important;\r\n line-height: 24px;\r\n}\r\n\r\n.xzmba {\r\n color: #2766dd;\r\n text-decoration: underline;\r\n cursor: pointer;\r\n}\r\n\r\n.hxj {\r\n width: 100%;\r\n text-align: center;\r\n padding: 0 !important;\r\n}\r\n\r\n::v-deep .el-dialog__header {\r\n padding: 0 20px 10px !important;\r\n}\r\n\r\n::v-deep .el-dialog__body {\r\n padding: 20px 20px !important;\r\n}\r\n\r\n::v-deep .el-upload__tip {\r\n margin-top: -17px;\r\n}\r\n\r\n::v-deep .el-upload-dragger .el-upload__text {\r\n margin-top: -10px;\r\n}\r\n\r\n.dialog-footer {\r\n text-align: center;\r\n}\r\n\r\n.detailDia {\r\n div {\r\n padding-left: 100px;\r\n }\r\n}\r\n\r\n::v-deep .el-input__inner,\r\n.el-input--suffix .el-input__inner {\r\n padding-right: 0 !important;\r\n}\r\n\r\n::v-deep .el-input.is-disabled .el-input__inner {\r\n color: #606266;\r\n}\r\n\r\n::v-deep .el-textarea .el-input__count {\r\n bottom: -40px;\r\n}\r\n\r\n::v-deep .el-input__icon {\r\n // line-height: 47px;\r\n}\r\n// ::v-deep .el-icon-date{\r\n// position: relative;\r\n// top: -7px;\r\n// }\r\n.searchBtn {\r\n cursor: pointer;\r\n background-color: #2766dd;\r\n color: #f7f8fb;\r\n font-size: 14px;\r\n width: 80px;\r\n height: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n}\r\n\r\n.searchBtn:hover {\r\n background-color: #4d85f4;\r\n}\r\n\r\n.resetBtn {\r\n cursor: pointer;\r\n color: #565656;\r\n font-size: 14px;\r\n border: 1px solid #d7d7d7;\r\n width: 80px;\r\n height: 40px;\r\n text-align: center;\r\n line-height: 40px;\r\n}\r\n\r\n.resetBtn:hover {\r\n color: #1f9fff;\r\n border: 1px solid #1f9fff;\r\n background: none;\r\n}\r\n</style>\r\n"]}]}