@@ -23,6 +23,9 @@ Page({
wx.setNavigationBarTitle({
title: '好友比一比'
})
+ wx.showShareMenu({
+ withShareTicket: true
+ })
},
/**
@@ -102,6 +105,6 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
-
+
}
@@ -85,7 +85,9 @@ Page({
onLoad: function (options) {
onShow: function () {
@@ -23,7 +23,10 @@ Page({
- })
+ });
@@ -40,6 +40,9 @@ Page({
//获取分享过来的值跳转页面
const ind = options.ind;
const postsId = options.postId || '';
//判断ind的值移动到到艺术
if(ind) {
this.setData({
@@ -198,6 +198,9 @@ Page({
type: options.type
@@ -84,6 +84,9 @@ Page({
@@ -11,5 +11,8 @@ Page({
return util.formatTime(new Date(log))
@@ -77,6 +77,9 @@ Page({
/*点击定位*/
location: function (e) {
@@ -138,6 +138,9 @@ Page({
const type = options.type;
type: type
@@ -12,6 +12,9 @@ Page({
@@ -22,6 +22,9 @@ Page({
title: '更改昵称'
/*点击更改*/
save: function () {
@@ -81,6 +81,9 @@ Page({
//判断分享过来的参数是否有postId查询单挑显示
if(postsId) {
login.getOpenidSessionKey(res => {
APIClient.getOneSchedule({