删除无用文件

This commit is contained in:
ovo 2024-12-18 17:01:12 +08:00
parent 7d641f6a82
commit 86dd9d4538
10 changed files with 0 additions and 153 deletions

View File

@ -1,18 +0,0 @@
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)
});
}
});

View File

@ -1,5 +0,0 @@
<reader-component
bookId="{{bookId}}"
bookUrl="{{bookUrl}}"
title="{{title}}"
/>

View File

@ -1,27 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
const request = require('../../../utils/request');
Page({
data: {
bookId: '',
bookUrl: '',
title: ''
},
onLoad(options) {
const { id, bookUrl, title } = options;
this.setData({
bookId: id,
bookUrl: decodeURIComponent(bookUrl),
title: decodeURIComponent(title)
});
}
});

View File

@ -1,6 +0,0 @@
{
"navigationBarTitleText": "阅读",
"usingComponents": {
"reader-component": "./reader"
}
}

View File

@ -1,24 +0,0 @@
import request from '../../../utils/request';
Page({
data: {
bookId: '',
bookUrl: '',
title: ''
},
onLoad(options) {
const { id, bookUrl, title } = options;
console.log('Reader页面接收到的参数:', {
id,
bookUrl: decodeURIComponent(bookUrl),
title: decodeURIComponent(title)
});
this.setData({
bookId: id,
bookUrl: decodeURIComponent(bookUrl),
title: decodeURIComponent(title)
});
}
});

View File

@ -1,3 +0,0 @@
{
"usingComponents": {}
}

View File

@ -1,66 +0,0 @@
// pages/bookshelf/reader/read.ts
Page({
/**
*
*/
data: {
},
/**
* --
*/
onLoad() {
},
/**
* --
*/
onReady() {
},
/**
* --
*/
onShow() {
},
/**
* --
*/
onHide() {
},
/**
* --
*/
onUnload() {
},
/**
* --
*/
onPullDownRefresh() {
},
/**
*
*/
onReachBottom() {
},
/**
*
*/
onShareAppMessage() {
}
})

View File

@ -1,2 +0,0 @@
<!--pages/bookshelf/reader/read.wxml-->
<text>pages/bookshelf/reader/read.wxml</text>

View File

@ -1 +0,0 @@
/* pages/bookshelf/reader/read.wxss */

View File

@ -47,7 +47,6 @@ interface IComponentMethods {
addNoteWithSelection: () => void; addNoteWithSelection: () => void;
copySelectedText: () => void; copySelectedText: () => void;
hideTextMenu: () => void; hideTextMenu: () => void;
startReadingTimer: () => void;
stopReadingTimer: () => void; stopReadingTimer: () => void;
saveReadingRecord: (duration: number) => void; saveReadingRecord: (duration: number) => void;
} }