123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812 |
- <template>
- <div style="overflow:hidden;width:100%">
- <div style="background: #fff6e8;">
- <div style="max-width:1400px;margin:0 auto">
- <top v-if="topLoadin" @userNavTo="userTo"></top>
- </div>
- </div>
- <div style="min-width: 1400px;background: #fff6e8;overflow:hidden;width:100%">
- <div style=" position:absolute;width:100%;z-index: 999;">
- <div style="max-width:1400px;margin:0 auto;padding: 30px; ">
- <el-row>
- <el-col :span="24">
- <div class="fx-row fx-bet-cen">
- <img src="@/assets/images/login_img_logo.png"/>
- <div class="fx-1 fx-row fx-end-cen">
- <div v-for="(item,idx) in visibleRouters" :key="idx"
- style="float:left;margin-right:40px;line-height: 50px;">
- <el-link @click="to(item)" style="color:#fff;font-size: 16px;">
- <svg-icon :icon-class="item.meta.icon" style="margin-right:5px"/>
- {{ item.meta.title }}
- </el-link>
- </div>
- </div>
- </div>
- </el-col>
- </el-row>
- <el-row :gutter="24">
- <el-col :span="9" :xs="24">
- <div style="width: 400px; background: #fff; padding: 30px; margin: 100px auto;">
- <img style="width: 60%;margin-left:20%;" src="@/assets/images/login_logo.png"/>
- <div
- style="color: #47C6A2;text-align: center; margin-top: 20px;font-size: 18px;font-weight: bold;letter-spacing: 10px;margin-bottom: 40px;">
- WELCOME
- </div>
- <el-form v-if="!isLogin" ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"
- style="width: auto;">
- <el-form-item prop="username">
- <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
- <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon"/>
- </el-input>
- </el-form-item>
- <el-form-item prop="password">
- <el-input
- v-model="loginForm.password"
- type="password"
- auto-complete="off"
- placeholder="密码"
- @keyup.enter.native="handleLogin"
- >
- <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon"/>
- </el-input>
- </el-form-item>
- <!-- <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> -->
- <div class="mx-forget-pwd">
- <label @click="forgetDialogVisiable=true">忘记密码?</label>
- </div>
- <el-form-item style="width:100%;">
- <el-button :loading="loading" size="medium" type="primary" style="width:100%;"
- @click.native.prevent="handleLogin">
- <span v-if="!loading">登 录</span>
- <span v-else>登 录 中...</span>
- </el-button>
- </el-form-item>
- </el-form>
- <div v-if="isLogin">
- <div class="text-center">
- <div class="user-info-head">
- <img src="@/assets/images/profile.jpg" tclass="img-circle img-lg"
- style="border-radius:50%;width:80px;"/>
- </div>
- </div>
- <div style="padding-bottom:10px;">
- <div class="text-center mt20 mb10">
- {{ currentUser.userName }}
- </div>
- <p class="text-center" style="color:#999;font-size:14px">
- <span>{{ currentUser.nickName }} {{ currentSchoolName }}</span>
- </p>
- </div>
- <div class="list-group-item" style="margin-top:20px;border:none">
- <span style="display:inline-block;width:33%;text-align:center;cursor:pointer">
- <img style="width: 16px;position: relative;top: 2px;margin-right: 5px;"
- src="@/assets/images/icon_jifen.png" alt/>
- {{ currentUser.points || 0 }}积分
- </span>
- <span @click="userTo()"
- style="display:inline-block;width:33%;text-align:center;color:#4055F7;cursor:pointer">
- <img style="width: 16px;position: relative;top: 2px;margin-right: 5px;"
- src="@/assets/images/icon_user.png" alt/>个人中心
- </span>
- <span @click="logout"
- style="display:inline-block;width:33%;text-align:center;color:#C93C3C;cursor:pointer">
- <img style="width: 16px;position: relative;top: 2px;margin-right: 5px;"
- src="@/assets/images/icon_back.png" alt/>退出
- </span>
- </div>
- </div>
- </div>
- </el-col>
- <el-col :span="15" :xs="24">
- </el-col>
- </el-row>
- </div>
- </div>
- <img style="width: 100%;"
- src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/mingxueMainImgs/home_banner.png"/>
- <div class="special-class-container hidden-course percent-count">
- <div class="text-center" style="margin:70px;font-size:52px;font-weight: bold;">名学助力 金榜提名</div>
- <ul>
- <li>
- <div class="transition-box">
- <div class="gifts-icon">
- <span class="start-bg"></span>
- <em class="main-bg"></em>
- </div>
- <span class="gifts-title">优质师资</span>
- <p class="gifts-desc">专业教师主讲</p>
- </div>
- </li>
- <li>
- <div class="transition-box">
- <div class="gifts-icon">
- <span class="start-bg"></span>
- <em class="main-bg"></em>
- </div>
- <span class="gifts-title">单题微课</span>
- <p class="gifts-desc">实时录制 精准教学</p>
- </div>
- </li>
- <li>
- <div class="transition-box">
- <div class="gifts-icon">
- <span class="start-bg"></span>
- <em class="main-bg"></em>
- </div>
- <span class="gifts-title">三库联动</span>
- <p class="gifts-desc">发现最合适的资源</p>
- </div>
- </li>
- <li>
- <div class="transition-box">
- <div class="gifts-icon">
- <span class="start-bg"></span>
- <em class="main-bg"></em>
- </div>
- <span class="gifts-title">学乐园</span>
- <p class="gifts-desc">快乐学习 快乐提升</p>
- </div>
- </li>
- </ul>
- <!-- <div class="text-center" style="margin-top:70px;font-size:28px;font-weight: bold;">在线答题 实时阅卷</div> -->
- <div>
- <!-- <img src="@/assets/images/wdpc.png" style="width:100%;display:block" alt="">-->
- <!-- <img src="@/assets/images/zxdt.png" style="width:100%;display:block" alt="">-->
- <!-- <img src="@/assets/images/dwdbb.png" style="width:100%;display:block" alt="">-->
- <!-- <img src="@/assets/images/skld.png" style="width:100%;display:block" alt="">-->
- <img src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/mingxueMainImgs/wdpc.png"
- style="width:100%;display:block" alt/>
- <img src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/mingxueMainImgs/zxdt.png"
- style="width:100%;display:block" alt/>
- <img src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/mingxueMainImgs/dwdbb.png"
- style="width:100%;display:block" alt/>
- <img src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/mingxueMainImgs/skld.png"
- style="width:100%;display:block" alt/>
- </div>
- <div style="clear:both"></div>
- </div>
- <!-- <img :src="topImg" style="width: 30px;height: 30px;" alt=""> -->
- </div>
- <el-dialog v-if="dialogVisible" title :visible.sync="dialogVisible" width="850px">
- <complete-profile @completed="handleProfileCompleted"
- style="margin-left:250px; padding:0 30px"></complete-profile>
- </el-dialog>
- <el-dialog v-if="forgetDialogVisiable" :visible.sync="forgetDialogVisiable" title="忘记密码" width="650px"
- style="height:600px">
- <forget-password @resetPwdSuccess="forgetDialogVisiable=false"></forget-password>
- </el-dialog>
- <bottom-p class="mt40"></bottom-p>
- </div>
- </template>
- <script>
- import store from '@/store'
- import router from '@/router'
- import { mapGetters, mapActions } from 'vuex'
- import auth from '@/utils/auth'
- import {
- getUserInfoByAgentcode,
- getFrontInitialRouters
- } from '@/api/system/user'
- import * as gradeAxios from '@/api/webApi/grade'
- import * as loginAxios from '@/api/login'
- import * as system from '@/api/webApi/system'
- import forgetPassword from './components/forget-pwd.vue'
- import CompleteProfile from './components/complete-profile.vue'
- import RouterHelpMixin from '@/router/router-help-mixin'
- export default {
- mixins: [RouterHelpMixin],
- components: {
- forgetPassword,
- CompleteProfile
- },
- data() {
- return {
- forgetDialogVisiable: false,
- topLoadin: true,
- isLogin: auth.getToken(),
- loginObj: {},
- loading: false,
- gradeLoading: false,
- navList: [],
- loginForm: {
- username: '',
- password: '',
- // rememberMe: false,
- // code: "",
- // uuid: "",
- relation: 1,
- grade: 2,
- year: ''
- },
- loginRules: {
- relation: [
- {
- required: true,
- trigger: 'blur',
- message: '请选择学生端或者老师端'
- }
- ],
- grade: [
- {
- required: true,
- trigger: 'blur',
- message: '请选择学校类别'
- }
- ],
- username: [
- {
- required: true,
- trigger: 'blur',
- message: '用户名不能为空'
- }
- ],
- password: [
- {
- required: true,
- trigger: 'blur',
- message: '密码不能为空'
- }
- ],
- code: [
- {
- required: true,
- trigger: 'change',
- message: '验证码不能为空'
- }
- ]
- },
- options: {
- img: store.getters.avatar //裁剪图片的地址
- },
- submitLoading: false,
- schoolData: [],
- gradeData: [],
- classData: [],
- areaSchoolAndYears: {},
- isSecd: false,
- times: 120,
- form: {
- username: '',
- phoneNumber: '',
- code: '',
- schoolId: '',
- gradeId: [],
- clazzId: []
- },
- subjectData: [],
- dialogVisible: false,
- id: 0,
- props: {
- lazy: true,
- lazyLoad(node, resolve) {
- const { level } = node
- setTimeout(() => {
- const nodes = Array.from({
- length: level + 1
- }).map((item) => {
- let a = ''
- if (level == '0') {
- a = '省'
- } else if (level == '1') {
- a = '市'
- } else {
- a = '区'
- }
- return {
- value: 1212,
- label: `选项${a} `,
- leaf: level >= 2
- }
- })
- // 通过调用resolve将子节点数据返回,通知组件数据加载完成
- resolve(nodes)
- }, 1000)
- }
- }
- }
- },
- computed: {
- ...mapGetters([
- 'isFrontStudent',
- 'isFrontTeacher',
- 'isFrontMaster',
- 'currentUser'
- ]),
- visibleRouters() {
- return this.navList.filter((r) => r.meta?.title && !r.hidden)
- },
- currentSchoolName() {
- return this.currentUser.busiSchool?.first()?.schoolName
- }
- },
- created() {
- let u = navigator.userAgent
- let isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1
- if (isAndroid) {
- let url = this.$route.fullPath.split('?')[1]
- if (url && !this.isLogin) {
- let urlData = url.split('&')
- for (let i = 0; i < urlData.length; i++) {
- this.loginObj[urlData[i].split('=')[0]] =
- urlData[i].split('=')[1]
- }
- if (this.loginObj.username && this.loginObj.password) {
- // 直接发起登录
- this.loading = true
- this.Login(this.loginObj)
- .then(() => {
- this.isLogin = true
- this.loading = false
- this.getUser()
- this.getNav()
- // this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
- })
- .catch(() => {
- this.loading = false
- })
- }
- }
- } else {
- this.getUser()
- this.getNav()
- }
- },
- methods: {
- ...mapActions(['GenerateRoutes', 'Login', 'LogOut', 'GetInfo']),
- getNav() {
- console.log(
- 'getNav called',
- 'real menu=' + !!(this.islogin && this.currentUser.isBind),
- this.currentUser,
- this.isLogin
- )
- if (this.isLogin) {
- this.GenerateRoutes().then((accessRoutes) => {
- console.log('GenerateRoutes accessRoutes', accessRoutes)
- router.addRoutes(accessRoutes) // 动态添加可访问路由表
- this.navList = JSON.parse(
- JSON.stringify(
- this.$store.state.permission.topbarRouters
- )
- )
- })
- } else {
- getFrontInitialRouters().then((res) => {
- this.navList = res.data.map((r) => ({
- path: r.path,
- meta: r.meta
- }))
- })
- }
- },
- gouAction(data) {
- // 22.6.7 hht 作废此方法,只处理了有限级跳转
- if (data && data.length > 0) {
- if (data[0].children && data[0].children.length > 0) {
- if (
- data[0].children[0].children &&
- data[0].children[0].children.length > 0
- ) {
- return data[0].children[0].children.path
- } else {
- return data[0].path + '/' + data[0].children[0].path
- }
- } else {
- return data[0].path
- }
- } else {
- return ''
- }
- },
- handleClick(data) {
- let item = JSON.parse(JSON.stringify(data))
- let routes = [] //三级菜单
- let second = [] //二级
- let routesTo = []
- if (item.children) {
- //有二级菜单
- item.children.forEach((item2) => {
- if (item2.children) {
- item2.children.forEach((item3) => {
- item3.path =
- item.path + '/' + item2.path + '/' + item3.path
- })
- if (routes.length == 0 && item2.children.length) {
- //一级菜单下面第一个有3个菜单的二级菜单
- routes = item2.children
- routesTo = item2.children
- }
- } else {
- routesTo = item.children
- }
- item2.path = item.path + '/' + item2.path
- item2.level = 2
- second.push(item2)
- })
- let fal = false
- second.forEach((item) => {
- if (!fal && item.children && item.children.length > 0) {
- auth.setActiveMenu(item.path)
- fal = true
- }
- })
- auth.setMenuTab(second)
- this.three = true
- this.$store.commit('SET_SIDEBAR_ROUTERS', routes)
- } else {
- //没有二级菜单
- this.$store.commit('SET_SIDEBAR_ROUTERS', [])
- this.$router.push({
- path: item.path
- })
- }
- let path = this.findLeafDescendantPath(data)
- if (path) {
- this.$router.push({
- path: path
- })
- auth.setMenuListAction(path)
- } else {
- }
- auth.setMenuList(routes)
- },
- logout() {
- this.$confirm('确定注销并退出系统吗?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.LogOut().then(() => {
- this.isLogin = false
- this.getNav()
- this.topLoadin = false
- this.loginObj = {}
- setTimeout(() => {
- this.topLoadin = true
- this.$router.push({ path: '/login' })
- }, 10)
- })
- })
- },
- getUser() {
- if (!this.isLogin) return
- this.GetInfo().then((response) => {
- this.dialogVisible = !this.currentUser.isBind
- this.topLoadin = false
- setTimeout(() => {
- this.topLoadin = true
- }, 10)
- })
- },
- userTo() {
- //跳转至个人中心
- if (this.isLogin && !this.currentUser.isBind) {
- this.dialogVisible = true
- this.$message.error('请先完善信息!')
- return
- }
- const pcRouter = this.navList.find((r) => r.path == '/user')
- if (pcRouter) this.to(pcRouter)
- },
- to(url) {
- console.log('will go to', url)
- auth.removeMenuTab()
- auth.removeMenuList()
- if (this.isLogin && this.currentUser.isBind) {
- if (url == '/login') {
- window.location.reload()
- return
- }
- if (
- url ==
- '/index?type=http://8.134.76.179/index.php?m=login&token=94c750ea0f7f41d7753327792e937589'
- ) {
- window.open(
- 'http://8.134.76.179/index.php?m=login&token=' +
- this.currentUser.code
- )
- } else if (url == '/user/profile') {
- this.$router.push({
- path: url
- })
- } else {
- this.handleClick(url)
- }
- } else if (this.isLogin && this.currentUser.isBind) {
- this.dialogVisible = true
- this.$message.error('请先完善信息!')
- } else {
- this.$message.error('请先登陆!')
- }
- },
- handleLogin() {
- this.$refs.loginForm.validate((valid) => {
- if (valid) {
- this.loading = true
- this.Login(this.loginForm)
- .then(() => {
- this.isLogin = true
- this.loading = false
- this.getUser()
- this.getNav()
- // this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
- })
- .catch(() => {
- this.loading = false
- })
- }
- })
- },
- handleProfileCompleted() {
- this.dialogVisible = !this.currentUser.isBind
- this.getNav() //重新获取菜单
- }
- }
- }
- </script>
- <style scoped>
- .mx-forget-pwd {
- display: flex;
- justify-content: flex-end;
- color: #999999;
- font-size: 14px;
- margin-bottom: 20px;
- }
- .mx-forget-pwd label {
- cursor: pointer;
- }
- /deep/ .el-input-group__append button.el-button {
- background: #e6a23c;
- color: #fff;
- }
- /deep/ .el-dialog {
- background: url("../assets/images/img_bg1.png") no-repeat;
- /* background-size: 100% 100%;
- height: 580px; */
- max-height: 520px;
- width: 800px;
- }
- /deep/ .el-card__body {
- padding: 0;
- }
- /deep/ .el-form-item {
- margin-bottom: 15px;
- }
- .header-h {
- background: #47c6a2;
- }
- /deep/ .el-dialog__close {
- color: #999999;
- }
- p {
- margin: 0;
- }
- .special-class-container {
- background: #fff6e8;
- }
- .special-class-container .title,
- .special-class-container ul {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- }
- .title-info-container {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- color: #333;
- font-size: 40px;
- line-height: 56px;
- font-weight: 700;
- }
- .special-class-container ul {
- margin: 0 auto;
- width: 1400px;
- height: 215px;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: space-around;
- -ms-flex-pack: distribute;
- justify-content: space-around;
- }
- .special-class-container ul li {
- position: relative;
- width: 260px;
- height: 215px;
- -webkit-border-radius: 6px 20px 6px 20px;
- border-radius: 6px 20px 6px 20px;
- list-style-type: none;
- }
- .special-class-container ul li .transition-box {
- position: absolute;
- left: 0;
- top: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- width: 260px;
- height: 215px;
- background: #fff;
- -webkit-border-radius: 6px 20px 6px 20px;
- border-radius: 6px 20px 6px 20px;
- -webkit-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- .special-class-container ul li .gifts-icon {
- position: relative;
- margin-top: 40px;
- width: 52px;
- height: 52px;
- -webkit-border-radius: 6px 20px 6px 20px;
- border-radius: 6px 20px 6px 20px;
- background: -o-linear-gradient(
- 225deg,
- rgba(94, 232, 193, 0.2) 0,
- rgba(71, 198, 162, 0.2) 100%
- );
- background: linear-gradient(
- 225deg,
- rgba(94, 232, 193, 0.2),
- rgba(71, 198, 162, 0.2)
- );
- }
- .special-class-container ul li .start-bg {
- top: -5px;
- left: 21px;
- width: 10px;
- height: 20px;
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAABqCAYAAAAsnso2AAANOElEQVR4Xu2dW2xUxxnH/3PO2ZvttY1jY2yuwRAuNibY3C9pUqWtUqlqHxpXTatGCbm8RWoVcEgegI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x3ldjb4n3VyZqoNxBRXh/xMCwd/9iB1NxiHZEoFUCJBQU6FGZWadAF36Zx05OUyFAE2mUqFGZWadAC1PzTpycpgKAVrwT4UalZl1AnQLddaRk8NUCNCmlFSoUZlZJ0Db/GYdOTlMhcD/AY6j6qfMM6akAAAAAElFTkSuQmCC) no-repeat 50%;
- background-size: contain;
- }
- .special-class-container ul li .main-bg,
- .special-class-container ul li .start-bg {
- position: absolute;
- display: inline-block;
- -webkit-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- .special-class-container ul li .main-bg,
- .special-class-container ul li .start-bg {
- position: absolute;
- display: inline-block;
- -webkit-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- .special-class-container ul li .main-bg {
- right: 0;
- top: 0;
- }
- .special-class-container ul li:first-of-type .main-bg {
- width: 35px;
- height: 41px;
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABSCAYAAADpaaIJAAAKDUlEQVR4Xu2ceXAT1x3H960lrW7LlmzJuizb8n3hkOBwBYZJYzqlbUoS2lBDEoak06SdNp0MLW0aCnSaDO2UdmiSacIAwTTJkIamLZ0CzXg4GoNJHBnwiSVb1uVLsnXLK8m7nSfixjbC1kqybMPuf/K+936/3+d939t3+QFkxlN39d1yhAjvBCR4hCQRNYKQ/Jlp7o7fwAsAYiIBeQ5BGYfPrtjaPjUuMPnjibaTLI87+HsEEN8nSQS9O4KPLQoAEAIh0TcFQtZPPqjYEoS5ImBuQcH/TSLkBgQAcp041/41aaFDyxcHuCiTmFr8xssNy+HvMyu3tcRm9laqePNRsUElrZ8IoXqvg/OvoR7xBUe/BCFJABDQKBBiX4VwImA2Np34E4kQL4iY7NCL2pV9tSKl505G4g0w3nxUgo03bbPTIjiov5znDI0zAYK+fmZV/Q8A7FPARPg6iQCwt2R9z2xQEqn5xQwGxgXh7Ok6XwgQkiTTGFWg7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rdBPdcYS8GBnBvqyDV535H8vC/hC78acvGElR4BPTfdax1WtKxxkvlG9qS2fmzHtXSIKWVAw8LjI7/RNBQUCkWdnXkXkUzs07medHTRmdXrGBHAJAp6tgX+P7HEDQJYKMjx1Ms2IlM2N/I/i4b42pcHjFLykXWV4OKvAmUwYC/ZVeru/JedDW4d8pURuX5slHzs32C+55rSL4LIEE0WJh7MKRp5S1UT2kt4x63I+HjFkhQgChcsK1SKJ8xFZrv3SiC3jst0meUxeZnt2HncrU9qUXu5szP/Mac2QcngBBx7A4OgVHiF5SJxrf0ZdMzDzcMAQ7mMeNelyLjr6JXBZAY6axRgHHwr4OA+IFGNweeGuUMzTur+VDY57I50rbCYPihRjO9Q1NjVXNGtfYfI7sSMmnfyK05oBmxvMLmPzA8dqvtWx5MGESAJ8s/m9GljzVUKZc0duja2EL6G0DNHltXOO9Ovk192DkcOPf699Ukf1tEWsIFPWlLq8Ds4bfc2qZ3JrrDXCnIRm1zr3AO9ov07xfF6tuYQvpgR30YGBikl27c5HmZPgUqaYWGtqsaSjwdyhJmgwNBhqjZRWDK0YWjHUCNCKocaL7mNoxdCKoUaAVgw1XnQfQysmbsVQu4qJmpmllXraVUxUL+9aWqFS83b65V0Ur3ujZmpppZ523RvVCwKXVqixe3vbBYEwK5UrJWM3tXRSRr1SErpP5RLSpRPu7J7GdAnpl3Doa2unXVs7lS190fEtGv8Dj4axIfcsdnwAAAAASUVORK5CYII=) no-repeat 50%;
- background-size: 100% 100%;
- }
- .special-class-container.hidden-course ul li:first-of-type .main-bg {
- background: url("../assets/images/icon_zhinengceping.png") no-repeat 50%;
- background-size: 100% 100%;
- height: 39px;
- right: -2px;
- }
- .special-class-container.hidden-course ul li:nth-of-type(2) .main-bg {
- width: 38px;
- height: 44px;
- background-size: 100% 100%;
- background: url("../assets/images/icon_dantiweike.png") no-repeat 50%;
- }
- .special-class-container ul li:nth-of-type(3) .main-bg {
- width: 38px;
- height: 44px;
- background: url("../assets/images/icon_sankuliandong.png") no-repeat 50%;
- background-size: 100% 100%;
- }
- .special-class-container ul li:nth-of-type(4) .main-bg {
- width: 42px;
- height: 42px;
- background: url("../assets/images/icon_kuailejinsai.png") no-repeat 50%;
- background-size: 100% 100%;
- }
- .special-class-container ul li .gifts-title {
- color: #333;
- font-size: 28px;
- line-height: 40px;
- font-weight: 700;
- margin: 19px 0 6px;
- -webkit-transition: color forwards 2s;
- -o-transition: color 2s forwards;
- transition: color forwards 2s;
- }
- .special-class-container ul li .gifts-desc {
- color: #666;
- font-size: 14px;
- line-height: 20px;
- }
- .special-class-container ul li:hover .transition-box {
- top: -10px;
- -webkit-box-shadow: 0 8px 18px 0 #ffefd7;
- box-shadow: 0 8px 18px 0 #ffefd7;
- }
- .special-class-container ul li:hover .gifts-icon {
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- background: -o-linear-gradient(225deg, #5ee8c1 0, #47c6a2 100%);
- background: linear-gradient(225deg, #5ee8c1, #47c6a2);
- }
- .special-class-container ul li:hover .start-bg {
- width: 87px;
- height: 53px;
- top: -28px;
- left: -16px;
- }
- .special-class-container.hidden-course ul li:hover:first-of-type .main-bg {
- right: 6px;
- }
- .special-class-container ul li:hover .gifts-title {
- color: #47c6a2;
- -webkit-transition: color forwards 2s;
- -o-transition: color 2s forwards;
- transition: color forwards 2s;
- }
- </style>
|