centaline-data-driven-v3 0.0.49 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven-v3",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -107,7 +107,7 @@
107
107
 
108
108
  <div @dragstart="drag($event, file)" @drop="drop($event, file)" @dragover.prevent
109
109
  @dragenter="dragenter($event, file)" @dragleave="dragleave($event, file)" >
110
- <el-image fit="fill"
110
+ <el-image fit="fill" @click="viewerfile(file)"
111
111
  :src="file.url ? file.url : file.mediaUrl ? file.mediaUrl + '/100/100' : util.getAssetsImage('blank.png')"
112
112
  style="width: 100px; height: 100px" :z-index="previewZIndex">
113
113
  </el-image>
@@ -8,10 +8,9 @@
8
8
  :searchDataApi="searchDataApi" :searchtreeHeight="searchtreeHeight" @loaded="loaded"></ct-tree>
9
9
  </div>
10
10
 
11
- <div class="resizer" @mousedown="startResizing"></div>
12
11
  </el-aside>
13
- <el-main v-if="isShowMain">
14
-
12
+ <el-main v-if="isShowMain" style="position: relative;">
13
+ <div class="resizer" @mousedown="startResizing"></div>
15
14
  <template v-if="pageType == 'form'">
16
15
  <div style="height: 100%;">
17
16
  <div class="ct-form"
@@ -171,17 +170,13 @@ onUnmounted(() => {
171
170
 
172
171
 
173
172
  <style scoped>
174
- .el-aside {
175
- position: relative;
176
- }
177
-
173
+
178
174
  .resizer {
179
175
  position: absolute;
180
176
  top: 0;
181
- right: 0;
182
- width: 3px;
177
+ left: 0;
178
+ width: 2px;
183
179
  height: 100%;
184
- cursor: ew-resize;
185
- background-color: rgba(0, 0, 0, 0.2);
180
+ cursor: ew-resize;
186
181
  }
187
182
  </style>