diff --git a/src/pages/engin/magDetailDialog.vue b/src/pages/engin/magDetailDialog.vue
new file mode 100644
index 0000000..dc2ec8b
--- /dev/null
+++ b/src/pages/engin/magDetailDialog.vue
@@ -0,0 +1,89 @@
+
+
+ {{info.title }}
+
+ {{ info.name }} - {{ info.topicName }} - {{ info.deptName }} - {{ info.authorName }} - {{ info.createTime|formatDateTime }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/engin/magListDialog.vue b/src/pages/engin/magListDialog.vue
index 9eab7f5..5f48e7c 100644
--- a/src/pages/engin/magListDialog.vue
+++ b/src/pages/engin/magListDialog.vue
@@ -5,9 +5,8 @@
{{ it.topic }}
-
-
-
+
+
@@ -28,6 +27,7 @@
+
@@ -35,9 +35,11 @@
import MyDialog from '../components/MyDialog'
import imageItem from './enginImageItem.vue'
import { tryToJson } from '@/utils/tools'
+import magDetailDialog from './magDetailDialog.vue'
export default {
components: {
- MyDialog, imageItem
+ MyDialog, imageItem,
+ magDetailDialog
},
name: 'magListDlg',
@@ -62,6 +64,9 @@ export default {
},
methods: {
+ doRowClick(row,col,e){
+ this.$refs.dlg.showDialog(row);
+ },
handleCurrentChange(n) {
this.index = n;
this.loadData();
@@ -129,22 +134,13 @@ export default {
}
}
- .image-list {
- display: grid;
- grid-template-columns: 25% 25% 25% 25%;
-
- .engin-image-item {
- height: 300px;
-
- .div-img {
- width: 100%;
-
- .el-image {
- width: 100%;
- }
- }
-
- }
+
+ .el-image.row-image{
+ height: 100px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding:6px;
}
}
\ No newline at end of file