|
|
@@ -49,13 +49,18 @@ Page({
|
|
|
canIUseNicknameComp: wx.canIUse('input.type.nickname'),
|
|
|
},
|
|
|
|
|
|
- onLoad() {
|
|
|
+ onLoad(options) {
|
|
|
this.autoLogin();
|
|
|
// 创建动画实例
|
|
|
this.recentBookAnimator = wx.createAnimation({
|
|
|
duration: 300,
|
|
|
timingFunction: 'ease',
|
|
|
});
|
|
|
+
|
|
|
+ const bookId = parseInt(options.bookId);
|
|
|
+ if (bookId) {
|
|
|
+ goToBookDetail({ bookId })
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
onShow() {
|