Browse Source

物料编辑页面图片附件UI调整

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9913 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
ea559b0c90

+ 3 - 3
src/main/webapp/resources/css/index.css

@@ -4267,11 +4267,11 @@ input[required]:invalid, input:focus:invalid, textarea[required]:invalid, textar
 #image-box .x-floating {
 	position: fixed;
 	z-index: 99999;
-	width: 970px;
+	width: 1200px;
 	height: 600px;
 	top: 50%;
 	left: 50%;
-	margin-left: -485px;
+	margin-left: -600px;
 	margin-top: -300px;
 	line-height: 560px;
 	text-align: center;
@@ -4279,7 +4279,7 @@ input[required]:invalid, input:focus:invalid, textarea[required]:invalid, textar
 }
 #image-box .x-floating img {
 	margin: auto auto;
-	max-width: 970px !important;
+	max-width: 100% !important;
 	max-height: 600px !important;
 	-webkit-user-select: none;
 	-moz-user-select: none;

+ 0 - 54
src/main/webapp/resources/tpl/index/baseInfo/newProdInfo.html

@@ -15,60 +15,6 @@
 	height: auto;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
 .well{
 	width: 240px;
 	background: #fff;

+ 0 - 55
src/main/webapp/resources/tpl/index/baseInfo/productDetail.html

@@ -15,61 +15,6 @@
 	height: auto;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
-
 .well{
 	width: 240px;
 	background: #fff;

+ 0 - 55
src/main/webapp/resources/tpl/index/baseInfo/uploadByBatch.html

@@ -124,61 +124,6 @@
 		height: 18px;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
-
 table.table.table-striped  thead {
 	display: none;
 }

+ 0 - 54
src/main/webapp/resources/tpl/index/purc/newProdInfo.html

@@ -15,60 +15,6 @@
 	height: auto;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
 .well{
 	width: 240px;
 	background: #fff;

+ 0 - 55
src/main/webapp/resources/tpl/index/purc/productDetail.html

@@ -15,61 +15,6 @@
 	height: auto;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
-
 .well{
 	width: 240px;
 	background: #fff;

+ 0 - 55
src/main/webapp/resources/tpl/index/purc/uploadByBatch.html

@@ -124,61 +124,6 @@
 		height: 18px;
 }
 
-#image-box .x-floating-wrap {
-	position: fixed;
-	z-index: 99998;
-	background: #000;
-	top: 0;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	opacity: 0.5;
-}
-#image-box .x-floating {
-	position: fixed;
-	z-index: 99999;
-	top: 60px;
-	left: 0;
-	width: 100%;
-	height: 100%;
-	text-align: center;
-	vertical-align: middle;
-}
-#image-box .x-floating img {
-	margin: auto auto;
-	max-width: 100%;
-	max-height: 80%;
-	-webkit-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none
-}
-
-#image-box .x-close-wrap {
-	position: fixed;
-	top: 0;
-	right: 0;
-	z-index: 100000;
-	width: 120px;
-  	height: 120px;
-	margin: -60px -60px 0 0;
-	border-radius: 100%;
-	background: #000;
-	opacity: .3
-}
-
-#image-box .x-close-wrap a {
-	position: absolute;
-	left: 25px;
-	bottom: 25px;
-	font-size: 42px;
-	color: #fff
-}
-
-#image-box .x-close-wrap:hover {
-	opacity: .7
-}
-
 table.table.table-striped  thead {
 	display: none;
 }