|
@@ -16,14 +16,18 @@ Page({
|
|
|
return
|
|
|
}
|
|
|
if (item.type === 'sph') {
|
|
|
- wx.openChannelsActivity({
|
|
|
- finderUserName: item.sph_id,
|
|
|
- feedId: item.sp_id,
|
|
|
+ wx.navigateTo({
|
|
|
+ url: "/pages/sph/index?sph_id=" + item.sph_id + "&sp_id=" + item.sp_id
|
|
|
})
|
|
|
+ // wx.openChannelsActivity({
|
|
|
+ // finderUserName: item.sph_id,
|
|
|
+ // feedId: item.sp_id,
|
|
|
+ // })
|
|
|
return
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
+ // console.log(__wxConfig.accountInfo.icon) // 小程序icon
|
|
|
ajax({
|
|
|
urlType: "fileurl",
|
|
|
api: "/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/home.json?data=" +
|