Browse Source

退房确认不显示图片

epass
mk 1 month ago
parent
commit
5010744140
  1. 1
      subpages/index/checkInUser/checkInUser.js
  2. 4
      subpages/index/checkOutConfirm/index/index.wxml

1
subpages/index/checkInUser/checkInUser.js

@ -94,7 +94,6 @@ Page({
}) })
}, },
submit(){ submit(){
selectMzGraduateInfo({idCard:this.data.form.idCard}).then(res=>{ selectMzGraduateInfo({idCard:this.data.form.idCard}).then(res=>{
console.log(res,'毕业生信息'); console.log(res,'毕业生信息');
if(res.code === 200){ if(res.code === 200){

4
subpages/index/checkOutConfirm/index/index.wxml

@ -62,8 +62,8 @@
<van-cell title-style="color:#68758B;font-size: 15px;"> <van-cell title-style="color:#68758B;font-size: 15px;">
<view slot="title" class="flex flex-wrap"> <view slot="title" class="flex flex-wrap">
<block wx:for="{{info.facilitiesCheckImages}}" wx:key="index"> <block wx:for="{{info.facilitiesCheckImages}}" wx:key="index">
<view class="media-item"> <view class="media-item" style="margin-right: 20rpx;width: 236rpx;height: 160rpx;overflow: hidden;">
<block wx:if="{{item.type === 'image/png' || item.type === 'image/jpg' || item.type === 'image/jepg'}}"> <block wx:if="{{item.type === 'image/png' || item.type === 'image/jpg' || item.type === 'image/jepg'|| item.type === 'image'}}" >
<van-image width="118" height="80" src="{{item.url}}" /> <van-image width="118" height="80" src="{{item.url}}" />
</block> </block>
<block wx:if="{{item.type === 'video/mp4'}}"> <block wx:if="{{item.type === 'video/mp4'}}">

Loading…
Cancel
Save