合并ws
parent
9bd7ce6ca9
commit
ac8ac04469
|
|
@ -147,7 +147,14 @@
|
|||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
<u-image
|
||||
:style="{marginTop:'10px'}"
|
||||
v-for="item in imgList"
|
||||
:src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath"
|
||||
width="100%"
|
||||
mode="aspectFit"
|
||||
@click="previewImage(0,'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath)"
|
||||
></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -208,7 +215,14 @@
|
|||
this.getState()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
previewImage(index,url) {
|
||||
// 使用uni.previewImage预览图片
|
||||
uni.previewImage({
|
||||
current: index,
|
||||
urls: [url]
|
||||
});
|
||||
}
|
||||
},
|
||||
onLoad(props){
|
||||
const record = JSON.parse(props.obj)
|
||||
|
|
|
|||
|
|
@ -157,7 +157,14 @@
|
|||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
<u-image
|
||||
:style="{marginTop:'10px'}"
|
||||
v-for="item in imgList"
|
||||
:src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath"
|
||||
width="100%"
|
||||
mode="aspectFit"
|
||||
@click="previewImage(0,'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath)"
|
||||
></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -218,7 +225,14 @@
|
|||
this.getState()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
previewImage(index,url) {
|
||||
// 使用uni.previewImage预览图片
|
||||
uni.previewImage({
|
||||
current: index,
|
||||
urls: [url]
|
||||
});
|
||||
}
|
||||
},
|
||||
onLoad(props){
|
||||
const record = JSON.parse(props.obj)
|
||||
|
|
|
|||
|
|
@ -198,7 +198,14 @@
|
|||
<text class="lf">附件:</text>
|
||||
<div class="rf">
|
||||
<text v-if="imgList.length===0">{{getRecord.fileIds || '暂无数据'}}</text>
|
||||
<u-image :style="{marginTop:'10px'}" v-for="item in imgList" :src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath" width="100%" mode="aspectFit" ></u-image>
|
||||
<u-image
|
||||
:style="{marginTop:'10px'}"
|
||||
v-for="item in imgList"
|
||||
:src="'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath"
|
||||
width="100%"
|
||||
mode="aspectFit"
|
||||
@click="previewImage(0,'http://223.75.53.141:9102/test.by-lyf.tmp'+item.filePath)"
|
||||
></u-image>
|
||||
</div>
|
||||
</div>
|
||||
<div :style="{height:'20vh'}"></div>
|
||||
|
|
@ -259,7 +266,14 @@
|
|||
this.getState()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
previewImage(index,url) {
|
||||
// 使用uni.previewImage预览图片
|
||||
uni.previewImage({
|
||||
current: index,
|
||||
urls: [url]
|
||||
});
|
||||
}
|
||||
},
|
||||
onLoad(props){
|
||||
const record = JSON.parse(props.obj)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
/>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item>
|
||||
<checkbox :checked="false" @click="handleChange(formData)" /><text
|
||||
<checkbox :checked="formData.checked" @click="handleChange(formData)" /><text
|
||||
>记住用户名和密码</text
|
||||
>
|
||||
</uni-forms-item>
|
||||
|
|
|
|||
Loading…
Reference in New Issue