Commit b83bac3f authored by hewenhao's avatar hewenhao

feat: update

parent 2bbca2bb
{
"share.png": {
"u": "https://cdn.jkwljy.com/pk-math/4LHyu63hfeteRxAKNb2cj2uCrahf/420x336",
"w": 420,
"h": 336,
"ossName": "/pk-math/4LHyu63hfeteRxAKNb2cj2uCrahf/420x336"
}
}
{ {
"name": "learn-math-weapp", "name": "learn-math-weapp",
"version": "1.0.0", "version": "1.0.1",
"private": true, "private": true,
"description": "", "description": "",
"scripts": { "scripts": {
...@@ -98,4 +98,4 @@ ...@@ -98,4 +98,4 @@
"resolutions": { "resolutions": {
"@types/react": "^17.0.2" "@types/react": "^17.0.2"
} }
} }
\ No newline at end of file
/* eslint-disable quotes */
/* eslint-disable quote-props */
export default {
"share.png": {
"u": "https://cdn.jkwljy.com/pk-math/4LHyu63hfeteRxAKNb2cj2uCrahf/420x336",
"w": 420,
"h": 336
}
} as const
...@@ -23,9 +23,7 @@ ...@@ -23,9 +23,7 @@
} }
.avatar { .avatar {
flex: 1; margin-right: 12PX;
min-width: 0;
margin-right: 8PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -43,7 +41,7 @@ ...@@ -43,7 +41,7 @@
.score { .score {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 1; margin-right: 18PX;
.icon { .icon {
width: 32PX; width: 32PX;
...@@ -55,7 +53,6 @@ ...@@ -55,7 +53,6 @@
.ph { .ph {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 1;
.icon { .icon {
width: 32PX; width: 32PX;
height: 32PX; height: 32PX;
......
...@@ -72,7 +72,7 @@ const Group = () => { ...@@ -72,7 +72,7 @@ const Group = () => {
return { return {
title: '邀请你来一起PKmath,快乐提升哦', title: '邀请你来一起PKmath,快乐提升哦',
path: `pages/main/main?groupId=${tribeInfo?.id}&shareUserId=${userInfo.userId}`, path: `pages/main/main?groupId=${tribeInfo?.id}&shareUserId=${userInfo.userId}`,
imageUrl: 'https://cdn.jkwljy.com/pk-math/2G8dDyjuzbMbZ94UhwCpn7zUpw7V/300x300', imageUrl: 'https://cdn.jkwljy.com/pk-math/4LHyu63hfeteRxAKNb2cj2uCrahf/420x336',
} }
}) })
......
...@@ -31,9 +31,7 @@ ...@@ -31,9 +31,7 @@
} }
.avatar { .avatar {
flex: 1; margin-right: 12PX;
min-width: 0;
margin-right: 8PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -51,7 +49,7 @@ ...@@ -51,7 +49,7 @@
.score { .score {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 1; margin-right: 18PX;
.icon { .icon {
width: 32PX; width: 32PX;
...@@ -63,7 +61,6 @@ ...@@ -63,7 +61,6 @@
.ph { .ph {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 1;
.icon { .icon {
width: 32PX; width: 32PX;
height: 32PX; height: 32PX;
......
...@@ -41,7 +41,7 @@ const Scene5 = (props: Scene5Props) => { ...@@ -41,7 +41,7 @@ const Scene5 = (props: Scene5Props) => {
<Text>各类题型,已经为你准备好啦。我这个数学大师不错吧!</Text> <Text>各类题型,已经为你准备好啦。我这个数学大师不错吧!</Text>
) )
: ( : (
<Text>请问同学有哪些<Text className={styles.em}>计算问题</Text>需要提高呢?<Text className={styles.select}>多选</Text></Text> <Text>请问同学有哪些<Text className={styles.em}>应用题方面的问题</Text>需要提高呢?<Text className={styles.select}>多选</Text></Text>
)} )}
</View> </View>
{isSubmit && ( {isSubmit && (
...@@ -57,14 +57,14 @@ const Scene5 = (props: Scene5Props) => { ...@@ -57,14 +57,14 @@ const Scene5 = (props: Scene5Props) => {
<View className={styles.card}> <View className={styles.card}>
<Image src={assets['right.png'].u} className={styles.right} /> <Image src={assets['right.png'].u} className={styles.right} />
<Image src={assets['book-2.png'].u} className={styles.card_icon}></Image> <Image src={assets['book-2.png'].u} className={styles.card_icon}></Image>
<View className={styles.tip1}>常考应用题</View> <View className={styles.tip1}>灵活应用题</View>
<View className={styles.tip2}>每学期近30类</View> <View className={styles.tip2}>每学期近20类</View>
</View> </View>
<View className={styles.card}> <View className={styles.card}>
<Image src={assets['right.png'].u} className={styles.right} /> <Image src={assets['right.png'].u} className={styles.right} />
<Image src={assets['book-3.png'].u} className={styles.card_icon}></Image> <Image src={assets['book-3.png'].u} className={styles.card_icon}></Image>
<View className={styles.tip1}>常考应用题</View> <View className={styles.tip1}>附加拓展题</View>
<View className={styles.tip2}>每学期近30类</View> <View className={styles.tip2}>每学期近20类</View>
</View> </View>
</View> </View>
</View> </View>
...@@ -73,7 +73,7 @@ const Scene5 = (props: Scene5Props) => { ...@@ -73,7 +73,7 @@ const Scene5 = (props: Scene5Props) => {
<View className={styles.option}> <View className={styles.option}>
<View className={classNames(styles.option_item, cs.slide_in, active1 && styles.active)} onClick={active1Action.toggle}> <View className={classNames(styles.option_item, cs.slide_in, active1 && styles.active)} onClick={active1Action.toggle}>
<Image src={assets['book-1.png'].u} className={styles.option_icon}></Image> <Image src={assets['book-1.png'].u} className={styles.option_icon}></Image>
<View className={styles.option_content}><Text className={styles.b}>常考应用题</Text>时不时会出错,想让应用题掌握更</View> <View className={styles.option_content}><Text className={styles.b}>常考应用题</Text>时不时会出错,想让应用题掌握更扎实</View>
</View> </View>
<View className={classNames(styles.option_item, cs.slide_in, active2 && styles.active)} onClick={active2Action.toggle}> <View className={classNames(styles.option_item, cs.slide_in, active2 && styles.active)} onClick={active2Action.toggle}>
<Image src={assets['book-2.png'].u} className={styles.option_icon}></Image> <Image src={assets['book-2.png'].u} className={styles.option_icon}></Image>
...@@ -81,7 +81,7 @@ const Scene5 = (props: Scene5Props) => { ...@@ -81,7 +81,7 @@ const Scene5 = (props: Scene5Props) => {
</View> </View>
<View className={classNames(styles.option_item, cs.slide_in, active3 && styles.active)} onClick={active3Action.toggle}> <View className={classNames(styles.option_item, cs.slide_in, active3 && styles.active)} onClick={active3Action.toggle}>
<Image src={assets['book-3.png'].u} className={styles.option_icon}></Image> <Image src={assets['book-3.png'].u} className={styles.option_icon}></Image>
<View className={styles.option_content}><Text className={styles.b}>附加拓展题</Text>时常不会,想提升数学思维,掌握</View> <View className={styles.option_content}><Text className={styles.b}>附加拓展题</Text>时常不会,想提升数学思维,掌握各种拓展题型</View>
</View> </View>
</View> </View>
)} )}
......
...@@ -9,7 +9,7 @@ type TextPrinterProps = { ...@@ -9,7 +9,7 @@ type TextPrinterProps = {
} }
const TextPrinter = (props: TextPrinterProps) => { const TextPrinter = (props: TextPrinterProps) => {
const { textList, onEnd, speed = 100, pauseTime = 400 } = props const { textList, onEnd, speed = 100, pauseTime = 300 } = props
const [visibleText, setVisibleText] = useState('') const [visibleText, setVisibleText] = useState('')
const charIndex = useRef(0) const charIndex = useRef(0)
const currentTextIndex = useRef(0) const currentTextIndex = useRef(0)
......
...@@ -79,7 +79,7 @@ const Prepare = () => { ...@@ -79,7 +79,7 @@ const Prepare = () => {
return { return {
title: '邀请你来一起PKmath,快乐提升哦', title: '邀请你来一起PKmath,快乐提升哦',
path: `pages/main/main?groupId=${tribeInfo?.id}&shareUserId=${userInfo.userId}`, path: `pages/main/main?groupId=${tribeInfo?.id}&shareUserId=${userInfo.userId}`,
imageUrl: 'https://cdn.jkwljy.com/pk-math/2G8dDyjuzbMbZ94UhwCpn7zUpw7V/300x300', imageUrl: 'https://cdn.jkwljy.com/pk-math/4LHyu63hfeteRxAKNb2cj2uCrahf/420x336',
} }
}) })
......
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