Commit e9923bea authored by hewenhao's avatar hewenhao

feat: update

parent 5c64d856
......@@ -155,7 +155,7 @@ const GameCompleteAchieve = () => {
<View className={styles.main_text}>全市排名</View>
<View className={styles.tips_text}>恭喜你进入了全市前{rankNoS}名</View>
</View>
<View className={styles.rank_text}>{rankNo}名</View>
<View className={styles.rank_text}>第{rankNo}名</View>
</View>
{gameResult?.upGear && (
<View className={styles.achieve_item}>
......
.chapter {
padding: 28px 32px 30px 32px;
padding: 24px 32px 24px 32px;
background-color: #1786f7;
background-image: url(../assets/chapter-bg.png);
background-size: 100% 100%;
color: #FFFFFF;
display: flex;
align-items: center;
box-sizing: border-box;
position: relative;
z-index: 1;
box-shadow: 0 1px 14px rgba(0, 81, 231, 0.1);
position: relative;
overflow: hidden;
.bg {
position: absolute;
width: 100%;
top: 0;
left: 0;
right: 0;
z-index: 1;
}
}
.chapterContent {
flex: 1;
min-width: 0;
position: relative;
z-index: 2;
}
.chapterName {
......@@ -22,6 +32,7 @@
font-weight: 600;
color: #FFFFFF;
line-height: 60px;
text-align: center;
}
.chapterTips {
......
import { View, Text } from '@tarojs/components'
import { View, Text, Image } from '@tarojs/components'
import styles from './chapter.module.scss'
const MainHeader = () => {
return (
<View className={styles.chapter}>
<Image src={require('../assets/chapter-bg.png')} mode="widthFix" className={styles.bg}></Image>
<View className={styles.chapterContent}>
<View className={styles.chapterName}>
<Text>第 1 部分</Text>
<Text>海洋世界</Text>
</View>
<View className={styles.chapterTips}><Text>二年级下·上半学期</Text></View>
{/* <View className={styles.chapterTips}><Text>二年级下·上半学期</Text></View> */}
</View>
{/* <View className={styles.help} hoverClass={styles['is-hover-btn']}>
<Image src={require('../assets/help.png')} className={styles.icon}></Image>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment