123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- import React from 'react';
- import { Carousel } from 'antd';
- import './index.less';
- import Page from '@src/containers/Page';
- import Assets from '@src/components/Assets';
- import Button from '../../../components/Button';
- import Footer from '../../../components/Footer';
- import { CommentFalls, Contact } from '../../../components/Other';
- import { Main } from '../../../stores/main';
- import { User } from '../../../stores/user';
- const courseIconList = ['grammar', 'read', 'logic', 'math'];
- export default class extends Page {
- constructor(props) {
- super(props);
- this.state = { courseIndex: 0 };
- }
- initData() {
- Main.getIndex().then(result => {
- this.setState(result);
- });
- Main.getBase().then(result => {
- this.setState({ base: result });
- });
- }
- location(url) {
- openLink(url);
- }
- test() {
- User.needLogin().then(() => {
- linkTo('/my/main');
- });
- }
- renderView() {
- const { prepare = {}, user = {}, course = [], activity = [], evaluation = [], base = {} } = this.state;
- return (
- <div>
- <div className="block block-1">
- <div className="body">
- <div className="title">PREPARE THE GMAT LIKE A PRO.</div>
- <div className="desc">我们相信每位考生独一无二,但科学的备考方法本质相通;</div>
- <div className="desc">我们知道考取高分并非易事,但千行的专业指导让难度下降25%;</div>
- <div className="desc">我们清楚GMAT只是留学生涯的起点,但千行努力让您收获更多。</div>
- </div>
- </div>
- <div className="block block-2">
- <div className="body">
- <div className="title">完善备考信息,赢VIP权限</div>
- <div className="desc">知己知彼,百战不殆!</div>
- <Button theme="white" className="btn" onClick={() => this.test()}>
- 立即填写
- </Button>
- </div>
- </div>
- <div className="block block-3">
- <div className="bg">
- <div className="bg-1" />
- <div className="bg-2" />
- <div className="bg-3" />
- <div className="bg-4" />
- </div>
- <div className="fixed">
- <div className="body">
- <div className="step-c step-c-1">
- <div className="m-title">备考攻略</div>
- <div className="list">
- <div className="item m-r-2">
- <div className="title">
- 自学指南<span className="sub">Self-guided</span>
- </div>
- <div className="btn">
- <Button
- className="btn-shadow"
- size="lager"
- onClick={() => {
- this.location(prepare.first);
- }}
- >
- 从零开始
- </Button>
- <Button
- className="btn-shadow"
- theme="white"
- size="lager"
- onClick={() => {
- this.location(prepare.continue);
- }}
- >
- 继续学习
- </Button>
- </div>
- </div>
- <div className="item m-l-2">
- <div className="title">
- 参与课程<span className="sub">With DUKB24</span>
- </div>
- <div className="btn">
- <Button
- theme="error"
- size="lager"
- radius
- onClick={() => {
- this.location(prepare.classJunior);
- }}
- >
- 视频课程
- </Button>
- <Button
- theme="warn"
- size="lager"
- radius
- onClick={() => {
- this.location(prepare.classMiddle);
- }}
- >
- 1VS1私教
- </Button>
- </div>
- </div>
- </div>
- </div>
- <div className="step-c step-c-2">
- <div className="m-title">WHY 千行</div>
- <div className="list">
- <div className="item m-r-1-5">
- <div className="title">
- <Assets name="planet" />
- 内容全⾯<span className="sub">360° Support</span>
- </div>
- <div className="desc">
- 网站涵盖考试介绍、方法引导、技巧点拨、练习、课程、机经、模考、心经分享等,从入门到出分,一应俱全,满足各阶段考生的备考需求。
- </div>
- </div>
- <div className="item m-r-1-5 m-l-1-5">
- <div className="title">
- <Assets name="expert" />
- 指导专业<span className="sub">We are Pro.</span>
- </div>
- <div className="desc">专注GMAT备考8年<br />出分周期高于行业平均水平26%<br />学员均分高于行业18%</div>
- </div>
- <div className="item m-l-1-5">
- <div className="title">
- <Assets name="userfriendly" />
- ⼈⼈会⽤<span className="sub">User-friendly</span>
- </div>
- <div className="desc">
- 除提供有用的数据外,网站多处设有信息引导,提供必要的解释和原理说明,从源头规避误区,协助考生做出更加明智的决策,提高备考效率。
- </div>
- </div>
- </div>
- </div>
- <div className="step-c step-c-3">
- <div className="list">
- <div className="item m-r-1-5">
- <div className="title" style={{ color: '#4292F0' }}>
- {user.numberOffline}
- </div>
- <div className="desc">注册用户</div>
- <Assets className="foot-1" name="foot1" />
- </div>
- <div className="item m-r-1-5 m-l-1-5">
- <div className="title" style={{ color: '#FFB676' }}>
- {user.number700}
- </div>
- <div className="desc">700+分学员</div>
- <Assets className="foot-2" name="foot2" />
- </div>
- <div className="item m-l-1-5">
- <div className="title" style={{ color: '#F36565' }}>
- {user.numberScore}
- </div>
- <div className="desc">学员均分</div>
- <Assets className="foot-3" name="foot1" />
- </div>
- </div>
- </div>
- <div className="step-c step-c-4">
- <div className="m-title">
- 千⾏课程<span className="sub">Waste Less, Learn More</span>
- </div>
- <div className="box">
- <div className="detail">
- {course.map((row, index) => {
- return (
- <a hidden={index !== this.state.courseIndex} href={row.link} target="_blank">
- <Assets src={row.image} />
- </a>
- );
- })}
- </div>
- <div className="list">
- {course.map((row, index) => {
- return (
- <div
- className={`tab ${this.state.courseIndex === index ? 'active' : ''}`}
- onMouseEnter={() => this.setState({ courseIndex: index })}
- onClick={() => openLink(row.link)}
- >
- <Assets name={courseIconList[index]} />
- {row.title}
- <div className={`place place-${index + 1}`}>
- <span className="right-arrow" />
- </div>
- <i className="left-arrow" />
- </div>
- );
- })}
- </div>
- </div>
- </div>
- <div className="step-c step-c-5">
- <div className="m-title">独家服务</div>
- <div className="list">
- <div className="item m-r-1-5 item1 c-p">
- <Assets className="sun" name="sun_blue" />
- <div className="title" style={{ color: '#4292F0' }} onClick={() => openLink('/examination')}>
- 千⾏CAT模考<span className="sub">></span>
- </div>
- <div className="desc">采⽤CAT出题机制、排名制算分⽅法</div>
- <div className="desc">独家题源,排除重题⼲扰</div>
- <div className="desc">模考报告提供具体考点分析,明确提升 ⽅向</div>
- </div>
- <div className="item m-r-1-5 m-l-1-5 item2 c-p" onClick={() => openLink('/textbook')}>
- <Assets className="sun" name="sun_red" />
- <div className="title" style={{ color: '#F36565' }}>
- 机经服务<span className="sub">></span>
- </div>
- <div className="desc">⾼效整理:梳理逻辑结构,⽆“反吞 噬”⻛险</div>
- <div className="desc">轻松获取:⾃动更新⾄邮箱代替⼿动 领取</div>
- <div className="desc">随时查阅:⼿机查看、在线浏览、在 线做题</div>
- </div>
- <div className="item m-l-1-5 item3 c-p" onClick={() => User.needLogin().then(() => openLink('/my'))}>
- <Assets className="sun" name="sun_yello" />
- <div className="title" style={{ color: '#FFB676' }}>
- VIP服务<span className="sub">></span>
- </div>
- <div className="desc">⾃由组卷,练你想练</div>
- <div className="desc">独家解析,专业报告</div>
- <div className="desc">提问特权,1VS1答疑</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <Carousel autoplay>
- {activity.map(row => {
- return (
- <div
- className="block block-4 c-p"
- >
- <a href={row.link} target="_blank">
- <Assets src={row.image} />
- </a>
- </div>
- );
- })}
- </Carousel>
- <CommentFalls list={evaluation} />
- <div className="block block-6">
- <div className="body">
- <div className="m-title">发展历程</div>
- <div className="step-c-list">
- <div className="step-c">
- <div className="title">
- <Assets name="dot1" />
- 2012
- </div>
- <div className="desc">“OG12语法千行”首次与大家见面,下载量过万,成为当年最热门的备考资料。</div>
- </div>
- <div className="step-c">
- <div className="title">
- <Assets name="dot2" />
- 2015
- </div>
- <div className="desc">
- 正式成立“广州多少教育咨询有限公司”,致力于帮助GMAT考生花更少的时间,取得更高的成绩,"Waste Less, Learn
- More." 同时发行“PREP0708语法千行”、“GMAT数学千行”。
- </div>
- </div>
- <div className="step-c">
- <div className="title">
- <Assets name="dot3" />
- 2019
- </div>
- <div className="desc">
- 发行“千行GMAT长难句”; 每4位GMAT考生中有3位使用“千行资料”; “千行”网站上线,我们希望为您做得更多。
- </div>
- </div>
- </div>
- </div>
- </div>
- <Contact data={base.contact} />
- <Footer />
- </div>
- );
- }
- }
|