|
@ -12,36 +12,36 @@ Page({ |
|
|
* 页面的初始数据 |
|
|
* 页面的初始数据 |
|
|
*/ |
|
|
*/ |
|
|
data: { |
|
|
data: { |
|
|
title:"市北区举行国际航运贸易金融创新中心核心区产业建设", |
|
|
// title:"市北区举行国际航运贸易金融创新中心核心区产业建设",
|
|
|
time:"6月7日", |
|
|
// time:"6月7日",
|
|
|
userInfo:{ |
|
|
// userInfo:{
|
|
|
icon:"", |
|
|
// icon:"",
|
|
|
name:"用户名", |
|
|
// name:"用户名",
|
|
|
company:"青岛誉群投资有限公司", |
|
|
// company:"青岛誉群投资有限公司",
|
|
|
position:"董事长" |
|
|
// position:"董事长"
|
|
|
}, |
|
|
// },
|
|
|
detail:"9月16日晚7时,市北区委、区政府在区机关二楼会议厅举行国际航运贸易金融创新中心核心区产业招商工作方案答辩。这是市北区借鉴市委、市政府推动15个攻势作战经验,围绕创新中心核心区建设举行的首场答辩。区委书记张新竹主持答辩并讲话。", |
|
|
// detail:"9月16日晚7时,市北区委、区政府在区机关二楼会议厅举行国际航运贸易金融创新中心核心区产业招商工作方案答辩。这是市北区借鉴市委、市政府推动15个攻势作战经验,围绕创新中心核心区建设举行的首场答辩。区委书记张新竹主持答辩并讲话。",
|
|
|
imgArr:['http://bpic.588ku.com/element_origin_min_pic/16/10/30/528aa13209e86d5d9839890967a6b9c1.jpg', |
|
|
// imgArr:['http://bpic.588ku.com/element_origin_min_pic/16/10/30/528aa13209e86d5d9839890967a6b9c1.jpg',
|
|
|
'http://bpic.588ku.com/element_origin_min_pic/16/10/30/54fcef525fa8f6037d180f3c26f3be65.jpg', |
|
|
// 'http://bpic.588ku.com/element_origin_min_pic/16/10/30/54fcef525fa8f6037d180f3c26f3be65.jpg',
|
|
|
'http://bpic.588ku.com/element_origin_min_pic/16/10/30/62e3ca3a02dddb002eff00482078d194.jpg', |
|
|
// 'http://bpic.588ku.com/element_origin_min_pic/16/10/30/62e3ca3a02dddb002eff00482078d194.jpg',
|
|
|
'http://bpic.588ku.com/element_origin_min_pic/16/10/31/c7167fcfb4ebcd12621c05b0c852e98e.jpg' |
|
|
// 'http://bpic.588ku.com/element_origin_min_pic/16/10/31/c7167fcfb4ebcd12621c05b0c852e98e.jpg'
|
|
|
], |
|
|
// ],
|
|
|
|
|
|
|
|
|
comments:[ |
|
|
comments:[ |
|
|
{ |
|
|
// {
|
|
|
userIcon:"", |
|
|
// userIcon:"",
|
|
|
userName:"用户名", |
|
|
// userName:"用户名",
|
|
|
detail:"评论内容", |
|
|
// detail:"评论内容",
|
|
|
time:"刚刚", |
|
|
// time:"刚刚",
|
|
|
praiseNum:"30" |
|
|
// praiseNum:"30"
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
userIcon: "", |
|
|
// userIcon: "",
|
|
|
userName: "用户名", |
|
|
// userName: "用户名",
|
|
|
detail: "评论内容", |
|
|
// detail: "评论内容",
|
|
|
time: "1小时前", |
|
|
// time: "1小时前",
|
|
|
praiseNum: "30" |
|
|
// praiseNum: "30"
|
|
|
} |
|
|
// }
|
|
|
], |
|
|
], |
|
|
|
|
|
|
|
|
unStar: '/images/common/star.png', |
|
|
unStar: '/images/common/star.png', |
|
@ -77,17 +77,10 @@ Page({ |
|
|
}) |
|
|
}) |
|
|
this.fetchDetailComment() |
|
|
this.fetchDetailComment() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 用户点击右上角分享 |
|
|
|
|
|
*/ |
|
|
|
|
|
onShareAppMessage: function () { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
fetchDetail(){ |
|
|
fetchDetail(){ |
|
|
let topicId = this.data.topicId |
|
|
let topicId = this.data.topicId |
|
|
|
|
|
console.log('议题详情' + topicId) |
|
|
topicModel.getTopicDetail(topicId,res => { |
|
|
topicModel.getTopicDetail(topicId,res => { |
|
|
console.log('议题详情') |
|
|
|
|
|
console.log(res) |
|
|
console.log(res) |
|
|
let data = res.result |
|
|
let data = res.result |
|
|
this.setData({ |
|
|
this.setData({ |
|
|