login.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <template>
  2. <div class="login">
  3. <div style="width: 50%; height: 100%;" class="inge">
  4. <img style="width: 477px;margin-top: 100px;margin-bottom: 25px; " src="../assets/images/pic_htgl_bt_left.png" alt="">
  5. <img style="width: 477px; " src="../assets/images/pic_htgl_left_tp.png" alt="">
  6. </div>
  7. <div style="width: 50%; height: 100%;padding: 0 120px;display: flex;align-items: center;">
  8. <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
  9. <div style="display: flex;justify-content: center;">
  10. <img style="width: 302px; " src="../assets/images/pic_htgl_logo.png" alt="">
  11. </div>
  12. <div style="display: flex;padding: 0 50px; justify-content: space-between;margin-top: 10px;margin-bottom: 10px;">
  13. <h3 :class="isnum ==0? 'title titlelov' : 'titlelov'" @click="tgs(0)">账号登录<span></span></h3>
  14. <h3 :class="isnum ==1? 'title titlelov' : 'titlelov'" @click="tgs(1)" >验证码{{zhucemiber == true?'注册':'登录'}}<span></span></h3>
  15. </div>
  16. <!-- v-if='xgmemberMe' -->
  17. <!-- <el-form-item prop="tenantId" v-if="tenantEnabled">
  18. <el-select v-model="loginForm.tenantId" filterable placeholder="请选择/输入学校名称" style="width: 100%">
  19. <el-option v-for="item in tenantList" :key="item.tenantId" :label="item.companyName" :value="item.tenantId"></el-option>
  20. <template #prefix><svg-icon icon-class="company" class="el-input__icon input-icon" /></template>
  21. </el-select>
  22. </el-form-item> -->
  23. <el-form-item prop="username" v-if='!xgmemberMe'>
  24. <el-input
  25. v-model="loginForm.username"
  26. type="text"
  27. auto-complete="off"
  28. placeholder="账号"
  29. >
  30. <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
  31. </el-input>
  32. </el-form-item>
  33. <el-form-item prop="password" v-if='!xgmemberMe'>
  34. <el-input
  35. v-model="loginForm.password"
  36. type="password"
  37. auto-complete="off"
  38. placeholder="密码"
  39. show-password
  40. @keyup.enter.native="handleLogin"
  41. >
  42. <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
  43. </el-input>
  44. </el-form-item>
  45. <!-- v-if="captchaEnabled" -->
  46. <el-form-item prop="code" v-if='!xgmemberMe && captchaEnabled' >
  47. <el-input
  48. v-model="loginForm.code"
  49. auto-complete="off"
  50. placeholder="验证码"
  51. style="width: 63%"
  52. @keyup.enter.native="handleLogin"
  53. >
  54. <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
  55. </el-input>
  56. <div class="login-code">
  57. <img :src="codeUrl" @click="getCode" class="login-code-img"/>
  58. </div>
  59. </el-form-item>
  60. <el-form-item prop="phone" v-if='xgmemberMe' style="margin-bottom: 27px;">
  61. <el-input v-model="loginForm.phone"
  62. auto-complete="off"
  63. placeholder="联系方式"
  64. @keyup.enter.native="handleLogins" >
  65. <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
  66. </el-input>
  67. </el-form-item>
  68. <!-- <el-form-item prop="passwordxm" v-if='xgmemberMe' style="margin-bottom: 27px;">
  69. <el-input v-model="loginForm.passwordxm" show-password placeholder="新密码" >
  70. <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
  71. </el-input>
  72. </el-form-item> -->
  73. <el-form-item prop="codexd" v-if='xgmemberMe' style="margin-bottom: 27px;">
  74. <el-input style="width: 61%" v-model="loginForm.codexd" placeholder="验证码" >
  75. <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
  76. </el-input>
  77. <div class="login-code login-codeg">
  78. <!-- <img :src="codeUrl" @click="getCode" class="login-code-img"/> -->
  79. <el-button type="primary" plain @click="send" v-show="zhaodata.codeShow" >获取验证码</el-button>
  80. <el-button type="primary" plain v-show="!zhaodata.codeShow" disabled >{{zhaodata.count}}秒后重试</el-button>
  81. </div>
  82. </el-form-item>
  83. <!-- v-if='xgmemberMe' -->
  84. <!-- <el-form-item prop="confirmPassword" class="njhyter" v-if="xgmemberMe" style="margin-bottom: 17px;">
  85. <fileUpload :limit="5" v-model="loginForm.registerSchoolFileList" />
  86. </el-form-item> -->
  87. <div class="njuyehaf" style="justify-content: space-between;align-items: center;margin-bottom: 25px;">
  88. <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 0 0px;">记住密码</el-checkbox>
  89. <el-form-item style="float: right;margin-bottom: 0; padding-left: 20px;">
  90. <el-button circle title="微信登录" @click="doSocialLogin('wechat')">
  91. <svg-icon icon-class="wechat" />
  92. </el-button>
  93. <el-button circle title="支付宝登录" @click="doSocialLogin('topiam')">
  94. <svg-icon icon-class="topiam" />
  95. </el-button>
  96. </el-form-item>
  97. <!-- <el-checkbox v-model="xgmemberMe" @change=" xgmes " style="margin:0px 0px 25px 25px;">找回密码</el-checkbox> -->
  98. <p v-if="!zhucemiber">
  99. <span style="color: #46CB99;margin-right: 10px;"><router-link class="link-type" :to="'/registerx'" style="color: #46CB99;">忘记密码</router-link> </span>
  100. <span><router-link class="link-type" :to="'/register'">注册</router-link> </span></p>
  101. <!-- <span @click="zhuc">注册</span> -->
  102. <!-- <p v-if="zhucemiber">已有账号?去 <span @click="zhucs" >登录</span></p> -->
  103. </div>
  104. <el-form-item style="width:100%;margin-bottom: 0;" v-if='!xgmemberMe' >
  105. <el-button
  106. :loading="loading"
  107. size="medium"
  108. type="primary"
  109. style="width: 100%;background-color: #4775EA;height: 45px; border-color: #4775EA;"
  110. @click.native.prevent="handleLogin"
  111. >
  112. <span v-if="!loading">登 录</span>
  113. <span v-else>登 录 中...</span>
  114. </el-button>
  115. <!-- <p class="div_p">
  116. * 使用快捷登录,请先绑定第三方账号
  117. </p> -->
  118. </el-form-item>
  119. <el-form-item style="width:100%;margin-bottom: 0;" v-if='xgmemberMe'>
  120. <el-button
  121. :loading="loading"
  122. size="medium"
  123. type="primary"
  124. style="width: 100%;background-color: #4775EA;height: 45px; border-color: #4775EA;"
  125. @click.native.prevent="handleLogins"
  126. >
  127. <span v-if="!loading">确认</span>
  128. <span v-else>操 作 中...</span>
  129. </el-button>
  130. <!-- <p class="div_p">
  131. * 使用快捷登录,请先绑定第三方账号
  132. </p> -->
  133. </el-form-item>
  134. </el-form>
  135. </div>
  136. <!-- 底部 -->
  137. <!-- <div class="el-login-footer">
  138. <span></span>
  139. </div> -->
  140. </div>
  141. </template>
  142. <script>
  143. import { getCodeImg,register,registerf,getTenantList,getCaptcha,postphones,loginde } from "@/api/login";
  144. import { authBinding } from '@/api/system/social/auth';
  145. import Cookies from "js-cookie";
  146. import { encrypt, decrypt } from '@/utils/jsencrypt'
  147. import {setToken} from '@/utils/auth'
  148. import resetPwd from "./system/user/profile/resetPwd.vue";
  149. import { updateUserPwds } from "@/api/system/user";
  150. export default {
  151. name: "Login",
  152. data() {
  153. return {
  154. codeUrl: "",
  155. loginForm: {
  156. username: "",
  157. password: "",
  158. rememberMe: false,
  159. code: "",
  160. uuid: "",
  161. tenantId:'000000'
  162. },
  163. loginRules: {
  164. username: [
  165. { required: true, trigger: "blur", message: "请输入您的账号" }
  166. ],
  167. password: [
  168. { required: true, trigger: "blur", message: "请输入您的密码" }
  169. ],
  170. code: [{ required: true, trigger: "change", message: "请输入验证码" }]
  171. },
  172. loading: false,
  173. // 验证码开关
  174. captchaEnabled: false,
  175. // 注册开关
  176. register: false,
  177. redirect: undefined,
  178. xgmemberMe:false ,//修改密码
  179. zhucemiber:false ,//修改密码
  180. tenantEnabled:true,
  181. tenantList:[],
  182. zhaodata:{
  183. codeShow: true,
  184. count: '', //倒计时
  185. timer: null, //计时器
  186. },
  187. isnum:0,
  188. };
  189. },
  190. watch: {
  191. $route: {
  192. handler: function(route) {
  193. this.redirect = route.query && route.query.redirect;
  194. },
  195. immediate: true
  196. }
  197. },
  198. created() {
  199. this.getCode();
  200. this.getCookie();
  201. this.getnhgw()
  202. console.log(process.env,process.env.VUE_APP_BASE_API,81)
  203. },
  204. methods: {
  205. getnhgw(){
  206. // this.loading = true;
  207. getTenantList().then(response => {
  208. this.tenantEnabled = response.data.tenantEnabled
  209. this.tenantList = response.data.voList;
  210. this.loading = false;
  211. });
  212. },
  213. getCode() {
  214. getCodeImg().then(res => {
  215. this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled;
  216. if (this.captchaEnabled) {
  217. this.codeUrl = "data:image/gif;base64," + res.data.img;
  218. this.loginForm.uuid = res.data.uuid;
  219. }
  220. });
  221. },
  222. getCookie() {
  223. const username = Cookies.get("username");
  224. const password = Cookies.get("password");
  225. const rememberMe = Cookies.get('rememberMe')
  226. const tenantId = Cookies.get('tenantId')
  227. this.loginForm = {
  228. // tenantId: tenantId === undefined ? this.loginForm.tenantId : tenantId,
  229. username: username === undefined ? this.loginForm.username : username,
  230. password: password === undefined ? this.loginForm.password : decrypt(password),
  231. rememberMe: rememberMe === undefined ? false : Boolean(rememberMe)
  232. };
  233. },
  234. handleLogin() {
  235. console.log(this.zhucemiber)
  236. this.$refs.loginForm.validate(valid => {
  237. if (valid) {
  238. this.loading = true;
  239. // this.loginForm.tenantId = '000000'
  240. if (this.loginForm.rememberMe) {
  241. Cookies.set("grantType", 'password', { expires: 30 });
  242. Cookies.set("clientKey", 'pc_user', { expires: 30 });
  243. Cookies.set("username", this.loginForm.username, { expires: 30 });
  244. Cookies.set("password", encrypt(this.loginForm.password), { expires: 30 });
  245. Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 });
  246. } else {
  247. Cookies.remove("grantType");
  248. Cookies.remove("clientKey");
  249. Cookies.remove("username");
  250. Cookies.remove("password");
  251. Cookies.remove('rememberMe');
  252. }
  253. // this.loginForm.tenantId = '000000'
  254. // this.loginForm.clientId = 'e5cd7e4891bf95d1d19206ce24a7b32e'
  255. this.loginForm.grantType = 'password'
  256. this.loginForm.clientKey = 'pc_user'
  257. // console.log(1,this.loginForm,this.$store.dispatch("Login", this.loginForm))
  258. this.$store.dispatch("Login", this.loginForm).then(() => {
  259. console.log(3)
  260. this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
  261. }).catch(() => {
  262. this.loading = false;
  263. console.log(2)
  264. if (this.captchaEnabled) {
  265. this.getCode();
  266. }
  267. });
  268. }
  269. });
  270. },
  271. // 修改密码
  272. handleLogins(){
  273. console.log(this.loginForm.phone == '')
  274. if(this.loginForm.phone == undefined){
  275. this.$message.error('请输入联系方式');
  276. return
  277. }
  278. if(this.loginForm.phone == ''){
  279. this.$message.error('请输入联系方式');
  280. return
  281. }
  282. if(this.loginForm.phone == null){
  283. this.$message.error('请输入联系方式');
  284. return
  285. }
  286. // if(this.loginForm.passwordxm == undefined){
  287. // this.$message.error('请输入新密码');
  288. // return
  289. // }
  290. // if(this.loginForm.passwordxm == null){
  291. // this.$message.error('请输入新密码');
  292. // return
  293. // }
  294. // if(this.loginForm.passwordxm == ''){
  295. // this.$message.error('请输入新密码');
  296. // return
  297. // }
  298. if(this.loginForm.codexd == ''){
  299. this.$message.error('请输入验证码');
  300. return
  301. }
  302. if(this.loginForm.codexd == null){
  303. this.$message.error('请输入验证码');
  304. return
  305. }
  306. if(this.loginForm.codexd == undefined){
  307. this.$message.error('请输入验证码');
  308. return
  309. }
  310. // if(this.loginForm.confirmPassword == undefined){
  311. // this.$message.error('请输入确认密码');
  312. // return
  313. // }
  314. // this.loading = true;
  315. let nhse={
  316. code:'',
  317. }
  318. nhse.phonenumber = this.loginForm.phone
  319. nhse.code = this.loginForm.codexd
  320. nhse.clientId = 'e5cd7e4891bf95d1d19206ce24a7b32e'
  321. nhse.grantType = 'sms'
  322. nhse.clientKey = 'pc_user'
  323. nhse.username = this.loginForm.phone
  324. nhse.smsCode = this.loginForm.codexd
  325. // nhse.password = this.loginForm.passwordxm
  326. this.$store.dispatch("Login", nhse).then(() => {
  327. console.log(3)
  328. this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
  329. }).catch(() => {
  330. this.loading = false;
  331. console.log(2)
  332. if (this.captchaEnabled) {
  333. this.getCode();
  334. }
  335. });
  336. // loginde(nhse).then(
  337. // response => {
  338. // console.log(response.msg,36)
  339. // if(response.msg == '操作成功'){
  340. // this.$modal.msgSuccess(response.msg);
  341. // this.xgmemberMe = false
  342. // this.getCode();
  343. // // this.$set(this.loginForm,'password','')
  344. // this.$set(this.loginForm,'uuid','')
  345. // this.$set(this.loginForm,'rememberMe',false)
  346. // // this.$set(this.loginForm,'code','')
  347. // this.$set(this.loginForm,'photo',undefined)
  348. // this.$set(this.loginForm,'codexd',undefined)
  349. // this.$set(this.loginForm,'passwordxm',undefined)
  350. // // this.$set(this.loginForm,'registerSchoolFileList',undefined)
  351. // this.$set(this.loginForm,'username','')
  352. // }else{
  353. // this.$message.error(response.msg);
  354. // }
  355. // this.loading = false;
  356. // }
  357. // );
  358. },
  359. // 确认密码失去焦点
  360. cpass(){
  361. if(this.loginForm.confirmPassword !== this.loginForm.newPassword){
  362. this.$message.error('两次密码不一致');
  363. }
  364. },
  365. // 复选框选择修改密码
  366. xgmes(){
  367. if(this.xgmemberMe == false){
  368. this.$set(this.loginForm,'confirmPassword',undefined)
  369. this.$set(this.loginForm,'oldPassword',undefined)
  370. this.$set(this.loginForm,'newPassword',undefined)
  371. // this.$set(this.loginForm,'username','')
  372. }else{
  373. // 找回密码
  374. // this.$set(this.loginForm,'username','')
  375. // this.$set(this.loginForm,'password','')
  376. // this.$set(this.loginForm,'uuid','')
  377. // this.$set(this.loginForm,'rememberMe',false)
  378. // this.$set(this.loginForm,'code','')
  379. }
  380. },
  381. tgs(val){
  382. if(val ==0){
  383. // 密码登录
  384. this.xgmemberMe = false
  385. }else{
  386. // 验证码登录
  387. this.xgmemberMe = true
  388. }
  389. this.isnum = val
  390. },
  391. zhuc(){
  392. this.xgmemberMe = true
  393. this.zhucemiber = !this.zhucemiber
  394. this.isnum = 1
  395. },
  396. zhucs(){
  397. this.xgmemberMe = false
  398. this.zhucemiber = !this.zhucemiber
  399. this.isnum = 0
  400. },
  401. send(){
  402. if(this.loginForm.phone == undefined){
  403. this.$message.error('请输入联系方式');
  404. return
  405. }
  406. if(this.loginForm.phone == null){
  407. this.$message.error('请输入联系方式');
  408. return
  409. }
  410. if(this.loginForm.phone == ''){
  411. this.$message.error('请输入联系方式');
  412. return
  413. }
  414. let clicktime = new Date().getTime() + 60000; //未来60秒,这里也毫秒为单位
  415. sessionStorage.setItem('EndTime', JSON.stringify(clicktime)); //存入sessionStorage
  416. let sgse={'phonenumber':this.loginForm.phone,'type':1}
  417. postphones(sgse).then(response => {
  418. this.$modal.msgSuccess("发送成功");
  419. this.timeDown(clicktime)
  420. });
  421. // let res = await getCaptcha(this.username)
  422. // if (res.data.code == 200) {
  423. // showNotify({ type: 'success', message: '发送成功' });
  424. // this.timeDown(clicktime) //请求成功则触发timeDown并将时间携带过去
  425. // }else{
  426. // this.$message.error('请输入联系方式');
  427. // showNotify({ type: 'danger', message:res.data.message });
  428. // }
  429. },
  430. timeDown(time){
  431. console.log(this.zhaodata.timer)
  432. if (!this.zhaodata.timer) {
  433. this.zhaodata.count = Math.ceil((JSON.parse(time) - new Date().getTime())/1000); //取出计时
  434. this.zhaodata.codeShow = false;
  435. this.zhaodata.timer = setInterval(() => {
  436. if (this.zhaodata.count > 0) {
  437. this.zhaodata.count--;
  438. } else {
  439. this.zhaodata.codeShow = true;
  440. clearInterval(this.zhaodata.timer); //清除计时器
  441. this.zhaodata.timer = null;
  442. sessionStorage.removeItem('EndTime') //计时完后清除sessionStorage
  443. }
  444. }, 1000)
  445. }
  446. },
  447. doSocialLogin(type){
  448. authBinding(type, this.loginForm.tenantId).then(res => {
  449. if (res.code === HttpStatus.SUCCESS) {
  450. // 获取授权地址跳转
  451. window.location.href = res.data;
  452. } else {
  453. this.$message.error(res.msg);
  454. // ElMessage.error(res.msg);
  455. }
  456. });
  457. }
  458. }
  459. };
  460. </script>
  461. <style rel="stylesheet/scss" lang="scss">
  462. .login {
  463. display: flex;
  464. // justify-content: center;
  465. // align-items: center;
  466. height: 100%;
  467. overflow: hidden;
  468. // background-image: url("../assets/images/login-background.jpg");
  469. // background-size: cover;
  470. // margin-left: 300px;
  471. }
  472. .inge{
  473. display: flex;
  474. flex-direction: column;
  475. justify-content: center;
  476. align-items: center;
  477. height: 100%;
  478. background-image: url("../assets/images/pic_htgl_bg_left.png");
  479. background-size: cover;
  480. }
  481. .title {
  482. // 10px 44
  483. // margin: 44px auto 40px auto;
  484. text-align: center;
  485. font-size: 20px;
  486. font-family: PingFang SC;
  487. font-weight: 500;
  488. color: #2D2C44;
  489. position: relative;
  490. span{
  491. position: absolute;
  492. width: 40px;
  493. height: 3px;
  494. bottom: -10px;
  495. left: 50%;
  496. transform: translateX(-50%);
  497. background-color: #4775EA;
  498. }
  499. }
  500. .login-form {
  501. border-radius: 6px;
  502. border-top-left-radius: 0;
  503. border-bottom-left-radius: 0;
  504. background: #000a48;
  505. background-color:#fff;
  506. width: 100%;
  507. // margin-top: -4px;s
  508. // margin-left: -3.2%;
  509. // margin-right: 50%;
  510. // margin-left: 10px;
  511. padding: 0 50px 0 50px;
  512. .el-input {
  513. height: 38px;
  514. input {
  515. height: 38px;
  516. background-color: #4775EA;
  517. border-color: #F7F6FC;
  518. background-color:#F7F6FC
  519. }
  520. }
  521. .el-checkbox__inner{
  522. background-color: #4775EA;
  523. border-color: rgba(1, 152, 221,0.2);
  524. background-color:rgba(0,0,0,0.3)
  525. }
  526. .input-icon {
  527. height: 39px;
  528. width: 14px;
  529. margin-left: 2px;
  530. }
  531. .el-button--primary{
  532. margin-bottom: 20px;
  533. // background-color: #A6A1EB !important;
  534. }
  535. .el-form-item{
  536. // 有学校选择27 无 37
  537. margin-bottom: 37px;
  538. }
  539. }
  540. .login-tip {
  541. font-size: 13px;
  542. text-align: center;
  543. color: #bfbfbf;
  544. }
  545. .login-code {
  546. width: 33%;
  547. height: 38px;
  548. float: right;
  549. img {
  550. cursor: pointer;
  551. vertical-align: middle;
  552. }
  553. }
  554. .login-codeg{
  555. width: 37%;
  556. }
  557. .el-login-footer {
  558. height: 40px;
  559. line-height: 40px;
  560. position: fixed;
  561. bottom: 0;
  562. width: 100%;
  563. text-align: center;
  564. color: #fff;
  565. font-family: Arial;
  566. font-size: 12px;
  567. letter-spacing: 1px;
  568. }
  569. .login-code-img {
  570. height: 38px;
  571. }
  572. .nli{
  573. .el-button--primary{
  574. background-color: #4775EA;
  575. border-color:#4775EA !important;
  576. }
  577. }
  578. .njuyehaf{
  579. display: flex;
  580. p{
  581. flex: 1;
  582. font-size: 14px;
  583. font-family: PingFang SC;
  584. font-weight: 400;
  585. color: #C8C8C8;
  586. margin: 0;
  587. text-align: right;
  588. span{
  589. color: #FFB339;
  590. font-weight: 700;
  591. cursor:pointer;
  592. .link-type, {
  593. color: #FFB339;
  594. }
  595. }
  596. }
  597. }
  598. .njhyter{
  599. .el-upload{
  600. width: 100%;
  601. }
  602. .el-button--mini{
  603. width: 100% !important;
  604. padding: 11px 15px;
  605. // text-align: left;
  606. margin: 0;
  607. border-radius: 25px;
  608. }
  609. .el-button--primary{
  610. background-color: #F7F6FC;
  611. border-color: #F7F6FC;
  612. color: #A6A1EB;
  613. }
  614. .el-upload__tip{
  615. font-size: 12px;
  616. }
  617. }
  618. .titlelov{
  619. ont-weight: 500;
  620. font-size: 20px;
  621. color: #2D2C44;
  622. }
  623. </style>