| @@ -74,6 +74,14 @@ | |||||
| <van-row v-if="detail.delayPeriod!=0"> | <van-row v-if="detail.delayPeriod!=0"> | ||||
| <van-col span="24"><span>延时说明:</span>自由竞价期结束后,进入{{detail.delayPeriod}}秒延时竞价期;延时竞价期内但凡有出价,则继续延时竞价,直至无人出价!</van-col> | <van-col span="24"><span>延时说明:</span>自由竞价期结束后,进入{{detail.delayPeriod}}秒延时竞价期;延时竞价期内但凡有出价,则继续延时竞价,直至无人出价!</van-col> | ||||
| </van-row> | </van-row> | ||||
| <van-row v-if="detail.changeImg.length > 0"> | |||||
| <van-col span="24"><span>变更说明:</span></van-col> | |||||
| </van-row> | |||||
| <van-row v-if="detail.changeImg.length > 0"> | |||||
| <van-col span="24"> | |||||
| <img v-for="(item,index) in detail.changeImg" @click="previewImage(index,detail.changeImg)" :key="index" :src="'/api' + item" style="width: 100%;" /> | |||||
| </van-col> | |||||
| </van-row> | |||||
| </div> | </div> | ||||
| </van-tab> | </van-tab> | ||||
| <van-tab title="标的物介绍" title-style="font-size:12px;"> | <van-tab title="标的物介绍" title-style="font-size:12px;"> | ||||
| @@ -275,6 +283,7 @@ import { | |||||
| import {getInfo} from "../../api/login"; | import {getInfo} from "../../api/login"; | ||||
| import $ from "jquery"; | import $ from "jquery"; | ||||
| import navBar from "@/components/common/nav_bar.vue"; | import navBar from "@/components/common/nav_bar.vue"; | ||||
| import {ImagePreview} from "vant"; | |||||
| export default { | export default { | ||||
| name: "projectDetail", | name: "projectDetail", | ||||
| @@ -359,6 +368,12 @@ export default { | |||||
| this.reload(); | this.reload(); | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| previewImage(index, imgList) { | |||||
| ImagePreview({ | |||||
| startPosition: index, | |||||
| images: imgList.map(element => '/api' + element), | |||||
| }); | |||||
| }, | |||||
| goSignUp(){ | goSignUp(){ | ||||
| getInfo().then(response => { | getInfo().then(response => { | ||||
| getMember(response.user.userId).then(resresponse => { | getMember(response.user.userId).then(resresponse => { | ||||
| @@ -414,7 +429,9 @@ export default { | |||||
| reload(){ | reload(){ | ||||
| //console.log("结束进入") | //console.log("结束进入") | ||||
| getOutProjectDetail(this.id).then(response =>{ | getOutProjectDetail(this.id).then(response =>{ | ||||
| this.detail=response.data | |||||
| this.detail = response.data; | |||||
| this.getDicts("rollout_type").then(res =>{ | this.getDicts("rollout_type").then(res =>{ | ||||
| this.detail.rollout = this.selectDictLabel(res.data,response.data.rollout); | this.detail.rollout = this.selectDictLabel(res.data,response.data.rollout); | ||||
| if(this.detail.oneout==0){ | if(this.detail.oneout==0){ | ||||