Browse Source

开店代码2

yangc 8 years ago
parent
commit
aee26167e4
2 changed files with 94 additions and 5 deletions
  1. 94 4
      assets/scss/common.scss
  2. 0 1
      pages/register-saler/index.vue

+ 94 - 4
assets/scss/common.scss

@@ -346,7 +346,101 @@ div.el-tree-node__content{
 .dialog .el-dialog__body{
   padding: 0 !important;
 }
+/*留言板查看*/
+.messageBoard .img-item .preview {
+  display: block;
+  position: absolute;
+  top: 0;
+  right: 0;
+  z-index: 1000;
+  width: 82px;
+  height: 70px;
+  overflow: hidden;
+}
+.messageBoard .img-item .preview img.previewImage{
+  //background: #fff url('/images/all/msg_uploadPic.png')no-repeat center center;
+  //max-height: 68px;
+  //max-width: 80px;
+  //line-height: 68px;
+  //cursor: pointer;
+
+  max-height: 82px;
+  max-width: 70px;
+  cursor: pointer;
+  line-height: 70px;
+  overflow: hidden;
 
+  //width:100%;
+  //height:0;
+  //padding-bottom: 100%;
+  //overflow:hidden;
+  //background-position: center center;
+  //background-repeat: no-repeat;
+  //-webkit-background-size:cover;
+  //-moz-background-size:cover;
+  //background-size:cover;
+}
+.messageBoard .img-item input[type="file"] {
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  text-align: center;
+  opacity: 0;
+  line-height: 70px;
+  display: inline-block !important;
+}
+.messageBoard .img-item .hover-show{
+  position: absolute;
+  z-index: 1001;
+  width: 82px;
+  height: 70px;
+  opacity: 0;
+  top: 0;
+  left: 0;
+  background: rgba(0, 0, 0, 0.5);
+}
+.messageBoard .img-item:hover .hover-show{
+  opacity: 1;
+}
+.messageBoard .img-item .hover-show .delete{
+  position: absolute;
+  top: 3px;
+  right: 3px;
+  padding: 0;
+  width: 20px;
+  height: 20px;
+  float: right;
+  text-align: center;
+}
+.messageBoard .img-item .hover-show .delete i{
+  color: #fff;
+  font-size: 16px;
+}
+.messageBoard .img-item .hover-show a{
+  display: inline-block;
+  width: 100%;
+  height: 70px;
+  font-size: 14px;
+  color: #fff;
+  text-align: center;
+  line-height: 70px;
+}
+.messageBoard .img-item .hover-show a i{
+  margin-right: 5px;
+  font-size: 16px;
+}
+.messageBoard .img-item #image-box .x-floating-wrap{
+  position: fixed;
+  z-index: 99998;
+  background: #000;
+  top: 0;
+  left: 0;
+  width: 680px;
+  height: 100%;
+  opacity: 0.5;
+}
 /*查看大图*/
 #image-box .x-floating-wrap,.image-box .x-floating-wrap {
   position: fixed;
@@ -517,10 +611,6 @@ div.el-tree-node__content{
   position: relative;
   z-index: 10;
 }
-.select-adder {
-  background:url("/images/all/xiala.png") right no-repeat #fff !important;
-  background-position-x: 100% !important;
-}
 .componentDetail .el-dialog--tiny{
   width: 320px !important;
 }

+ 0 - 1
pages/register-saler/index.vue

@@ -681,4 +681,3 @@
     text-decoration: none;
   }
 </style>
-