diff --git a/src/components/post/tpo-collection.vue b/src/components/post/tpo-collection.vue new file mode 100644 index 00000000..5aab7955 --- /dev/null +++ b/src/components/post/tpo-collection.vue @@ -0,0 +1,202 @@ + + + diff --git a/src/plugins/Mys/request/getCollectionData.ts b/src/plugins/Mys/request/getCollectionData.ts index 6d6234fb..8d07fb36 100644 --- a/src/plugins/Mys/request/getCollectionData.ts +++ b/src/plugins/Mys/request/getCollectionData.ts @@ -37,11 +37,11 @@ export async function getCollectionData( /** * @description 获取合集帖子 * @since Beta v0.3.9 - * @param {number} collectionId 合集 ID + * @param {string} collectionId 合集 ID * @returns {Promise} */ export async function getCollectionPosts( - collectionId: number, + collectionId: string, ): Promise { const url = `https://bbs-api.miyoushe.com/post/wapi/getPostFullInCollection?collection_id=${collectionId}`; return await http diff --git a/src/views/t-post.vue b/src/views/t-post.vue index b37ef7dc..c72a58c5 100644 --- a/src/views/t-post.vue +++ b/src/views/t-post.vue @@ -7,62 +7,85 @@ :title="shareTitle" /> -
+