From 34c3753d2c2a38657b858f05c19d847f2fd6078f Mon Sep 17 00:00:00 2001 From: Dawn_Ocean <1785590531@qq.com> Date: Thu, 7 Mar 2024 11:32:37 +0800 Subject: [PATCH] add plain-text support for user page --- src/pages/user/user.tsx | 17 ++++++++-------- src/plain-text/UserPage.ts | 41 ++++++++++++++++++++++++++++++++++++++ src/plain-text/index.ts | 3 +++ 3 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 src/plain-text/UserPage.ts diff --git a/src/pages/user/user.tsx b/src/pages/user/user.tsx index 91732e8..2d4581b 100644 --- a/src/pages/user/user.tsx +++ b/src/pages/user/user.tsx @@ -5,6 +5,7 @@ import type CustomTabBar from '../../custom-tab-bar'; import './user.scss'; import { AtList, AtListItem } from 'taro-ui'; import PageFooter from '@/components/PageFooter/PageFooter'; +import pt from '@/plain-text'; export default class UserPage extends Component { // 以下是TabBar相关 @@ -44,30 +45,30 @@ export default class UserPage extends Component {