Ver código fonte

修改反馈问题2

sophieChenyx 6 anos atrás
pai
commit
81c6251e09

+ 4 - 1
pages/accuracy_rank/accuracy_rank.js

@@ -23,6 +23,9 @@ Page({
     wx.setNavigationBarTitle({
       title: '好友比一比'
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   /**
@@ -102,6 +105,6 @@ Page({
    * 用户点击右上角分享
    */
   onShareAppMessage: function () {
-  
+
   }
 })

+ 3 - 1
pages/chinese/chinese.js

@@ -85,7 +85,9 @@ Page({
   },
 
   onLoad: function (options) {
-   
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   onShow: function () {

+ 4 - 1
pages/competition/competition.js

@@ -23,7 +23,10 @@ Page({
   onLoad: function (options) {
     wx.setNavigationBarTitle({
       title: '好友比一比'
-    })
+    });
+      wx.showShareMenu({
+        withShareTicket: true
+      })
   },
 
   /**

+ 3 - 1
pages/english/english.js

@@ -85,7 +85,9 @@ Page({
   },
 
   onLoad: function (options) {
-
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   onShow: function () {

+ 3 - 0
pages/grade_rank/grade_rank.js

@@ -23,6 +23,9 @@ Page({
     wx.setNavigationBarTitle({
       title: '好友比一比'
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   /**

+ 3 - 0
pages/index/index.js

@@ -40,6 +40,9 @@ Page({
     //获取分享过来的值跳转页面
     const ind  = options.ind;
     const postsId = options.postId || '';
+    wx.showShareMenu({
+      withShareTicket: true
+    })
     //判断ind的值移动到到艺术
     if(ind) {
       this.setData({

+ 3 - 0
pages/input_content/input_content.js

@@ -198,6 +198,9 @@ Page({
     this.setData({
       type: options.type
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   /**

+ 3 - 0
pages/language/language.js

@@ -84,6 +84,9 @@ Page({
     })
   },
   onLoad: function (options) {
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   onShow: function () {

+ 3 - 0
pages/logs/logs.js

@@ -11,5 +11,8 @@ Page({
         return util.formatTime(new Date(log))
       })
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   }
 })

+ 3 - 0
pages/mathematics/mathematics.js

@@ -77,6 +77,9 @@ Page({
   },
 
   onLoad: function (options) {
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
   /*点击定位*/
   location: function (e) {

+ 3 - 0
pages/medal_rank/medal_rank.js

@@ -23,6 +23,9 @@ Page({
     wx.setNavigationBarTitle({
       title: '好友比一比'
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   /**

+ 3 - 0
pages/particulars/particulars.js

@@ -138,6 +138,9 @@ Page({
    */
   onLoad: function (options) {
     const type = options.type;
+    wx.showShareMenu({
+      withShareTicket: true
+    })
     this.setData({
       type: type
     })

+ 3 - 0
pages/quantity_rank/quantity_rank.js

@@ -23,6 +23,9 @@ Page({
     wx.setNavigationBarTitle({
       title: '好友比一比'
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
 
   /**

+ 3 - 0
pages/recommend/recommend.js

@@ -12,6 +12,9 @@ Page({
   },
 
   onLoad: function (options) {
+    wx.showShareMenu({
+      withShareTicket: true
+    })
     
   },
 

+ 3 - 0
pages/set_name/set_name.js

@@ -22,6 +22,9 @@ Page({
     wx.setNavigationBarTitle({
       title: '更改昵称'
     })
+    wx.showShareMenu({
+      withShareTicket: true
+    })
   },
   /*点击更改*/
   save: function () {

+ 3 - 0
pages/transmit/transmit.js

@@ -81,6 +81,9 @@ Page({
   onLoad: function (options) {
     const postsId = options.postId || '';
     //判断分享过来的参数是否有postId查询单挑显示
+    wx.showShareMenu({
+      withShareTicket: true
+    })
     if(postsId) {
       login.getOpenidSessionKey(res => {
         APIClient.getOneSchedule({