bayi 1 year ago
parent
commit
d3553e80db
4 changed files with 6 additions and 2 deletions
  1. 5 1
      pages/donutLogin/index.js
  2. 1 1
      pages/ranking/index.js
  3. BIN
      static/375-300-2.jpg
  4. BIN
      static/375-300-3.jpg

+ 5 - 1
pages/donutLogin/index.js

@@ -43,8 +43,12 @@ Page({
                         this.setUser(userRes.data)
                         wx.setStorageSync('uid', userRes.data.uid)
                         wx.setStorageSync('user', userRes.data)
+                        wx.showToast({
+                            icon: 'loading',
+                            title: '登录成功!',
+                        })
                         wx.switchTab({
-                          url: '/pages/index/index',
+                            url: '/pages/index/index',
                         })
                     }
                 })

+ 1 - 1
pages/ranking/index.js

@@ -114,7 +114,7 @@ Page({
         return {
             title: this.data.rankingType == 3 ? '我要上热门,就差你的一个赞,快来帮帮我吧!' : '这个小程序太赞了!孩子朗读能力蹭蹭上涨,推荐你试试!',
             path: `/pages/index/index?uid=${wx.getStorageSync('uid')}`,
-            imageUrl: this.data.rankingType == 3 ? 'http://reader-wx.ai160.com/images/reader/v3/375-300-3.jpg' : 'http://reader-wx.ai160.com/images/reader/v3/375-300-2.jpg'
+            imageUrl: this.data.rankingType == 3 ? '/static/375-300-3.jpg' : '/static/375-300-2.jpg'
         }
     }
 })

BIN
static/375-300-2.jpg


BIN
static/375-300-3.jpg