Browse Source

删除无用代码

master
王健 4 years ago
parent
commit
0588160308
  1. 24
      components/detail-announcement/detail-announcement.js

24
components/detail-announcement/detail-announcement.js

@ -24,7 +24,6 @@ Component({
$api.AJAX('GET', 'applets/landToListAttachment', {
fileType: type,
proposedseriaId: this.properties.info.proposedseriaId,
// proposedseriaId: 'CQ20210617152223'
}, true).then(res => {
if (res.data.length > 0) {
wx.navigateTo({
@ -42,7 +41,6 @@ Component({
$api.AJAX('GET', 'applets/landAttachment', {
fileType: type,
landListedId: this.properties.info.landListedId,
// landListedId: 'CQ202106280037'
}, true).then(res => {
if (res.data.length > 0) {
wx.navigateTo({
@ -57,33 +55,11 @@ Component({
}
})
}
// for (let i = 0; i < this.data.wawa.length; i++) {
// imgList.push(this.data.wawa[i].img_url);
// }
// wx.previewImage({
// urls: imgList//图片数组
// })
},
//导航
navigato() {
// wx.getLocation({
// type: 'gcj02', //返回可以用于wx.openLocation的经纬度
// success(res) {
// const latitude = res.latitude
// const longitude = res.longitude
// console.log(latitude);
// console.log(longitude);
// // wx.openLocation({
// // latitude,
// // longitude,
// // scale: 18
// // })
// }
// })
var proposedseriaId = this.properties.info.proposedseriaId
// var proposedseriaId = 'CQ20210617152223'
var landListedId = this.properties.info.landListedId
// var landListedId = 'CQ202106280037'
if (this.properties.info.transactionStatus == 'toBeListed') {
$api.AJAX('GET', 'applets/landtolistlonlat/list/' + proposedseriaId, true).then(res => {
if (res && res.data && res.data.length > 0) {

Loading…
Cancel
Save