index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <template>
  2. <div class="index" v-if="isPc">
  3. <div class="shadow" v-if="LoginOrRegistration != 'signin'">
  4. <LoginNav
  5. :changeLoginReg="changeLoginReg"
  6. :FatheruserMessage="userMessage"
  7. :language_list="language_list"
  8. :projectList="projectList"
  9. />
  10. <!-- <LayoutHeader /> -->
  11. <div class="logoAndlogin">
  12. <div class="LogoAndText">
  13. <div class="logo">GCLS</div>
  14. <div class="text">
  15. <p class="p1">欢迎来到全球汉语教学平台</p>
  16. <p class="p2">
  17. 这里有丰富的教学资源、先进的教学方法,无论您是教师或学生都能在这里尽情汲取养分!
  18. </p>
  19. </div>
  20. </div>
  21. <div class="login" v-if="LoginOrRegistration == 'login'">
  22. <Login
  23. :ForgetType.sync="loginType"
  24. :changeLoginReg="changeLoginReg"
  25. :changeLoginType="changeLoginType"
  26. />
  27. </div>
  28. <div
  29. v-if="LoginOrRegistration == 'Forget password'"
  30. class="ForgetPassword"
  31. >
  32. <ForgetPassword
  33. :changeLoginReg="changeLoginReg"
  34. :ForgetType.sync="loginType"
  35. :changeLoginType="changeLoginType"
  36. />
  37. </div>
  38. <div class="list" v-if="!LoginOrRegistration">
  39. <div
  40. :class="projectIndex == item.id ? 'Selectproject' : ''"
  41. @mousemove="projectMove(item)"
  42. @mouseout="projectOut"
  43. v-for="(item, i) in projectList"
  44. :key="i"
  45. @click="SelectProject(i)"
  46. >
  47. <div>
  48. <img
  49. v-if="projectIndex == item.id"
  50. :src="require('../../assets/login/' + item.selectImg + '.png')"
  51. alt=""
  52. />
  53. <img
  54. v-else
  55. :src="require('../../assets/login/' + item.img + '.png')"
  56. alt=""
  57. />
  58. <p>{{ item.name }}</p>
  59. </div>
  60. <p>{{ item.text }}</p>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="bottom" v-if="LoginOrRegistration != 'signin'">
  65. <div>
  66. <span> About us </span>
  67. <span>
  68. <span style="margin-right: 16px"> Office: </span>
  69. hzmd@160.com
  70. </span>
  71. <span>
  72. <span style="margin-right: 16px"> Tell: </span>
  73. 800-820-8820</span
  74. >
  75. <span>
  76. <span style="margin-right: 16px"> Site: </span>
  77. 123 walton gorgla street town hall,beijing.CH</span
  78. >
  79. </div>
  80. <div>
  81. <span style="font-weight: bold"> Copyright </span>
  82. © 2010-2021 HugeMind All rights reserved.
  83. </div>
  84. </div>
  85. </div>
  86. <!-- <div v-if="LoginOrRegistration == 'signin'" class="signin">
  87. <LoginNav2
  88. :changeLoginReg="changeLoginReg"
  89. :language_list="language_list"
  90. />
  91. <Registration :changeLoginReg="changeLoginReg" />
  92. </div> -->
  93. </div>
  94. </template>
  95. <script>
  96. //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  97. //例如:import 《组件名称》from ‘《组件路径》';
  98. import Login from "@/components/login/login";
  99. import Registration from "@/components/login/registration";
  100. import LoginNav2 from "@/components/login/LoginNav2";
  101. import ForgetPassword from "@/components/login/ForgetPassword";
  102. import LoginNav from "@/components/login/LoginNav";
  103. import Cookies from "js-cookie";
  104. import { getLogin, getContent, getAcsCode, getStaticContent } from "@/api/api";
  105. import LayoutHeader from "@/components/login/LayoutHeader";
  106. import { updateWordPack } from "@/utils/i18n";
  107. import { getToken, removeToken } from "@/utils/auth";
  108. export default {
  109. //import引入的组件需要注入到对象中才能使用
  110. components: {
  111. Login,
  112. Registration,
  113. ForgetPassword,
  114. LoginNav,
  115. LoginNav2,
  116. LayoutHeader,
  117. },
  118. props: {},
  119. data() {
  120. //这里存放数据
  121. return {
  122. isPc: false,
  123. LoginOrRegistration: "", //注册 登录 忘记密码
  124. loginType: "teacher",
  125. projectList: [],
  126. projectList1: [
  127. {
  128. id: 0,
  129. name: "教学中心",
  130. img: "project1-1",
  131. selectImg: "project1-1-1",
  132. text: "帮助您快速完成课程及任务安排,快速清晰的完成学习任务。",
  133. },
  134. {
  135. id: 1,
  136. name: "教材中心",
  137. img: "project8-8",
  138. selectImg: "project1-1-1",
  139. text: "帮您快速定制生动、有趣、实用的数字教材。",
  140. },
  141. {
  142. id: 2,
  143. name: "教培中心",
  144. img: "project2-2-2",
  145. selectImg: "project2-2",
  146. text: "名师授课,丰富的课程体系,快速扎实帮您提升教学能力。",
  147. },
  148. {
  149. id: 3,
  150. name: "教研中心",
  151. img: "project6-6-6",
  152. selectImg: "project6-6",
  153. text: "丰富的教学资料和珍贵的文献可以在线查看或下载。",
  154. },
  155. //
  156. {
  157. id: 4,
  158. name: "考试中心",
  159. img: "project5-5-5",
  160. selectImg: "project5-5",
  161. text: "丰富的题库将帮助您快速编写实用、准确、全面的试卷。",
  162. },
  163. {
  164. id: 5,
  165. name: "学习中心",
  166. img: "project4-4-4",
  167. selectImg: "project4-4",
  168. text: "在这里可以很容易地找到数字教科书、学习材料和丰富的课程。",
  169. },
  170. {
  171. id: 6,
  172. // Teacher training center
  173. name: "个人中心",
  174. img: "project3-3-3",
  175. selectImg: "project3-3",
  176. text: "您收集和购买的所有资源都可以在这里轻松找到。",
  177. },
  178. ],
  179. teacherProList: [
  180. //普通教师
  181. {
  182. id: 0,
  183. name: "教学中心",
  184. img: "project1-1",
  185. selectImg: "project1-1-1",
  186. text: "帮助您快速完成课程及任务安排,快速清晰的完成学习任务。",
  187. },
  188. {
  189. id: 2,
  190. name: "教培中心",
  191. img: "project2-2-2",
  192. selectImg: "project2-2",
  193. text: "名师授课,丰富的课程体系,快速扎实帮您提升教学能力。",
  194. },
  195. {
  196. id: 3,
  197. name: "教研中心",
  198. img: "project6-6-6",
  199. selectImg: "project6-6",
  200. text: "丰富的教学资料和珍贵的文献可以在线查看或下载。",
  201. },
  202. {
  203. id: 4,
  204. name: "考试中心",
  205. img: "project5-5-5",
  206. selectImg: "project5-5",
  207. text: "丰富的题库将帮助您快速编写实用、准确、全面的试卷。",
  208. },
  209. {
  210. id: 5,
  211. name: "学习中心",
  212. img: "project4-4-4",
  213. selectImg: "project4-4",
  214. text: "在这里可以很容易地找到数字教科书、学习材料和丰富的课程。",
  215. },
  216. {
  217. id: 6,
  218. // Teacher training center
  219. name: "个人中心",
  220. img: "project3-3-3",
  221. selectImg: "project3-3",
  222. text: "您收集和购买的所有资源都可以在这里轻松找到。",
  223. },
  224. ],
  225. stuProList: [
  226. {
  227. id: 0,
  228. name: "教学中心",
  229. // name: this.$t("teaching"),
  230. img: "project1-1-1",
  231. selectImg: "project1-1",
  232. text: "帮助您快速完成课程及任务安排,快速清晰的完成学习任务。",
  233. },
  234. {
  235. id: 5,
  236. name: "学习中心",
  237. img: "project4-4-4",
  238. selectImg: "project4-4",
  239. text: "在这里可以很容易地找到数字教科书、学习材料和丰富的课程。",
  240. },
  241. {
  242. id: 6,
  243. // Teacher training center
  244. name: "个人中心",
  245. img: "project3-3-3",
  246. selectImg: "project3-3",
  247. text: "您收集和购买的所有资源都可以在这里轻松找到。",
  248. },
  249. ],
  250. projectIndex: null,
  251. userMessage: null,
  252. language_list: null,
  253. };
  254. },
  255. //计算属性 类似于data概念
  256. computed: {},
  257. //监控data中数据变化
  258. watch: {},
  259. //方法集合
  260. methods: {
  261. changeLoginReg(value, userMessage) {
  262. if (value == "signin") {
  263. this.$router.push("/Signup");
  264. } else {
  265. this.LoginOrRegistration = value;
  266. }
  267. this.userMessage = userMessage ? userMessage : null;
  268. if (this.userMessage) {
  269. let _this = this;
  270. let popedom_code_list = _this.userMessage.popedom_code_list;
  271. if (_this.userMessage.user_type == "TEACHER") {
  272. _this.projectList =
  273. popedom_code_list.indexOf(2000001) > -1
  274. ? []
  275. : _this.handleProList(popedom_code_list);
  276. } else if (_this.userMessage.user_type == "STUDENT") {
  277. //_this.projectList = _this.stuProList;
  278. }
  279. _this.projectList.forEach((item, index) => {
  280. if (item.id == 4) {
  281. _this.LoginNavIndex = index;
  282. }
  283. });
  284. } else {
  285. this.projectList = [];
  286. }
  287. },
  288. changeLoginType(value) {
  289. this.loginType = value;
  290. },
  291. // 鼠标进入
  292. projectMove(item) {
  293. this.projectIndex = item.id;
  294. },
  295. // 鼠标离开
  296. projectOut() {
  297. this.projectIndex = null;
  298. },
  299. async SelectProject(command) {
  300. let _this = this;
  301. _this.LoginNavIndex = command;
  302. let userInfor = getToken();
  303. let user_code = "",
  304. user_type = "",
  305. session_id = "";
  306. if (userInfor) {
  307. userInfor = JSON.parse(getToken());
  308. user_code = userInfor.user_code;
  309. user_type = userInfor.user_type;
  310. session_id = userInfor.session_id;
  311. }
  312. if (!session_id || !user_code || !user_type || !userInfor) {
  313. this.$message.warning("请先登录");
  314. this.projectName = this.projectList[0].name;
  315. return;
  316. }
  317. let acsCode = null;
  318. let MethodName = "login_control-CreateAccessCode";
  319. getContent(MethodName, user_code, user_type, session_id).then((res) => {
  320. acsCode = res.access_code;
  321. _this.projectName = this.projectList[command].name;
  322. let id = this.projectList[command].id;
  323. if (id == 0) {
  324. // 教学管理系统
  325. location.href = `/GCLS-Learn/#/EnterSys?AccessCode=${acsCode}`;
  326. } else if (id == 1) {
  327. // 教材管理系统
  328. location.href = `/GCLS-Book/#/EnterSys?AccessCode=${acsCode}`;
  329. } else if (id == 2) {
  330. // 教培中心
  331. location.href = `/GCLS-TRC/#/EnterSys?AccessCode=${acsCode}`;
  332. } else if (id == 3) {
  333. // 教研中心
  334. location.href = `/GCLS-TC/#/EnterSys?AccessCode=${acsCode}`;
  335. } else if (id == 4) {
  336. // 考试中心
  337. location.href = `/GCLS-Test/#/EnterSys?AccessCode=${acsCode}`;
  338. } else if (id == 5) {
  339. // 学习中心
  340. location.href = `/GCLS-LC/#/EnterSys?AccessCode=${acsCode}`;
  341. } else {
  342. // 个人中心
  343. location.href = `/GCLS-Personal/#/EnterSys?AccessCode=${acsCode}`;
  344. }
  345. });
  346. },
  347. // 获取语言列表
  348. getLangList() {
  349. let MethodName = "language_manager-GetLanguageList";
  350. let data = {};
  351. getStaticContent(MethodName, data).then((res) => {
  352. this.language_list = res.language_list;
  353. });
  354. },
  355. // 验证用户是否登录
  356. Islogin() {
  357. let userInfor = getToken();
  358. let user_code = "",
  359. user_type = "",
  360. session_id = "";
  361. if (userInfor) {
  362. userInfor = JSON.parse(getToken());
  363. user_code = userInfor.user_code;
  364. user_type = userInfor.user_type;
  365. session_id = userInfor.session_id;
  366. }
  367. let MethodName = "login_control-Is_Effective_User";
  368. getAcsCode(MethodName, {
  369. UserCode: user_code,
  370. SessionID: session_id,
  371. UserType: user_type,
  372. }).then((res) => {
  373. if (res.is_effective == "false") {
  374. this.userMessage = null;
  375. } else {
  376. let userMessage = getToken();
  377. if (userMessage) {
  378. userMessage = JSON.parse(userMessage);
  379. this.changeLoginReg("", userMessage);
  380. }
  381. }
  382. });
  383. },
  384. handleProList(list) {
  385. console.log(list);
  386. let projectList = [];
  387. if (list.length == 0) {
  388. let arr = [
  389. {
  390. id: 2,
  391. name: "教培中心",
  392. img: "project2-2-2",
  393. selectImg: "project2-2",
  394. text: "名师授课,丰富的课程体系,快速扎实帮您提升教学能力。",
  395. },
  396. {
  397. id: 3,
  398. name: "教研中心",
  399. img: "project6-6-6",
  400. selectImg: "project6-6",
  401. text: "丰富的教学资料和珍贵的文献可以在线查看或下载。",
  402. },
  403. {
  404. id: 5,
  405. name: "学习中心",
  406. img: "project4-4-4",
  407. selectImg: "project4-4",
  408. text: "在这里可以很容易地找到数字教科书、学习材料和丰富的课程。",
  409. },
  410. {
  411. id: 6,
  412. // Teacher training center
  413. name: "个人中心",
  414. img: "project3-3-3",
  415. selectImg: "project3-3",
  416. text: "您收集和购买的所有资源都可以在这里轻松找到。",
  417. },
  418. ];
  419. projectList = arr;
  420. } else if (list.includes(2000001)) {
  421. projectList = JSON.parse(JSON.stringify(this.teacherProList));
  422. for (let i = 0; i < list.length; i++) {
  423. let code = list[i];
  424. if (code == 2000003) {
  425. projectList.push({
  426. id: 1,
  427. name: "教材管理系统",
  428. img: "project8-8",
  429. selectImg: "project8-8-8",
  430. text: "帮您快速定制生动、有趣、实用的数字教材。",
  431. });
  432. }
  433. if (code === 2000005) {
  434. projectList.push({
  435. id: 4,
  436. name: "考试中心",
  437. img: "project5-5-5",
  438. selectImg: "project5-5",
  439. text: "丰富的题库将帮助您快速编写实用、准确、全面的试卷。",
  440. });
  441. }
  442. }
  443. } else {
  444. for (let i = 0; i < list.length; i++) {
  445. let code = list[i];
  446. if (code == 2000002) {
  447. projectList.push({
  448. id: 0,
  449. name: "教学管理中心",
  450. img: "project1-1",
  451. selectImg: "project1-1-1",
  452. text: "帮助您快速完成课程及任务安排,快速清晰的完成学习任务。",
  453. });
  454. } else if (code == 2000003) {
  455. projectList.push({
  456. id: 1,
  457. name: "教材管理系统",
  458. img: "project8-8",
  459. selectImg: "project8-8-8",
  460. text: "帮您快速定制生动、有趣、实用的数字教材。",
  461. });
  462. } else if (code == 2000004) {
  463. projectList.push({
  464. id: 2,
  465. name: "教师培训中心",
  466. img: "project2-2-2",
  467. selectImg: "project2-2",
  468. text: "名师授课,丰富的课程体系,快速扎实帮您提升教学能力。",
  469. });
  470. } else if (code == 2000005) {
  471. projectList.push({
  472. id: 4,
  473. name: "考试中心",
  474. img: "project5-5-5",
  475. selectImg: "project5-5",
  476. text: "丰富的题库将帮助您快速编写实用、准确、全面的试卷。",
  477. });
  478. } else if (code == 2000006) {
  479. projectList.push({
  480. id: 3,
  481. name: "教研中心",
  482. img: "project4-4-4",
  483. selectImg: "project4-4",
  484. text: "丰富的教学资料和珍贵的文献可以在线查看或下载。",
  485. });
  486. }
  487. }
  488. projectList.push({
  489. id: 6,
  490. // Teacher training center
  491. name: "个人中心",
  492. img: "project3-3-3",
  493. selectImg: "project3-3",
  494. text: "您收集和购买的所有资源都可以在这里轻松找到。",
  495. });
  496. }
  497. // 排序
  498. for (var i = 0; i < projectList.length - 1; i++) {
  499. for (var j = 0; j < projectList.length - 1 - i; j++) {
  500. // 相邻元素两两对比,元素交换,大的元素交换到后面
  501. if (projectList[j].id > projectList[j + 1].id) {
  502. var temp = projectList[j];
  503. projectList[j] = projectList[j + 1];
  504. projectList[j + 1] = temp;
  505. }
  506. }
  507. }
  508. console.log(projectList);
  509. return projectList;
  510. },
  511. browserRedirect() {
  512. var sUserAgent = navigator.userAgent.toLowerCase();
  513. var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
  514. var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
  515. var bIsMidp = sUserAgent.match(/midp/i) == "midp";
  516. var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
  517. var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
  518. var bIsAndroid = sUserAgent.match(/android/i) == "android";
  519. var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
  520. var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
  521. if (
  522. bIsIpad ||
  523. bIsIphoneOs ||
  524. bIsMidp ||
  525. bIsUc7 ||
  526. bIsUc ||
  527. bIsAndroid ||
  528. bIsCE ||
  529. bIsWM
  530. ) {
  531. location.href = "/GCLS-Mobile-ROOT/#/EnterSys";
  532. console.log("移动端");
  533. } else {
  534. let user_name = JSON.parse(localStorage.getItem("user_name"));
  535. if (user_name) {
  536. if (user_name.user_type == "TEACHER") {
  537. this.loginType = "teacher";
  538. } else {
  539. this.loginType = "student";
  540. }
  541. }
  542. this.getLangList();
  543. this.Islogin();
  544. updateWordPack({
  545. word_key_list: ["teaching", "teaching"],
  546. });
  547. let type = this.$route.query.type;
  548. if (type && type == "login") {
  549. this.LoginOrRegistration = "login";
  550. }
  551. let userInfor = getToken();
  552. let user_code = "",
  553. user_type = "",
  554. session_id = "";
  555. if (userInfor) {
  556. userInfor = JSON.parse(getToken());
  557. user_code = userInfor.user_code;
  558. user_type = userInfor.user_type;
  559. session_id = userInfor.session_id;
  560. }
  561. if (!session_id || !user_code || !user_type || !userInfor) {
  562. this.isPc = true;
  563. this.LoginOrRegistration = "login";
  564. } else {
  565. this.isPc = false;
  566. location.href = `/GCLS-Learn/#/EnterSys`;
  567. }
  568. }
  569. },
  570. },
  571. //生命周期 - 创建完成(可以访问当前this实例)
  572. created() {
  573. this.browserRedirect();
  574. },
  575. //生命周期 - 挂载完成(可以访问DOM元素)
  576. mounted() {},
  577. //生命周期-创建之前
  578. beforeCreated() {},
  579. //生命周期-挂载之前
  580. beforeMount() {},
  581. //生命周期-更新之前
  582. beforUpdate() {},
  583. //生命周期-更新之后
  584. updated() {},
  585. //生命周期-销毁之前
  586. beforeDestory() {},
  587. //生命周期-销毁完成
  588. destoryed() {},
  589. //如果页面有keep-alive缓存功能,这个函数会触发
  590. activated() {},
  591. };
  592. </script>
  593. <style lang="scss" scoped>
  594. .index {
  595. margin: 0;
  596. padding: 0;
  597. min-height: 100vh;
  598. background: url("../../assets/login/indexBG.png") no-repeat;
  599. background-size: cover;
  600. font-family: "sourceR";
  601. position: relative;
  602. .shadow {
  603. min-height: 100vh;
  604. height: 100%;
  605. background: rgba(0, 0, 0, 0.3);
  606. .logoAndlogin {
  607. width: 1248px;
  608. margin: 0 auto;
  609. position: relative;
  610. // display: flex;
  611. .login {
  612. position: absolute;
  613. top: 0;
  614. right: 30px;
  615. z-index: 1;
  616. }
  617. .ForgetPassword {
  618. position: absolute;
  619. top: 0;
  620. right: 100px;
  621. }
  622. }
  623. .LogoAndText {
  624. // width: 700px;
  625. margin-top: 58px;
  626. margin-left: 30px;
  627. display: flex;
  628. .logo {
  629. width: 136px;
  630. height: 136px;
  631. background: #c4c4c4;
  632. border-radius: 25px;
  633. color: black;
  634. text-align: center;
  635. line-height: 136px;
  636. }
  637. .text {
  638. margin-left: 40px;
  639. color: white;
  640. p {
  641. width: 700px;
  642. margin: 0;
  643. }
  644. .p1 {
  645. font-weight: 600;
  646. font-size: 40px;
  647. }
  648. .p2 {
  649. width: 480px;
  650. margin-top: 32px;
  651. font-size: 20px;
  652. line-height: 30px;
  653. }
  654. }
  655. }
  656. }
  657. .bottom {
  658. position: absolute;
  659. bottom: -154px;
  660. width: 100%;
  661. background: #2c2c2c;
  662. height: 154px;
  663. padding-top: 40px;
  664. > div {
  665. text-align: center;
  666. font-size: 20px;
  667. color: rgb(180, 179, 179);
  668. > span {
  669. margin-left: 40px;
  670. }
  671. }
  672. > :first-child {
  673. // height: 80px;
  674. // line-height: 80px;
  675. margin-bottom: 24px;
  676. > :first-child {
  677. color: white;
  678. }
  679. > :first-child::before {
  680. content: "|";
  681. background: white;
  682. width: 6px;
  683. height: 20px;
  684. position: relative;
  685. right: 5px;
  686. }
  687. }
  688. }
  689. .signin {
  690. background: #e5e5e5;
  691. padding-bottom: 30px;
  692. }
  693. .list {
  694. width: 1248px;
  695. margin: 10px auto;
  696. display: flex;
  697. flex-wrap: wrap;
  698. > div {
  699. width: 368px;
  700. height: 161px;
  701. background: #ffffff;
  702. border-radius: 4px;
  703. // margin: 20px 50px 0 10px;
  704. margin: 10px 24px;
  705. cursor: pointer;
  706. > div {
  707. display: flex;
  708. justify-content: space-around;
  709. align-items: center;
  710. font-weight: bold;
  711. font-size: 20px;
  712. color: #2c2c2c;
  713. padding: 20px 0 0 20px;
  714. img {
  715. width: 56px;
  716. height: 60px;
  717. }
  718. p {
  719. width: 250px;
  720. }
  721. }
  722. > p {
  723. width: 304px;
  724. margin: 16px auto;
  725. font-size: 14px;
  726. color: #666666;
  727. opacity: 0.7;
  728. text-align: left;
  729. line-height: 20px;
  730. }
  731. }
  732. .Selectproject {
  733. background: #ff9900;
  734. box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  735. }
  736. }
  737. }
  738. </style>