index-legacy-c685c690-1694098095353.js 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135
  1. System.register(
  2. [
  3. './index-legacy-04533e6e-1694098095353.js',
  4. './api-legacy-bed2534a-1694098095353.js',
  5. './closeEye-legacy-5726358d-1694098095353.js',
  6. './ding-legacy-f3656c17-1694098095353.js',
  7. './state-legacy-d6bde451-1694098095353.js'
  8. ],
  9. function (e, t) {
  10. 'use strict';
  11. var o,
  12. a,
  13. i,
  14. n,
  15. l,
  16. s,
  17. r,
  18. c,
  19. u,
  20. d,
  21. g,
  22. w,
  23. _,
  24. p,
  25. v,
  26. f,
  27. m,
  28. A,
  29. h,
  30. z,
  31. b,
  32. y,
  33. I,
  34. C,
  35. x,
  36. M,
  37. B,
  38. E,
  39. R,
  40. F,
  41. U,
  42. T,
  43. L;
  44. return {
  45. setters: [
  46. e => {
  47. (o = e.d),
  48. (a = e.u),
  49. (i = e.a),
  50. (n = e.r),
  51. (l = e.b),
  52. (s = e.P),
  53. (r = e.c),
  54. (c = e.e),
  55. (u = e.s),
  56. (d = e.f),
  57. (g = e.N),
  58. (w = e.g),
  59. (_ = e.h),
  60. (p = e.i),
  61. (v = e.j),
  62. (f = e.k),
  63. (m = e.l),
  64. (A = e.m),
  65. (h = e.o),
  66. (z = e.n),
  67. (b = e.p),
  68. (y = e.q),
  69. (I = e.t),
  70. (C = e.v),
  71. (x = e.w),
  72. (M = e.x);
  73. },
  74. e => {
  75. (B = e.s), (E = e.u);
  76. },
  77. e => {
  78. (R = e.o), (F = e.c);
  79. },
  80. e => {
  81. (U = e.d), (T = e.m);
  82. },
  83. e => {
  84. L = e.s;
  85. }
  86. ],
  87. execute: function () {
  88. var S = document.createElement('style');
  89. (S.textContent =
  90. '._no-pwd_550iz_1{font-family:dotfont}._no-pwd_550iz_1 ::v-deep ._n-input__input-el_550iz_4{-webkit-text-security:disc!important;-moz-text-security:disc!important}._view-account-form_550iz_8{position:relative}._view-account_550iz_8{width:100%;height:100vh;display:flex;flex-direction:row;align-items:center;background-color:#ddefff;overflow:auto}._view-account-container_550iz_20{position:relative;width:61.45833333vw;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}._view-account-container_550iz_20 ._stylesWrap_550iz_29{margin-top:3.33333333vw;width:49.73958333vw}._view-account-container_550iz_20 ._stylesWrap_550iz_29 img{width:49.73958333vw}._view-account-container_550iz_20 ._loginLeft_550iz_36{left:0;top:0;width:7.23958333vw;height:7.23958333vw;position:absolute}._view-account-container_550iz_20 ._loginRight_550iz_43{right:0;bottom:0;width:10.10416667vw;height:9.6875vw;position:absolute}._view-account-form_550iz_8{width:38.54166667vw;min-height:100%;background-color:#fff;padding:3.125vw}._view-account-form_550iz_8 ._colLogo_550iz_56{width:12.08333333vw;height:4.11458333vw}._view-account-form_550iz_8 ._view-account-form-wrap_550iz_60{margin-top:3.125vw;position:relative;background:#ffffff;border-radius:.83333333vw;display:flex;flex-direction:column;align-items:center}._view-account-form_550iz_8 ._view-account-form-wrap_550iz_60 ._prefixIcon_550iz_69{width:1.14583333vw;height:1.14583333vw;margin-right:.26041667vw}._view-account-form_550iz_8 ._view-account-form-wrap_550iz_60 ._pwdIcon_550iz_74{width:1.25vw;height:1.25vw;cursor:pointer}._view-account-form_550iz_8 ._view-account-form-wrap_550iz_60 ._formTitle_550iz_79{display:flex;flex-direction:row;align-items:center;font-size:1.66666667rem;font-weight:600;color:#333;line-height:2.34375vw;margin-bottom:2.60416667vw}._view-account-form_550iz_8 ._view-account-form-wrap_550iz_60 ._formTitle_550iz_79 ._dot_550iz_89{width:.3125vw;height:1.09375vw;background:#3594fa;border-radius:.15625vw;margin-right:.41666667vw}._view-account-form_550iz_8 ._submitBtm_550iz_96{width:25vw;margin-top:1.04166667vw;background:#198cfe;border-radius:.625vw;font-size:1.14583333rem;font-weight:600!important;color:#fff;height:3.22916667vw;line-height:3.22916667vw;text-align:center}._view-account-form_550iz_8 ._forgetBtm_550iz_108{height:1.45833333vw;font-size:1.04166667rem;font-weight:600!important;color:#aaa;line-height:1.45833333vw}._view-account-form_550iz_8 ._sendInput_550iz_115 .n-input-wrapper{padding-right:0}._view-account-form_550iz_8 ._sendInput_550iz_115 ._sendMsg_550iz_118{width:6.66666667vw;height:3.33333333vw;background:#198cfe;border-radius:0px .41666667vw .41666667vw 0px;font-size:1.04166667rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:3.22916667vw}._view-account-form-top_550iz_129{padding:1.66666667vw 0;text-align:center}._view-account-form-top-desc_550iz_133{font-size:.72916667rem;color:#808695}._view-account-form-other_550iz_137{width:100%}._view-account-form_550iz_8 ._default-color_550iz_140{color:#131415;font-size:.9375rem}._view-account-form_550iz_8 ._default-color_550iz_140 ._ant-checkbox-wrapper_550iz_144{color:#515a6e}._view-account-form_550iz_8 ._loginTabs_550iz_147._loginForgot_550iz_147{margin-top:2.08333333vw}._view-account-form_550iz_8 ._loginTabs_550iz_147{margin-top:4.16666667vw}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-tabs-tab-pad{width:4.16666667vw}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-tabs-tab__label{font-size:1.25rem;position:relative;z-index:100;color:#8b8d98}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-tabs-tab--active .n-tabs-tab__label{color:#131415;font-weight:600}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-tabs-bar{width:5vw;height:.52083333vw;bottom:.41666667vw;z-index:0;background:linear-gradient(90deg,#77bbff 0%,rgba(163,231,255,.22) 100%)}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-input{border-radius:.41666667vw;width:25vw;font-size:1.04166667rem}._view-account-form_550iz_8 ._loginTabs_550iz_147 .n-input__input-el{height:3.33333333vw;line-height:3.33333333vw}._showModalTone_550iz_182{width:26.04166667vw}._showModalTone_550iz_182 ._studentRemove_550iz_185{padding:1.66666667vw 2.08333333vw 2.39583333vw}._showModalTone_550iz_182 ._studentRemove_550iz_185 p{font-size:.9375rem;color:#777;line-height:1.5625vw;text-align:center}._showModalTone_550iz_182 ._studentRemove_550iz_185 p span{color:#ea4132}._showModalTone_550iz_182 ._submitAppBtn_550iz_197{width:7.29166667vw}._downMove_550iz_200{width:21.51041667vw;background:#FFFFFF;border-radius:.83333333vw;position:relative;padding:0 1.5625vw 1.82291667vw}._downMove_550iz_200 ._downMoveBg_550iz_207{position:absolute;top:0;left:0;width:21.51041667vw;height:5.26041667vw}._downMove_550iz_200 ._dingPng_550iz_214{width:8.4375vw;height:5.10416667vw;position:absolute;left:50%;margin-left:-4.21875vw;top:-2.55208333vw;z-index:100}._downMove_550iz_200 ._closeAble_550iz_223{cursor:pointer;width:1.30208333vw;height:1.30208333vw;position:absolute;top:.9375vw;right:1.04166667vw}._downMove_550iz_200 h2{margin-top:3.33333333vw;height:1.71875vw;font-size:1.25rem;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#131415;line-height:1.71875vw;text-align:center;margin-bottom:.78125vw}._downMove_550iz_200 p{font-size:.9375rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#777;line-height:1.5625vw}._downMove_550iz_200 ._submitAppBtn_550iz_197{width:13.38541667vw;height:2.34375vw;line-height:2.34375vw;background:linear-gradient(305deg,#40C8FF 0%,#3192FF 100%);border-radius:1.25vw;border:none}._downMove_550iz_200 ._submitAppBtn_550iz_197 .n-button__border,._downMove_550iz_200 ._submitAppBtn_550iz_197 .n-button__state-border{display:none}._alertWrap_550iz_263{position:absolute;left:50%;margin-left:-16.14583333vw;padding:.72916667vw .88541667vw;width:32.29166667vw;height:2.39583333vw;background:#E6F4FF;border-radius:.46875vw;display:flex;flex-direction:row;align-items:center;justify-content:space-between;bottom:3.125vw}._alertWrap_550iz_263 ._alertInfo_550iz_278{display:flex;flex-direction:row;align-items:center;font-size:.83333333rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:rgba(0,0,0,.88)}._alertWrap_550iz_263 ._alertInfo_550iz_278 ._infoIcon_550iz_287{width:1.04166667vw;height:1.04166667vw;margin-right:.41666667vw}._alertWrap_550iz_263 ._down_550iz_200{font-size:.83333333rem;font-weight:500;color:#1677ff;cursor:pointer}\n'),
  91. document.head.appendChild(S);
  92. const k = '' + new URL('login_styles-ceba7cd4.png', t.meta.url).href,
  93. O = '' + new URL('login-left-588cef70.png', t.meta.url).href,
  94. P = '' + new URL('loginright-bff46f2c.png', t.meta.url).href,
  95. Z = '' + new URL('colLogo-1855284b.png', t.meta.url).href,
  96. j = {
  97. 'no-pwd': '_no-pwd_550iz_1',
  98. 'n-input__input-el': '_n-input__input-el_550iz_4',
  99. 'view-account-form': '_view-account-form_550iz_8',
  100. 'view-account': '_view-account_550iz_8',
  101. 'view-account-container': '_view-account-container_550iz_20',
  102. stylesWrap: '_stylesWrap_550iz_29',
  103. loginLeft: '_loginLeft_550iz_36',
  104. loginRight: '_loginRight_550iz_43',
  105. colLogo: '_colLogo_550iz_56',
  106. 'view-account-form-wrap': '_view-account-form-wrap_550iz_60',
  107. prefixIcon: '_prefixIcon_550iz_69',
  108. pwdIcon: '_pwdIcon_550iz_74',
  109. formTitle: '_formTitle_550iz_79',
  110. dot: '_dot_550iz_89',
  111. submitBtm: '_submitBtm_550iz_96',
  112. forgetBtm: '_forgetBtm_550iz_108',
  113. sendInput: '_sendInput_550iz_115',
  114. sendMsg: '_sendMsg_550iz_118',
  115. 'view-account-form-top': '_view-account-form-top_550iz_129',
  116. 'view-account-form-top-desc':
  117. '_view-account-form-top-desc_550iz_133',
  118. 'view-account-form-other': '_view-account-form-other_550iz_137',
  119. 'default-color': '_default-color_550iz_140',
  120. 'ant-checkbox-wrapper': '_ant-checkbox-wrapper_550iz_144',
  121. loginTabs: '_loginTabs_550iz_147',
  122. loginForgot: '_loginForgot_550iz_147',
  123. showModalTone: '_showModalTone_550iz_182',
  124. studentRemove: '_studentRemove_550iz_185',
  125. submitAppBtn: '_submitAppBtn_550iz_197',
  126. downMove: '_downMove_550iz_200',
  127. downMoveBg: '_downMoveBg_550iz_207',
  128. dingPng: '_dingPng_550iz_214',
  129. closeAble: '_closeAble_550iz_223',
  130. alertWrap: '_alertWrap_550iz_263',
  131. alertInfo: '_alertInfo_550iz_278',
  132. infoIcon: '_infoIcon_550iz_287',
  133. down: '_down_550iz_200'
  134. },
  135. W =
  136. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAA0pJREFUWEftmVtIFFEYx//fjKaZdoOFeigJwkh6CGdmZV/EICTBfVPEULALRD0EGYRg6BYhRU9C0eWhC90Iix4MjF7aCMOdnX0QIovCp+iykL1Ym7ieL07swjZNuzurq2zsPO75zv/7zf985+w5ZwgF9lCB8aIInO8RKzq8JA43NzeXRaPRASLyM3MtACXfibPRJ6I4gFcAHlRWVp4LBoNxSsC+BFCXjcgyxjzz+/27SdO0UwD6lxHETeqjEvg1gO1uei1j7AsJPO9Us4n6GWhpaTkbCATEUkHqur4DwC1m3umQ85sE5nQwRBRUVbUrFAp9yCc0M5Ou68cADAIoc8pFRLE/gKWrzFxiDyaiaUVRDpqm+Sgf0JqmbQZwA8CuDOb9BRxj5jYA1wF4HMCvMHNPJBL5sVjghmF0CiEuAFhj12Tm+0TUnvzdyeGYZVkVhmFsEELcBNDkADapqmqHaZoTC4H2+Xzr5+bmpAGtTiNKRIeFEI8BfM8ILAMSNdWTqKkVNtFZIuoNh8NDRJR2Dji9lGEYe4QQ1wBsdGh/Wl5evm9sbOyjpmkVWQMnhTRNqyOiu8y8zcGJJ6qqdodCoS/ZuJ0AOA/giINWDMCJcDh8MWlCTsBSuKmpadX09PQQMx9wAIsSUbdlWaPpoHVd9yaWqxoHWAtAp2VZb1PbcgZOiui63srMVwGssyVlIhryeDy9o6Ojs6ltjY2NJTMzMycB9NlXICKaZ+bBqqqq03KfYH+RBQNLQcMwNjHzbWZucHB0orS0tGN8fHxStnm93hohhPwTkO7an3cAuiKRSOhfI7MowFI8EAgoIyMjfUTU7+DaT2YekXFE1MLMKx1K4DIzH8+0PC4acBLA6/X6hBB3mHlLNpOOiD4D2J+p3lMmvPtVIhNIfX396ng8fgnA3nSxRPRQUZRDpml+zaSZV+CkuGEY7UKIMwC22oDey9KxLOtetqBLAiyTtLW1qVNTUw1EVCvXUiJ6U11d/Xx4eFjuCF0/i17DrglcdigCuzTMdXjRYdeWuexQdNilYa7D/xuHU4/5cwDWZtqUuLYqxw6Jo9qnlO6/j/kFd5FSWFdVBXcZKOujoK5bc5wPy9at+Mkg39YXHS46bHPgFzDvx5wYznYqAAAAAElFTkSuQmCC',
  137. q =
  138. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAa1JREFUWEftmS9Mw1AQxu/ahBnsBAmISvSus4RgqEBO4YBgEeC3eRBYAjjUJKIYQrDrTSMrWIKYxYykPTLR5LHQvxthTa6yvXvv1+v3vr68QyhwtdttJ4qiLiLuAcCGiNgF0nJDEDECgA8RebZtuz8cDsO8JMwLIKIjEbkGgPW82AWffyLiGTPfZ42TCey67k4cxy8AkPtiC8Im6WJZ1m4QBK9p46WCeJ7XmEwmbyLiLAmm0DCIGDabzW3f96e/JaQCu667H8exbyRNEfHQcZzHwWDwVWj2nKBOp7MWhuGBiDwAQCMJtyzLC4LgqRRwq9U6B4DLJAkR75j5ZBmg82MQ0a2IHBv3L0aj0VUpYCLqiUjXAO4zc++PgAvPlSoJBc74NGWKoxWuonGt8KxqiKgukchHJaGSmLMSlYRKQiUBAGUWQpXfsZlTZi7d/FSptlZYbU1tTW0t2zvUJdQlVsEliMgDgBsR2TR5EHEMAKfMbB4s/kD+Fw0T0fs8rHEuN2bmrbSlp8BFFl3tJFFll7bUc4naHWjXrmVQu6bMTF+1ansZC6I+jcUEepVat988fMRLRmtCKgAAAABJRU5ErkJggg==',
  139. D = o({
  140. name: 'codeLogin',
  141. setup(e, { emit: t }) {
  142. const o = a(),
  143. m = i(),
  144. A = n(),
  145. h = l(),
  146. z = n(!1),
  147. b = n(!0),
  148. y = s.BASE_LOGIN_NAME,
  149. I = r(),
  150. C = c({ username: '', password: '', isCaptcha: !0 }),
  151. x = n(!1),
  152. M = n(60),
  153. E = u.get('userInfo-teacher');
  154. E && (C.username = JSON.parse(E).username);
  155. const R = async () => {
  156. A.value.validate(async e => {
  157. if (!e) {
  158. const { username: e, password: a } = C;
  159. h.loading('登录中...'),
  160. (z.value = !0),
  161. u.set(
  162. 'userInfo-teacher',
  163. JSON.stringify({ username: e })
  164. );
  165. const i = {
  166. username: e,
  167. password: a,
  168. loginType: 'SMS',
  169. grant_type: 'password',
  170. client_id: 'cooleshow-teacher',
  171. client_secret: 'cooleshow-teacher'
  172. };
  173. try {
  174. await I.login(i),
  175. h.destroyAll(),
  176. b.value
  177. ? u.set('userInfo', JSON.stringify(C))
  178. : u.remove('userInfo');
  179. const e = decodeURIComponent('/');
  180. h.success('登录成功,即将进入系统'),
  181. m.name === y ? o.replace('/') : o.replace(e);
  182. } catch (t) {
  183. h.destroyAll(),
  184. (z.value = !1),
  185. h.error(t.msg),
  186. console.log(t);
  187. } finally {
  188. z.value = !1;
  189. }
  190. }
  191. });
  192. },
  193. F = () => {
  194. if (x.value) return;
  195. x.value = !0;
  196. const e = setInterval(() => {
  197. M.value--,
  198. console.log(M.value),
  199. M.value <= 0 && ((x.value = !1), clearInterval(e));
  200. }, 1e3);
  201. };
  202. return () =>
  203. d('div', { class: j['view-account-form-wrap'] }, [
  204. d(
  205. g,
  206. {
  207. ref: A,
  208. 'label-placement': 'left',
  209. size: 'large',
  210. model: C
  211. },
  212. {
  213. default: () => [
  214. d(
  215. w,
  216. {
  217. path: 'username',
  218. rule: [
  219. {
  220. required: !0,
  221. message: '请输入手机号',
  222. trigger: 'blur'
  223. }
  224. ]
  225. },
  226. {
  227. default: () => [
  228. d(
  229. _,
  230. {
  231. maxlength: 11,
  232. value: C.username,
  233. 'onUpdate:value': e => (C.username = e),
  234. placeholder: '请输入手机号'
  235. },
  236. {
  237. prefix: () =>
  238. d(
  239. 'img',
  240. { src: q, class: j.prefixIcon, alt: '' },
  241. null
  242. )
  243. }
  244. )
  245. ]
  246. }
  247. ),
  248. d(
  249. w,
  250. {
  251. path: 'password',
  252. rule: [
  253. {
  254. required: !0,
  255. message: '请输入验证码',
  256. trigger: 'blur'
  257. }
  258. ]
  259. },
  260. {
  261. default: () => [
  262. d(p, null, {
  263. default: () => [
  264. d(
  265. _,
  266. {
  267. value: C.password,
  268. 'onUpdate:value': e => (C.password = e),
  269. type: 'text',
  270. showPasswordOn: 'click',
  271. placeholder: '请输入验证码',
  272. inputProps: { autocomplete: 'off' },
  273. class: j.sendInput,
  274. maxlength: 6,
  275. onKeydown: e => {
  276. ('Enter' !== e.code &&
  277. 'NumpadEnter' !== e.code) ||
  278. R();
  279. }
  280. },
  281. {
  282. prefix: () =>
  283. d(
  284. 'img',
  285. {
  286. src: W,
  287. class: j.prefixIcon,
  288. alt: ''
  289. },
  290. null
  291. ),
  292. suffix: () =>
  293. d(
  294. v,
  295. {
  296. class: j.sendMsg,
  297. disabled: x.value,
  298. onClick: () =>
  299. (async () => {
  300. if (C.username)
  301. try {
  302. await B({
  303. clientId:
  304. 'cooleshow-teacher',
  305. mobile: C.username,
  306. type: 'LOGIN'
  307. }),
  308. F();
  309. } catch (e) {
  310. console.log(e);
  311. }
  312. else h.error('请输入手机号');
  313. })()
  314. },
  315. {
  316. default: () => [
  317. x.value
  318. ? M.value + 'S'
  319. : '发送短信'
  320. ]
  321. }
  322. )
  323. }
  324. )
  325. ]
  326. })
  327. ]
  328. }
  329. ),
  330. d(
  331. w,
  332. { class: j['default-color'] },
  333. {
  334. default: () => [
  335. d(
  336. 'div',
  337. { class: [j.flex, j['justify-between']] },
  338. [d('div', { class: j['flex-initial'] }, null)]
  339. )
  340. ]
  341. }
  342. ),
  343. d(w, null, {
  344. default: () => [
  345. d(
  346. v,
  347. {
  348. class: j.submitBtm,
  349. type: 'primary',
  350. onClick: R,
  351. size: 'large',
  352. disabled: z.value,
  353. block: !0
  354. },
  355. { default: () => [f('立即登录')] }
  356. )
  357. ]
  358. })
  359. ]
  360. }
  361. )
  362. ]);
  363. }
  364. }),
  365. J =
  366. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAA5RJREFUWEftmV+IG1UUxr8z6UaNPrjSQq1idVHxySLnDkt3XVzBPw8uKIqg9G2RUh+k+KLFpzy2fRCxCtZSn4pPgsJaEZSKLJLdzTlgBUHpKhXaYl1BYbDZxmaOjGyGMSbmJpPGLeQ+Ts75vt98M3Pn3gkh52DmrUEQ7DGzGQAPANhqZgER/Q7gGzOrjI2NnVhaWjqb0+rvdupXZGZmZlutVjtkZnsAFLvoGICTxWLx5UqlstqvZ9/AYRg+bWbHzOyWHs0vE9EBEXmjx760vOeEmXkfgLcBBP2aAnhTVff3098TsHPuSTP7qI3Rd0T0LhF9MT4+fiaKorher+8E8CARzZvZ7tYeInpVRA73Cu0NzMx3ADgN4OasCRG9bmYHVPXPTubM/CyA9wDc1KwhogaAh0Tkq16gvYGdc8fNbD4jXi8UCs+trKx86GPIzA8T0Sdmdn0GuiIiUz79aY9P8dTU1M56vb5qZlsyZi+JyFs+/c0aZn4CwMctV+hREfncV8cr4TAM98dxnD7ZRPTt3Nzc/eVyOfY1atY55z4ws2cyJ/6OiLzoq+MFzMyfAng8T7oZ4EfM7LMM4FlVvWugwM65H80sFSWi+0Tke1+TbB0zjwE4D2DbxvEzqnqvr5ZXws65S2Z2Q1O0WCyWKpVKzdektY6ZnyKiI2Z2hYj2ikg28f+U7QpcLpeDhYWFZApqjlhVC/3C5u0bAedNsFv/KOFuCeX9/dpOOAzD7XEcH0wWJQB2ZNLILtCTxXjHhU7uBInOmdmpUqn02uLi4lqrXprw9PT0jvX19a8zE3pe77z9FwDsUtVfs0IpMDOfAJBsdzbTOKaqezsBJ6/L7G2wGcD/9drOJpzcm+mYmJi4btjEa2trpSiKfsv4XlLVGzsl/A9gVe06gwz6hJi5BOCPpi4R1UQkOZaOjgmPgD0ux9ATTr5XxHF8FECyE5lX1ZMenGnJ0IGZ+ZfMPP6Tqt65aYFnZ2e3RFGUvgGJ6IqIJLsL7zHUhEfAyZfKqzmtjRIeJdzm2WfmcwBu2/hpVVXv8Z4iAAx1lkjAmPkxAMn3tkYQBPuq1eqXmxq4F7h2tUNPeAR8NefhvOluPAM9rYeTTd+tgzAeoMYPqnp32wW8c+59M3t+gGa5pYjouIi80BZ4cnLy9kajcbqP/95yg7UTIKKLhUJh1/Ly8sW2wMnBDejDZjb7P94e54noFBG9Uq1Wf249mb8AQS0XS+/oFWwAAAAASUVORK5CYII=',
  367. N = o({
  368. name: 'codeLogin',
  369. emits: ['changType'],
  370. setup(e, { emit: t }) {
  371. const o = a();
  372. i();
  373. const p = n(),
  374. A = l(),
  375. h = n(!1),
  376. z = n(!0);
  377. s.BASE_LOGIN_NAME;
  378. const b = n(!1),
  379. y = r();
  380. let I = c({ username: '', password: '', isCaptcha: !0 });
  381. const C = u.get('userInfo-teacher');
  382. C && (I = c({ ...JSON.parse(C) }));
  383. const x = async () => {
  384. p.value.validate(async e => {
  385. if (!e) {
  386. const { username: e, password: a } = I;
  387. h.value = !0;
  388. const i = {
  389. username: e,
  390. password: a,
  391. loginType: 'PASSWORD',
  392. grant_type: 'password',
  393. client_id: 'cooleshow-teacher',
  394. client_secret: 'cooleshow-teacher'
  395. };
  396. try {
  397. await y.login(i),
  398. A.destroyAll(),
  399. z.value
  400. ? u.set('userInfo-teacher', JSON.stringify(I))
  401. : u.remove('userInfo-teacher');
  402. const e = decodeURIComponent('/');
  403. console.log(e, 'toPath'),
  404. A.success('登录成功,即将进入系统'),
  405. o.replace(e);
  406. } catch (t) {
  407. console.log(t, 'e');
  408. } finally {
  409. h.value = !1;
  410. }
  411. }
  412. });
  413. };
  414. return () =>
  415. d('div', { class: j['view-account-form-wrap'] }, [
  416. d(
  417. g,
  418. {
  419. ref: p,
  420. 'label-placement': 'left',
  421. size: 'large',
  422. model: I
  423. },
  424. {
  425. default: () => [
  426. d(
  427. w,
  428. {
  429. path: 'username',
  430. rule: [
  431. {
  432. required: !0,
  433. message: '请输入用户名',
  434. trigger: 'blur'
  435. }
  436. ]
  437. },
  438. {
  439. default: () => [
  440. d(
  441. _,
  442. {
  443. maxlength: 11,
  444. value: I.username,
  445. 'onUpdate:value': e => (I.username = e),
  446. placeholder: '请输入用户名'
  447. },
  448. {
  449. prefix: () =>
  450. d(
  451. 'img',
  452. {
  453. src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABQ1JREFUWEfdmV+I1FUUx8+588scmJESVkFRC0IN6yHu/e2AbjVZCWbQ31UD6ynLsiiDrB566UUryCItqZ5K6H8ZVAv+nWp9mL3nEkSRfx62FANdsHAGtHXmnrjb/Ja74+z+fr91XZvO0zD33O/5zPmde3/n3kFoM8OJ4O3s7Jxvrb0bAG4HgLnMPMvpIuIfAHAUAHYLIXb29fUdvtB4FwRcKBRkrVZ7BQCWJgTZFwTBxnK5bBL6n+c2LuBisRhUq9UtzLzeJTJlcEbEbblcbkOpVKqlnJs6GHR1dV155syZzwHglrTBmvz3Z7PZ+3p7e/9Mo5MqOy6zlUplVytYRNyLiB8z8/e5XO64g6hWq7MR8SZmXsXMt7YA25/P55elyXQqYKXU1kYZ+LGPCCHWaq2/GytTYRjebK19DwCu8f0QcSsRPZk0y4mBGwtMN9XsD9ls9q6kj7VRTl8BwI0eIAdBECZdiImBpZR7m3aDI9lstpAUNgJsQPc1ZXqfMaZVyYxvl3D7bL1eP+TPFkIU48pgtMfcKI+SP57JZBYk2acTZVgptZGZX44CuAVGRLclrbtWfkqpPf5CRMTniMjt6WNaUuDdzDwMKIR4RGv9bpx4zCJca619x0vCHiJyb8oJAT7EzPM98YVENKJE4gI1jyulFjDzQU/zMBEtiNNJlGEpZQUAcpFYPp/Pl0qlapz4WOPFYjFXqVScbmRVY0w+TvP/CayUaq+SUEq13aJrr22t7V4cbuW21avZAbdd8+OglVJvMvMTTXvlf7O9dJBt18A76LY6IkWloJTqZOb3AcD1F4nell4ZMQAcRsSHiMj1xaksVTClVJGZXwCAZamijO68CxE3EdGI3ngs7UTAhUJhWr1e38bMayYIdIQMIu7IZDLry+Xy6Tj9WGApZRcAfAAAV40idhIA9ggh3O3OwXq9fnL69OknnO+pU6dmZjKZGdbahdZa1+u6nnrGKDq/AcCDxpjecWdYKfWAg2XmTLOIO3UAwGattTveu7qMNWbGMAzd2e35Vsd+RKw7aCL6cDSxUTOslFoNADuaYRHxR0R8VGvtTtDjNrdwAWA7M9/gizSg1xDRR63EWwKHYXgvM3/SBGsR8VVmftEYc27cpN7E7u7uKf39/S8x87MAIKIhB42IK7XWX5z3ZJu/WLx48bzBwcGfmHmaN3ZOCLG6lcBEgLsEWWtdRi/zoE8z8/XGGHf7OWwjMtyosX3MXPQm1hBx1cWCjeI0nqq76gq82CWt9VJ/jYwADsPwKWvt601Ze8wYs30iMhmnIaVcBwBv+35CiKe11m8M/4jow/Llyy8fGBj4nZlnehO+McbcGRdoIsellF8DwAovyyc6Ojrm9fT0/O2+G86wlPJhAPDvGv4KgmBhuVwe2lMnywqFwsxareaO/1d4MdcaY9xF4r/ArnaVUr8AwLWe02ZjjHsNT7pJKTe5vdoL/CsRLXK1PATcaM7JcxicOnXq1QcOHHD/UUy6LVmyZNbZs2f7AWBKFDwIAuVuOIeAlVIbmPk1r24+I6LuSSf1AiqlPmXm+z2mZ4hoyxCwlPJLAHD/Ag2ZEGK91vqtSwkchuHj1tptHsNOY8w9EbBrYDo84Ou01q6mL5mFYbjIWvuzBzBgjJkRlcRRZp7TGDxORHOSNjQX6xc1NoJjADDbxUDEY0Q0N8rwCkSMNux1RPTtxQJJo6uUusM1SI05Q1yx/XCaAJPh+w8iEp9LNey2nAAAAABJRU5ErkJggg==',
  454. class: j.prefixIcon,
  455. alt: ''
  456. },
  457. null
  458. )
  459. }
  460. )
  461. ]
  462. }
  463. ),
  464. d(
  465. w,
  466. {
  467. path: 'password',
  468. rule: [
  469. {
  470. required: !0,
  471. message: '请输入密码',
  472. trigger: 'blur'
  473. }
  474. ]
  475. },
  476. {
  477. default: () => [
  478. d(
  479. _,
  480. {
  481. value: I.password,
  482. 'onUpdate:value': e => (I.password = e),
  483. type: 'text',
  484. showPasswordOn: 'click',
  485. placeholder: '请输入密码',
  486. inputProps: { autocomplete: 'off' },
  487. class: [b.value ? '' : j['no-pwd']],
  488. onKeydown: e => {
  489. console.log(e.code),
  490. ('Enter' !== e.code &&
  491. 'NumpadEnter' !== e.code) ||
  492. x();
  493. }
  494. },
  495. {
  496. prefix: () =>
  497. d(
  498. 'img',
  499. { src: J, class: j.prefixIcon, alt: '' },
  500. null
  501. ),
  502. suffix: () =>
  503. d(
  504. 'img',
  505. {
  506. src: b.value ? R : F,
  507. class: j.pwdIcon,
  508. alt: '',
  509. onClick: () => {
  510. b.value = !b.value;
  511. }
  512. },
  513. null
  514. )
  515. }
  516. )
  517. ]
  518. }
  519. ),
  520. d(
  521. w,
  522. { class: j['default-color'] },
  523. {
  524. default: () => [
  525. d(
  526. 'div',
  527. { class: [j.flex, j['justify-between']] },
  528. [
  529. d('div', { class: j['flex-initial'] }, [
  530. d(
  531. m,
  532. {
  533. checked: z.value,
  534. 'onUpdate:checked': e => (z.value = e)
  535. },
  536. { default: () => [f('记住密码')] }
  537. )
  538. ])
  539. ]
  540. )
  541. ]
  542. }
  543. ),
  544. d(w, null, {
  545. default: () => [
  546. d(
  547. v,
  548. {
  549. class: j.submitBtm,
  550. type: 'primary',
  551. onClick: x,
  552. size: 'large',
  553. disabled: h.value,
  554. loading: h.value,
  555. block: !0
  556. },
  557. { default: () => [f('立即登录')] }
  558. )
  559. ]
  560. }),
  561. d(w, null, {
  562. default: () => [
  563. d(
  564. v,
  565. {
  566. text: !0,
  567. class: j.forgetBtm,
  568. onClick: () => {
  569. t('changType');
  570. },
  571. size: 'large',
  572. block: !0
  573. },
  574. { default: () => [f('忘记密码')] }
  575. )
  576. ]
  577. })
  578. ]
  579. }
  580. )
  581. ]);
  582. }
  583. }),
  584. V = o({
  585. name: 'forgotPassword',
  586. emits: ['changType'],
  587. setup(e, { emit: t }) {
  588. a(), i();
  589. const o = n(),
  590. u = l(),
  591. m = n(!1);
  592. n(!0), s.BASE_LOGIN_NAME;
  593. const A = n(!1),
  594. h = n(!1);
  595. r();
  596. const z = c({
  597. mobile: '',
  598. password: '',
  599. password1: '',
  600. code: '',
  601. isCaptcha: !0
  602. }),
  603. b = n(!1),
  604. y = n(60),
  605. I = (e, t, o) => {
  606. '' === t
  607. ? o(new Error('请再次输入密码'))
  608. : t !== z.password
  609. ? o(new Error('两次输入密码不一致!'))
  610. : /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/.test(t)
  611. ? o()
  612. : o(new Error('密码为6-20位数字和字母组合'));
  613. },
  614. C = async () => (
  615. o.value.validate(async e => {
  616. if (!e) {
  617. u.loading('修改中...'), (m.value = !0);
  618. try {
  619. return (
  620. await E({ ...z, clientType: 'TEACHER' }),
  621. u.success('修改成功'),
  622. (m.value = !1),
  623. t('changType'),
  624. !1
  625. );
  626. } catch (o) {
  627. return (m.value = !1), u.error(o.msg), !1;
  628. }
  629. }
  630. }),
  631. !1
  632. ),
  633. x = () => {
  634. if (b.value) return;
  635. b.value = !0;
  636. const e = setInterval(() => {
  637. y.value--,
  638. console.log(y.value),
  639. y.value <= 0 && ((b.value = !1), clearInterval(e));
  640. }, 1e3);
  641. };
  642. return () =>
  643. d('div', { class: j['view-account-form-wrap'] }, [
  644. d(
  645. g,
  646. {
  647. ref: o,
  648. 'label-placement': 'left',
  649. size: 'large',
  650. model: z
  651. },
  652. {
  653. default: () => [
  654. d(
  655. w,
  656. {
  657. path: 'mobile',
  658. rule: [
  659. {
  660. required: !0,
  661. message: '请输入手机号',
  662. trigger: 'blur'
  663. }
  664. ]
  665. },
  666. {
  667. default: () => [
  668. d(
  669. _,
  670. {
  671. maxlength: 11,
  672. value: z.mobile,
  673. 'onUpdate:value': e => (z.mobile = e),
  674. placeholder: '请输入手机号'
  675. },
  676. {
  677. prefix: () =>
  678. d(
  679. 'img',
  680. { src: q, class: j.prefixIcon, alt: '' },
  681. null
  682. )
  683. }
  684. )
  685. ]
  686. }
  687. ),
  688. d(
  689. w,
  690. {
  691. path: 'password',
  692. rule: [
  693. {
  694. required: !0,
  695. pattern:
  696. /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/,
  697. message: '密码为6-20位数字和字母组合',
  698. trigger: 'blur'
  699. }
  700. ]
  701. },
  702. {
  703. default: () => [
  704. d(
  705. _,
  706. {
  707. value: z.password,
  708. 'onUpdate:value': e => (z.password = e),
  709. type: 'text',
  710. showPasswordOn: 'click',
  711. placeholder: '请输入密码',
  712. inputProps: { autocomplete: 'off' },
  713. class: [A.value ? '' : j['no-pwd']]
  714. },
  715. {
  716. prefix: () =>
  717. d(
  718. 'img',
  719. { src: J, class: j.prefixIcon, alt: '' },
  720. null
  721. ),
  722. suffix: () =>
  723. d(
  724. 'img',
  725. {
  726. src: A.value ? R : F,
  727. class: j.pwdIcon,
  728. alt: '',
  729. onClick: () => {
  730. A.value = !A.value;
  731. }
  732. },
  733. null
  734. )
  735. }
  736. )
  737. ]
  738. }
  739. ),
  740. d(
  741. w,
  742. {
  743. path: 'password1',
  744. rule: [
  745. { validator: I, trigger: 'blur', required: !0 }
  746. ]
  747. },
  748. {
  749. default: () => [
  750. d(
  751. _,
  752. {
  753. value: z.password1,
  754. 'onUpdate:value': e => (z.password1 = e),
  755. type: 'text',
  756. showPasswordOn: 'click',
  757. placeholder: '请确认密码',
  758. inputProps: { autocomplete: 'off' },
  759. class: [h.value ? '' : j['no-pwd']]
  760. },
  761. {
  762. prefix: () =>
  763. d(
  764. 'img',
  765. { src: J, class: j.prefixIcon, alt: '' },
  766. null
  767. ),
  768. suffix: () =>
  769. d(
  770. 'img',
  771. {
  772. src: h.value ? R : F,
  773. class: j.pwdIcon,
  774. alt: '',
  775. onClick: () => {
  776. h.value = !h.value;
  777. }
  778. },
  779. null
  780. )
  781. }
  782. )
  783. ]
  784. }
  785. ),
  786. d(
  787. w,
  788. {
  789. path: 'code',
  790. rule: [
  791. {
  792. required: !0,
  793. message: '请输入验证码',
  794. trigger: 'blur'
  795. }
  796. ]
  797. },
  798. {
  799. default: () => [
  800. d(p, null, {
  801. default: () => [
  802. d(
  803. _,
  804. {
  805. value: z.code,
  806. 'onUpdate:value': e => (z.code = e),
  807. type: 'text',
  808. showPasswordOn: 'click',
  809. placeholder: '请输入验证码',
  810. inputProps: { autocomplete: 'off' },
  811. class: j.sendInput,
  812. onKeydown: e => {
  813. ('Enter' !== e.code &&
  814. 'NumpadEnter' !== e.code) ||
  815. C();
  816. }
  817. },
  818. {
  819. prefix: () =>
  820. d(
  821. 'img',
  822. {
  823. src: W,
  824. class: j.prefixIcon,
  825. alt: ''
  826. },
  827. null
  828. ),
  829. suffix: () =>
  830. d(
  831. v,
  832. {
  833. class: j.sendMsg,
  834. disabled: b.value,
  835. onClick: () =>
  836. (async () => {
  837. if (z.mobile)
  838. try {
  839. await B({
  840. clientId:
  841. 'cooleshow-teacher',
  842. mobile: z.mobile,
  843. type: 'PASSWORD'
  844. }),
  845. x();
  846. } catch (e) {
  847. console.log(e);
  848. }
  849. else u.error('请输入手机号');
  850. })()
  851. },
  852. {
  853. default: () => [
  854. b.value
  855. ? y.value + 'S'
  856. : '发送短信'
  857. ]
  858. }
  859. )
  860. }
  861. )
  862. ]
  863. })
  864. ]
  865. }
  866. ),
  867. d(w, null, {
  868. default: () => [
  869. d(
  870. v,
  871. {
  872. class: [j.submitBtm, j.submitForgoBtm],
  873. type: 'primary',
  874. onClick: C,
  875. size: 'large',
  876. disabled: m.value,
  877. block: !0
  878. },
  879. { default: () => [f('确认')] }
  880. )
  881. ]
  882. }),
  883. d(w, null, {
  884. default: () => [
  885. d(
  886. v,
  887. {
  888. text: !0,
  889. class: j.forgetBtm,
  890. onClick: () => {
  891. t('changType');
  892. },
  893. size: 'large',
  894. block: !0
  895. },
  896. { default: () => [f('返回登录')] }
  897. )
  898. ]
  899. })
  900. ]
  901. }
  902. )
  903. ]);
  904. }
  905. });
  906. e(
  907. 'default',
  908. o({
  909. name: 'login-page',
  910. setup() {
  911. const e = n(!1),
  912. t = n('pwdLogin'),
  913. o = n(),
  914. a = n(),
  915. i = n();
  916. A();
  917. const l = n(!1),
  918. s = async e => {
  919. e.preventDefault(),
  920. console.log('checkInstall', e),
  921. (i.value = e),
  922. console.log('beforeoutcome'),
  923. window.matchMedia('(display-mode: standalone)').matches
  924. ? (L.application = window.matchMedia(
  925. '(display-mode: standalone)'
  926. ).matches)
  927. : (console.log(i.value, 'popEvent.value'),
  928. i.value &&
  929. ((l.value = !0),
  930. setTimeout(() => {
  931. const e = document.querySelector('#submitBtn');
  932. console.log(e),
  933. e &&
  934. e.addEventListener('click', () => {
  935. (l.value = !1),
  936. i.value &&
  937. (i.value.prompt(),
  938. i.value.userChoice.then(e => {
  939. 'accepted' === e.outcome
  940. ? (console.log(
  941. '用户已同意添加到桌面'
  942. ),
  943. (l.value = !1))
  944. : (console.log(
  945. '用户已取消添加到桌面'
  946. ),
  947. (l.value = !1));
  948. }));
  949. });
  950. }, 500)));
  951. };
  952. window.addEventListener('beforeinstallprompt', s, { once: !0 }),
  953. h(() => {
  954. window.removeEventListener('beforeinstallprompt', s);
  955. }),
  956. z(async () => {});
  957. const r = () => {
  958. const e = navigator.userAgent.toLowerCase(),
  959. t = /macintosh|mac os x/i.test(navigator.userAgent);
  960. (e.indexOf('win32') >= 0 || e.indexOf('wow32') >= 0) &&
  961. window.open(
  962. 'https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup32.exe'
  963. ),
  964. (e.indexOf('win64') >= 0 || e.indexOf('wow64') >= 0) &&
  965. window.open(
  966. 'https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup64.exe'
  967. ),
  968. t &&
  969. window.open(
  970. 'https://appstore.ks3-cn-beijing.ksyuncs.com/googlechrome-mac.dmg'
  971. );
  972. };
  973. return () =>
  974. d('div', { class: j['view-account'] }, [
  975. d('div', { class: j['view-account-container'] }, [
  976. d('img', { src: O, class: j.loginLeft, alt: '' }, null),
  977. d('img', { src: P, class: j.loginRight, alt: '' }, null),
  978. d('div', { class: j.stylesWrap }, [
  979. d('img', { src: k, alt: '' }, null)
  980. ])
  981. ]),
  982. d('div', { class: j['view-account-form'] }, [
  983. d('img', { class: j.colLogo, src: Z }, null),
  984. '22:52',
  985. e.value
  986. ? d(
  987. b,
  988. {
  989. key: 'forgotPassword',
  990. 'default-value': t.value,
  991. class: [j.loginTabs, j.loginForgot],
  992. ref: a,
  993. 'justify-content': 'center'
  994. },
  995. {
  996. default: () => [
  997. d(
  998. y,
  999. { name: 'forgotPassword', tab: '重置密码' },
  1000. {
  1001. default: () => [
  1002. d(
  1003. V,
  1004. {
  1005. onChangType: () => {
  1006. (e.value = !1),
  1007. (t.value = 'pwdLogin');
  1008. }
  1009. },
  1010. null
  1011. )
  1012. ]
  1013. }
  1014. )
  1015. ]
  1016. }
  1017. )
  1018. : d(
  1019. b,
  1020. {
  1021. key: 'pwdLogin',
  1022. ref: o,
  1023. 'default-value': t.value,
  1024. class: [j.loginTabs],
  1025. 'justify-content': 'center'
  1026. },
  1027. {
  1028. default: () => [
  1029. d(
  1030. y,
  1031. { name: 'pwdLogin', tab: '密码登录' },
  1032. {
  1033. default: () => [
  1034. d(
  1035. N,
  1036. {
  1037. onChangType: () => {
  1038. (e.value = !0),
  1039. (t.value = 'forgotPassword');
  1040. }
  1041. },
  1042. null
  1043. )
  1044. ]
  1045. }
  1046. ),
  1047. d(
  1048. y,
  1049. { name: 'codeLogin', tab: '短信验证' },
  1050. { default: () => [d(D, null, null)] }
  1051. )
  1052. ]
  1053. }
  1054. ),
  1055. d('div', { class: j.alertWrap }, [
  1056. d('div', { class: j.alertInfo }, [
  1057. d(
  1058. I,
  1059. {
  1060. src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAo1JREFUWEfNmL9v01AQx79f26DCghATaQpFCAF/AA1bywgSQp34sbCwgDqUGgEDIwOgJs1QwcLCgmCqEBKMpBuFPwBQhSi0hAkhFqgg9hc9Nw5JSRrHccXzZCt39z65u3d37xEpn32z2vv7F4bDEDk6yBkzClF1HFS3bMXShwl+TGOavSjlyyqEAcYBnJJ0aCNdkm8BPHFczK1MciHpOomA8iWNBMIdSKNJDbfIkfMucXVliq+66W8ItOeudtZ+4p6k090MJfmd5GNvGy5+usRvneQ7AuXKOogango6kGSxpDIEF+HhZHWS79rptAUaLOqYhDlBO5Iu1Iscwe8kxj/7fLFe7x+gumcWNgsmBjBQ8FBY76kWoChnfsDAZBqmzvnCRW87Cs051QKUK+pRVgmcNIQm0as+z/z1XP0t2tqhEteLJte/d1xcMN9hgPuC9ieFieVch4W4JDQ8tLuoSqo6Q85/8TlmjGdhIwIyFTio6WWv/yySzwIIgOvxqKnoEVCuqFuSrv1PIJK3qz6vx0BvuvWmjrAZecj0vqrPwzRde3VVS6m8k2HIjKmBAQ4zX9JoEKpiA5DrcIy5aZ0V9NAGIILnOFiSH4aatgHIcXiFg0VNhVLRCiDSty9k/SY1wa8gZiMPCxOCdqX1dpTUfW/7tKu30Yu2fb1Spy+MGQE1CmPfrQOs0MP5KGI1PAAUNdpen5bW0U9z9TyOLE/ytQEYKutIraauJ4t2sC3NtZ/RwXV5YuUyn0dTw4yOB4Ge9eqd5omhMQ+lHtDIZQI31jYZbkoa6hWo7YBWzyV7RlgDZN2QH3lp7YBoxzEojr1VB8UYyqqjdAxl1WVD89a15jpmfT2x5sKqXaHbrCu9P01pn9rR5pptAAAAAElFTkSuQmCC',
  1061. class: j.infoIcon,
  1062. previewDisabled: !0
  1063. },
  1064. null
  1065. ),
  1066. f('为了您更好的上课体验,推荐使用Chrome浏览器')
  1067. ]),
  1068. d('div', { class: j.down, onClick: r }, [f('立即下载')])
  1069. ])
  1070. ]),
  1071. d(
  1072. C,
  1073. { show: l.value, 'onUpdate:show': e => (l.value = e) },
  1074. {
  1075. default: () => [
  1076. d('div', { class: j.downMove }, [
  1077. d('img', { src: U, class: j.dingPng, alt: '' }, null),
  1078. d(
  1079. 'img',
  1080. { src: T, class: j.downMoveBg, alt: '' },
  1081. null
  1082. ),
  1083. d(
  1084. 'img',
  1085. {
  1086. src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAi9JREFUaEPt2a9LBEEUwPHvBUFEg0EQ0SD+BTaLSbCYTAo2k0WDlvMHCCJisWgwWRVMJoNgMtj8CwSDv8BgUhEElYFdWZe7nbcz78Fx7Na7ebOfeTtvZnZrtMlVaxMHFaTVMlllpMqI0QhIHq0hYBx4Ay6AT6N7ScN2ApNAN3AF3Ev680GGgT2gIwn2AKwDr5LgAf/pBXaAwaTtF7AC3Pli+SALwFQuyCOwZoDJI9Juz4HDWMg8MN0giDamGcJ1fQYcxUL6gP3kec3H0sIUId6BJeAlFuLajwDbRhgfYgO49SHc7745ksawwKghykC0M6OKKAvRwqgjQiCxGBNEKCQUY4aIgfgwT8BqZtE0RcRCpJif3LYjW03dOiEusUVlWFp+i2IUlWaXme/M3skEoZERyTrTaBDUMpEG18hIWYw6QjMjUowJwgLiqtMuMNBkUj0DdYMjgHivJdm3FZXYbHutXfO/e9KaI1JE2rk6RgPiW+zcOuLO3/lLFRML8SHcYucgVueZv8GJgUgQ6aHI4jyjMkfKICSlOfoxC8lICMIcUxYSgzDFlIFoIMwwUogmwgQjgVgg1DE+SFfy7jd9F2txnvCV5mXgw7dH8kFmgbkGQbR3sUWYE+A4FrKYvOK3yET+3pph3KeMg1jIKLCVCaKdCQlmE7iJhbj2Y8BE8qHnFHBnCsurH5gBeoBL4FrSmW+OSGK0xH8qSEukIXMTVUaqjBiNQPVoGQ1scNi2ycgvTfaxM/Rb2jIAAAAASUVORK5CYII=',
  1087. class: j.closeAble,
  1088. onClick: () => {
  1089. l.value = !1;
  1090. },
  1091. alt: ''
  1092. },
  1093. null
  1094. ),
  1095. d('h2', null, [f('温馨提示')]),
  1096. d('p', null, [
  1097. f(
  1098. '检测到您尚未安装“音乐数字课堂”应用程序,为了更好的使用体验,是否立即下载?'
  1099. )
  1100. ]),
  1101. d(
  1102. x,
  1103. {
  1104. style: { padding: '25px 0 0 0' },
  1105. justify: 'center'
  1106. },
  1107. {
  1108. default: () => [
  1109. d(
  1110. v,
  1111. M(
  1112. { id: 'submitBtn' },
  1113. {
  1114. class: j.submitAppBtn,
  1115. round: !0,
  1116. type: 'primary'
  1117. }
  1118. ),
  1119. { default: () => [f('立即下载')] }
  1120. )
  1121. ]
  1122. }
  1123. )
  1124. ])
  1125. ]
  1126. }
  1127. )
  1128. ]);
  1129. }
  1130. })
  1131. );
  1132. }
  1133. };
  1134. }
  1135. );