login-legacy.f79faff2.js 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. <<<<<<< HEAD:dist/assets/login-legacy.6b82a5bc.js
  2. <<<<<<< HEAD:dist/assets/login-legacy.9d47d797.js
  3. <<<<<<< HEAD:dist/assets/login-legacy.a30c7bdc.js
  4. <<<<<<< HEAD:dist/assets/login-legacy.96432545.js
  5. !(function () {
  6. var e = ['returnUrl', 'isRegister']
  7. function t(e, t) {
  8. var n = Object.keys(e)
  9. if (Object.getOwnPropertySymbols) {
  10. var r = Object.getOwnPropertySymbols(e)
  11. t &&
  12. (r = r.filter(function (t) {
  13. return Object.getOwnPropertyDescriptor(e, t).enumerable
  14. })),
  15. n.push.apply(n, r)
  16. }
  17. return n
  18. }
  19. function n(e) {
  20. for (var n = 1; n < arguments.length; n++) {
  21. var o = null != arguments[n] ? arguments[n] : {}
  22. n % 2
  23. ? t(Object(o), !0).forEach(function (t) {
  24. r(e, t, o[t])
  25. })
  26. : Object.getOwnPropertyDescriptors
  27. ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o))
  28. : t(Object(o)).forEach(function (t) {
  29. Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(o, t))
  30. })
  31. }
  32. return e
  33. }
  34. function r(e, t, n) {
  35. return (
  36. t in e
  37. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  38. : (e[t] = n),
  39. e
  40. )
  41. }
  42. function o(e, t) {
  43. if (null == e) return {}
  44. var n,
  45. r,
  46. o = (function (e, t) {
  47. if (null == e) return {}
  48. var n,
  49. r,
  50. o = {},
  51. i = Object.keys(e)
  52. for (r = 0; r < i.length; r++) (n = i[r]), t.indexOf(n) >= 0 || (o[n] = e[n])
  53. return o
  54. })(e, t)
  55. if (Object.getOwnPropertySymbols) {
  56. var i = Object.getOwnPropertySymbols(e)
  57. for (r = 0; r < i.length; r++)
  58. (n = i[r]),
  59. t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (o[n] = e[n]))
  60. }
  61. return o
  62. }
  63. function i(e, t, n, r, o, i, s) {
  64. try {
  65. var a = e[i](s),
  66. u = a.value
  67. } catch (c) {
  68. return void n(c)
  69. }
  70. a.done ? t(u) : Promise.resolve(u).then(r, o)
  71. }
  72. function s(e) {
  73. return function () {
  74. var t = this,
  75. n = arguments
  76. return new Promise(function (r, o) {
  77. var s = e.apply(t, n)
  78. function a(e) {
  79. i(s, r, o, a, u, 'next', e)
  80. }
  81. function u(e) {
  82. i(s, r, o, a, u, 'throw', e)
  83. }
  84. a(void 0)
  85. })
  86. }
  87. }
  88. System.register(
  89. [
  90. './validate-legacy.2af58e56.js',
  91. './index-legacy.37a26c18.js',
  92. './index-legacy.c75fe8a2.js',
  93. './index-legacy.a5bef69a.js',
  94. './index-legacy.b08187e4.js',
  95. './index-legacy.ae8ecab9.js',
  96. './index-legacy.d552d569.js',
  97. './index-legacy.1f5a1fbe.js'
  98. ],
  99. function (t) {
  100. 'use strict'
  101. var r, i, a, u, c, l, p, d, f, h, g, m, y, w, b, v, x, S, C, O, P, j, D
  102. return {
  103. setters: [
  104. function (e) {
  105. ;(r = e.c), (i = e.R), (a = e.C), (u = e.I)
  106. },
  107. function (e) {
  108. ;(c = e.d),
  109. (l = e.bd),
  110. (p = e.e),
  111. (d = e.m),
  112. (f = e.be),
  113. (h = e.bf),
  114. (g = e.f),
  115. (m = e.s),
  116. (y = e.n),
  117. (w = e.o),
  118. (b = e.c),
  119. (v = e.bg),
  120. (x = e.q),
  121. (S = e.B),
  122. (C = e.P)
  123. },
  124. function (e) {
  125. O = e.q
  126. },
  127. function (e) {
  128. P = e.C
  129. },
  130. function (e) {
  131. j = e.F
  132. },
  133. function (e) {
  134. D = e.C
  135. },
  136. function () {},
  137. function () {}
  138. ],
  139. execute: function () {
  140. t(
  141. 'default',
  142. c({
  143. name: 'login-music',
  144. data: function () {
  145. return {
  146. loginType: 'SMS',
  147. username: '',
  148. password: '',
  149. smsCode: '',
  150. countDownStatus: !0,
  151. countDownTime: 12e4,
  152. imgCodeStatus: !1,
  153. showPopup: !1,
  154. showPopupMessage: '请使用微信打开',
  155. wxAppId: '',
  156. code: '',
  157. orchestraInfo: {},
  158. testIsWeixin: !1
  159. }
  160. },
  161. computed: {
  162. codeDisable: function () {
  163. var e = !0
  164. return this.username && this.smsCode && (e = !1), e
  165. }
  166. },
  167. mounted: function () {
  168. l(),
  169. this.directNext(),
  170. p().weixin || this.testIsWeixin || (this.showPopup = !0),
  171. this.getDetails()
  172. },
  173. methods: {
  174. getDetails: function () {
  175. var e = this
  176. return s(
  177. regeneratorRuntime.mark(function t() {
  178. var n, r
  179. return regeneratorRuntime.wrap(
  180. function (t) {
  181. for (;;)
  182. switch ((t.prev = t.next)) {
  183. case 0:
  184. if (((t.prev = 0), e.$route.query.id)) {
  185. t.next = 4
  186. break
  187. }
  188. return t.abrupt('return')
  189. case 4:
  190. return (
  191. (t.next = 6),
  192. d.get('/api-student/open/orchestra/detail/' + e.$route.query.id)
  193. )
  194. case 6:
  195. ;(n = t.sent),
  196. (r = n.data),
  197. (e.orchestraInfo = r || {}),
  198. r.canSignUp ||
  199. ((e.showPopup = !0), (e.showPopupMessage = '学校已关闭')),
  200. (t.next = 14)
  201. break
  202. case 12:
  203. ;(t.prev = 12), (t.t0 = t.catch(0))
  204. case 14:
  205. case 'end':
  206. return t.stop()
  207. }
  208. },
  209. t,
  210. null,
  211. [[0, 12]]
  212. )
  213. })
  214. )()
  215. },
  216. getAppIdAndCode: function (e) {
  217. return s(
  218. regeneratorRuntime.mark(function t() {
  219. var n, r
  220. return regeneratorRuntime.wrap(
  221. function (t) {
  222. for (;;)
  223. switch ((t.prev = t.next)) {
  224. case 0:
  225. return (
  226. (t.prev = 0),
  227. (t.next = 3),
  228. d.get('/api-student/open/paramConfig/wechatAppId')
  229. )
  230. case 3:
  231. ;(n = t.sent), (r = n.data) && (f(), h(r, e)), (t.next = 10)
  232. break
  233. case 8:
  234. ;(t.prev = 8), (t.t0 = t.catch(0))
  235. case 10:
  236. case 'end':
  237. return t.stop()
  238. }
  239. },
  240. t,
  241. null,
  242. [[0, 8]]
  243. )
  244. })
  245. )()
  246. },
  247. directNext: function () {
  248. if ('login' === g.user.status || 'error' === g.user.status) {
  249. var t = this.$route.query,
  250. r = t.returnUrl,
  251. i = (t.isRegister, o(t, e)),
  252. s =
  253. window.location.origin +
  254. window.location.pathname +
  255. '#' +
  256. r +
  257. '?' +
  258. O.stringify(n({}, i))
  259. this.testIsWeixin ? this.locationReplace(s) : this.getAppIdAndCode(s)
  260. }
  261. },
  262. locationReplace: function (e) {
  263. console.log(history.replaceState, 'window.history.replaceState', e),
  264. history.replaceState
  265. ? (history.replaceState(null, document.title, e), history.go(0))
  266. : location.replace(e)
  267. },
  268. onLogin: function () {
  269. var e = this
  270. return s(
  271. regeneratorRuntime.mark(function t() {
  272. var r, o, i, s
  273. return regeneratorRuntime.wrap(
  274. function (t) {
  275. for (;;)
  276. switch ((t.prev = t.next)) {
  277. case 0:
  278. return (
  279. (t.prev = 0),
  280. e.orchestraInfo.canSignUp ||
  281. ((e.showPopup = !0), (e.showPopupMessage = '学校已关闭')),
  282. (r = {
  283. username: e.username,
  284. client_id: 'jmedu-student',
  285. client_secret: 'jmedu-student',
  286. autoRegister: !0,
  287. password: e.smsCode,
  288. loginType: 'SMS',
  289. grant_type: 'password'
  290. }),
  291. (t.next = 5),
  292. d.post('/api-oauth/userlogin', {
  293. requestType: 'form',
  294. data: n({}, r)
  295. })
  296. )
  297. case 5:
  298. return (
  299. (o = t.sent),
  300. (i = o.data),
  301. m(i.token_type + ' ' + i.access_token),
  302. (t.next = 10),
  303. d.get('/api-student/user/getUserInfo', { initRequest: !0 })
  304. )
  305. case 10:
  306. ;(s = t.sent), y(s.data), e.directNext(), (t.next = 17)
  307. break
  308. case 15:
  309. ;(t.prev = 15), (t.t0 = t.catch(0))
  310. case 17:
  311. case 'end':
  312. return t.stop()
  313. }
  314. },
  315. t,
  316. null,
  317. [[0, 15]]
  318. )
  319. })
  320. )()
  321. },
  322. onSendCode: function () {
  323. var e = this
  324. return s(
  325. regeneratorRuntime.mark(function t() {
  326. return regeneratorRuntime.wrap(function (t) {
  327. for (;;)
  328. switch ((t.prev = t.next)) {
  329. case 0:
  330. if (r(e.username)) {
  331. t.next = 2
  332. break
  333. }
  334. return t.abrupt('return', w('请输入正确的手机号码'))
  335. case 2:
  336. e.imgCodeStatus = !0
  337. case 3:
  338. case 'end':
  339. return t.stop()
  340. }
  341. }, t)
  342. })
  343. )()
  344. },
  345. onCodeSend: function () {
  346. var e = this
  347. ;(this.countDownStatus = !1),
  348. this.$nextTick(function () {
  349. e.$refs.countDownRef.start()
  350. })
  351. },
  352. onFinished: function () {
  353. ;(this.countDownStatus = !0), this.$refs.countDownRef.reset()
  354. },
  355. onChange: function () {
  356. 'PWD' === this.loginType
  357. ? (this.loginType = 'SMS')
  358. : 'SMS' === this.loginType && (this.loginType = 'PWD')
  359. }
  360. },
  361. render: function () {
  362. var e = this
  363. return b('div', { class: v.login }, [
  364. b('div', { class: v.loginTitle }, [
  365. x('您好,'),
  366. b('br', null, null),
  367. x(' 欢迎使用管乐团学员端')
  368. ]),
  369. b(
  370. P,
  371. { class: v.margin34, border: !1 },
  372. {
  373. default: function () {
  374. return [
  375. b(
  376. i,
  377. { style: { marginBottom: '16px' } },
  378. {
  379. default: function () {
  380. return [
  381. b(
  382. a,
  383. { span: 24, class: v.formTitle },
  384. {
  385. default: function () {
  386. return [x('手机号')]
  387. }
  388. }
  389. ),
  390. b(
  391. a,
  392. { span: 24, class: 'van-hairline--bottom' },
  393. {
  394. default: function () {
  395. return [
  396. b(
  397. j,
  398. {
  399. modelValue: e.username,
  400. 'onUpdate:modelValue': function (t) {
  401. return (e.username = t)
  402. },
  403. name: '手机号',
  404. placeholder: '请输入您的手机号',
  405. type: 'tel',
  406. maxlength: 11
  407. },
  408. null
  409. )
  410. ]
  411. }
  412. }
  413. )
  414. ]
  415. }
  416. }
  417. ),
  418. b(i, null, {
  419. default: function () {
  420. return [
  421. b(
  422. a,
  423. { span: 24, class: v.formTitle },
  424. {
  425. default: function () {
  426. return [x('验证码')]
  427. }
  428. }
  429. ),
  430. b(
  431. a,
  432. { span: 24, class: 'van-hairline--bottom' },
  433. {
  434. default: function () {
  435. return [
  436. b(
  437. j,
  438. {
  439. modelValue: e.smsCode,
  440. 'onUpdate:modelValue': function (t) {
  441. return (e.smsCode = t)
  442. },
  443. name: '验证码',
  444. placeholder: '请输入验证码',
  445. type: 'tel',
  446. maxlength: 6
  447. },
  448. {
  449. button: function () {
  450. return e.countDownStatus
  451. ? b(
  452. 'span',
  453. { class: v.codeText, onClick: e.onSendCode },
  454. [x('获取验证码')]
  455. )
  456. : b(
  457. D,
  458. {
  459. ref: 'countDownRef',
  460. 'auto-start': !1,
  461. time: e.countDownTime,
  462. onFinish: e.onFinished,
  463. format: 'ss秒'
  464. },
  465. null
  466. )
  467. }
  468. }
  469. )
  470. ]
  471. }
  472. }
  473. )
  474. ]
  475. }
  476. })
  477. ]
  478. }
  479. }
  480. ),
  481. b('div', { class: v.margin34 }, [
  482. b(
  483. S,
  484. {
  485. round: !0,
  486. block: !0,
  487. type: 'primary',
  488. disabled: this.codeDisable,
  489. onClick: this.onLogin
  490. },
  491. {
  492. default: function () {
  493. return [x('提交')]
  494. }
  495. }
  496. )
  497. ]),
  498. this.imgCodeStatus
  499. ? b(
  500. u,
  501. {
  502. value: this.imgCodeStatus,
  503. 'onUpdate:value': function (t) {
  504. return (e.imgCodeStatus = t)
  505. },
  506. phone: this.username,
  507. type: 'REGISTER',
  508. onClose: function () {
  509. e.imgCodeStatus = !1
  510. },
  511. onSendCode: this.onCodeSend
  512. },
  513. null
  514. )
  515. : null,
  516. b(
  517. C,
  518. {
  519. show: this.showPopup,
  520. 'onUpdate:show': function (t) {
  521. return (e.showPopup = t)
  522. },
  523. round: !0,
  524. style: { width: '88%' },
  525. closeOnClickOverlay: !1,
  526. class: v.wxPopupDialog
  527. },
  528. {
  529. default: function () {
  530. return [
  531. b('div', { class: v.popupContainer }, [
  532. b('p', { class: v.title }, [x('温馨提示')]),
  533. b('p', { class: v.popupTips }, [e.showPopupMessage])
  534. ])
  535. ]
  536. }
  537. }
  538. )
  539. ])
  540. }
  541. })
  542. )
  543. }
  544. }
  545. }
  546. )
  547. })()
  548. =======
  549. !function(){var e=["returnUrl","isRegister"];function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,u,"next",e)}function u(e){i(s,r,o,a,u,"throw",e)}a(void 0)}))}}System.register(["./validate-legacy.af1eaccc.js","./index-legacy.5250e410.js","./index-legacy.c75fe8a2.js","./index-legacy.9bde57e9.js","./index-legacy.50e1a648.js","./index-legacy.02dacbe6.js","./index-legacy.8f701eeb.js","./index-legacy.7e0d4571.js"],(function(t){"use strict";var r,i,a,u,c,l,p,d,f,h,g,m,y,w,b,v,x,S,C,O,P,j,D;return{setters:[function(e){r=e.c,i=e.R,a=e.C,u=e.I},function(e){c=e.d,l=e.bd,p=e.e,d=e.m,f=e.be,h=e.bf,g=e.f,m=e.s,y=e.n,w=e.o,b=e.c,v=e.bg,x=e.q,S=e.B,C=e.P},function(e){O=e.q},function(e){P=e.C},function(e){j=e.F},function(e){D=e.C},function(){},function(){}],execute:function(){t("default",c({name:"login-music",data:function(){return{loginType:"SMS",username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4,imgCodeStatus:!1,showPopup:!1,showPopupMessage:"请使用微信打开",wxAppId:"",code:"",orchestraInfo:{},testIsWeixin:!1}},computed:{codeDisable:function(){var e=!0;return this.username&&this.smsCode&&(e=!1),e}},mounted:function(){l(),this.directNext(),p().weixin||this.testIsWeixin||(this.showPopup=!0),this.getDetails()},methods:{getDetails:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.$route.query.id){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,d.get("/api-student/open/orchestra/detail/"+e.$route.query.id);case 6:n=t.sent,r=n.data,e.orchestraInfo=r||{},r.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})))()},getAppIdAndCode:function(e){return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.get("/api-student/open/paramConfig/wechatAppId");case 3:n=t.sent,(r=n.data)&&(f(),h(r,e)),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},directNext:function(){if("login"===g.user.status||"error"===g.user.status){var t=this.$route.query,r=t.returnUrl,i=(t.isRegister,o(t,e)),s=window.location.origin+window.location.pathname+"#"+r+"?"+O.stringify(n({},i));this.testIsWeixin?this.locationReplace(s):this.getAppIdAndCode(s)}},locationReplace:function(e){console.log(history.replaceState,"window.history.replaceState",e),history.replaceState?(history.replaceState(null,document.title,e),history.go(0)):location.replace(e)},onLogin:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var r,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.orchestraInfo.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),r={username:e.username,client_id:"jmedu-student",client_secret:"jmedu-student",autoRegister:!0,password:e.smsCode,loginType:"SMS",grant_type:"password"},t.next=5,d.post("/api-oauth/userlogin",{requestType:"form",data:n({},r)});case 5:return o=t.sent,i=o.data,m(i.token_type+" "+i.access_token),t.next=10,d.get("/api-student/user/getUserInfo",{initRequest:!0});case 10:s=t.sent,y(s.data),e.directNext(),t.next=17;break;case 15:t.prev=15,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,15]])})))()},onSendCode:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r(e.username)){t.next=2;break}return t.abrupt("return",w("请输入正确的手机号码"));case 2:e.imgCodeStatus=!0;case 3:case"end":return t.stop()}}),t)})))()},onCodeSend:function(){var e=this;this.countDownStatus=!1,this.$nextTick((function(){e.$refs.countDownRef.start()}))},onFinished:function(){this.countDownStatus=!0,this.$refs.countDownRef.reset()},onChange:function(){"PWD"===this.loginType?this.loginType="SMS":"SMS"===this.loginType&&(this.loginType="PWD")}},render:function(){var e=this;return b("div",{class:v.login},[b("div",{class:v.loginTitle},[x("您好,"),b("br",null,null),x(" 欢迎使用管乐团学生端")]),b(P,{class:v.margin34,border:!1},{default:function(){return[b(i,{style:{marginBottom:"16px"}},{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("手机号")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.username,"onUpdate:modelValue":function(t){return e.username=t},name:"手机号",placeholder:"请输入您的手机号",type:"tel",maxlength:11},null)]}})]}}),b(i,null,{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("验证码")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.smsCode,"onUpdate:modelValue":function(t){return e.smsCode=t},name:"验证码",placeholder:"请输入验证码",type:"tel",maxlength:6},{button:function(){return e.countDownStatus?b("span",{class:v.codeText,onClick:e.onSendCode},[x("获取验证码")]):b(D,{ref:"countDownRef","auto-start":!1,time:e.countDownTime,onFinish:e.onFinished,format:"ss秒"},null)}})]}})]}})]}}),b("div",{class:v.margin34},[b(S,{round:!0,block:!0,type:"primary",disabled:this.codeDisable,onClick:this.onLogin},{default:function(){return[x("提交")]}})]),this.imgCodeStatus?b(u,{value:this.imgCodeStatus,"onUpdate:value":function(t){return e.imgCodeStatus=t},phone:this.username,type:"REGISTER",onClose:function(){e.imgCodeStatus=!1},onSendCode:this.onCodeSend},null):null,b(C,{show:this.showPopup,"onUpdate:show":function(t){return e.showPopup=t},round:!0,style:{width:"88%"},closeOnClickOverlay:!1,class:v.wxPopupDialog},{default:function(){return[b("div",{class:v.popupContainer},[b("p",{class:v.title},[x("温馨提示")]),b("p",{class:v.popupTips},[e.showPopupMessage])])]}})])}}))}}}))}();
  550. >>>>>>> online:dist/assets/login-legacy.a30c7bdc.js
  551. =======
  552. !function(){var e=["returnUrl","isRegister"];function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,u,"next",e)}function u(e){i(s,r,o,a,u,"throw",e)}a(void 0)}))}}System.register(["./validate-legacy.6aed1b6f.js","./index-legacy.e776119d.js","./index-legacy.c75fe8a2.js","./index-legacy.e1ae7968.js","./index-legacy.0884f318.js","./index-legacy.0c3546ea.js","./index-legacy.d8701818.js","./index-legacy.513b7e98.js"],(function(t){"use strict";var r,i,a,u,c,l,p,d,f,h,g,m,y,w,b,v,x,S,C,O,P,j,D;return{setters:[function(e){r=e.c,i=e.R,a=e.C,u=e.I},function(e){c=e.d,l=e.bd,p=e.e,d=e.m,f=e.be,h=e.bf,g=e.f,m=e.s,y=e.n,w=e.o,b=e.c,v=e.bg,x=e.q,S=e.B,C=e.P},function(e){O=e.q},function(e){P=e.C},function(e){j=e.F},function(e){D=e.C},function(){},function(){}],execute:function(){t("default",c({name:"login-music",data:function(){return{loginType:"SMS",username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4,imgCodeStatus:!1,showPopup:!1,showPopupMessage:"请使用微信打开",wxAppId:"",code:"",orchestraInfo:{},testIsWeixin:!1}},computed:{codeDisable:function(){var e=!0;return this.username&&this.smsCode&&(e=!1),e}},mounted:function(){l(),this.directNext(),p().weixin||this.testIsWeixin||(this.showPopup=!0),this.getDetails()},methods:{getDetails:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.$route.query.id){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,d.get("/api-student/open/orchestra/detail/"+e.$route.query.id);case 6:n=t.sent,r=n.data,e.orchestraInfo=r||{},r.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})))()},getAppIdAndCode:function(e){return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.get("/api-student/open/paramConfig/wechatAppId");case 3:n=t.sent,(r=n.data)&&(f(),h(r,e)),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},directNext:function(){if("login"===g.user.status||"error"===g.user.status){var t=this.$route.query,r=t.returnUrl,i=(t.isRegister,o(t,e)),s=window.location.origin+window.location.pathname+"#"+r+"?"+O.stringify(n({},i));this.testIsWeixin?this.locationReplace(s):this.getAppIdAndCode(s)}},locationReplace:function(e){console.log(history.replaceState,"window.history.replaceState",e),history.replaceState?(history.replaceState(null,document.title,e),history.go(0)):location.replace(e)},onLogin:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var r,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.orchestraInfo.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),r={username:e.username,client_id:"jmedu-student",client_secret:"jmedu-student",autoRegister:!0,password:e.smsCode,loginType:"SMS",grant_type:"password"},t.next=5,d.post("/api-oauth/userlogin",{requestType:"form",data:n({},r)});case 5:return o=t.sent,i=o.data,m(i.token_type+" "+i.access_token),t.next=10,d.get("/api-student/user/getUserInfo",{initRequest:!0});case 10:s=t.sent,y(s.data),e.directNext(),t.next=17;break;case 15:t.prev=15,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,15]])})))()},onSendCode:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r(e.username)){t.next=2;break}return t.abrupt("return",w("请输入正确的手机号码"));case 2:e.imgCodeStatus=!0;case 3:case"end":return t.stop()}}),t)})))()},onCodeSend:function(){var e=this;this.countDownStatus=!1,this.$nextTick((function(){e.$refs.countDownRef.start()}))},onFinished:function(){this.countDownStatus=!0,this.$refs.countDownRef.reset()},onChange:function(){"PWD"===this.loginType?this.loginType="SMS":"SMS"===this.loginType&&(this.loginType="PWD")}},render:function(){var e=this;return b("div",{class:v.login},[b("div",{class:v.loginTitle},[x("您好,"),b("br",null,null),x(" 欢迎使用管乐团学生端")]),b(P,{class:v.margin34,border:!1},{default:function(){return[b(i,{style:{marginBottom:"16px"}},{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("手机号")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.username,"onUpdate:modelValue":function(t){return e.username=t},name:"手机号",placeholder:"请输入您的手机号",type:"tel",maxlength:11},null)]}})]}}),b(i,null,{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("验证码")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.smsCode,"onUpdate:modelValue":function(t){return e.smsCode=t},name:"验证码",placeholder:"请输入验证码",type:"tel",maxlength:6},{button:function(){return e.countDownStatus?b("span",{class:v.codeText,onClick:e.onSendCode},[x("获取验证码")]):b(D,{ref:"countDownRef","auto-start":!1,time:e.countDownTime,onFinish:e.onFinished,format:"ss秒"},null)}})]}})]}})]}}),b("div",{class:v.margin34},[b(S,{round:!0,block:!0,type:"primary",disabled:this.codeDisable,onClick:this.onLogin},{default:function(){return[x("提交")]}})]),this.imgCodeStatus?b(u,{value:this.imgCodeStatus,"onUpdate:value":function(t){return e.imgCodeStatus=t},phone:this.username,type:"REGISTER",onClose:function(){e.imgCodeStatus=!1},onSendCode:this.onCodeSend},null):null,b(C,{show:this.showPopup,"onUpdate:show":function(t){return e.showPopup=t},round:!0,style:{width:"88%"},closeOnClickOverlay:!1,class:v.wxPopupDialog},{default:function(){return[b("div",{class:v.popupContainer},[b("p",{class:v.title},[x("温馨提示")]),b("p",{class:v.popupTips},[e.showPopupMessage])])]}})])}}))}}}))}();
  553. >>>>>>> online:dist/assets/login-legacy.9d47d797.js
  554. =======
  555. !function(){var e=["returnUrl","isRegister"];function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,u,"next",e)}function u(e){i(s,r,o,a,u,"throw",e)}a(void 0)}))}}System.register(["./validate-legacy.2f028650.js","./index-legacy.8574e5e7.js","./index-legacy.c75fe8a2.js","./index-legacy.53c89bb8.js","./index-legacy.54a1992d.js","./index-legacy.602f3fde.js","./index-legacy.699e3e6f.js","./index-legacy.5a075ae1.js"],(function(t){"use strict";var r,i,a,u,c,l,p,d,f,h,g,m,y,w,b,v,x,S,C,O,P,j,D;return{setters:[function(e){r=e.c,i=e.R,a=e.C,u=e.I},function(e){c=e.d,l=e.bd,p=e.e,d=e.m,f=e.be,h=e.bf,g=e.f,m=e.s,y=e.n,w=e.o,b=e.c,v=e.bg,x=e.q,S=e.B,C=e.P},function(e){O=e.q},function(e){P=e.C},function(e){j=e.F},function(e){D=e.C},function(){},function(){}],execute:function(){t("default",c({name:"login-music",data:function(){return{loginType:"SMS",username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4,imgCodeStatus:!1,showPopup:!1,showPopupMessage:"请使用微信打开",wxAppId:"",code:"",orchestraInfo:{},testIsWeixin:!1}},computed:{codeDisable:function(){var e=!0;return this.username&&this.smsCode&&(e=!1),e}},mounted:function(){l(),this.directNext(),p().weixin||this.testIsWeixin||(this.showPopup=!0),this.getDetails()},methods:{getDetails:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.$route.query.id){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,d.get("/api-student/open/orchestra/detail/"+e.$route.query.id);case 6:n=t.sent,r=n.data,e.orchestraInfo=r||{},r.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})))()},getAppIdAndCode:function(e){return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.get("/api-student/open/paramConfig/wechatAppId");case 3:n=t.sent,(r=n.data)&&(f(),h(r,e)),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},directNext:function(){if("login"===g.user.status||"error"===g.user.status){var t=this.$route.query,r=t.returnUrl,i=(t.isRegister,o(t,e)),s=window.location.origin+window.location.pathname+"#"+r+"?"+O.stringify(n({},i));this.testIsWeixin?this.locationReplace(s):this.getAppIdAndCode(s)}},locationReplace:function(e){console.log(history.replaceState,"window.history.replaceState",e),history.replaceState?(history.replaceState(null,document.title,e),history.go(0)):location.replace(e)},onLogin:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var r,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.orchestraInfo.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),r={username:e.username,client_id:"jmedu-student",client_secret:"jmedu-student",autoRegister:!0,password:e.smsCode,loginType:"SMS",grant_type:"password"},t.next=5,d.post("/api-oauth/userlogin",{requestType:"form",data:n({},r)});case 5:return o=t.sent,i=o.data,m(i.token_type+" "+i.access_token),t.next=10,d.get("/api-student/user/getUserInfo",{initRequest:!0});case 10:s=t.sent,y(s.data),e.directNext(),t.next=17;break;case 15:t.prev=15,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,15]])})))()},onSendCode:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r(e.username)){t.next=2;break}return t.abrupt("return",w("请输入正确的手机号码"));case 2:e.imgCodeStatus=!0;case 3:case"end":return t.stop()}}),t)})))()},onCodeSend:function(){var e=this;this.countDownStatus=!1,this.$nextTick((function(){e.$refs.countDownRef.start()}))},onFinished:function(){this.countDownStatus=!0,this.$refs.countDownRef.reset()},onChange:function(){"PWD"===this.loginType?this.loginType="SMS":"SMS"===this.loginType&&(this.loginType="PWD")}},render:function(){var e=this;return b("div",{class:v.login},[b("div",{class:v.loginTitle},[x("您好,"),b("br",null,null),x(" 欢迎使用管乐团学生端")]),b(P,{class:v.margin34,border:!1},{default:function(){return[b(i,{style:{marginBottom:"16px"}},{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("手机号")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.username,"onUpdate:modelValue":function(t){return e.username=t},name:"手机号",placeholder:"请输入您的手机号",type:"tel",maxlength:11},null)]}})]}}),b(i,null,{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("验证码")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.smsCode,"onUpdate:modelValue":function(t){return e.smsCode=t},name:"验证码",placeholder:"请输入验证码",type:"tel",maxlength:6},{button:function(){return e.countDownStatus?b("span",{class:v.codeText,onClick:e.onSendCode},[x("获取验证码")]):b(D,{ref:"countDownRef","auto-start":!1,time:e.countDownTime,onFinish:e.onFinished,format:"ss秒"},null)}})]}})]}})]}}),b("div",{class:v.margin34},[b(S,{round:!0,block:!0,type:"primary",disabled:this.codeDisable,onClick:this.onLogin},{default:function(){return[x("提交")]}})]),this.imgCodeStatus?b(u,{value:this.imgCodeStatus,"onUpdate:value":function(t){return e.imgCodeStatus=t},phone:this.username,type:"REGISTER",onClose:function(){e.imgCodeStatus=!1},onSendCode:this.onCodeSend},null):null,b(C,{show:this.showPopup,"onUpdate:show":function(t){return e.showPopup=t},round:!0,style:{width:"88%"},closeOnClickOverlay:!1,class:v.wxPopupDialog},{default:function(){return[b("div",{class:v.popupContainer},[b("p",{class:v.title},[x("温馨提示")]),b("p",{class:v.popupTips},[e.showPopupMessage])])]}})])}}))}}}))}();
  556. >>>>>>> online:dist/assets/login-legacy.6b82a5bc.js
  557. =======
  558. !function(){var e=["returnUrl","isRegister"];function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function i(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,u,"next",e)}function u(e){i(s,r,o,a,u,"throw",e)}a(void 0)}))}}System.register(["./validate-legacy.14abbd99.js","./index-legacy.a92e643d.js","./index-legacy.c75fe8a2.js","./index-legacy.8e1720d1.js","./index-legacy.6adde0c8.js","./index-legacy.22492040.js","./index-legacy.6869fc07.js","./index-legacy.0d047717.js"],(function(t){"use strict";var r,i,a,u,c,l,p,d,f,h,g,m,y,w,b,v,x,S,C,O,P,j,D;return{setters:[function(e){r=e.c,i=e.R,a=e.C,u=e.I},function(e){c=e.d,l=e.bd,p=e.e,d=e.m,f=e.be,h=e.bf,g=e.f,m=e.s,y=e.n,w=e.o,b=e.c,v=e.bg,x=e.q,S=e.B,C=e.P},function(e){O=e.q},function(e){P=e.C},function(e){j=e.F},function(e){D=e.C},function(){},function(){}],execute:function(){t("default",c({name:"login-music",data:function(){return{loginType:"SMS",username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4,imgCodeStatus:!1,showPopup:!1,showPopupMessage:"请使用微信打开",wxAppId:"",code:"",orchestraInfo:{},testIsWeixin:!1}},computed:{codeDisable:function(){var e=!0;return this.username&&this.smsCode&&(e=!1),e}},mounted:function(){l(),this.directNext(),p().weixin||this.testIsWeixin||(this.showPopup=!0),this.getDetails()},methods:{getDetails:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.$route.query.id){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,d.get("/api-student/open/orchestra/detail/"+e.$route.query.id);case 6:n=t.sent,r=n.data,e.orchestraInfo=r||{},r.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})))()},getAppIdAndCode:function(e){return s(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,d.get("/api-student/open/paramConfig/wechatAppId");case 3:n=t.sent,(r=n.data)&&(f(),h(r,e)),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},directNext:function(){if("login"===g.user.status||"error"===g.user.status){var t=this.$route.query,r=t.returnUrl,i=(t.isRegister,o(t,e)),s=window.location.origin+window.location.pathname+"#"+r+"?"+O.stringify(n({},i));this.testIsWeixin?this.locationReplace(s):this.getAppIdAndCode(s)}},locationReplace:function(e){console.log(history.replaceState,"window.history.replaceState",e),history.replaceState?(history.replaceState(null,document.title,e),history.go(0)):location.replace(e)},onLogin:function(){var e=this;return s(regeneratorRuntime.mark((function t(){var r,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.orchestraInfo.canSignUp||(e.showPopup=!0,e.showPopupMessage="学校已关闭"),r={username:e.username,client_id:"jmedu-student",client_secret:"jmedu-student",autoRegister:!0,password:e.smsCode,loginType:"SMS",grant_type:"password"},t.next=5,d.post("/api-oauth/userlogin",{requestType:"form",data:n({},r)});case 5:return o=t.sent,i=o.data,m(i.token_type+" "+i.access_token),t.next=10,d.get("/api-student/user/getUserInfo",{initRequest:!0});case 10:s=t.sent,y(s.data),e.directNext(),t.next=17;break;case 15:t.prev=15,t.t0=t.catch(0);case 17:case"end":return t.stop()}}),t,null,[[0,15]])})))()},onSendCode:function(){var e=this;return s(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r(e.username)){t.next=2;break}return t.abrupt("return",w("请输入正确的手机号码"));case 2:e.imgCodeStatus=!0;case 3:case"end":return t.stop()}}),t)})))()},onCodeSend:function(){var e=this;this.countDownStatus=!1,this.$nextTick((function(){e.$refs.countDownRef.start()}))},onFinished:function(){this.countDownStatus=!0,this.$refs.countDownRef.reset()},onChange:function(){"PWD"===this.loginType?this.loginType="SMS":"SMS"===this.loginType&&(this.loginType="PWD")}},render:function(){var e=this;return b("div",{class:v.login},[b("div",{class:v.loginTitle},[x("您好,"),b("br",null,null),x(" 欢迎使用管乐团学生端")]),b(P,{class:v.margin34,border:!1},{default:function(){return[b(i,{style:{marginBottom:"16px"}},{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("手机号")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.username,"onUpdate:modelValue":function(t){return e.username=t},name:"手机号",placeholder:"请输入您的手机号",type:"tel",maxlength:11},null)]}})]}}),b(i,null,{default:function(){return[b(a,{span:24,class:v.formTitle},{default:function(){return[x("验证码")]}}),b(a,{span:24,class:"van-hairline--bottom"},{default:function(){return[b(j,{modelValue:e.smsCode,"onUpdate:modelValue":function(t){return e.smsCode=t},name:"验证码",placeholder:"请输入验证码",type:"tel",maxlength:6},{button:function(){return e.countDownStatus?b("span",{class:v.codeText,onClick:e.onSendCode},[x("获取验证码")]):b(D,{ref:"countDownRef","auto-start":!1,time:e.countDownTime,onFinish:e.onFinished,format:"ss秒"},null)}})]}})]}})]}}),b("div",{class:v.margin34},[b(S,{round:!0,block:!0,type:"primary",disabled:this.codeDisable,onClick:this.onLogin},{default:function(){return[x("提交")]}})]),this.imgCodeStatus?b(u,{value:this.imgCodeStatus,"onUpdate:value":function(t){return e.imgCodeStatus=t},phone:this.username,type:"REGISTER",onClose:function(){e.imgCodeStatus=!1},onSendCode:this.onCodeSend},null):null,b(C,{show:this.showPopup,"onUpdate:show":function(t){return e.showPopup=t},round:!0,style:{width:"88%"},closeOnClickOverlay:!1,class:v.wxPopupDialog},{default:function(){return[b("div",{class:v.popupContainer},[b("p",{class:v.title},[x("温馨提示")]),b("p",{class:v.popupTips},[e.showPopupMessage])])]}})])}}))}}}))}();
  559. >>>>>>> manage-cicle:dist/assets/login-legacy.f79faff2.js