|
@@ -149,8 +149,12 @@ Page({
|
|
|
bindViewDetails(e) {
|
|
|
|
|
|
let details = e.currentTarget.dataset.index
|
|
|
+ let competition = {}//这是一个很长的很多数据的对象
|
|
|
+//转成String编码一下
|
|
|
+competition = encodeURIComponent(JSON.stringify(details))
|
|
|
wx.navigateTo({
|
|
|
- url: '../notice/notice_details?details='+JSON.stringify(details)
|
|
|
+
|
|
|
+ url:`../notice/notice_details?details=${competition}`
|
|
|
})
|
|
|
}
|
|
|
})
|