You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
813 B
33 lines
813 B
import { View } from '@tarojs/components';
|
|
import { useLoad } from '@tarojs/taro';
|
|
import logoSrc from '/assets/icons/logo.png';
|
|
|
|
import styles from './index.module.less';
|
|
|
|
export default function HeaderBar() {
|
|
|
|
useLoad(() => {
|
|
console.log('Page loaded.')
|
|
});
|
|
|
|
return (
|
|
<View className={styles.container}>
|
|
<View className={styles.row}>
|
|
<View className={styles.title}>
|
|
Hi Weaith
|
|
</View>
|
|
<View className={styles.subtitle}>
|
|
欢迎您来到融易诚
|
|
</View>
|
|
</View>
|
|
<View className={styles.row2}>
|
|
<View className={styles.item}>
|
|
<img src={logoSrc} className={styles.logo} alt='logo' />
|
|
<View className={styles.title}>
|
|
融易诚
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
)
|
|
}
|
|
|