Browse Source

修改展示图片的大小

feature/yujt_analysis_pc
zhangyuan 6 years ago
parent
commit
a732c864b9
  1. 2
      src/views/modules/police/police-add-or-update.vue
  2. 5
      src/views/modules/police/police.vue

2
src/views/modules/police/police-add-or-update.vue

@ -221,7 +221,7 @@
} }
} }
</script> </script>
<style scope> <style scoped>
.avatar-uploader .el-upload { .avatar-uploader .el-upload {
border: 1px dashed #d9d9d9; border: 1px dashed #d9d9d9;
border-radius: 6px; border-radius: 6px;

5
src/views/modules/police/police.vue

@ -37,6 +37,7 @@
<el-table-column prop="policeName" label="民警姓名" header-align="center" align="center"></el-table-column> <el-table-column prop="policeName" label="民警姓名" header-align="center" align="center"></el-table-column>
<el-table-column align="center" <el-table-column align="center"
label="照片" label="照片"
width="120"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
prop="policeAvatar"> prop="policeAvatar">
<template slot-scope="scope"> <template slot-scope="scope">
@ -181,7 +182,7 @@
<style scoped> <style scoped>
.big_image { .big_image {
width: 300px; width: 70px !important;
height: 300px; height: 70px !important;;
} }
</style> </style>
Loading…
Cancel
Save