|
|
@@ -24,17 +24,19 @@ onLoad(() => {})
|
|
|
const goPage = (item) => {
|
|
|
// console.log(item)
|
|
|
|
|
|
+ let msg = encodeURIComponent(JSON.stringify(item))
|
|
|
+
|
|
|
if (props.appType == '学生轨迹') {
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/track/track?id=${item.id}`
|
|
|
})
|
|
|
} else if (props.appType == '社交亲密度') {
|
|
|
uni.navigateTo({
|
|
|
- url: `/pages/intimacy/intimacy?msg=${JSON.stringify(item)}`
|
|
|
+ url: `/pages/intimacy/intimacy?msg=${msg}`
|
|
|
})
|
|
|
} else {
|
|
|
uni.navigateTo({
|
|
|
- url: `/pages/student/student?msg=${JSON.stringify(item)}`
|
|
|
+ url: `/pages/student/student?msg=${msg}`
|
|
|
})
|
|
|
}
|
|
|
}
|