|
@@ -116,6 +116,14 @@
|
|
|
.table>tbody+tbody{
|
|
.table>tbody+tbody{
|
|
|
border-top: 0;
|
|
border-top: 0;
|
|
|
}
|
|
}
|
|
|
|
|
+.pro-add-tab .upload-pro{
|
|
|
|
|
+ min-height: 140px;
|
|
|
|
|
+}
|
|
|
|
|
+.upload-pro p{
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|
|
|
<div class="wrap">
|
|
<div class="wrap">
|
|
|
<div class="content">
|
|
<div class="content">
|
|
@@ -219,34 +227,41 @@
|
|
|
<dd class="upload-pro">
|
|
<dd class="upload-pro">
|
|
|
<div class="fl">产品图片:</div>
|
|
<div class="fl">产品图片:</div>
|
|
|
<div class="fr">
|
|
<div class="fr">
|
|
|
- <span><input ng-file-select ng-model="myFiles" type="file" ng-multiple="false" id="enImage" name="enImage" placeholder="图片或PDF文件" ng-disabled="!prodInfo.$editing"></span>
|
|
|
|
|
- <a ng-click="showImg()" ng-if="prodInfo.attach">{{prodInfo.attach.name}}</a>
|
|
|
|
|
- <i>提示:图片尺寸在750*750像素以上,图片请避免全文字</i>
|
|
|
|
|
|
|
+ <div class="col-md-12" style="position: relative;">
|
|
|
|
|
+ <span><input ng-file-select ng-model="myFiles" type="file" ng-multiple="false" id="enImage" name="enImage" placeholder="图片或PDF文件" ng-disabled="!prodInfo.$editing"></span>
|
|
|
|
|
+ <a ng-click="showImg()" ng-if="prodInfo.attach">{{prodInfo.attach.name}}</a>
|
|
|
|
|
+ <i>提示:图片尺寸在750*750像素以上,图片请避免全文字</i>
|
|
|
|
|
+ <div class="well margin-b-0" ng-show="previewShow && isShow">
|
|
|
|
|
+ <div ng-show="previewShow">
|
|
|
|
|
+ <img ng-show="previewShow" alt="营业执照复印件" src="{{imgPreview}}"
|
|
|
|
|
+ width="100px" height="100px">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span class="text-primary"><b>{{imgPreviewName}}</b></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-show="pdfShow">
|
|
|
|
|
+ <img ng-show="pdfShow" src="static/img/all/pdf.jpg" alt="PDF文件"
|
|
|
|
|
+ width="30px" height="40px"> <span
|
|
|
|
|
+ class="text-primary"><b>{{imgPreviewName}}</b></span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-show="noneFileShow">
|
|
|
|
|
+ <span class="text-warning">请上传清晰照片的图片文件或PDF文件</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="hover-show">
|
|
|
|
|
+ <em class="delete" title="删除" ng-click="clearfile()"><em class="fa fa-trash"></em></em>
|
|
|
|
|
+ <a ng-href="" target="_blank"><em class="fa fa-search"></em>查看</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</dd>
|
|
</dd>
|
|
|
- <dd ng-show="previewShow && isShow">
|
|
|
|
|
|
|
+ <!--<dd ng-show="previewShow && isShow">
|
|
|
<div class="fl"> </div>
|
|
<div class="fl"> </div>
|
|
|
<div class="fr">
|
|
<div class="fr">
|
|
|
- <div class="well margin-b-0">
|
|
|
|
|
- <div ng-show="previewShow">
|
|
|
|
|
- <img ng-show="previewShow" alt="营业执照复印件" src="{{imgPreview}}"
|
|
|
|
|
- width="200px" height="100px">
|
|
|
|
|
- <div>
|
|
|
|
|
- <span class="text-primary"><b>{{imgPreviewName}}</b></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-show="pdfShow">
|
|
|
|
|
- <img ng-show="pdfShow" src="static/img/all/pdf.jpg" alt="PDF文件"
|
|
|
|
|
- width="30px" height="40px"> <span
|
|
|
|
|
- class="text-primary"><b>{{imgPreviewName}}</b></span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div ng-show="noneFileShow">
|
|
|
|
|
- <span class="text-warning">请上传清晰照片的图片文件或PDF文件</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
<a ng-click="clearfile()">删除</a>
|
|
<a ng-click="clearfile()">删除</a>
|
|
|
</div>
|
|
</div>
|
|
|
- </dd>
|
|
|
|
|
|
|
+ </dd>-->
|
|
|
<!-- <dd class="text-detail">
|
|
<!-- <dd class="text-detail">
|
|
|
<div class="fl">详细描述:</div>
|
|
<div class="fl">详细描述:</div>
|
|
|
<div class="fr">
|
|
<div class="fr">
|
|
@@ -318,5 +333,15 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+<!--查看大图-->
|
|
|
|
|
+<div id="image-box" style="display: none">
|
|
|
|
|
+ <div class="x-close-wrap" title="关闭">
|
|
|
|
|
+ <a href="javascript:void(0);">×</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="x-floating-wrap"></div>
|
|
|
|
|
+ <div class="x-floating">
|
|
|
|
|
+ <img/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</div>
|
|
|
</body>
|
|
</body>
|
|
|
</html>
|
|
</html>
|