|
@@ -54,7 +54,7 @@ Component({
|
54
|
54
|
const records = dynamics.data.records.map(x => {
|
55
|
55
|
return {
|
56
|
56
|
...x,
|
57
|
|
- createDate: x.createDate.slice(2,10)
|
|
57
|
+ createDate: x.createDate.slice(2, 10)
|
58
|
58
|
}
|
59
|
59
|
})
|
60
|
60
|
_that.setData({
|
|
@@ -66,6 +66,11 @@ Component({
|
66
|
66
|
show: function() {},
|
67
|
67
|
},
|
68
|
68
|
methods: {
|
|
69
|
+ ItemTap(e) {
|
|
70
|
+ wx.navigateTo({
|
|
71
|
+ url: '/pages/ActivityDetail/index?type=1&id=' + e.target.dataset.id
|
|
72
|
+ })
|
|
73
|
+ },
|
69
|
74
|
TopNavTap(e) { // topnav点击事件
|
70
|
75
|
if (e.target.dataset.type === 0) { // 楼盘展示
|
71
|
76
|
this.triggerEvent('myevent', {
|