master #110

Merged
lukeyan merged 5 commits from master into lukeyan 1 year ago

@ -79,7 +79,7 @@
<div class="imgList"> <div class="imgList">
<div class="imgListItem" v-for="item in disList" :key="item.id"> <div class="imgListItem" v-for="item in disList" :key="item.id">
<div class="detailImg"> <div class="detailImg">
<img :src="item.globalUrlPic"> <img :src="item.globalPic ? item.globalPic : item.globalUrlPic">
</div> </div>
<div class="ListItem"> <div class="ListItem">
<div class="detailText"> <div class="detailText">
@ -175,19 +175,19 @@ export default {
}, },
showpicVisible(index) { showpicVisible(index) {
this.diaIndex = index this.diaIndex = index
vehicleIn({ direction: index, pageSize: this.diapageNum, pageNum: this.diapageNum }).then(res => { vehicleIn({ direction: this.diaIndex, pageSize: this.diapageSize, pageNum: this.diapageNum }).then(res => {
this.disList = res.data this.disList = res.data
this.diatotal = res.total this.diatotal = res.total
this.diaVisible = true this.diaVisible = true
}) })
}, },
diaSizeChange(val) { diaSizeChange(val) {
this.fangkepageNum = 1; this.diapageNum = 1;
this.fangkepageSize = val; this.diapageSize = val;
this.showpicVisible(this.diaIndex) this.showpicVisible(this.diaIndex)
}, },
diaCurrentChange(val) { diaCurrentChange(val) {
this.fangkepageNum = val; this.diapageNum = val;
this.showpicVisible(this.diaIndex) this.showpicVisible(this.diaIndex)
}, },
getUserType() { getUserType() {

Loading…
Cancel
Save