|
import request from '../../utils/request';
|
|
|
|
Page({
|
|
data: {
|
|
bookId: '',
|
|
bookUrl: '',
|
|
title: ''
|
|
},
|
|
|
|
onLoad(options) {
|
|
const { id, bookUrl, title } = options;
|
|
this.setData({
|
|
bookId: id,
|
|
bookUrl: decodeURIComponent(bookUrl),
|
|
title: decodeURIComponent(title)
|
|
});
|
|
}
|
|
});
|