瀏覽代碼

文本框居中

liuzhen 6 年之前
父節點
當前提交
a4ae4b1f3d
共有 2 個文件被更改,包括 15 次插入12 次删除
  1. 9 4
      WebUI/CallCenterWeb.UI/zhiShiKu/askRecords.html
  2. 6 8
      WebUI/CallCenterWeb.UI/zhiShiKu/askRecords1.html

+ 9 - 4
WebUI/CallCenterWeb.UI/zhiShiKu/askRecords.html

@@ -262,12 +262,17 @@
262 262
         	color: #000000;
263 263
         }
264 264
         .tool_downs{
265
+        	display: flex;
266
+        	justify-content: center;
267
+        }
268
+        .tool_downs span{
265 269
         	display: block;
266 270
         	width: 100%;
267 271
         	height: 100%;
268 272
         	text-align: center;
269 273
         }
270 274
         .tool_downs a{
275
+        	display: block;
271 276
         	list-style: none;
272 277
         	float: left;
273 278
         	padding-left: 10px;
@@ -473,10 +478,10 @@
473 478
 				'</div>';
474 479
 			}else{
475 480
 				return '<div class="tool_downs">' +
476
-				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></span>' +
477
-				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
478
-				'<span class="edit"><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a></span>' +
479
-				'<span class="delete_list"><a href="javascript:;" class="aBtn hide_btn" style="margin-left:0px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a></span>' +
481
+				'<a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a>' +
482
+				'<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a>' +
483
+				'<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_edit(\'' + row.F_DemandsId + '\')" title="编辑">编辑</a>' +
484
+				'<a href="javascript:;" class="aBtn hide_btn" style="margin-left:0px;" authorize="yes" id="HY_delete_' + row.F_DemandsId + '" onclick="btn_delete(' + row.F_DemandsId + ')" title="删除">删除</a>' +
480 485
 				'</div>';
481 486
 			}
482 487
 			

+ 6 - 8
WebUI/CallCenterWeb.UI/zhiShiKu/askRecords1.html

@@ -262,10 +262,8 @@
262 262
         	color: #000000;
263 263
         }
264 264
         .tool_downs{
265
-        	display: block;
266
-        	width: 100%;
267
-        	height: 100%;
268
-        	text-align: center;
265
+        	display: flex;
266
+        	justify-content: center;
269 267
         }
270 268
         .tool_downs a{
271 269
         	list-style: none;
@@ -469,15 +467,15 @@
469 467
 		function Dispose(val, row) {
470 468
 			if(row.F_RepositoryId&&row.F_RepositoryId!=0){
471 469
 				return '<div class="tool_downs">' +
472
-				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></span>' +
470
+				'<a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a>' +
473 471
 //				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></li>' +
474
-				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
472
+				'<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a>' +
475 473
 				'</div>';
476 474
 			}else{
477 475
 				return '<div class="tool_downs">' +
478 476
 //				'<li><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="see_knowledge(' + row.F_RepositoryId +')" title="查看知识库">查看知识库</a></li>' +
479
-				'<span><a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a></span>' +
480
-				'<span><a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a></span>' +
477
+				'<a href="javascript:;" class="aBtn" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="add_knowledge(' + row.F_DemandsId +','+row.F_Deptid+')" title="添加知识库">添加知识库</a>' +
478
+				'<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' + row.F_DemandsId + '" onclick="btn_details(\'' + row.F_DemandsId + '\')" title="详情">详情</a>' +
481 479
 				'</div>';
482 480
 			}
483 481