|
@@ -29,7 +29,7 @@
|
|
|
<el-image
|
|
|
style="width: 100%; height: 100%"
|
|
|
:src="$methodsTools.splitImgHost(its.photo)"
|
|
|
- :preview-src-list="[$methodsTools.splitImgHost(its.photo)]"
|
|
|
+ :preview-src-list="returnImgUrl(scope.row.userStudyRecordPhotoList)"
|
|
|
>
|
|
|
</el-image>
|
|
|
<div class="abos" @click="imgChange(scope.row.userStudyRecordPhotoList[inds],'photo',its.photo)">
|
|
@@ -453,6 +453,11 @@ export default {
|
|
|
allIds() {
|
|
|
return this.getAllIds();
|
|
|
},
|
|
|
+ returnImgUrl: function() {
|
|
|
+ return function(ary) {
|
|
|
+ return ary && ary.map(i => this.$methodsTools.splitImgHost(i.photo)) || []
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
components: {
|
|
|
CheatDialog,
|
|
@@ -464,7 +469,7 @@ export default {
|
|
|
.liImgs {
|
|
|
float: left;
|
|
|
width: 210px;
|
|
|
- height: 280px;
|
|
|
+ // height: 280px;
|
|
|
margin-right: 16px;
|
|
|
margin-bottom: 16px;
|
|
|
position: relative;
|