Skip to content

Commit

Permalink
🚚 move:调整项目目录
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackishGreen33 committed Aug 24, 2024
1 parent 24c19d1 commit 3ea81cb
Show file tree
Hide file tree
Showing 68 changed files with 49 additions and 487 deletions.
16 changes: 12 additions & 4 deletions src/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
// { pagePath: 'pages/456/index', text: '456' },
// ],
// },
// // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
// usingComponents: Object.assign({
// iconfont: `common/components/iconfont/weapp/weapp`,
// }),
// lazyCodeLoading: 'requiredComponents',
// });

Expand All @@ -60,10 +56,22 @@ export default defineAppConfig({
'pages/index/index',
'pages/editUser/index',
],
// tabBar: {
// /* tab页面必须放在主包里 */
// custom: true,
// list: [
// {
// pagePath: 'pages/123/index',
// text: '123',
// },
// { pagePath: 'pages/456/index', text: '456' },
// ],
// },
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black',
},
lazyCodeLoading: 'requiredComponents',
});
Empty file removed src/app.scss
Empty file.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, PropsWithChildren } from 'react';

import '@/common/styles/app.scss';

import checkToken from '@/utils/checkToken';
import checkToken from '@/common/utils/checkToken';

class App extends Component<PropsWithChildren> {
//TODO 写成加interceptor 但是我还没写明白 别急
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-return */
// userService.ts
import { get } from '@/fetch'; // 确保这个路径正确
import { get } from '@/common/utils/fetch'; // 确保这个路径正确

import { User } from './types';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React, { useEffect, useState } from 'react';

import './index.scss';

import { get } from '@/fetch';
import { get } from '@/common/utils/fetch';

import { Comment } from '../../assets/types';
import { getUserInfo } from '../../assets/userService';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import './comment.scss';

import ShowStar from '../showStar/showStar';

export default function comment(props) {
export default function Comment(props) {
// 创建一个新的Date对象,传入时间戳
const ctimeDate = new Date(props.ctime);
// const utimeDate = new Date(props.utime);
Expand Down
2 changes: 0 additions & 2 deletions src/common/components/iconfont/helper.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/common/components/iconfont/helper.js

This file was deleted.

81 changes: 0 additions & 81 deletions src/common/components/iconfont/index.tsx

This file was deleted.

89 changes: 0 additions & 89 deletions src/common/components/iconfont/index.weapp.tsx

This file was deleted.

63 changes: 0 additions & 63 deletions src/common/components/iconfont/weapp/weapp.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/common/components/iconfont/weapp/weapp.json

This file was deleted.

Loading

0 comments on commit 3ea81cb

Please sign in to comment.