feat: first commit
This commit is contained in:
3
src/pages/start/index.config.ts
Normal file
3
src/pages/start/index.config.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '',
|
||||
});
|
||||
25
src/pages/start/index.less
Normal file
25
src/pages/start/index.less
Normal file
@ -0,0 +1,25 @@
|
||||
@import '@/styles/common.less';
|
||||
@import '@/styles/variables.less';
|
||||
|
||||
.page-start {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
.flex-column();
|
||||
|
||||
&__app {
|
||||
margin-top: 50%;
|
||||
}
|
||||
|
||||
&__icon {
|
||||
width: 312px;
|
||||
height: 152px;
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: 30px;
|
||||
line-height: 32px;
|
||||
font-weight: 400;
|
||||
color: @blColorG2;
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
23
src/pages/start/index.tsx
Normal file
23
src/pages/start/index.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import { Image } from '@tarojs/components';
|
||||
import { useLoad } from '@tarojs/taro';
|
||||
|
||||
import { switchDefaultTab } from '@/utils/app';
|
||||
|
||||
import './index.less';
|
||||
|
||||
const PREFIX = 'page-start';
|
||||
|
||||
export default function Start() {
|
||||
useLoad(() => {
|
||||
switchDefaultTab();
|
||||
});
|
||||
|
||||
return (
|
||||
<div className={PREFIX}>
|
||||
<div className={`${PREFIX}__app`}>
|
||||
<Image className={`${PREFIX}__icon`} mode="aspectFit" src={require('@/statics/svg/slogan.svg')} />
|
||||
<div className={`${PREFIX}__text`}>每天推荐海量高薪通告 </div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user