qiushang hace 10 meses
padre
commit
c44a8f3573
Se han modificado 4 ficheros con 30 adiciones y 26 borrados
  1. 3 3
      nsis/test.nsi
  2. 1 1
      package.json
  3. 2 2
      src/main/index.js
  4. 24 20
      src/renderer/components/home.vue

+ 3 - 3
nsis/test.nsi

@@ -1,16 +1,16 @@
 # ====================== 自定义宏 产品信息==============================
 !define PRODUCT_MID        		    "JyW8sIXfYSbu"
-!define PRODUCT_VERSION        		"2.0.2.0"
+!define PRODUCT_VERSION        		"2.0.3.0"
 !define PRODUCT_NAME           		"星优文件检索大师"
 !define INSTALL_OUTPUT_NAME    		"XYFile_XY.exe" 
 !define EXE_NAME               		"XYFile.exe"
 !define PRODUCT_PATHNAME           	"XYFile"     #安装卸载项用到的KEY,注册表
 !define INSTALL_APPEND_PATH         "XYFile"     #安装路径追加的名称 
-!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYFile/lastest2.0.2.0.7z"
+!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYFile/lastest2.0.3.0.7z"
 !define PRODUCT_PUBLISHER      	    "苏州星优办公软件有限公司"
 !define PRODUCT_LEGAL          	    "苏州星优办公软件有限公司"
 !define STATISTICS_url              "https://www.xingyousoft.com/api/index/user_log"   # 统计网址
-!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYFile/uninstallWeb/?v=2.0.2.0"   # 接卸优惠网址
+!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYFile/uninstallWeb/?v=2.0.3.0"   # 接卸优惠网址
 
 # ====================== 自定义宏 安装信息==============================
 !define INSTALL_7Z_NAME 	   		"app.7z"

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "XYFile",
-  "version": "2.0.2.0",
+  "version": "2.0.3.0",
   "author": "苏州星优办公软件有限公司",
   "description": "An electron-vue project",
   "license": "rename",

+ 2 - 2
src/main/index.js

@@ -46,8 +46,8 @@ function createWindow() {
 	 * Initial window options
 	 */
 	mainWindow = new BrowserWindow({
-		width: 1100,
-		minWidth: 1100,
+		width: 1200,
+		minWidth: 1200,
 		height: 760,
 		minHeight: 760,
 		show: false,

+ 24 - 20
src/renderer/components/home.vue

@@ -49,47 +49,47 @@
 							</p>
 						</div>
 						<div class="table-scroll">
-							<vxe-table ref="xTable" 
+							<vxe-table ref="xTable" :column-config="{resizable: true}" size="mini"
 								show-overflow class="img-table" max-height="100%" empty-text="没有更多数据了!" :loading="tabLoading"
 								:loading-config="{icon: 'vxe-icon-indicator roll', text: '任务处理中...'}" :row-config="{isHover: true}"
 								:edit-config="{trigger: 'click', mode: 'cell'}" :data="fileList" :scroll-y="{enabled: true}">
-								<vxe-column type="seq" width="60" title="编号"></vxe-column>
-								<vxe-column field="match" title="匹配词" width="100"></vxe-column>
+								<vxe-column type="seq" width="60" title="编号" align="center"></vxe-column>
+								<vxe-column field="match" title="匹配词" width="100" min-width="80" align="center"></vxe-column>
 								<vxe-column field="path" title="文件位置/名称"></vxe-column>
-								<vxe-column field="status" title="操作" width="70" align="center">
+								<vxe-column field="status" title="操作" width="50" min-width="50" max-width="50" align="center">
 									<template #default="{ rowIndex }">
-										<el-link icon="el-icon-s-release" type="warning" @click="delFile(rowIndex)" style="font-size: 13px;">忽略</el-link>
+										<el-link type="warning" @click="delFile(rowIndex)" style="font-size: 12px;">忽略</el-link>
 									</template>
 								</vxe-column>
-								<vxe-column field="status" title="状态" width="90" align="center">
+								<vxe-column field="status" title="状态" width="80" max-width="80" min-width="80" align="center">
 									<template #default="{ row }">
 										<template v-if="row.status == '1'">
-											<i class="el-icon-info" style="font-size: 13px; color: #999;"></i>
-											<span style="font-size: 13px;">待操作</span>
+											<!-- <i class="el-icon-info" style="font-size: 13px; color: #999;"></i> -->
+											<span style="font-size: 12px;">待操作</span>
 										</template>
 										<template v-if="row.status == '2'">
-											<i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
-											<span style="font-size: 13px;">复制成功</span>
+											<!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
+											<span style="font-size: 12px;color: #19be6b;">复制成功</span>
 										</template>
 										<template v-if="row.status == '3'">
-											<i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
-											<span style="font-size: 13px;">剪切成功</span>
+											<!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
+											<span style="font-size: 12px;color: #19be6b;">剪切成功</span>
 										</template>
 										<template v-if="row.status == '4'">
-											<i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
-											<span style="font-size: 13px;">删除成功</span>
+											<!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
+											<span style="font-size: 12px;color: #19be6b;">删除成功</span>
 										</template>
 										<template v-if="row.status == '5'">
-											<i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
-											<span style="font-size: 13px;">覆盖成功</span>
+											<!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
+											<span style="font-size: 12px;color: #19be6b;">覆盖成功</span>
 										</template>
 										<template v-if="row.status == '6'">
-											<i class="el-icon-error" style="font-size: 13px; color: #ed4014;"></i>
-											<span style="font-size: 13px;">处理失败</span>
+											<!-- <i class="el-icon-error" style="font-size: 12px; color: #ed4014;"></i> -->
+											<span style="font-size: 12px;color: #ed4014;">处理失败</span>
 										</template>
 										<template v-if="row.status == '7'">
-											<i class="el-icon-error" style="font-size: 13px; color: #ed4014;"></i>
-											<span style="font-size: 13px;">覆盖失败</span>
+											<!-- <i class="el-icon-error" style="font-size: 12px; color: #ed4014;"></i> -->
+											<span style="font-size: 12px;color: #ed4014;">覆盖失败</span>
 										</template>
 									</template>
 								</vxe-column>
@@ -799,4 +799,8 @@ export default {
 			height: 100%;
 		}
 	}
+	
+	.vxe-cell{
+		padding: 0 2px !important;
+	}
 </style>