index-legacy.4b67545e.js 198 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323
  1. <<<<<<< HEAD:dist/assets/index-legacy.4559321c.js
  2. <<<<<<< HEAD:dist/assets/index-legacy.23fe0267.js
  3. !(function () {
  4. function e(e, t) {
  5. var n = Object.keys(e)
  6. if (Object.getOwnPropertySymbols) {
  7. var r = Object.getOwnPropertySymbols(e)
  8. t &&
  9. (r = r.filter(function (t) {
  10. return Object.getOwnPropertyDescriptor(e, t).enumerable
  11. })),
  12. n.push.apply(n, r)
  13. }
  14. return n
  15. }
  16. function t(t) {
  17. for (var r = 1; r < arguments.length; r++) {
  18. var o = null != arguments[r] ? arguments[r] : {}
  19. r % 2
  20. ? e(Object(o), !0).forEach(function (e) {
  21. n(t, e, o[e])
  22. })
  23. : Object.getOwnPropertyDescriptors
  24. ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o))
  25. : e(Object(o)).forEach(function (e) {
  26. Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e))
  27. })
  28. }
  29. return t
  30. }
  31. function n(e, t, n) {
  32. return (
  33. t in e
  34. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  35. : (e[t] = n),
  36. e
  37. )
  38. }
  39. function r(e, t, n, r, o, i, a) {
  40. try {
  41. var u = e[i](a),
  42. s = u.value
  43. } catch (c) {
  44. return void n(c)
  45. }
  46. u.done ? t(s) : Promise.resolve(s).then(r, o)
  47. }
  48. function o(e) {
  49. return function () {
  50. var t = this,
  51. n = arguments
  52. return new Promise(function (o, i) {
  53. var a = e.apply(t, n)
  54. function u(e) {
  55. r(a, o, i, u, s, 'next', e)
  56. }
  57. function s(e) {
  58. r(a, o, i, u, s, 'throw', e)
  59. }
  60. u(void 0)
  61. })
  62. }
  63. }
  64. var i = document.createElement('style')
  65. ;(i.innerHTML =
  66. '._preApply_126yu_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._preApply_126yu_1 .van-tab{font-weight:600}._preApply_126yu_1 .van-tabs__wrap{padding-bottom:.08rem}._preApply_126yu_1 .van-field__error-message{text-align:right}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15{text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding:.53333rem 0 .53333rem .66667rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._popupTips_126yu_31{text-align:center;padding:.4rem 0 1.2rem;font-size:.42667rem}._preApply_126yu_1 ._banner_126yu_36{background:url(./assets/banner.288a8f8c.png) no-repeat center center;background-size:cover;height:3.78667rem;width:100%}._preApply_126yu_1 ._banner_126yu_36 ._orchestraName_126yu_42{display:block;padding:2.29333rem .48rem 0;max-width:6.13333rem;font-size:.42667rem;color:#fff;text-align:justify}._applyTitle_126yu_50{display:flex;align-items:center;padding:.53333rem .53333rem .32rem;font-size:.42667rem;font-weight:600;color:#333}._applyTitle_126yu_50:before{display:inline-block;content:" ";margin-right:.16rem;width:.10667rem;height:.37333rem;background:linear-gradient(180deg,#ffb790 0%,#ff8057 100%);border-radius:.08rem}._applyCellGroup_126yu_67{margin:0 .34667rem}._applyCellGroup_126yu_67 .van-cell{font-size:.42667rem;padding:.48rem .32rem}._radioSection_126yu_74{position:relative;min-width:.85333rem;justify-content:center}._radioSection_126yu_74 ._radioItem_126yu_79{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_126yu_74+._radioSection_126yu_74{margin-left:.32rem}._mlr13_126yu_90{margin:0 .34667rem}._paymentTips_126yu_93{background:#ffffff;border-radius:.26667rem;padding:.32rem .37333rem;margin-bottom:.32rem;font-size:.37333rem;color:#777;font-size:400;line-height:.53333rem;text-align:justify}._paymentContainer_126yu_104{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding:.4rem .32rem calc(.4rem + env(safe-area-inset-bottom)) .32rem}._paymentContainer_126yu_104 ._needPrice_126yu_111{display:flex;align-items:center;color:#333;padding-bottom:.18667rem}._paymentContainer_126yu_104 ._needPrice_126yu_111 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_126yu_104 ._needPrice_126yu_111 span span{font-size:.48rem;margin-right:.05333rem}._paymentContainer_126yu_104 ._allPrice_126yu_126{color:#aaa}._paymentContainer_126yu_104 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._sectionCell_126yu_134{margin-bottom:.32rem;padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden;--van-checkbox-border-color: transparent}._sectionCell_126yu_134 .van-cell{padding:0}._sectionCell_126yu_134 ._checkbox_126yu_144{margin-right:.32rem}._sectionCell_126yu_134 ._extra_126yu_147{padding:.26667rem 0 0 .93333rem}._sectionCell_126yu_134 ._extra_126yu_147 ._sectionPrice_126yu_150{display:flex;align-items:center;color:#aaa;font-weight:600;flex-wrap:wrap}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157{display:flex;align-items:center;font-size:.37333rem;color:#333;padding-right:.32rem;font-weight:400}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 span{font-size:.42667rem;font-weight:700;color:#ff4e19}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 ._free_126yu_170{font-size:.37333rem}._sectionCell_126yu_134 ._gives_126yu_173{margin-top:.48rem;padding-top:.21333rem;border-top:.02667rem solid #f2f2f2}._sectionCell_126yu_134 ._gives_126yu_173 ._sectionTips_126yu_178{display:flex;align-items:center;font-size:.37333rem;color:#ff4e19;padding:.13333rem .16rem;background:#ffebdd;border-radius:.16rem}._sectionCell_126yu_134 ._gives_126yu_173 ._iconGives_126yu_187{width:.85333rem;height:.48rem;margin-right:.21333rem}._sectionCell_126yu_134 ._iconChecked_126yu_192{font-size:.48rem}._sectionCell_126yu_134 ._iconChecked_126yu_192 .van-icon__image{width:100%;height:100%}._sectionCell_126yu_134 .van-checkbox__icon--disabled .van-icon{border-color:transparent;background-color:transparent;opacity:.6}._sectionCell_126yu_134 .van-checkbox__icon--checked .van-icon{border-color:transparent;background-color:transparent}._numFont_126yu_208{font-family:DINA}._numFont_126yu_208 ._numPrefix_126yu_211{font-size:.37333rem!important;margin-right:.05333rem}._section_126yu_134{display:flex}._section_126yu_134 ._img_126yu_218{width:2.34667rem;height:2.34667rem;border-radius:.16rem;overflow:hidden;flex-shrink:0;margin-right:.37333rem}._section_126yu_134 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._section_126yu_134 ._brandName_126yu_232{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem}._section_126yu_134 ._model_126yu_238{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._orderCellGroup_126yu_244{margin:0 .34667rem .32rem}._orderCellGroup_126yu_244 .van-cell{padding-left:.32rem;padding-right:.32rem}._payTime_126yu_251{font-size:.42667rem;color:#777;flex:0 auto}._payStatus_126yu_256{color:#ff4e19}._paySuccess_126yu_259{color:var(--van-primary)}._imgGroup_126yu_262{padding:.4rem .32rem .48rem .16rem!important}._imgGroup_126yu_262 ._img_126yu_218{width:1.86667rem;height:1.86667rem;border-radius:.16rem;overflow:hidden}._imgGroup_126yu_262 .van-grid-item__content{padding:0}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274{display:flex;align-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274>div{flex:1 auto}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281{flex:0 auto;width:2.66667rem;text-align:right;display:flex;flex-direction:column;justify-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289{font-size:.42667rem;font-family:DINA;font-weight:700;color:#333;line-height:.37333rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289 span{font-size:.32rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opBuyLength_126yu_299{font-size:.34667rem;color:#777;line-height:.48rem}._btnGroup_126yu_304{padding-top:0}._btnGroup_126yu_304 ._btnPrice_126yu_307{font-family:DINA;font-size:.58667rem;font-weight:700;color:#ff4e19}._btnGroup_126yu_304 .van-cell__value{flex:1 auto;display:flex;justify-content:flex-end}._btnGroup_126yu_304 .van-button{height:.8rem;line-height:.8rem;min-width:2.13333rem}._btnGroup_126yu_304 .van-button+.van-button{margin-left:.26667rem}._btnGroup_126yu_304 ._btns_126yu_326{display:flex}._preApplyC_126yu_329{--van-dialog-message-font-size: .42667rem !important}._dialogTitle_126yu_15{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._dialogRefund_126yu_349{padding:.53333rem 0 .4rem .66667rem}._refundContent_126yu_352{padding:0 .53333rem .66667rem}._refundContent_126yu_352 ._tips_126yu_355{font-size:.4rem;color:#333;line-height:.56rem}._container_126yu_360 .van-button{font-size:.48rem;font-weight:500}._refundTitle_126yu_364{padding-top:.66667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._refundTitle_126yu_364 span{color:#f44541}._phoneName_126yu_374{background:#f2f2f2;border-radius:.16rem}\n'),
  67. document.head.appendChild(i),
  68. System.register(
  69. [
  70. './index-legacy.37a26c18.js',
  71. './index-legacy.643ed3f8.js',
  72. './index-legacy.a5bef69a.js',
  73. './index-legacy.b08187e4.js',
  74. './index-legacy.30138992.js',
  75. './index-legacy.5216aadb.js',
  76. './index-legacy.31f31051.js',
  77. './index-legacy.86e58eb0.js',
  78. './index-legacy.c282801e.js',
  79. './countUp.min-legacy.52e432a0.js',
  80. './index-legacy.8f928ac8.js',
  81. './index-legacy.3cdbef0f.js',
  82. './index-legacy.46c1a425.js',
  83. './index-legacy.11b1b942.js',
  84. './index-legacy.1f5a1fbe.js',
  85. './index-legacy.d552d569.js',
  86. './index-legacy.8895675d.js',
  87. './index-legacy.88f968f8.js',
  88. './index-legacy.e8fdcbbe.js',
  89. './index-legacy.a9a76943.js',
  90. './index-legacy.bc5c4a06.js',
  91. './Checker-legacy.bc354448.js',
  92. './function-call-legacy.dbba1b13.js',
  93. './ImagePreview-legacy.149d9543.js',
  94. './index-legacy.72f6344c.js',
  95. './index-legacy.c75fe8a2.js',
  96. './use-tab-status-legacy.203dc693.js'
  97. ],
  98. function (e) {
  99. 'use strict'
  100. var n,
  101. r,
  102. i,
  103. a,
  104. u,
  105. s,
  106. c,
  107. l,
  108. d,
  109. p,
  110. f,
  111. g,
  112. _,
  113. m,
  114. y,
  115. h,
  116. b,
  117. x,
  118. v,
  119. C,
  120. I,
  121. k,
  122. A,
  123. S,
  124. P,
  125. T,
  126. w,
  127. N,
  128. j,
  129. G,
  130. R,
  131. F,
  132. B,
  133. V,
  134. O,
  135. U,
  136. z,
  137. E,
  138. D,
  139. q,
  140. L,
  141. Y,
  142. M,
  143. K,
  144. H,
  145. X,
  146. Z
  147. return {
  148. setters: [
  149. function (e) {
  150. ;(n = e.d),
  151. (r = e.aV),
  152. (i = e.ag),
  153. (a = e.r),
  154. (u = e.$),
  155. (s = e.c),
  156. (c = e.q),
  157. (l = e.o),
  158. (d = e.B),
  159. (p = e.P),
  160. (f = e.aW),
  161. (g = e.m),
  162. (_ = e.F),
  163. (m = e.a5),
  164. (y = e.b3),
  165. (h = e._),
  166. (b = e.ai),
  167. (x = e.ak),
  168. (v = e.e),
  169. (C = e.bh),
  170. (I = e.bi),
  171. (k = e.bf)
  172. },
  173. function (e) {
  174. A = e.F
  175. },
  176. function (e) {
  177. S = e.C
  178. },
  179. function (e) {
  180. P = e.F
  181. },
  182. function (e) {
  183. ;(T = e.R), (w = e.a)
  184. },
  185. function (e) {
  186. N = e.T
  187. },
  188. function (e) {
  189. j = e.P
  190. },
  191. function (e) {
  192. G = e.O
  193. },
  194. function (e) {
  195. ;(R = e.i), (F = e.M), (B = e.G)
  196. },
  197. function (e) {
  198. V = e.C
  199. },
  200. function (e) {
  201. O = e.O
  202. },
  203. function (e) {
  204. U = e.O
  205. },
  206. function (e) {
  207. z = e.C
  208. },
  209. function (e) {
  210. E = e.C
  211. },
  212. function (e) {
  213. D = e.C
  214. },
  215. function (e) {
  216. q = e.I
  217. },
  218. function (e) {
  219. L = e.a
  220. },
  221. function (e) {
  222. Y = e.L
  223. },
  224. function (e) {
  225. ;(M = e.G), (K = e.a)
  226. },
  227. function (e) {
  228. H = e.S
  229. },
  230. function (e) {
  231. ;(X = e.T), (Z = e.a)
  232. },
  233. function () {},
  234. function () {},
  235. function () {},
  236. function () {},
  237. function () {},
  238. function () {}
  239. ],
  240. execute: function () {
  241. for (
  242. var J = {
  243. preApply: '_preApply_126yu_1',
  244. popupContainer: '_popupContainer_126yu_15',
  245. dialogTitle: '_dialogTitle_126yu_15',
  246. popupTips: '_popupTips_126yu_31',
  247. banner: '_banner_126yu_36',
  248. orchestraName: '_orchestraName_126yu_42',
  249. applyTitle: '_applyTitle_126yu_50',
  250. applyCellGroup: '_applyCellGroup_126yu_67',
  251. radioSection: '_radioSection_126yu_74',
  252. radioItem: '_radioItem_126yu_79',
  253. mlr13: '_mlr13_126yu_90',
  254. paymentTips: '_paymentTips_126yu_93',
  255. paymentContainer: '_paymentContainer_126yu_104',
  256. needPrice: '_needPrice_126yu_111',
  257. allPrice: '_allPrice_126yu_126',
  258. sectionCell: '_sectionCell_126yu_134',
  259. checkbox: '_checkbox_126yu_144',
  260. extra: '_extra_126yu_147',
  261. sectionPrice: '_sectionPrice_126yu_150',
  262. price: '_price_126yu_157',
  263. free: '_free_126yu_170',
  264. gives: '_gives_126yu_173',
  265. sectionTips: '_sectionTips_126yu_178',
  266. iconGives: '_iconGives_126yu_187',
  267. iconChecked: '_iconChecked_126yu_192',
  268. numFont: '_numFont_126yu_208',
  269. numPrefix: '_numPrefix_126yu_211',
  270. section: '_section_126yu_134',
  271. img: '_img_126yu_218',
  272. brandName: '_brandName_126yu_232',
  273. model: '_model_126yu_238',
  274. orderCellGroup: '_orderCellGroup_126yu_244',
  275. payTime: '_payTime_126yu_251',
  276. payStatus: '_payStatus_126yu_256',
  277. paySuccess: '_paySuccess_126yu_259',
  278. imgGroup: '_imgGroup_126yu_262',
  279. orderPriceInfo: '_orderPriceInfo_126yu_274',
  280. orderPriceNum: '_orderPriceNum_126yu_281',
  281. opNums: '_opNums_126yu_289',
  282. opBuyLength: '_opBuyLength_126yu_299',
  283. btnGroup: '_btnGroup_126yu_304',
  284. btnPrice: '_btnPrice_126yu_307',
  285. btns: '_btns_126yu_326',
  286. preApplyC: '_preApplyC_126yu_329',
  287. dialogRefund: '_dialogRefund_126yu_349',
  288. refundContent: '_refundContent_126yu_352',
  289. tips: '_tips_126yu_355',
  290. container: '_container_126yu_360',
  291. refundTitle: '_refundTitle_126yu_364',
  292. phoneName: '_phoneName_126yu_374'
  293. },
  294. Q = [],
  295. W = 1;
  296. W <= 40;
  297. W++
  298. )
  299. Q.push({ text: W + '班', value: W })
  300. var $ = n({
  301. name: 'apply',
  302. props: {
  303. schoolSystem: { type: String, default: 'sixYearSystem' },
  304. registerInfo: { type: Object, defualt: {} },
  305. code: { type: String, default: '' }
  306. },
  307. emits: ['next'],
  308. setup: function (e, n) {
  309. n.slots, n.attrs
  310. var _ = n.emit,
  311. m = r()
  312. i()
  313. var y = a({
  314. detail: {},
  315. currentGrade: [
  316. { text: '一年级', value: 1 },
  317. { text: '二年级', value: 2 },
  318. { text: '三年级', value: 3 },
  319. { text: '四年级', value: 4 },
  320. { text: '五年级', value: 5 }
  321. ],
  322. classList: Q,
  323. subjectList: [],
  324. gradeStatus: !1,
  325. classStatus: !1,
  326. subjectStatus: !1,
  327. pattern: /^1(3|4|5|6|7|8|9)\d{9}$/,
  328. nameReg: /^[\u4E00-\u9FA5]+$/,
  329. subjectChangeStatus: !1
  330. }),
  331. h = a({
  332. username: null,
  333. sex: null,
  334. currentGrade: null,
  335. currentGradeTxt: null,
  336. currentClass: '',
  337. currentClassTxt: null,
  338. registerSubjectId: '',
  339. registerSubjectTxt: null,
  340. parentName: null,
  341. phone: null
  342. }),
  343. b = (function () {
  344. var e = o(
  345. regeneratorRuntime.mark(function e() {
  346. var t, n, r, o, i, a
  347. return regeneratorRuntime.wrap(
  348. function (e) {
  349. for (;;)
  350. switch ((e.prev = e.next)) {
  351. case 0:
  352. return (
  353. (e.prev = 0),
  354. (e.next = 3),
  355. g.get('/api-student/orchestraRegister/register/' + m.query.id)
  356. )
  357. case 3:
  358. ;(t = e.sent),
  359. (n = t.data),
  360. (r = n || {}),
  361. (y.detail = r),
  362. (o = y.currentGrade.find(function (e) {
  363. return e.value == r.currentGrade
  364. })),
  365. (i = y.classList.find(function (e) {
  366. return e.value == r.currentClass
  367. })),
  368. (a = y.subjectList.find(function (e) {
  369. return e.value == r.registerSubjectId
  370. })),
  371. (h.username = r.username),
  372. (h.sex = r.sex ? 1 : 0),
  373. (h.currentGrade = r.currentGrade),
  374. (h.currentGradeTxt = o ? o.text : ''),
  375. (h.currentClass = r.currentClass),
  376. (h.currentClassTxt = i.text),
  377. (h.registerSubjectId = r.registerSubjectId),
  378. (h.registerSubjectTxt = a ? a.text : ''),
  379. (h.parentName = r.parentName),
  380. (h.phone = r.phone),
  381. (e.next = 25)
  382. break
  383. case 22:
  384. ;(e.prev = 22), (e.t0 = e.catch(0)), console.log(e.t0)
  385. case 25:
  386. case 'end':
  387. return e.stop()
  388. }
  389. },
  390. e,
  391. null,
  392. [[0, 22]]
  393. )
  394. })
  395. )
  396. return function () {
  397. return e.apply(this, arguments)
  398. }
  399. })(),
  400. x = (function () {
  401. var e = o(
  402. regeneratorRuntime.mark(function e() {
  403. var t
  404. return regeneratorRuntime.wrap(
  405. function (e) {
  406. for (;;)
  407. switch ((e.prev = e.next)) {
  408. case 0:
  409. return (
  410. (e.prev = 0),
  411. (e.next = 3),
  412. g.post(
  413. '/api-student/open/orchestraSubjectConfig/pageByOrchestraId',
  414. { data: { orchestraId: m.query.id, page: 1, rows: 100 } }
  415. )
  416. )
  417. case 3:
  418. ;(t = e.sent),
  419. (t.data.rows || []).forEach(function (e) {
  420. y.subjectList.push({ text: e.name, value: e.subjectId })
  421. }),
  422. (e.next = 10)
  423. break
  424. case 8:
  425. ;(e.prev = 8), (e.t0 = e.catch(0))
  426. case 10:
  427. case 'end':
  428. return e.stop()
  429. }
  430. },
  431. e,
  432. null,
  433. [[0, 8]]
  434. )
  435. })
  436. )
  437. return function () {
  438. return e.apply(this, arguments)
  439. }
  440. })(),
  441. v = function (e) {
  442. return y.nameReg.test(e) && e.length >= 2 && e.length <= 15
  443. },
  444. C = function (e) {
  445. return e
  446. ? y.nameReg.test(e)
  447. ? e.length < 2 || e.length > 15
  448. ? '学员姓名必须为2~15个字'
  449. : ''
  450. : '学员姓名必须为中文'
  451. : '请填写学员真实姓名'
  452. },
  453. I = (function () {
  454. var n = o(
  455. regeneratorRuntime.mark(function n() {
  456. var r
  457. return regeneratorRuntime.wrap(
  458. function (n) {
  459. for (;;)
  460. switch ((n.prev = n.next)) {
  461. case 0:
  462. return (
  463. (n.prev = 0),
  464. (r = t(
  465. { orchestraId: m.query.id, schoolId: y.detail.schoolId },
  466. h
  467. )),
  468. y.detail.id && (r.id = y.detail.id),
  469. (n.next = 5),
  470. g.post('/api-student/orchestraRegister/save', {
  471. hideLoading: !1,
  472. data: t(t({}, r), {}, { code: e.code })
  473. })
  474. )
  475. case 5:
  476. setTimeout(function () {
  477. _('next', 'payment')
  478. }, 100),
  479. (n.next = 10)
  480. break
  481. case 8:
  482. ;(n.prev = 8), (n.t0 = n.catch(0))
  483. case 10:
  484. case 'end':
  485. return n.stop()
  486. }
  487. },
  488. n,
  489. null,
  490. [[0, 8]]
  491. )
  492. })
  493. )
  494. return function () {
  495. return n.apply(this, arguments)
  496. }
  497. })()
  498. return (
  499. u(
  500. o(
  501. regeneratorRuntime.mark(function t() {
  502. return regeneratorRuntime.wrap(function (t) {
  503. for (;;)
  504. switch ((t.prev = t.next)) {
  505. case 0:
  506. return (t.next = 2), x()
  507. case 2:
  508. return (
  509. 'sixYearSystem' === e.schoolSystem &&
  510. y.currentGrade.push({ text: '六年级', value: 6 }),
  511. (t.next = 5),
  512. b()
  513. )
  514. case 5:
  515. case 'end':
  516. return t.stop()
  517. }
  518. }, t)
  519. })
  520. )
  521. ),
  522. function () {
  523. return s('div', { class: J.preApplyC }, [
  524. s(
  525. A,
  526. {
  527. validateFirst: !0,
  528. scrollToError: !0,
  529. onSubmit: I,
  530. ref: 'form',
  531. class: J.form
  532. },
  533. {
  534. default: function () {
  535. return [
  536. s('div', { class: J.applyTitle }, [c('学员信息')]),
  537. s(
  538. S,
  539. { inset: !0, class: J.applyCellGroup },
  540. {
  541. default: function () {
  542. return [
  543. s(
  544. P,
  545. {
  546. required: !0,
  547. label: '学员信息',
  548. placeholder: '请填写学员真实姓名',
  549. inputAlign: 'right',
  550. modelValue: h.username,
  551. 'onUpdate:modelValue': function (e) {
  552. return (h.username = e)
  553. },
  554. maxlength: 15,
  555. rules: [{ validator: v, message: C }]
  556. },
  557. null
  558. ),
  559. s(
  560. P,
  561. {
  562. required: !0,
  563. label: '性别',
  564. inputAlign: 'right',
  565. rules: [{ required: !0, message: '请选择性别' }]
  566. },
  567. {
  568. input: function () {
  569. return s(
  570. T,
  571. {
  572. modelValue: h.sex,
  573. 'onUpdate:modelValue': function (e) {
  574. return (h.sex = e)
  575. }
  576. },
  577. {
  578. default: function () {
  579. return [
  580. s(
  581. N,
  582. {
  583. size: 'large',
  584. type: 'primary',
  585. color:
  586. 1 !== h.sex ? '#EAEAEA' : '#FF8057',
  587. textColor: 1 !== h.sex ? '#AAA' : '#FFF',
  588. class: J.radioSection,
  589. round: !0
  590. },
  591. {
  592. default: function () {
  593. return [
  594. s(
  595. w,
  596. { class: J.radioItem, name: 1 },
  597. null
  598. ),
  599. c('男生')
  600. ]
  601. }
  602. }
  603. ),
  604. s(
  605. N,
  606. {
  607. size: 'large',
  608. type: 'primary',
  609. color:
  610. 0 !== h.sex ? '#EAEAEA' : '#FF8057',
  611. textColor: 0 !== h.sex ? '#AAA' : '#FFF',
  612. class: J.radioSection,
  613. round: !0
  614. },
  615. {
  616. default: function () {
  617. return [
  618. s(
  619. w,
  620. { class: J.radioItem, name: 0 },
  621. null
  622. ),
  623. c('女生')
  624. ]
  625. }
  626. }
  627. )
  628. ]
  629. }
  630. }
  631. )
  632. }
  633. }
  634. ),
  635. s(
  636. P,
  637. {
  638. required: !0,
  639. label: '年级',
  640. inputAlign: 'right',
  641. readonly: !0,
  642. isLink: !0,
  643. placeholder: '请选择年级',
  644. modelValue: h.currentGradeTxt,
  645. 'onUpdate:modelValue': function (e) {
  646. return (h.currentGradeTxt = e)
  647. },
  648. onClick: function () {
  649. return (y.gradeStatus = !0)
  650. },
  651. rules: [{ required: !0, message: '请选择年级' }]
  652. },
  653. null
  654. ),
  655. s(
  656. P,
  657. {
  658. required: !0,
  659. label: '班级',
  660. inputAlign: 'right',
  661. readonly: !0,
  662. isLink: !0,
  663. placeholder: '请选择班级',
  664. modelValue: h.currentClassTxt,
  665. 'onUpdate:modelValue': function (e) {
  666. return (h.currentClassTxt = e)
  667. },
  668. onClick: function () {
  669. return (y.classStatus = !0)
  670. },
  671. rules: [{ required: !0, message: '请选择班级' }]
  672. },
  673. null
  674. )
  675. ]
  676. }
  677. }
  678. ),
  679. s('div', { class: J.applyTitle }, [c('声部信息')]),
  680. s(
  681. S,
  682. { inset: !0, class: J.applyCellGroup },
  683. {
  684. default: function () {
  685. return [
  686. s(
  687. P,
  688. {
  689. required: !0,
  690. label: '声部',
  691. inputAlign: 'right',
  692. readonly: !0,
  693. isLink: !0,
  694. placeholder: '请选择声部',
  695. modelValue: h.registerSubjectTxt,
  696. 'onUpdate:modelValue': function (e) {
  697. return (h.registerSubjectTxt = e)
  698. },
  699. onClick: function () {
  700. var t, n, r
  701. y.subjectList.length <= 0
  702. ? l('暂无报名声部')
  703. : 'LEARNING' ===
  704. (null === (t = e.registerInfo) || void 0 === t
  705. ? void 0
  706. : t.registerStatus) ||
  707. ('OUTOF_ORCHESTRA' ===
  708. (null === (n = e.registerInfo) || void 0 === n
  709. ? void 0
  710. : n.registerStatus) &&
  711. (null === (r = e.registerInfo) || void 0 === r
  712. ? void 0
  713. : r.orderNumber) > 0)
  714. ? (y.subjectChangeStatus = !0)
  715. : (y.subjectStatus = !0)
  716. },
  717. rules: [{ required: !0, message: '请选择声部' }]
  718. },
  719. null
  720. )
  721. ]
  722. }
  723. }
  724. ),
  725. s('div', { class: J.applyTitle }, [c('家长信息')]),
  726. s(
  727. S,
  728. { inset: !0, class: J.applyCellGroup },
  729. {
  730. default: function () {
  731. return [
  732. s(
  733. P,
  734. {
  735. required: !0,
  736. label: '家长姓名',
  737. inputAlign: 'right',
  738. placeholder: '请填写家长真实姓名',
  739. modelValue: h.parentName,
  740. 'onUpdate:modelValue': function (e) {
  741. return (h.parentName = e)
  742. },
  743. maxlength: 15,
  744. rules: [{ required: !0, message: '请填写家长真实姓名' }]
  745. },
  746. null
  747. ),
  748. s(
  749. P,
  750. {
  751. required: !0,
  752. label: '手机号',
  753. inputAlign: 'right',
  754. placeholder: '请输入手机号',
  755. modelValue: h.phone,
  756. 'onUpdate:modelValue': function (e) {
  757. return (h.phone = e)
  758. },
  759. maxlength: 11,
  760. type: 'tel',
  761. rules: [
  762. {
  763. pattern: y.pattern,
  764. message: '输入监护人手机号码有误'
  765. }
  766. ]
  767. },
  768. null
  769. )
  770. ]
  771. }
  772. }
  773. ),
  774. s('div', { class: 'btnGroup', style: { paddingTop: '30px' } }, [
  775. s(
  776. d,
  777. {
  778. type: 'primary',
  779. round: !0,
  780. block: !0,
  781. 'native-type': 'submit'
  782. },
  783. {
  784. default: function () {
  785. return [c('下一步')]
  786. }
  787. }
  788. )
  789. ])
  790. ]
  791. }
  792. }
  793. ),
  794. s(
  795. p,
  796. {
  797. show: y.gradeStatus,
  798. 'onUpdate:show': function (e) {
  799. return (y.gradeStatus = e)
  800. },
  801. position: 'bottom',
  802. round: !0,
  803. safeAreaInsetBottom: !0,
  804. lazyRender: !1,
  805. class: 'popupBottomSearch'
  806. },
  807. {
  808. default: function () {
  809. return [
  810. s(
  811. j,
  812. {
  813. showToolbar: !0,
  814. columns: y.currentGrade,
  815. onCancel: function () {
  816. return (y.gradeStatus = !1)
  817. },
  818. onConfirm: function (e) {
  819. var t = e.selectedOptions[0]
  820. ;(h.currentGrade = t.value),
  821. (h.currentGradeTxt = t.text),
  822. (y.gradeStatus = !1)
  823. }
  824. },
  825. null
  826. )
  827. ]
  828. }
  829. }
  830. ),
  831. s(
  832. p,
  833. {
  834. show: y.classStatus,
  835. 'onUpdate:show': function (e) {
  836. return (y.classStatus = e)
  837. },
  838. position: 'bottom',
  839. round: !0,
  840. class: 'popupBottomSearch'
  841. },
  842. {
  843. default: function () {
  844. return [
  845. s(
  846. j,
  847. {
  848. showToolbar: !0,
  849. columns: y.classList,
  850. onCancel: function () {
  851. return (y.classStatus = !1)
  852. },
  853. onConfirm: function (e) {
  854. var t = e.selectedOptions[0]
  855. ;(h.currentClass = t.value),
  856. (h.currentClassTxt = t.text),
  857. (y.classStatus = !1)
  858. }
  859. },
  860. null
  861. )
  862. ]
  863. }
  864. }
  865. ),
  866. s(
  867. p,
  868. {
  869. show: y.subjectStatus,
  870. 'onUpdate:show': function (e) {
  871. return (y.subjectStatus = e)
  872. },
  873. position: 'bottom',
  874. round: !0,
  875. class: 'popupBottomSearch'
  876. },
  877. {
  878. default: function () {
  879. return [
  880. s(
  881. j,
  882. {
  883. showToolbar: !0,
  884. columns: y.subjectList,
  885. onCancel: function () {
  886. return (y.subjectStatus = !1)
  887. },
  888. onConfirm: function (e) {
  889. var t = e.selectedOptions[0]
  890. ;(h.registerSubjectId = t.value),
  891. (h.registerSubjectTxt = t.text),
  892. (y.subjectStatus = !1)
  893. }
  894. },
  895. null
  896. )
  897. ]
  898. }
  899. }
  900. ),
  901. s(
  902. f,
  903. {
  904. show: y.subjectChangeStatus,
  905. 'onUpdate:show': function (e) {
  906. return (y.subjectChangeStatus = e)
  907. },
  908. message: '您已有报名订单,不可更换声部',
  909. messageAlign: 'center',
  910. confirmButtonText: '确定'
  911. },
  912. {
  913. title: function () {
  914. return s('div', { class: J.dialogTitle }, [
  915. s('i', null, null),
  916. c('提示')
  917. ])
  918. }
  919. }
  920. )
  921. ])
  922. }
  923. )
  924. }
  925. }),
  926. ee =
  927. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAAn5JREFUSEu9lk1ME0EUx3/T0hYa0BBNJCZEDVGiB48GDsjNix4pFTHePXgwKmoQXSpoKCfPXhQJgnjUizflQOPZBI0mRJRAgIiIVVpCx8xutx90t9sPs3Pcee/93nvzn9kncHkJJ54EgdbdAeIsgnYkRxE06n6SdQSfkcyCfI32Ykaor0VWUaDUznch5BCSVqfE9H3BJ6S4I7TJl3b2lkB5P3SEHc8E0FYSqNAohjd1QQxMz+/eKgDKSE8nqZTKcH+FMNNtDY+nS9x9/jY3Th4wDXsD+KuEme5JPJ4zudAMMN3G9/+hst25ruFNnTLbmwVq4dkqzsypITGhTbUbulLqVmpETjt5VbcvQkq9Qr9ng+G5kqVfKVVdmXtTx4XUuk+DyFNSpTEJ7oH6vbDyzSaE7BRSC0eBGxVDTMcDh+BSP9Q1wNMIfJ2zChkVcjD8DklHVcCDLXDxNtTVw3YSHvfDqkWVghlV4RLQZAv01oCUkNqxNmk+Br23IBCEZAImR2H+g124ZVXhFpKApYXK+PKosfVsGFa/55sdPgE9feCvhcRfmBiBhY/2zRIkigMbGuHKI/D54feGcTZri0bAlpMQvga+AGzFYfwhLH4pfjI60KmleuDraehPeBKBfU0Qugo1PvizCeMPYKngnbaC6y11Fk1u6+K/oDYI6mzjGzA2DCsLpWkuLZoRoM/Ro7kVem8a4lBrcx3GhrItdgygG0TLu/hK/kqR2wkD9mO5NEzGSl38cp82JRK1FLScZT5tysfVx9tMUrr5e9KrNOYY937AOtSYZ9wZMTKtdXOIykDdHBNzle7aIJwHzY765xC02Yz6MZCvqh71y7nXpdr+AzQ6A1zwOYWrAAAAAElFTkSuQmCC',
  928. te =
  929. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFljFoVEEQhr+5A1NdISgImiKFhCTYihYxnSgRxZA3AbGRaKeChVYWr7AxjaB2GmxEyDwvYjAodpoiwVZyElJYaFBQsHiNEd6NbHgXLmpyd0FettydmX/n35nZX2ix3F3MbLBUKg27+1HgoIjsDm7u/gNYFpH5er0+q6pzIuJbhZStDs1sFLgF9La6WH6+BNxU1aeb2f8T0Mx63P2JiBzJHT8Bz4FZ4D3wLd/fCxwChoEzQHee+YKInFPVj38C/wVoZkNAuOEeYEVEYnd/pKpZCzbKInLB3WNgP/AdGFXVN81+GwBzsNfALmAmTdPz4+PjaZt0rplNTk5WKpXKY+A08As43gy6DhhoBN6FzETk7uLi4rU4juudgDVs4zguDQwM3HH3q3mmhxv0rgNOTU3N5282U6vVzm4XrBm0v7//WcjU3RfGxsZChbMGmFdjEt4sTdO+TmncjIWc3g/5m0aheiX0WZIkYbNXRC5FUfRwOzRu5pMkyUV3fwAsRVHUJ9Vq9ViWZaGSQun3tKrGTi9jZmUgtEe3uw+FKTIBXAfuq+qVTgO2Y29m94DLIjIR6Hzr7oPASVV91U6ATm3M7ATwUkTmQoZfgH3AAVVd6TRYO/ZmFgbBZ+BryPCnu3cBXaoaGvW/LzMLg2RVRFaLB9wJSgsrGmAuUHrb3W8U1haFN37ho63w4d1oukK/pzzLYj/gHDTomWIkRoPaQkVUE2hxMrF5chcmhJtBQ59OT08PZll2Kogsd98g9UVkOYikcrn8YmRkpKXU/w3FMJTtm1XXOwAAAABJRU5ErkJggg==',
  930. ne = n({
  931. name: 'payment',
  932. emits: ['next'],
  933. setup: function () {
  934. var e = r(),
  935. n = i(),
  936. p = a({
  937. check: [],
  938. checkboxRefs: [],
  939. details: [],
  940. goodsInfo: {},
  941. textBookInfo: {},
  942. repaireInfo: {},
  943. vipInfo: {},
  944. paymentOrderDetails: [],
  945. orderInfo: { needPrice: 0, originalPrice: 0 },
  946. memberBaoStatus: !1,
  947. goodsStatus: !1,
  948. selectGoodsId: null,
  949. currentPrice: 0,
  950. selectGoodsInfo: {},
  951. dialogStatus: !1,
  952. dialogMessage: '',
  953. dialogConfig: {}
  954. }),
  955. f = (function () {
  956. var e = o(
  957. regeneratorRuntime.mark(function e() {
  958. var t, n
  959. return regeneratorRuntime.wrap(
  960. function (e) {
  961. for (;;)
  962. switch ((e.prev = e.next)) {
  963. case 0:
  964. return (
  965. (e.prev = 0),
  966. (e.next = 3),
  967. g.get('/api-student/userPaymentOrder/unpaid')
  968. )
  969. case 3:
  970. ;(t = e.sent),
  971. (n = t.data).id &&
  972. ((p.dialogMessage = '您有待支付的订单,是否继续支付'),
  973. (p.dialogStatus = !0),
  974. (p.dialogConfig = n)),
  975. (e.next = 10)
  976. break
  977. case 8:
  978. ;(e.prev = 8), (e.t0 = e.catch(0))
  979. case 10:
  980. case 'end':
  981. return e.stop()
  982. }
  983. },
  984. e,
  985. null,
  986. [[0, 8]]
  987. )
  988. })
  989. )
  990. return function () {
  991. return e.apply(this, arguments)
  992. }
  993. })(),
  994. b = (function () {
  995. var n = o(
  996. regeneratorRuntime.mark(function n() {
  997. var r, o, i
  998. return regeneratorRuntime.wrap(
  999. function (n) {
  1000. for (;;)
  1001. switch ((n.prev = n.next)) {
  1002. case 0:
  1003. return (
  1004. (n.prev = 0),
  1005. (n.next = 3),
  1006. g.get(
  1007. '/api-student/orchestraRegister/registerGoods/' + e.query.id
  1008. )
  1009. )
  1010. case 3:
  1011. ;(r = n.sent),
  1012. (o = r.data),
  1013. (o.paymentOrderDetails || []).forEach(function (e) {
  1014. p.paymentOrderDetails.push(e.goodsType)
  1015. }),
  1016. (i = o.details || []).forEach(function (e) {
  1017. if ('INSTRUMENTS' === e.goodsType) {
  1018. var n = e.goodsUrl ? e.goodsUrl.split(',')[0] : ''
  1019. p.goodsInfo = t(t({}, e), {}, { goodsUrl: n })
  1020. } else if ('TEXTBOOK' === e.goodsType) {
  1021. var r = e.goodsUrl ? e.goodsUrl.split(',')[0] : ''
  1022. p.textBookInfo = t(t({}, e), {}, { goodsUrl: r })
  1023. } else
  1024. 'REPAIR' === e.goodsType
  1025. ? (p.repaireInfo = t({}, e))
  1026. : 'VIP' === e.goodsType && (p.vipInfo = t({}, e))
  1027. ;(p.details = i),
  1028. p.paymentOrderDetails.includes(e.goodsType) ||
  1029. 'REPAIR' === e.goodsType ||
  1030. p.check.push(e.goodsId)
  1031. }),
  1032. v(),
  1033. (n.next = 14)
  1034. break
  1035. case 12:
  1036. ;(n.prev = 12), (n.t0 = n.catch(0))
  1037. case 14:
  1038. case 'end':
  1039. return n.stop()
  1040. }
  1041. },
  1042. n,
  1043. null,
  1044. [[0, 12]]
  1045. )
  1046. })
  1047. )
  1048. return function () {
  1049. return n.apply(this, arguments)
  1050. }
  1051. })(),
  1052. x = function (e) {
  1053. p.checkboxRefs[e].toggle(), v()
  1054. },
  1055. v = function () {
  1056. var e = p.details,
  1057. t = { needPrice: 0, originalPrice: 0 }
  1058. e.forEach(function (e) {
  1059. p.check.includes(e.goodsId) &&
  1060. !p.paymentOrderDetails.includes(e.goodsType) &&
  1061. ((t.needPrice += parseFloat(e.currentPrice || 0)),
  1062. (t.originalPrice += parseFloat(e.originalPrice || 0)))
  1063. }),
  1064. (p.orderInfo = t),
  1065. I()
  1066. },
  1067. C = a({ needPrice: null, originalPrice: null }),
  1068. I = function () {
  1069. h(function () {
  1070. C.needPrice
  1071. ? C.needPrice.update(p.orderInfo.needPrice)
  1072. : ((C.needPrice = new V('needPrice', p.orderInfo.needPrice, {
  1073. decimalPlaces: 2
  1074. })),
  1075. C.needPrice.error
  1076. ? console.error(C.needPrice.error)
  1077. : C.needPrice.start())
  1078. })
  1079. },
  1080. k = (function () {
  1081. var t = o(
  1082. regeneratorRuntime.mark(function t() {
  1083. var r, o, i, a, u, s
  1084. return regeneratorRuntime.wrap(
  1085. function (t) {
  1086. for (;;)
  1087. switch ((t.prev = t.next)) {
  1088. case 0:
  1089. if (((t.prev = 0), !(p.check.length <= 0))) {
  1090. t.next = 4
  1091. break
  1092. }
  1093. return l('请选择您要购买的商品'), t.abrupt('return')
  1094. case 4:
  1095. return (
  1096. v(),
  1097. (r = []),
  1098. (o = p.details),
  1099. (i = !1),
  1100. o.forEach(function (e) {
  1101. p.check.includes(e.goodsId) &&
  1102. !p.paymentOrderDetails.includes(e.goodsType) &&
  1103. r.push({
  1104. goodsId: e.goodsId,
  1105. goodsNum: 1,
  1106. goodsType: e.goodsType,
  1107. paymentCashAmount: e.currentPrice,
  1108. paymentCouponAmount: 0
  1109. }),
  1110. 'INSTRUMENTS' === e.goodsType &&
  1111. p.check.includes(e.goodsId) &&
  1112. !p.paymentOrderDetails.includes(e.goodsType) &&
  1113. (i = !0)
  1114. }),
  1115. (a = p.repaireInfo),
  1116. i &&
  1117. a.goodsId &&
  1118. r.push({
  1119. goodsId: a.goodsId,
  1120. goodsNum: 1,
  1121. goodsType: a.goodsType,
  1122. paymentCashAmount: a.currentPrice,
  1123. paymentCouponAmount: 0
  1124. }),
  1125. console.log({
  1126. bizId: e.query.id,
  1127. orderType: 'ORCHESTRA',
  1128. paymentCashAmount: p.orderInfo.needPrice || 0,
  1129. paymentCouponAmount: 0,
  1130. goodsInfos: r
  1131. }),
  1132. (t.next = 14),
  1133. g.post('/api-student/userPaymentOrder/executeOrder', {
  1134. hideLoading: !1,
  1135. data: {
  1136. bizId: e.query.id,
  1137. orderType: 'ORCHESTRA',
  1138. paymentCashAmount: p.orderInfo.needPrice || 0,
  1139. paymentCouponAmount: 0,
  1140. goodsInfos: r,
  1141. orderName: '乐团报名缴费',
  1142. orderDesc: '乐团报名缴费'
  1143. }
  1144. })
  1145. )
  1146. case 14:
  1147. ;(u = t.sent),
  1148. (s = u.data),
  1149. console.log(s),
  1150. n.push({
  1151. path: '/orderDetail',
  1152. query: {
  1153. pm: 1,
  1154. config: JSON.stringify(s.paymentConfig),
  1155. orderNo: s.orderNo
  1156. }
  1157. }),
  1158. (t.next = 23)
  1159. break
  1160. case 20:
  1161. ;(t.prev = 20), (t.t0 = t.catch(0)), console.log(t.t0)
  1162. case 23:
  1163. case 'end':
  1164. return t.stop()
  1165. }
  1166. },
  1167. t,
  1168. null,
  1169. [[0, 20]]
  1170. )
  1171. })
  1172. )
  1173. return function () {
  1174. return t.apply(this, arguments)
  1175. }
  1176. })()
  1177. return (
  1178. u(function () {
  1179. b(), f()
  1180. }),
  1181. function () {
  1182. return s(_, null, [
  1183. s('div', { class: J.applyTitle }, [c('报名须知')]),
  1184. s('div', { class: [J.paymentTips, J.mlr13] }, [
  1185. s('p', null, [
  1186. c(
  1187. '1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;'
  1188. )
  1189. ]),
  1190. s('p', null, [
  1191. c(
  1192. '2、所有参与乐团的学员免费赠送选报声部教材,教材随乐器一同发放,若您自备乐器,则需承担教材运费。'
  1193. )
  1194. ])
  1195. ]),
  1196. s(
  1197. z,
  1198. {
  1199. modelValue: p.check,
  1200. 'onUpdate:modelValue': function (e) {
  1201. return (p.check = e)
  1202. },
  1203. style: { paddingBottom: '20px' },
  1204. onChange: function () {
  1205. v()
  1206. }
  1207. },
  1208. {
  1209. default: function () {
  1210. return [
  1211. !p.paymentOrderDetails.includes('INSTRUMENTS') &&
  1212. s(_, null, [
  1213. s(
  1214. S,
  1215. {
  1216. inset: !0,
  1217. class: [J.mlr13, J.sectionCell],
  1218. onClick: function () {
  1219. return x(p.goodsInfo.goodsId)
  1220. }
  1221. },
  1222. {
  1223. default: function () {
  1224. return [
  1225. s(
  1226. D,
  1227. { border: !1 },
  1228. {
  1229. icon: function () {
  1230. return s(
  1231. E,
  1232. {
  1233. name: p.goodsInfo.goodsId,
  1234. class: J.checkbox,
  1235. ref: function (e) {
  1236. return (p.checkboxRefs[
  1237. p.goodsInfo.goodsId
  1238. ] = e)
  1239. },
  1240. onClick: function (e) {
  1241. e.stopPropagation()
  1242. }
  1243. },
  1244. {
  1245. icon: function (e) {
  1246. return s(
  1247. m,
  1248. {
  1249. class: J.iconChecked,
  1250. name: e.checked ? ee : te
  1251. },
  1252. null
  1253. )
  1254. }
  1255. }
  1256. )
  1257. },
  1258. title: function () {
  1259. return s('div', { class: J.section }, [
  1260. s(
  1261. q,
  1262. {
  1263. class: J.img,
  1264. src: p.goodsInfo.goodsUrl,
  1265. onClick: function (e) {
  1266. e.stopPropagation(),
  1267. (p.selectGoodsId = p.goodsInfo.goodsId),
  1268. (p.currentPrice =
  1269. p.goodsInfo.currentPrice),
  1270. (p.selectGoodsInfo = {
  1271. showFree: !0,
  1272. originalPrice:
  1273. p.repaireInfo.originalPrice
  1274. }),
  1275. (p.goodsStatus = !0)
  1276. }
  1277. },
  1278. null
  1279. ),
  1280. s('div', { class: J.sectionContent }, [
  1281. s(
  1282. 'h2',
  1283. {
  1284. onClick: function (e) {
  1285. e.stopPropagation(),
  1286. (p.selectGoodsId =
  1287. p.goodsInfo.goodsId),
  1288. (p.currentPrice =
  1289. p.goodsInfo.currentPrice),
  1290. (p.goodsStatus = !0)
  1291. }
  1292. },
  1293. [p.goodsInfo.goodsName]
  1294. ),
  1295. s(
  1296. N,
  1297. {
  1298. color:
  1299. 'linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)',
  1300. textColor: '#fff',
  1301. class: J.brandName
  1302. },
  1303. {
  1304. default: function () {
  1305. return [p.goodsInfo.brandName]
  1306. }
  1307. }
  1308. ),
  1309. s(
  1310. 'p',
  1311. {
  1312. class: [J.model, 'van-multi-ellipsis--l2']
  1313. },
  1314. [p.goodsInfo.description]
  1315. )
  1316. ])
  1317. ])
  1318. }
  1319. }
  1320. ),
  1321. s(
  1322. D,
  1323. { border: !1 },
  1324. {
  1325. title: function () {
  1326. return s('div', { class: J.extra }, [
  1327. s('div', { class: J.sectionPrice }, [
  1328. s('p', { class: J.price }, [
  1329. c('团购价:'),
  1330. s('span', { class: J.numFont }, [
  1331. s('span', { class: J.numPrefix }, [
  1332. c('¥ ')
  1333. ]),
  1334. y(p.goodsInfo.currentPrice)
  1335. ])
  1336. ]),
  1337. s('p', { class: J.originPrice }, [
  1338. c('原价:'),
  1339. s('del', { class: J.numFont }, [
  1340. c('¥ '),
  1341. y(p.goodsInfo.originalPrice)
  1342. ])
  1343. ])
  1344. ])
  1345. ])
  1346. }
  1347. }
  1348. ),
  1349. s(
  1350. D,
  1351. { center: !0, class: J.gives },
  1352. {
  1353. title: function () {
  1354. return s('div', { class: J.sectionTips }, [
  1355. s(q, { src: R, class: J.iconGives }, null),
  1356. c('赠价值'),
  1357. p.repaireInfo.originalPrice,
  1358. c('元乐器维保服务一年')
  1359. ])
  1360. }
  1361. }
  1362. )
  1363. ]
  1364. }
  1365. }
  1366. )
  1367. ]),
  1368. !p.paymentOrderDetails.includes('VIP') &&
  1369. s(_, null, [
  1370. s(
  1371. S,
  1372. {
  1373. inset: !0,
  1374. class: [J.mlr13, J.sectionCell],
  1375. onClick: function () {
  1376. return x(p.vipInfo.goodsId)
  1377. }
  1378. },
  1379. {
  1380. default: function () {
  1381. return [
  1382. s(
  1383. D,
  1384. { border: !1 },
  1385. {
  1386. icon: function () {
  1387. return s(
  1388. E,
  1389. {
  1390. name: p.vipInfo.goodsId,
  1391. class: J.checkbox,
  1392. ref: function (e) {
  1393. return (p.checkboxRefs[p.vipInfo.goodsId] =
  1394. e)
  1395. },
  1396. onClick: function (e) {
  1397. e.stopPropagation()
  1398. }
  1399. },
  1400. {
  1401. icon: function (e) {
  1402. return s(
  1403. m,
  1404. {
  1405. class: J.iconChecked,
  1406. name: e.checked ? ee : te
  1407. },
  1408. null
  1409. )
  1410. }
  1411. }
  1412. )
  1413. },
  1414. title: function () {
  1415. return s('div', { class: J.section }, [
  1416. s(
  1417. q,
  1418. {
  1419. class: J.img,
  1420. src: p.vipInfo.goodsUrl,
  1421. onClick: function (e) {
  1422. e.stopPropagation(),
  1423. (p.memberBaoStatus = !0)
  1424. }
  1425. },
  1426. null
  1427. ),
  1428. s('div', { class: J.sectionContent }, [
  1429. s(
  1430. 'h2',
  1431. {
  1432. onClick: function (e) {
  1433. e.stopPropagation(),
  1434. (p.memberBaoStatus = !0)
  1435. }
  1436. },
  1437. [p.vipInfo.goodsName]
  1438. ),
  1439. s(
  1440. N,
  1441. {
  1442. color:
  1443. 'linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)',
  1444. textColor: '#fff',
  1445. class: J.brandName
  1446. },
  1447. {
  1448. default: function () {
  1449. return [c('6个月')]
  1450. }
  1451. }
  1452. ),
  1453. s(
  1454. 'p',
  1455. {
  1456. class: [J.model, 'van-multi-ellipsis--l2']
  1457. },
  1458. [p.vipInfo.description]
  1459. )
  1460. ])
  1461. ])
  1462. }
  1463. }
  1464. ),
  1465. s(D, null, {
  1466. title: function () {
  1467. return s('div', { class: J.extra }, [
  1468. s('div', { class: J.sectionPrice }, [
  1469. s('p', { class: J.price }, [
  1470. c('团购价:'),
  1471. s('span', { class: J.numFont }, [
  1472. s('span', { class: J.numPrefix }, [c('¥')]),
  1473. y(p.vipInfo.currentPrice)
  1474. ])
  1475. ]),
  1476. s('p', { class: J.originPrice }, [
  1477. c('原价:'),
  1478. s('del', { class: J.numFont }, [
  1479. c('¥ '),
  1480. y(p.vipInfo.originalPrice)
  1481. ])
  1482. ])
  1483. ])
  1484. ])
  1485. }
  1486. })
  1487. ]
  1488. }
  1489. }
  1490. )
  1491. ]),
  1492. !p.paymentOrderDetails.includes('TEXTBOOK') &&
  1493. s(_, null, [
  1494. s(
  1495. S,
  1496. {
  1497. inset: !0,
  1498. class: [J.mlr13, J.sectionCell],
  1499. onClick: function () {}
  1500. },
  1501. {
  1502. default: function () {
  1503. return [
  1504. s(
  1505. D,
  1506. { border: !1 },
  1507. {
  1508. icon: function () {
  1509. return s(
  1510. E,
  1511. {
  1512. name: p.textBookInfo.goodsId,
  1513. disabled: !0,
  1514. class: J.checkbox,
  1515. ref: function (e) {
  1516. return (p.checkboxRefs[
  1517. p.textBookInfo.goodsId
  1518. ] = e)
  1519. },
  1520. onClick: function (e) {
  1521. e.stopPropagation()
  1522. }
  1523. },
  1524. {
  1525. icon: function (e) {
  1526. return s(
  1527. m,
  1528. {
  1529. class: J.iconChecked,
  1530. name: e.checked ? ee : te
  1531. },
  1532. null
  1533. )
  1534. }
  1535. }
  1536. )
  1537. },
  1538. title: function () {
  1539. return s('div', { class: J.section }, [
  1540. s(
  1541. q,
  1542. {
  1543. class: J.img,
  1544. src: p.textBookInfo.goodsUrl,
  1545. onClick: function (e) {
  1546. e.stopPropagation(),
  1547. (p.selectGoodsId =
  1548. p.textBookInfo.goodsId),
  1549. (p.currentPrice =
  1550. p.textBookInfo.currentPrice),
  1551. (p.selectGoodsInfo = {}),
  1552. (p.goodsStatus = !0)
  1553. }
  1554. },
  1555. null
  1556. ),
  1557. s('div', { class: J.sectionContent }, [
  1558. s(
  1559. 'h2',
  1560. {
  1561. onClick: function (e) {
  1562. e.stopPropagation(),
  1563. (p.selectGoodsId =
  1564. p.textBookInfo.goodsId),
  1565. (p.currentPrice =
  1566. p.textBookInfo.currentPrice),
  1567. (p.selectGoodsInfo = {}),
  1568. (p.goodsStatus = !0)
  1569. }
  1570. },
  1571. [p.textBookInfo.goodsName]
  1572. ),
  1573. s(
  1574. N,
  1575. {
  1576. color:
  1577. 'linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)',
  1578. textColor: '#fff',
  1579. class: J.brandName
  1580. },
  1581. {
  1582. default: function () {
  1583. return [p.textBookInfo.brandName]
  1584. }
  1585. }
  1586. ),
  1587. s(
  1588. 'p',
  1589. {
  1590. class: [J.model, 'van-multi-ellipsis--l2']
  1591. },
  1592. [p.textBookInfo.description]
  1593. )
  1594. ])
  1595. ])
  1596. }
  1597. }
  1598. ),
  1599. s(D, null, {
  1600. title: function () {
  1601. return s('div', { class: J.extra }, [
  1602. s('div', { class: J.sectionPrice }, [
  1603. s('p', { class: J.price }, [
  1604. c('团购价:'),
  1605. s(
  1606. 'span',
  1607. {
  1608. class: [
  1609. p.textBookInfo.currentPrice > 0
  1610. ? J.numFont
  1611. : J.free
  1612. ]
  1613. },
  1614. [
  1615. p.textBookInfo.currentPrice > 0
  1616. ? s(_, null, [
  1617. s('span', { class: J.numPrefix }, [
  1618. c('¥ ')
  1619. ]),
  1620. y(p.textBookInfo.currentPrice)
  1621. ])
  1622. : '免费'
  1623. ]
  1624. )
  1625. ]),
  1626. s('p', { class: J.originPrice }, [
  1627. c('原价:'),
  1628. s('del', { class: J.numFont }, [
  1629. c('¥ '),
  1630. y(p.textBookInfo.originalPrice)
  1631. ])
  1632. ])
  1633. ])
  1634. ])
  1635. }
  1636. })
  1637. ]
  1638. }
  1639. }
  1640. )
  1641. ])
  1642. ]
  1643. }
  1644. }
  1645. ),
  1646. s(
  1647. G,
  1648. { position: 'bottom', background: 'white' },
  1649. {
  1650. default: function () {
  1651. return [
  1652. s('div', { class: J.paymentContainer }, [
  1653. s('div', { class: J.payemntPrice }, [
  1654. s('p', { class: J.needPrice }, [
  1655. c('支付金额:'),
  1656. s('span', { class: J.numFont }, [
  1657. s('span', null, [c('¥ ')]),
  1658. s(
  1659. 'i',
  1660. { style: 'font-style: normal', id: 'needPrice' },
  1661. null
  1662. )
  1663. ])
  1664. ]),
  1665. s('p', { class: J.allPrice }, [
  1666. s('del', { class: J.numFont }, [
  1667. c('总原价:¥ '),
  1668. y(p.orderInfo.originalPrice)
  1669. ])
  1670. ])
  1671. ]),
  1672. s('div', { class: J.paymentBtn }, [
  1673. s(
  1674. d,
  1675. {
  1676. color: 'linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)',
  1677. round: !0,
  1678. onClick: k
  1679. },
  1680. {
  1681. default: function () {
  1682. return [c('立即购买')]
  1683. }
  1684. }
  1685. )
  1686. ])
  1687. ])
  1688. ]
  1689. }
  1690. }
  1691. ),
  1692. s(
  1693. O,
  1694. {
  1695. modelValue: p.memberBaoStatus,
  1696. 'onUpdate:modelValue': function (e) {
  1697. return (p.memberBaoStatus = e)
  1698. },
  1699. position: 'right'
  1700. },
  1701. {
  1702. default: function () {
  1703. return [s(F, null, null)]
  1704. }
  1705. }
  1706. ),
  1707. s(
  1708. O,
  1709. {
  1710. modelValue: p.goodsStatus,
  1711. 'onUpdate:modelValue': function (e) {
  1712. return (p.goodsStatus = e)
  1713. },
  1714. position: 'right',
  1715. destroy: !0
  1716. },
  1717. {
  1718. default: function () {
  1719. return [
  1720. p.goodsStatus &&
  1721. s(
  1722. B,
  1723. {
  1724. id: p.selectGoodsId,
  1725. groupPrice: p.currentPrice,
  1726. goodsInfo: p.selectGoodsInfo
  1727. },
  1728. null
  1729. )
  1730. ]
  1731. }
  1732. }
  1733. ),
  1734. s(
  1735. U,
  1736. {
  1737. title: '提示',
  1738. show: p.dialogStatus,
  1739. 'onUpdate:show': function (e) {
  1740. return (p.dialogStatus = e)
  1741. },
  1742. message: p.dialogMessage,
  1743. confirmButtonText: '继续支付',
  1744. cancelButtonText: '取消订单',
  1745. showCancelButton: !0,
  1746. onConfirm: function () {
  1747. var e = p.dialogConfig.paymentConfig
  1748. n.push({
  1749. path: '/orderDetail',
  1750. query: {
  1751. pm: 1,
  1752. config: JSON.stringify(e.paymentConfig),
  1753. orderNo: e.orderNo
  1754. }
  1755. })
  1756. },
  1757. onCancel:
  1758. ((e = o(
  1759. regeneratorRuntime.mark(function e() {
  1760. return regeneratorRuntime.wrap(
  1761. function (e) {
  1762. for (;;)
  1763. switch ((e.prev = e.next)) {
  1764. case 0:
  1765. return (
  1766. (e.prev = 0),
  1767. (e.next = 3),
  1768. g.post(
  1769. '/api-student/userPaymentOrder/cancelPayment/' +
  1770. p.dialogConfig.orderNo
  1771. )
  1772. )
  1773. case 3:
  1774. e.next = 7
  1775. break
  1776. case 5:
  1777. ;(e.prev = 5), (e.t0 = e.catch(0))
  1778. case 7:
  1779. case 'end':
  1780. return e.stop()
  1781. }
  1782. },
  1783. e,
  1784. null,
  1785. [[0, 5]]
  1786. )
  1787. })
  1788. )),
  1789. function () {
  1790. return e.apply(this, arguments)
  1791. })
  1792. },
  1793. null
  1794. )
  1795. ])
  1796. var e
  1797. }
  1798. )
  1799. }
  1800. })
  1801. var re = n({
  1802. name: 'order',
  1803. emits: ['next'],
  1804. setup: function () {
  1805. var e = i(),
  1806. n = r(),
  1807. l = a({
  1808. isClick: !1,
  1809. list: [],
  1810. listState: { dataShow: !0, loading: !1, finished: !1 },
  1811. params: { page: 1, rows: 20 },
  1812. resionList: [],
  1813. refundStatus: !1,
  1814. resion: null,
  1815. refundSelect: {},
  1816. checked: null
  1817. }),
  1818. d = (function () {
  1819. var e = o(
  1820. regeneratorRuntime.mark(function e() {
  1821. var r, o, i
  1822. return regeneratorRuntime.wrap(
  1823. function (e) {
  1824. for (;;)
  1825. switch ((e.prev = e.next)) {
  1826. case 0:
  1827. if (((e.prev = 0), !l.isClick)) {
  1828. e.next = 3
  1829. break
  1830. }
  1831. return e.abrupt('return')
  1832. case 3:
  1833. return (
  1834. (l.isClick = !0),
  1835. (e.next = 6),
  1836. g.post('/api-student/userPaymentOrder/page', {
  1837. data: t(
  1838. t({}, l.params),
  1839. {},
  1840. { bizId: n.query.id, goodsQuery: !0 }
  1841. )
  1842. })
  1843. )
  1844. case 6:
  1845. if (
  1846. ((r = e.sent),
  1847. (l.listState.loading = !1),
  1848. (o = r.data || {}),
  1849. !(l.list.length > 0 && 1 === o.current))
  1850. ) {
  1851. e.next = 11
  1852. break
  1853. }
  1854. return e.abrupt('return')
  1855. case 11:
  1856. ;(i = o.rows || []).goodsInfos &&
  1857. i.goodsInfos.forEach(function (e) {
  1858. var t = e.goodsUrl ? e.goodsUrl.split(',')[0] : ''
  1859. e.goodsUrl = t
  1860. }),
  1861. (l.list = l.list.concat(i)),
  1862. (l.listState.finished = o.current >= o.pages),
  1863. (l.params.page = o.current + 1),
  1864. (l.listState.dataShow = l.list.length > 0),
  1865. (l.isClick = !1),
  1866. (e.next = 25)
  1867. break
  1868. case 20:
  1869. ;(e.prev = 20),
  1870. (e.t0 = e.catch(0)),
  1871. (l.listState.dataShow = !1),
  1872. (l.listState.finished = !0),
  1873. (l.isClick = !1)
  1874. case 25:
  1875. case 'end':
  1876. return e.stop()
  1877. }
  1878. },
  1879. e,
  1880. null,
  1881. [[0, 20]]
  1882. )
  1883. })
  1884. )
  1885. return function () {
  1886. return e.apply(this, arguments)
  1887. }
  1888. })()
  1889. return (
  1890. u(function () {
  1891. d()
  1892. }),
  1893. function () {
  1894. var t, n
  1895. return s('div', { style: { paddingTop: '20px' } }, [
  1896. l.listState.dataShow
  1897. ? s(
  1898. Y,
  1899. {
  1900. finished: l.listState.finished,
  1901. finishedText: ' ',
  1902. class: [J.liveList],
  1903. onLoad: d,
  1904. immediateCheck: !1
  1905. },
  1906. ((n = t =
  1907. l.list.map(function (t) {
  1908. return s(
  1909. S,
  1910. {
  1911. inset: !0,
  1912. class: J.orderCellGroup,
  1913. onClick: function () {
  1914. return (function (t) {
  1915. e.push({
  1916. path: 'payment-result',
  1917. query: { orderNo: t.orderNo, refund: 'refund' }
  1918. })
  1919. })(t)
  1920. }
  1921. },
  1922. {
  1923. default: function () {
  1924. return [
  1925. s(
  1926. D,
  1927. {
  1928. title: t.createTime,
  1929. titleClass: J.payTime,
  1930. value: L[t.status],
  1931. valueClass:
  1932. 'WAIT_PAY' === t.status
  1933. ? J.payStatus
  1934. : 'PAID' === t.status
  1935. ? J.paySuccess
  1936. : ''
  1937. },
  1938. null
  1939. ),
  1940. s(
  1941. D,
  1942. { border: !1, class: J.imgGroup, center: !0 },
  1943. {
  1944. title: function () {
  1945. return s('div', { class: J.orderPriceInfo }, [
  1946. s(
  1947. M,
  1948. { border: !1, columnNum: 3 },
  1949. {
  1950. default: function () {
  1951. return [
  1952. t.goodsInfos &&
  1953. t.goodsInfos.map(function (e, t) {
  1954. return (
  1955. t < 3 &&
  1956. s(K, null, {
  1957. default: function () {
  1958. return [
  1959. s(
  1960. q,
  1961. {
  1962. class: J.img,
  1963. src: e.goodsUrl
  1964. },
  1965. null
  1966. )
  1967. ]
  1968. }
  1969. })
  1970. )
  1971. })
  1972. ]
  1973. }
  1974. }
  1975. ),
  1976. s('div', { class: J.orderPriceNum }, [
  1977. s('div', { class: J.opNums }, [
  1978. s('span', null, [c('¥ ')]),
  1979. y(t.currentPrice)
  1980. ]),
  1981. s('div', { class: J.opBuyLength }, [
  1982. c('共'),
  1983. (t.goodsInfos && t.goodsInfos.length) || 0,
  1984. c('件')
  1985. ])
  1986. ])
  1987. ])
  1988. }
  1989. }
  1990. )
  1991. ]
  1992. }
  1993. }
  1994. )
  1995. })),
  1996. 'function' == typeof n ||
  1997. ('[object Object]' === Object.prototype.toString.call(n) && !x(n))
  1998. ? t
  1999. : {
  2000. default: function () {
  2001. return [t]
  2002. }
  2003. })
  2004. )
  2005. : s(b, { btnStatus: !1, tips: '暂无订单' }, null)
  2006. ])
  2007. }
  2008. )
  2009. }
  2010. })
  2011. e(
  2012. 'default',
  2013. n({
  2014. name: 'pre-apply',
  2015. setup: function () {
  2016. var e = r(),
  2017. n = i(),
  2018. u = a({
  2019. tabValue: 'apply',
  2020. heightV: 235,
  2021. registerInfo: {},
  2022. purchase: !1,
  2023. register: !0,
  2024. code: '',
  2025. dialogStatus: !1,
  2026. dialogMessage: '',
  2027. testIsWeixin: !1
  2028. }),
  2029. c = (function () {
  2030. var e = o(
  2031. regeneratorRuntime.mark(function e(t) {
  2032. return regeneratorRuntime.wrap(function (e) {
  2033. for (;;)
  2034. switch ((e.prev = e.next)) {
  2035. case 0:
  2036. if ('payment' !== t) {
  2037. e.next = 3
  2038. break
  2039. }
  2040. return (e.next = 3), l()
  2041. case 3:
  2042. h(function () {
  2043. ;(u.tabValue = t), window.scrollTo(0, 0)
  2044. })
  2045. case 4:
  2046. case 'end':
  2047. return e.stop()
  2048. }
  2049. }, e)
  2050. })
  2051. )
  2052. return function (t) {
  2053. return e.apply(this, arguments)
  2054. }
  2055. })(),
  2056. l = (function () {
  2057. var t = o(
  2058. regeneratorRuntime.mark(function t() {
  2059. var n, r, o
  2060. return regeneratorRuntime.wrap(
  2061. function (t) {
  2062. for (;;)
  2063. switch ((t.prev = t.next)) {
  2064. case 0:
  2065. return (
  2066. (t.prev = 0),
  2067. (t.next = 3),
  2068. g.get(
  2069. '/api-student/orchestraRegister/registerStatus/' +
  2070. e.query.id
  2071. )
  2072. )
  2073. case 3:
  2074. if (
  2075. ((n = t.sent),
  2076. (r = n.data),
  2077. (u.registerInfo = r || {}),
  2078. 'OUTOF_ORCHESTRA' === r.registerStatus
  2079. ? h(function () {
  2080. u.tabValue = 'apply'
  2081. })
  2082. : ((u.register = r.register),
  2083. r.register &&
  2084. h(function () {
  2085. u.tabValue = 'payment'
  2086. }),
  2087. r.purchase &&
  2088. ((u.purchase = r.purchase),
  2089. h(function () {
  2090. u.tabValue = 'order'
  2091. }))),
  2092. 'REGISTER' === (o = r.status) ||
  2093. 'DOING' === o ||
  2094. 'DONE' === o)
  2095. ) {
  2096. t.next = 12
  2097. break
  2098. }
  2099. return (
  2100. (u.dialogMessage = '乐团建设中,请稍等'),
  2101. (u.dialogStatus = !0),
  2102. t.abrupt('return')
  2103. )
  2104. case 12:
  2105. if (!(r.registerOrchestra >= 1)) {
  2106. t.next = 16
  2107. break
  2108. }
  2109. return (
  2110. (u.dialogMessage = '您已在其它乐团'),
  2111. (u.dialogStatus = !0),
  2112. t.abrupt('return')
  2113. )
  2114. case 16:
  2115. t.next = 20
  2116. break
  2117. case 18:
  2118. ;(t.prev = 18), (t.t0 = t.catch(0))
  2119. case 20:
  2120. case 'end':
  2121. return t.stop()
  2122. }
  2123. },
  2124. t,
  2125. null,
  2126. [[0, 18]]
  2127. )
  2128. })
  2129. )
  2130. return function () {
  2131. return t.apply(this, arguments)
  2132. }
  2133. })(),
  2134. d = (function () {
  2135. var t = o(
  2136. regeneratorRuntime.mark(function t(n) {
  2137. var r, o
  2138. return regeneratorRuntime.wrap(
  2139. function (t) {
  2140. for (;;)
  2141. switch ((t.prev = t.next)) {
  2142. case 0:
  2143. if ('apply' !== n) {
  2144. t.next = 11
  2145. break
  2146. }
  2147. return (
  2148. (t.prev = 1),
  2149. (t.next = 4),
  2150. g.get(
  2151. '/api-student/orchestraRegister/registerStatus/' +
  2152. e.query.id
  2153. )
  2154. )
  2155. case 4:
  2156. ;(r = t.sent),
  2157. (o = r.data),
  2158. (u.registerInfo = o || {}),
  2159. (t.next = 11)
  2160. break
  2161. case 9:
  2162. ;(t.prev = 9), (t.t0 = t.catch(1))
  2163. case 11:
  2164. window.scrollTo(0, 0)
  2165. case 12:
  2166. case 'end':
  2167. return t.stop()
  2168. }
  2169. },
  2170. t,
  2171. null,
  2172. [[1, 9]]
  2173. )
  2174. })
  2175. )
  2176. return function (e) {
  2177. return t.apply(this, arguments)
  2178. }
  2179. })(),
  2180. p = (function () {
  2181. var e = o(
  2182. regeneratorRuntime.mark(function e() {
  2183. var t, n
  2184. return regeneratorRuntime.wrap(
  2185. function (e) {
  2186. for (;;)
  2187. switch ((e.prev = e.next)) {
  2188. case 0:
  2189. return (
  2190. (e.prev = 0),
  2191. (e.next = 3),
  2192. g.get('/api-student/open/paramConfig/wechatAppId')
  2193. )
  2194. case 3:
  2195. ;(t = e.sent), (n = t.data) && k(n), (e.next = 10)
  2196. break
  2197. case 8:
  2198. ;(e.prev = 8), (e.t0 = e.catch(0))
  2199. case 10:
  2200. case 'end':
  2201. return e.stop()
  2202. }
  2203. },
  2204. e,
  2205. null,
  2206. [[0, 8]]
  2207. )
  2208. })
  2209. )
  2210. return function () {
  2211. return e.apply(this, arguments)
  2212. }
  2213. })()
  2214. if (u.testIsWeixin) l()
  2215. else if (v().weixin) {
  2216. var f = C()
  2217. f ? ((u.code = f), l()) : p()
  2218. } else {
  2219. I()
  2220. var _ = t({ returnUrl: e.path }, e.query)
  2221. n.replace({ path: '/loginMusic', query: _ })
  2222. }
  2223. return function () {
  2224. return s('div', { class: J.preApply }, [
  2225. s('div', { class: J.banner }, [
  2226. s('p', { class: J.orchestraName }, [u.registerInfo.orchestraName])
  2227. ]),
  2228. s(
  2229. H,
  2230. { position: 'top' },
  2231. {
  2232. default: function () {
  2233. return [
  2234. s(
  2235. X,
  2236. {
  2237. lineWidth: 20,
  2238. lineHeight: 4,
  2239. active: u.tabValue,
  2240. 'onUpdate:active': function (e) {
  2241. return (u.tabValue = e)
  2242. },
  2243. onChange: function (e) {
  2244. return d(e)
  2245. }
  2246. },
  2247. {
  2248. default: function () {
  2249. return [
  2250. s(
  2251. Z,
  2252. { title: '报名信息', name: 'apply', disabled: u.purchase },
  2253. null
  2254. ),
  2255. s(
  2256. Z,
  2257. {
  2258. title: '缴费信息',
  2259. name: 'payment',
  2260. disabled: u.purchase || !u.register
  2261. },
  2262. null
  2263. ),
  2264. s(
  2265. Z,
  2266. { title: '我的订单', name: 'order', disabled: !u.register },
  2267. null
  2268. )
  2269. ]
  2270. }
  2271. }
  2272. )
  2273. ]
  2274. }
  2275. }
  2276. ),
  2277. 'apply' === u.tabValue &&
  2278. s(
  2279. $,
  2280. {
  2281. onNext: c,
  2282. code: u.code,
  2283. registerInfo: u.registerInfo,
  2284. schoolSystem: u.registerInfo.schoolSystem
  2285. },
  2286. null
  2287. ),
  2288. 'payment' === u.tabValue && s(ne, { onNext: c }, null),
  2289. 'order' === u.tabValue && s(re, { onNext: c }, null),
  2290. s(
  2291. U,
  2292. {
  2293. title: '提示',
  2294. show: u.dialogStatus,
  2295. 'onUpdate:show': function (e) {
  2296. return (u.dialogStatus = e)
  2297. },
  2298. message: u.dialogMessage,
  2299. confirmButtonText: '确定',
  2300. onConfirm: function () {
  2301. I()
  2302. var r = t({ returnUrl: e.path }, e.query)
  2303. n.replace({ path: '/loginMusic', query: r })
  2304. }
  2305. },
  2306. null
  2307. )
  2308. ])
  2309. }
  2310. }
  2311. })
  2312. )
  2313. }
  2314. }
  2315. }
  2316. )
  2317. })()
  2318. =======
  2319. !function(){function e(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 t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,s,"next",e)}function s(e){r(a,o,i,u,s,"throw",e)}u(void 0)}))}}var i=document.createElement("style");i.innerHTML='._preApply_126yu_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._preApply_126yu_1 .van-tab{font-weight:600}._preApply_126yu_1 .van-tabs__wrap{padding-bottom:.08rem}._preApply_126yu_1 .van-field__error-message{text-align:right}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15{text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding:.53333rem 0 .53333rem .66667rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._popupTips_126yu_31{text-align:center;padding:.4rem 0 1.2rem;font-size:.42667rem}._preApply_126yu_1 ._banner_126yu_36{background:url(./assets/banner.288a8f8c.png) no-repeat center center;background-size:cover;height:3.78667rem;width:100%}._preApply_126yu_1 ._banner_126yu_36 ._orchestraName_126yu_42{display:block;padding:2.29333rem .48rem 0;max-width:6.13333rem;font-size:.42667rem;color:#fff;text-align:justify}._applyTitle_126yu_50{display:flex;align-items:center;padding:.53333rem .53333rem .32rem;font-size:.42667rem;font-weight:600;color:#333}._applyTitle_126yu_50:before{display:inline-block;content:" ";margin-right:.16rem;width:.10667rem;height:.37333rem;background:linear-gradient(180deg,#ffb790 0%,#ff8057 100%);border-radius:.08rem}._applyCellGroup_126yu_67{margin:0 .34667rem}._applyCellGroup_126yu_67 .van-cell{font-size:.42667rem;padding:.48rem .32rem}._radioSection_126yu_74{position:relative;min-width:.85333rem;justify-content:center}._radioSection_126yu_74 ._radioItem_126yu_79{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_126yu_74+._radioSection_126yu_74{margin-left:.32rem}._mlr13_126yu_90{margin:0 .34667rem}._paymentTips_126yu_93{background:#ffffff;border-radius:.26667rem;padding:.32rem .37333rem;margin-bottom:.32rem;font-size:.37333rem;color:#777;font-size:400;line-height:.53333rem;text-align:justify}._paymentContainer_126yu_104{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding:.4rem .32rem calc(.4rem + env(safe-area-inset-bottom)) .32rem}._paymentContainer_126yu_104 ._needPrice_126yu_111{display:flex;align-items:center;color:#333;padding-bottom:.18667rem}._paymentContainer_126yu_104 ._needPrice_126yu_111 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_126yu_104 ._needPrice_126yu_111 span span{font-size:.48rem;margin-right:.05333rem}._paymentContainer_126yu_104 ._allPrice_126yu_126{color:#aaa}._paymentContainer_126yu_104 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._sectionCell_126yu_134{margin-bottom:.32rem;padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden;--van-checkbox-border-color: transparent}._sectionCell_126yu_134 .van-cell{padding:0}._sectionCell_126yu_134 ._checkbox_126yu_144{margin-right:.32rem}._sectionCell_126yu_134 ._extra_126yu_147{padding:.26667rem 0 0 .93333rem}._sectionCell_126yu_134 ._extra_126yu_147 ._sectionPrice_126yu_150{display:flex;align-items:center;color:#aaa;font-weight:600;flex-wrap:wrap}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157{display:flex;align-items:center;font-size:.37333rem;color:#333;padding-right:.32rem;font-weight:400}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 span{font-size:.42667rem;font-weight:700;color:#ff4e19}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 ._free_126yu_170{font-size:.37333rem}._sectionCell_126yu_134 ._gives_126yu_173{margin-top:.48rem;padding-top:.21333rem;border-top:.02667rem solid #f2f2f2}._sectionCell_126yu_134 ._gives_126yu_173 ._sectionTips_126yu_178{display:flex;align-items:center;font-size:.37333rem;color:#ff4e19;padding:.13333rem .16rem;background:#ffebdd;border-radius:.16rem}._sectionCell_126yu_134 ._gives_126yu_173 ._iconGives_126yu_187{width:.85333rem;height:.48rem;margin-right:.21333rem}._sectionCell_126yu_134 ._iconChecked_126yu_192{font-size:.48rem}._sectionCell_126yu_134 ._iconChecked_126yu_192 .van-icon__image{width:100%;height:100%}._sectionCell_126yu_134 .van-checkbox__icon--disabled .van-icon{border-color:transparent;background-color:transparent;opacity:.6}._sectionCell_126yu_134 .van-checkbox__icon--checked .van-icon{border-color:transparent;background-color:transparent}._numFont_126yu_208{font-family:DINA}._numFont_126yu_208 ._numPrefix_126yu_211{font-size:.37333rem!important;margin-right:.05333rem}._section_126yu_134{display:flex}._section_126yu_134 ._img_126yu_218{width:2.34667rem;height:2.34667rem;border-radius:.16rem;overflow:hidden;flex-shrink:0;margin-right:.37333rem}._section_126yu_134 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._section_126yu_134 ._brandName_126yu_232{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem}._section_126yu_134 ._model_126yu_238{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._orderCellGroup_126yu_244{margin:0 .34667rem .32rem}._orderCellGroup_126yu_244 .van-cell{padding-left:.32rem;padding-right:.32rem}._payTime_126yu_251{font-size:.42667rem;color:#777;flex:0 auto}._payStatus_126yu_256{color:#ff4e19}._paySuccess_126yu_259{color:var(--van-primary)}._imgGroup_126yu_262{padding:.4rem .32rem .48rem .16rem!important}._imgGroup_126yu_262 ._img_126yu_218{width:1.86667rem;height:1.86667rem;border-radius:.16rem;overflow:hidden}._imgGroup_126yu_262 .van-grid-item__content{padding:0}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274{display:flex;align-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274>div{flex:1 auto}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281{flex:0 auto;width:2.66667rem;text-align:right;display:flex;flex-direction:column;justify-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289{font-size:.42667rem;font-family:DINA;font-weight:700;color:#333;line-height:.37333rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289 span{font-size:.32rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opBuyLength_126yu_299{font-size:.34667rem;color:#777;line-height:.48rem}._btnGroup_126yu_304{padding-top:0}._btnGroup_126yu_304 ._btnPrice_126yu_307{font-family:DINA;font-size:.58667rem;font-weight:700;color:#ff4e19}._btnGroup_126yu_304 .van-cell__value{flex:1 auto;display:flex;justify-content:flex-end}._btnGroup_126yu_304 .van-button{height:.8rem;line-height:.8rem;min-width:2.13333rem}._btnGroup_126yu_304 .van-button+.van-button{margin-left:.26667rem}._btnGroup_126yu_304 ._btns_126yu_326{display:flex}._preApplyC_126yu_329{--van-dialog-message-font-size: .42667rem !important}._dialogTitle_126yu_15{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._dialogRefund_126yu_349{padding:.53333rem 0 .4rem .66667rem}._refundContent_126yu_352{padding:0 .53333rem .66667rem}._refundContent_126yu_352 ._tips_126yu_355{font-size:.4rem;color:#333;line-height:.56rem}._container_126yu_360 .van-button{font-size:.48rem;font-weight:500}._refundTitle_126yu_364{padding-top:.66667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._refundTitle_126yu_364 span{color:#f44541}._phoneName_126yu_374{background:#f2f2f2;border-radius:.16rem}\n',document.head.appendChild(i),System.register(["./index-legacy.5250e410.js","./index-legacy.fdb144ba.js","./index-legacy.9bde57e9.js","./index-legacy.50e1a648.js","./index-legacy.0a6d54f5.js","./index-legacy.d0ecbe0c.js","./index-legacy.fa2325b5.js","./index-legacy.e2f02fbe.js","./index-legacy.79a902ec.js","./countUp.min-legacy.52e432a0.js","./index-legacy.61c3446b.js","./index-legacy.a487cc47.js","./index-legacy.412c8064.js","./index-legacy.8851edf7.js","./index-legacy.7e0d4571.js","./index-legacy.8f701eeb.js","./index-legacy.8895675d.js","./index-legacy.60605ef4.js","./index-legacy.55275abe.js","./index-legacy.eb41f645.js","./index-legacy.f228b6b5.js","./Checker-legacy.0dd903b8.js","./function-call-legacy.6c2f66f0.js","./ImagePreview-legacy.2f18181e.js","./index-legacy.9800e001.js","./index-legacy.c75fe8a2.js","./use-tab-status-legacy.8f29db2f.js"],(function(e){"use strict";var n,r,i,a,u,s,c,l,d,p,f,g,_,m,y,h,b,x,v,C,I,k,A,S,P,T,w,N,j,G,R,F,B,V,O,U,z,E,D,q,L,Y,M,K,H,X,Z;return{setters:[function(e){n=e.d,r=e.aV,i=e.ag,a=e.r,u=e.$,s=e.c,c=e.q,l=e.o,d=e.B,p=e.P,f=e.aW,g=e.m,_=e.F,m=e.a5,y=e.b3,h=e._,b=e.ai,x=e.ak,v=e.e,C=e.bh,I=e.bi,k=e.bf},function(e){A=e.F},function(e){S=e.C},function(e){P=e.F},function(e){T=e.R,w=e.a},function(e){N=e.T},function(e){j=e.P},function(e){G=e.O},function(e){R=e.i,F=e.M,B=e.G},function(e){V=e.C},function(e){O=e.O},function(e){U=e.O},function(e){z=e.C},function(e){E=e.C},function(e){D=e.C},function(e){q=e.I},function(e){L=e.a},function(e){Y=e.L},function(e){M=e.G,K=e.a},function(e){H=e.S},function(e){X=e.T,Z=e.a},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){for(var J={preApply:"_preApply_126yu_1",popupContainer:"_popupContainer_126yu_15",dialogTitle:"_dialogTitle_126yu_15",popupTips:"_popupTips_126yu_31",banner:"_banner_126yu_36",orchestraName:"_orchestraName_126yu_42",applyTitle:"_applyTitle_126yu_50",applyCellGroup:"_applyCellGroup_126yu_67",radioSection:"_radioSection_126yu_74",radioItem:"_radioItem_126yu_79",mlr13:"_mlr13_126yu_90",paymentTips:"_paymentTips_126yu_93",paymentContainer:"_paymentContainer_126yu_104",needPrice:"_needPrice_126yu_111",allPrice:"_allPrice_126yu_126",sectionCell:"_sectionCell_126yu_134",checkbox:"_checkbox_126yu_144",extra:"_extra_126yu_147",sectionPrice:"_sectionPrice_126yu_150",price:"_price_126yu_157",free:"_free_126yu_170",gives:"_gives_126yu_173",sectionTips:"_sectionTips_126yu_178",iconGives:"_iconGives_126yu_187",iconChecked:"_iconChecked_126yu_192",numFont:"_numFont_126yu_208",numPrefix:"_numPrefix_126yu_211",section:"_section_126yu_134",img:"_img_126yu_218",brandName:"_brandName_126yu_232",model:"_model_126yu_238",orderCellGroup:"_orderCellGroup_126yu_244",payTime:"_payTime_126yu_251",payStatus:"_payStatus_126yu_256",paySuccess:"_paySuccess_126yu_259",imgGroup:"_imgGroup_126yu_262",orderPriceInfo:"_orderPriceInfo_126yu_274",orderPriceNum:"_orderPriceNum_126yu_281",opNums:"_opNums_126yu_289",opBuyLength:"_opBuyLength_126yu_299",btnGroup:"_btnGroup_126yu_304",btnPrice:"_btnPrice_126yu_307",btns:"_btns_126yu_326",preApplyC:"_preApplyC_126yu_329",dialogRefund:"_dialogRefund_126yu_349",refundContent:"_refundContent_126yu_352",tips:"_tips_126yu_355",container:"_container_126yu_360",refundTitle:"_refundTitle_126yu_364",phoneName:"_phoneName_126yu_374"},Q=[],W=1;W<=40;W++)Q.push({text:W+"班",value:W});var $=n({name:"apply",props:{schoolSystem:{type:String,default:"sixYearSystem"},registerInfo:{type:Object,defualt:{}},code:{type:String,default:""}},emits:["next"],setup:function(e,n){n.slots,n.attrs;var _=n.emit,m=r();i();var y=a({detail:{},currentGrade:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5}],classList:Q,subjectList:[],gradeStatus:!1,classStatus:!1,subjectStatus:!1,pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,nameReg:/^[\u4E00-\u9FA5]+$/,subjectChangeStatus:!1}),h=a({username:null,sex:null,currentGrade:null,currentGradeTxt:null,currentClass:"",currentClassTxt:null,registerSubjectId:"",registerSubjectTxt:null,parentName:null,phone:null}),b=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/orchestraRegister/register/"+m.query.id);case 3:t=e.sent,n=t.data,r=n||{},y.detail=r,o=y.currentGrade.find((function(e){return e.value==r.currentGrade})),i=y.classList.find((function(e){return e.value==r.currentClass})),a=y.subjectList.find((function(e){return e.value==r.registerSubjectId})),h.username=r.username,h.sex=r.sex?1:0,h.currentGrade=r.currentGrade,h.currentGradeTxt=o?o.text:"",h.currentClass=r.currentClass,h.currentClassTxt=i.text,h.registerSubjectId=r.registerSubjectId,h.registerSubjectTxt=a?a.text:"",h.parentName=r.parentName,h.phone=r.phone,e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),console.log(e.t0);case 25:case"end":return e.stop()}}),e,null,[[0,22]])})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/open/orchestraSubjectConfig/pageByOrchestraId",{data:{orchestraId:m.query.id,page:1,rows:100}});case 3:t=e.sent,(t.data.rows||[]).forEach((function(e){y.subjectList.push({text:e.name,value:e.subjectId})})),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),v=function(e){return y.nameReg.test(e)&&e.length>=2&&e.length<=15},C=function(e){return e?y.nameReg.test(e)?e.length<2||e.length>15?"学员姓名必须为2~15个字":"":"学员姓名必须为中文":"请填写学员真实姓名"},I=function(){var n=o(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r=t({orchestraId:m.query.id,schoolId:y.detail.schoolId},h),y.detail.id&&(r.id=y.detail.id),n.next=5,g.post("/api-student/orchestraRegister/save",{hideLoading:!1,data:t(t({},r),{},{code:e.code})});case 5:setTimeout((function(){_("next","payment")}),100),n.next=10;break;case 8:n.prev=8,n.t0=n.catch(0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})));return function(){return n.apply(this,arguments)}}();return u(o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x();case 2:return"sixYearSystem"===e.schoolSystem&&y.currentGrade.push({text:"六年级",value:6}),t.next=5,b();case 5:case"end":return t.stop()}}),t)})))),function(){return s("div",{class:J.preApplyC},[s(A,{validateFirst:!0,scrollToError:!0,onSubmit:I,ref:"form",class:J.form},{default:function(){return[s("div",{class:J.applyTitle},[c("学生信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"学生信息",placeholder:"请填写学生真实姓名",inputAlign:"right",modelValue:h.username,"onUpdate:modelValue":function(e){return h.username=e},maxlength:15,rules:[{validator:v,message:C}]},null),s(P,{required:!0,label:"性别",inputAlign:"right",rules:[{required:!0,message:"请选择性别"}]},{input:function(){return s(T,{modelValue:h.sex,"onUpdate:modelValue":function(e){return h.sex=e}},{default:function(){return[s(N,{size:"large",type:"primary",color:1!==h.sex?"#EAEAEA":"#FF8057",textColor:1!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:1},null),c("男生")]}}),s(N,{size:"large",type:"primary",color:0!==h.sex?"#EAEAEA":"#FF8057",textColor:0!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:0},null),c("女生")]}})]}})}}),s(P,{required:!0,label:"年级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择年级",modelValue:h.currentGradeTxt,"onUpdate:modelValue":function(e){return h.currentGradeTxt=e},onClick:function(){return y.gradeStatus=!0},rules:[{required:!0,message:"请选择年级"}]},null),s(P,{required:!0,label:"班级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择班级",modelValue:h.currentClassTxt,"onUpdate:modelValue":function(e){return h.currentClassTxt=e},onClick:function(){return y.classStatus=!0},rules:[{required:!0,message:"请选择班级"}]},null)]}}),s("div",{class:J.applyTitle},[c("声部信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"声部",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择声部",modelValue:h.registerSubjectTxt,"onUpdate:modelValue":function(e){return h.registerSubjectTxt=e},onClick:function(){var t,n,r;y.subjectList.length<=0?l("暂无报名声部"):"LEARNING"===(null===(t=e.registerInfo)||void 0===t?void 0:t.registerStatus)||"OUTOF_ORCHESTRA"===(null===(n=e.registerInfo)||void 0===n?void 0:n.registerStatus)&&(null===(r=e.registerInfo)||void 0===r?void 0:r.orderNumber)>0?y.subjectChangeStatus=!0:y.subjectStatus=!0},rules:[{required:!0,message:"请选择声部"}]},null)]}}),s("div",{class:J.applyTitle},[c("家长信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"家长姓名",inputAlign:"right",placeholder:"请填写家长真实姓名",modelValue:h.parentName,"onUpdate:modelValue":function(e){return h.parentName=e},maxlength:15,rules:[{required:!0,message:"请填写家长真实姓名"}]},null),s(P,{required:!0,label:"手机号",inputAlign:"right",placeholder:"请输入手机号",modelValue:h.phone,"onUpdate:modelValue":function(e){return h.phone=e},maxlength:11,type:"tel",rules:[{pattern:y.pattern,message:"输入监护人手机号码有误"}]},null)]}}),s("div",{class:"btnGroup",style:{paddingTop:"30px"}},[s(d,{type:"primary",round:!0,block:!0,"native-type":"submit"},{default:function(){return[c("下一步")]}})])]}}),s(p,{show:y.gradeStatus,"onUpdate:show":function(e){return y.gradeStatus=e},position:"bottom",round:!0,safeAreaInsetBottom:!0,lazyRender:!1,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.currentGrade,onCancel:function(){return y.gradeStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentGrade=t.value,h.currentGradeTxt=t.text,y.gradeStatus=!1}},null)]}}),s(p,{show:y.classStatus,"onUpdate:show":function(e){return y.classStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.classList,onCancel:function(){return y.classStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentClass=t.value,h.currentClassTxt=t.text,y.classStatus=!1}},null)]}}),s(p,{show:y.subjectStatus,"onUpdate:show":function(e){return y.subjectStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.subjectList,onCancel:function(){return y.subjectStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.registerSubjectId=t.value,h.registerSubjectTxt=t.text,y.subjectStatus=!1}},null)]}}),s(f,{show:y.subjectChangeStatus,"onUpdate:show":function(e){return y.subjectChangeStatus=e},message:"您已有报名订单,不可更换声部",messageAlign:"center",confirmButtonText:"确定"},{title:function(){return s("div",{class:J.dialogTitle},[s("i",null,null),c("提示")])}})])}}}),ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAAn5JREFUSEu9lk1ME0EUx3/T0hYa0BBNJCZEDVGiB48GDsjNix4pFTHePXgwKmoQXSpoKCfPXhQJgnjUizflQOPZBI0mRJRAgIiIVVpCx8xutx90t9sPs3Pcee/93nvzn9kncHkJJ54EgdbdAeIsgnYkRxE06n6SdQSfkcyCfI32Ykaor0VWUaDUznch5BCSVqfE9H3BJ6S4I7TJl3b2lkB5P3SEHc8E0FYSqNAohjd1QQxMz+/eKgDKSE8nqZTKcH+FMNNtDY+nS9x9/jY3Th4wDXsD+KuEme5JPJ4zudAMMN3G9/+hst25ruFNnTLbmwVq4dkqzsypITGhTbUbulLqVmpETjt5VbcvQkq9Qr9ng+G5kqVfKVVdmXtTx4XUuk+DyFNSpTEJ7oH6vbDyzSaE7BRSC0eBGxVDTMcDh+BSP9Q1wNMIfJ2zChkVcjD8DklHVcCDLXDxNtTVw3YSHvfDqkWVghlV4RLQZAv01oCUkNqxNmk+Br23IBCEZAImR2H+g124ZVXhFpKApYXK+PKosfVsGFa/55sdPgE9feCvhcRfmBiBhY/2zRIkigMbGuHKI/D54feGcTZri0bAlpMQvga+AGzFYfwhLH4pfjI60KmleuDraehPeBKBfU0Qugo1PvizCeMPYKngnbaC6y11Fk1u6+K/oDYI6mzjGzA2DCsLpWkuLZoRoM/Ro7kVem8a4lBrcx3GhrItdgygG0TLu/hK/kqR2wkD9mO5NEzGSl38cp82JRK1FLScZT5tysfVx9tMUrr5e9KrNOYY937AOtSYZ9wZMTKtdXOIykDdHBNzle7aIJwHzY765xC02Yz6MZCvqh71y7nXpdr+AzQ6A1zwOYWrAAAAAElFTkSuQmCC",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFljFoVEEQhr+5A1NdISgImiKFhCTYihYxnSgRxZA3AbGRaKeChVYWr7AxjaB2GmxEyDwvYjAodpoiwVZyElJYaFBQsHiNEd6NbHgXLmpyd0FettydmX/n35nZX2ix3F3MbLBUKg27+1HgoIjsDm7u/gNYFpH5er0+q6pzIuJbhZStDs1sFLgF9La6WH6+BNxU1aeb2f8T0Mx63P2JiBzJHT8Bz4FZ4D3wLd/fCxwChoEzQHee+YKInFPVj38C/wVoZkNAuOEeYEVEYnd/pKpZCzbKInLB3WNgP/AdGFXVN81+GwBzsNfALmAmTdPz4+PjaZt0rplNTk5WKpXKY+A08As43gy6DhhoBN6FzETk7uLi4rU4juudgDVs4zguDQwM3HH3q3mmhxv0rgNOTU3N5282U6vVzm4XrBm0v7//WcjU3RfGxsZChbMGmFdjEt4sTdO+TmncjIWc3g/5m0aheiX0WZIkYbNXRC5FUfRwOzRu5pMkyUV3fwAsRVHUJ9Vq9ViWZaGSQun3tKrGTi9jZmUgtEe3uw+FKTIBXAfuq+qVTgO2Y29m94DLIjIR6Hzr7oPASVV91U6ATm3M7ATwUkTmQoZfgH3AAVVd6TRYO/ZmFgbBZ+BryPCnu3cBXaoaGvW/LzMLg2RVRFaLB9wJSgsrGmAuUHrb3W8U1haFN37ho63w4d1oukK/pzzLYj/gHDTomWIkRoPaQkVUE2hxMrF5chcmhJtBQ59OT08PZll2Kogsd98g9UVkOYikcrn8YmRkpKXU/w3FMJTtm1XXOwAAAABJRU5ErkJggg==",ne=n({name:"payment",emits:["next"],setup:function(){var e=r(),n=i(),p=a({check:[],checkboxRefs:[],details:[],goodsInfo:{},textBookInfo:{},repaireInfo:{},vipInfo:{},paymentOrderDetails:[],orderInfo:{needPrice:0,originalPrice:0},memberBaoStatus:!1,goodsStatus:!1,selectGoodsId:null,currentPrice:0,selectGoodsInfo:{},dialogStatus:!1,dialogMessage:"",dialogConfig:{}}),f=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/userPaymentOrder/unpaid");case 3:t=e.sent,(n=t.data).id&&(p.dialogMessage="您有待支付的订单,是否继续支付",p.dialogStatus=!0,p.dialogConfig=n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),b=function(){var n=o(regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,g.get("/api-student/orchestraRegister/registerGoods/"+e.query.id);case 3:r=n.sent,o=r.data,(o.paymentOrderDetails||[]).forEach((function(e){p.paymentOrderDetails.push(e.goodsType)})),(i=o.details||[]).forEach((function(e){if("INSTRUMENTS"===e.goodsType){var n=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.goodsInfo=t(t({},e),{},{goodsUrl:n})}else if("TEXTBOOK"===e.goodsType){var r=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.textBookInfo=t(t({},e),{},{goodsUrl:r})}else"REPAIR"===e.goodsType?p.repaireInfo=t({},e):"VIP"===e.goodsType&&(p.vipInfo=t({},e));p.details=i,p.paymentOrderDetails.includes(e.goodsType)||"REPAIR"===e.goodsType||p.check.push(e.goodsId)})),v(),n.next=14;break;case 12:n.prev=12,n.t0=n.catch(0);case 14:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),x=function(e){p.checkboxRefs[e].toggle(),v()},v=function(){var e=p.details,t={needPrice:0,originalPrice:0};e.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(t.needPrice+=parseFloat(e.currentPrice||0),t.originalPrice+=parseFloat(e.originalPrice||0))})),p.orderInfo=t,I()},C=a({needPrice:null,originalPrice:null}),I=function(){h((function(){C.needPrice?C.needPrice.update(p.orderInfo.needPrice):(C.needPrice=new V("needPrice",p.orderInfo.needPrice,{decimalPlaces:2}),C.needPrice.error?console.error(C.needPrice.error):C.needPrice.start())}))},k=function(){var t=o(regeneratorRuntime.mark((function t(){var r,o,i,a,u,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!(p.check.length<=0)){t.next=4;break}return l("请选择您要购买的商品"),t.abrupt("return");case 4:return v(),r=[],o=p.details,i=!1,o.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&r.push({goodsId:e.goodsId,goodsNum:1,goodsType:e.goodsType,paymentCashAmount:e.currentPrice,paymentCouponAmount:0}),"INSTRUMENTS"===e.goodsType&&p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(i=!0)})),a=p.repaireInfo,i&&a.goodsId&&r.push({goodsId:a.goodsId,goodsNum:1,goodsType:a.goodsType,paymentCashAmount:a.currentPrice,paymentCouponAmount:0}),console.log({bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r}),t.next=14,g.post("/api-student/userPaymentOrder/executeOrder",{hideLoading:!1,data:{bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r,orderName:"乐团报名缴费",orderDesc:"乐团报名缴费"}});case 14:u=t.sent,s=u.data,console.log(s),n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(s.paymentConfig),orderNo:s.orderNo}}),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(0),console.log(t.t0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(){return t.apply(this,arguments)}}();return u((function(){b(),f()})),function(){return s(_,null,[s("div",{class:J.applyTitle},[c("报名须知")]),s("div",{class:[J.paymentTips,J.mlr13]},[s("p",null,[c("1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;")]),s("p",null,[c("2、所有参与乐团的学生免费赠送选报声部教材,教材随乐器一同发放,若您自备乐器,则需承担教材运费。")])]),s(z,{modelValue:p.check,"onUpdate:modelValue":function(e){return p.check=e},style:{paddingBottom:"20px"},onChange:function(){v()}},{default:function(){return[!p.paymentOrderDetails.includes("INSTRUMENTS")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.goodsInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.goodsInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.goodsInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.goodsInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.selectGoodsInfo={showFree:!0,originalPrice:p.repaireInfo.originalPrice},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.goodsStatus=!0}},[p.goodsInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.goodsInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.goodsInfo.description])])])}}),s(D,{border:!1},{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.goodsInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.goodsInfo.originalPrice)])])])])}}),s(D,{center:!0,class:J.gives},{title:function(){return s("div",{class:J.sectionTips},[s(q,{src:R,class:J.iconGives},null),c("赠价值"),p.repaireInfo.originalPrice,c("元乐器维保服务一年")])}})]}})]),!p.paymentOrderDetails.includes("VIP")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.vipInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.vipInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.vipInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.vipInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},[p.vipInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[c("6个月")]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.vipInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥")]),y(p.vipInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.vipInfo.originalPrice)])])])])}})]}})]),!p.paymentOrderDetails.includes("TEXTBOOK")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.textBookInfo.goodsId,disabled:!0,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.textBookInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.textBookInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},[p.textBookInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.textBookInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.textBookInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:[p.textBookInfo.currentPrice>0?J.numFont:J.free]},[p.textBookInfo.currentPrice>0?s(_,null,[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.textBookInfo.currentPrice)]):"免费"])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.textBookInfo.originalPrice)])])])])}})]}})])]}}),s(G,{position:"bottom",background:"white"},{default:function(){return[s("div",{class:J.paymentContainer},[s("div",{class:J.payemntPrice},[s("p",{class:J.needPrice},[c("支付金额:"),s("span",{class:J.numFont},[s("span",null,[c("¥ ")]),s("i",{style:"font-style: normal",id:"needPrice"},null)])]),s("p",{class:J.allPrice},[s("del",{class:J.numFont},[c("总原价:¥ "),y(p.orderInfo.originalPrice)])])]),s("div",{class:J.paymentBtn},[s(d,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,onClick:k},{default:function(){return[c("立即购买")]}})])])]}}),s(O,{modelValue:p.memberBaoStatus,"onUpdate:modelValue":function(e){return p.memberBaoStatus=e},position:"right"},{default:function(){return[s(F,null,null)]}}),s(O,{modelValue:p.goodsStatus,"onUpdate:modelValue":function(e){return p.goodsStatus=e},position:"right",destroy:!0},{default:function(){return[p.goodsStatus&&s(B,{id:p.selectGoodsId,groupPrice:p.currentPrice,goodsInfo:p.selectGoodsInfo},null)]}}),s(U,{title:"提示",show:p.dialogStatus,"onUpdate:show":function(e){return p.dialogStatus=e},message:p.dialogMessage,confirmButtonText:"继续支付",cancelButtonText:"取消订单",showCancelButton:!0,onConfirm:function(){var e=p.dialogConfig.paymentConfig;n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(e.paymentConfig),orderNo:e.orderNo}})},onCancel:(e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/userPaymentOrder/cancelPayment/"+p.dialogConfig.orderNo);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),function(){return e.apply(this,arguments)})},null)]);var e}}});var re=n({name:"order",emits:["next"],setup:function(){var e=i(),n=r(),l=a({isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},resionList:[],refundStatus:!1,resion:null,refundSelect:{},checked:null}),d=function(){var e=o(regeneratorRuntime.mark((function e(){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!l.isClick){e.next=3;break}return e.abrupt("return");case 3:return l.isClick=!0,e.next=6,g.post("/api-student/userPaymentOrder/page",{data:t(t({},l.params),{},{bizId:n.query.id,goodsQuery:!0})});case 6:if(r=e.sent,l.listState.loading=!1,o=r.data||{},!(l.list.length>0&&1===o.current)){e.next=11;break}return e.abrupt("return");case 11:(i=o.rows||[]).goodsInfos&&i.goodsInfos.forEach((function(e){var t=e.goodsUrl?e.goodsUrl.split(",")[0]:"";e.goodsUrl=t})),l.list=l.list.concat(i),l.listState.finished=o.current>=o.pages,l.params.page=o.current+1,l.listState.dataShow=l.list.length>0,l.isClick=!1,e.next=25;break;case 20:e.prev=20,e.t0=e.catch(0),l.listState.dataShow=!1,l.listState.finished=!0,l.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}();return u((function(){d()})),function(){var t,n;return s("div",{style:{paddingTop:"20px"}},[l.listState.dataShow?s(Y,{finished:l.listState.finished,finishedText:" ",class:[J.liveList],onLoad:d,immediateCheck:!1},(n=t=l.list.map((function(t){return s(S,{inset:!0,class:J.orderCellGroup,onClick:function(){return function(t){e.push({path:"payment-result",query:{orderNo:t.orderNo,refund:"refund"}})}(t)}},{default:function(){return[s(D,{title:t.createTime,titleClass:J.payTime,value:L[t.status],valueClass:"WAIT_PAY"===t.status?J.payStatus:"PAID"===t.status?J.paySuccess:""},null),s(D,{border:!1,class:J.imgGroup,center:!0},{title:function(){return s("div",{class:J.orderPriceInfo},[s(M,{border:!1,columnNum:3},{default:function(){return[t.goodsInfos&&t.goodsInfos.map((function(e,t){return t<3&&s(K,null,{default:function(){return[s(q,{class:J.img,src:e.goodsUrl},null)]}})}))]}}),s("div",{class:J.orderPriceNum},[s("div",{class:J.opNums},[s("span",null,[c("¥ ")]),y(t.currentPrice)]),s("div",{class:J.opBuyLength},[c("共"),t.goodsInfos&&t.goodsInfos.length||0,c("件")])])])}})]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!x(n)?t:{default:function(){return[t]}})):s(b,{btnStatus:!1,tips:"暂无订单"},null)])}}});e("default",n({name:"pre-apply",setup:function(){var e=r(),n=i(),u=a({tabValue:"apply",heightV:235,registerInfo:{},purchase:!1,register:!0,code:"",dialogStatus:!1,dialogMessage:"",testIsWeixin:!1}),c=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("payment"!==t){e.next=3;break}return e.next=3,l();case 3:h((function(){u.tabValue=t,window.scrollTo(0,0)}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var t=o(regeneratorRuntime.mark((function t(){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 3:if(n=t.sent,r=n.data,u.registerInfo=r||{},"OUTOF_ORCHESTRA"===r.registerStatus?h((function(){u.tabValue="apply"})):(u.register=r.register,r.register&&h((function(){u.tabValue="payment"})),r.purchase&&(u.purchase=r.purchase,h((function(){u.tabValue="order"})))),"REGISTER"===(o=r.status)||"DOING"===o||"DONE"===o){t.next=12;break}return u.dialogMessage="乐团建设中,请稍等",u.dialogStatus=!0,t.abrupt("return");case 12:if(!(r.registerOrchestra>=1)){t.next=16;break}return u.dialogMessage="您已在其它乐团",u.dialogStatus=!0,t.abrupt("return");case 16:t.next=20;break;case 18:t.prev=18,t.t0=t.catch(0);case 20:case"end":return t.stop()}}),t,null,[[0,18]])})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=o(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("apply"!==n){t.next=11;break}return t.prev=1,t.next=4,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 4:r=t.sent,o=r.data,u.registerInfo=o||{},t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:window.scrollTo(0,0);case 12:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}(),p=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/open/paramConfig/wechatAppId");case 3:t=e.sent,(n=t.data)&&k(n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();if(u.testIsWeixin)l();else if(v().weixin){var f=C();f?(u.code=f,l()):p()}else{I();var _=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:_})}return function(){return s("div",{class:J.preApply},[s("div",{class:J.banner},[s("p",{class:J.orchestraName},[u.registerInfo.orchestraName])]),s(H,{position:"top"},{default:function(){return[s(X,{lineWidth:20,lineHeight:4,active:u.tabValue,"onUpdate:active":function(e){return u.tabValue=e},onChange:function(e){return d(e)}},{default:function(){return[s(Z,{title:"报名信息",name:"apply",disabled:u.purchase},null),s(Z,{title:"缴费信息",name:"payment",disabled:u.purchase||!u.register},null),s(Z,{title:"我的订单",name:"order",disabled:!u.register},null)]}})]}}),"apply"===u.tabValue&&s($,{onNext:c,code:u.code,registerInfo:u.registerInfo,schoolSystem:u.registerInfo.schoolSystem},null),"payment"===u.tabValue&&s(ne,{onNext:c},null),"order"===u.tabValue&&s(re,{onNext:c},null),s(U,{title:"提示",show:u.dialogStatus,"onUpdate:show":function(e){return u.dialogStatus=e},message:u.dialogMessage,confirmButtonText:"确定",onConfirm:function(){I();var r=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:r})}},null)])}}}))}}}))}();
  2320. >>>>>>> online:dist/assets/index-legacy.4559321c.js
  2321. =======
  2322. !function(){function e(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 t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,s,"next",e)}function s(e){r(a,o,i,u,s,"throw",e)}u(void 0)}))}}var i=document.createElement("style");i.innerHTML='._preApply_126yu_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._preApply_126yu_1 .van-tab{font-weight:600}._preApply_126yu_1 .van-tabs__wrap{padding-bottom:.08rem}._preApply_126yu_1 .van-field__error-message{text-align:right}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15{text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding:.53333rem 0 .53333rem .66667rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._popupTips_126yu_31{text-align:center;padding:.4rem 0 1.2rem;font-size:.42667rem}._preApply_126yu_1 ._banner_126yu_36{background:url(./assets/banner.288a8f8c.png) no-repeat center center;background-size:cover;height:3.78667rem;width:100%}._preApply_126yu_1 ._banner_126yu_36 ._orchestraName_126yu_42{display:block;padding:2.29333rem .48rem 0;max-width:6.13333rem;font-size:.42667rem;color:#fff;text-align:justify}._applyTitle_126yu_50{display:flex;align-items:center;padding:.53333rem .53333rem .32rem;font-size:.42667rem;font-weight:600;color:#333}._applyTitle_126yu_50:before{display:inline-block;content:" ";margin-right:.16rem;width:.10667rem;height:.37333rem;background:linear-gradient(180deg,#ffb790 0%,#ff8057 100%);border-radius:.08rem}._applyCellGroup_126yu_67{margin:0 .34667rem}._applyCellGroup_126yu_67 .van-cell{font-size:.42667rem;padding:.48rem .32rem}._radioSection_126yu_74{position:relative;min-width:.85333rem;justify-content:center}._radioSection_126yu_74 ._radioItem_126yu_79{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_126yu_74+._radioSection_126yu_74{margin-left:.32rem}._mlr13_126yu_90{margin:0 .34667rem}._paymentTips_126yu_93{background:#ffffff;border-radius:.26667rem;padding:.32rem .37333rem;margin-bottom:.32rem;font-size:.37333rem;color:#777;font-size:400;line-height:.53333rem;text-align:justify}._paymentContainer_126yu_104{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding:.4rem .32rem calc(.4rem + env(safe-area-inset-bottom)) .32rem}._paymentContainer_126yu_104 ._needPrice_126yu_111{display:flex;align-items:center;color:#333;padding-bottom:.18667rem}._paymentContainer_126yu_104 ._needPrice_126yu_111 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_126yu_104 ._needPrice_126yu_111 span span{font-size:.48rem;margin-right:.05333rem}._paymentContainer_126yu_104 ._allPrice_126yu_126{color:#aaa}._paymentContainer_126yu_104 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._sectionCell_126yu_134{margin-bottom:.32rem;padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden;--van-checkbox-border-color: transparent}._sectionCell_126yu_134 .van-cell{padding:0}._sectionCell_126yu_134 ._checkbox_126yu_144{margin-right:.32rem}._sectionCell_126yu_134 ._extra_126yu_147{padding:.26667rem 0 0 .93333rem}._sectionCell_126yu_134 ._extra_126yu_147 ._sectionPrice_126yu_150{display:flex;align-items:center;color:#aaa;font-weight:600;flex-wrap:wrap}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157{display:flex;align-items:center;font-size:.37333rem;color:#333;padding-right:.32rem;font-weight:400}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 span{font-size:.42667rem;font-weight:700;color:#ff4e19}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 ._free_126yu_170{font-size:.37333rem}._sectionCell_126yu_134 ._gives_126yu_173{margin-top:.48rem;padding-top:.21333rem;border-top:.02667rem solid #f2f2f2}._sectionCell_126yu_134 ._gives_126yu_173 ._sectionTips_126yu_178{display:flex;align-items:center;font-size:.37333rem;color:#ff4e19;padding:.13333rem .16rem;background:#ffebdd;border-radius:.16rem}._sectionCell_126yu_134 ._gives_126yu_173 ._iconGives_126yu_187{width:.85333rem;height:.48rem;margin-right:.21333rem}._sectionCell_126yu_134 ._iconChecked_126yu_192{font-size:.48rem}._sectionCell_126yu_134 ._iconChecked_126yu_192 .van-icon__image{width:100%;height:100%}._sectionCell_126yu_134 .van-checkbox__icon--disabled .van-icon{border-color:transparent;background-color:transparent;opacity:.6}._sectionCell_126yu_134 .van-checkbox__icon--checked .van-icon{border-color:transparent;background-color:transparent}._numFont_126yu_208{font-family:DINA}._numFont_126yu_208 ._numPrefix_126yu_211{font-size:.37333rem!important;margin-right:.05333rem}._section_126yu_134{display:flex}._section_126yu_134 ._img_126yu_218{width:2.34667rem;height:2.34667rem;border-radius:.16rem;overflow:hidden;flex-shrink:0;margin-right:.37333rem}._section_126yu_134 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._section_126yu_134 ._brandName_126yu_232{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem}._section_126yu_134 ._model_126yu_238{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._orderCellGroup_126yu_244{margin:0 .34667rem .32rem}._orderCellGroup_126yu_244 .van-cell{padding-left:.32rem;padding-right:.32rem}._payTime_126yu_251{font-size:.42667rem;color:#777;flex:0 auto}._payStatus_126yu_256{color:#ff4e19}._paySuccess_126yu_259{color:var(--van-primary)}._imgGroup_126yu_262{padding:.4rem .32rem .48rem .16rem!important}._imgGroup_126yu_262 ._img_126yu_218{width:1.86667rem;height:1.86667rem;border-radius:.16rem;overflow:hidden}._imgGroup_126yu_262 .van-grid-item__content{padding:0}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274{display:flex;align-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274>div{flex:1 auto}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281{flex:0 auto;width:2.66667rem;text-align:right;display:flex;flex-direction:column;justify-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289{font-size:.42667rem;font-family:DINA;font-weight:700;color:#333;line-height:.37333rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289 span{font-size:.32rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opBuyLength_126yu_299{font-size:.34667rem;color:#777;line-height:.48rem}._btnGroup_126yu_304{padding-top:0}._btnGroup_126yu_304 ._btnPrice_126yu_307{font-family:DINA;font-size:.58667rem;font-weight:700;color:#ff4e19}._btnGroup_126yu_304 .van-cell__value{flex:1 auto;display:flex;justify-content:flex-end}._btnGroup_126yu_304 .van-button{height:.8rem;line-height:.8rem;min-width:2.13333rem}._btnGroup_126yu_304 .van-button+.van-button{margin-left:.26667rem}._btnGroup_126yu_304 ._btns_126yu_326{display:flex}._preApplyC_126yu_329{--van-dialog-message-font-size: .42667rem !important}._dialogTitle_126yu_15{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._dialogRefund_126yu_349{padding:.53333rem 0 .4rem .66667rem}._refundContent_126yu_352{padding:0 .53333rem .66667rem}._refundContent_126yu_352 ._tips_126yu_355{font-size:.4rem;color:#333;line-height:.56rem}._container_126yu_360 .van-button{font-size:.48rem;font-weight:500}._refundTitle_126yu_364{padding-top:.66667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._refundTitle_126yu_364 span{color:#f44541}._phoneName_126yu_374{background:#f2f2f2;border-radius:.16rem}\n',document.head.appendChild(i),System.register(["./index-legacy.e776119d.js","./index-legacy.9310d0d0.js","./index-legacy.e1ae7968.js","./index-legacy.0884f318.js","./index-legacy.9a9d7d70.js","./index-legacy.29ba056c.js","./index-legacy.3fb3230e.js","./index-legacy.a772c019.js","./index-legacy.4de07cba.js","./countUp.min-legacy.52e432a0.js","./index-legacy.09430bdd.js","./index-legacy.badde264.js","./index-legacy.0f4a911b.js","./index-legacy.7f3b8165.js","./index-legacy.513b7e98.js","./index-legacy.d8701818.js","./index-legacy.8895675d.js","./index-legacy.7b97ed13.js","./index-legacy.0f7414e0.js","./index-legacy.9fdb4fc9.js","./index-legacy.72a95bf0.js","./Checker-legacy.f1b970d6.js","./function-call-legacy.4993f104.js","./ImagePreview-legacy.c64e2696.js","./index-legacy.07af1a6e.js","./index-legacy.c75fe8a2.js","./use-tab-status-legacy.83fb85a3.js"],(function(e){"use strict";var n,r,i,a,u,s,c,l,d,p,f,g,_,m,y,h,b,x,v,C,I,k,A,S,P,T,w,N,j,G,R,F,B,V,O,U,z,E,D,q,L,Y,M,K,H,X,Z;return{setters:[function(e){n=e.d,r=e.aV,i=e.ag,a=e.r,u=e.$,s=e.c,c=e.q,l=e.o,d=e.B,p=e.P,f=e.aW,g=e.m,_=e.F,m=e.a5,y=e.b3,h=e._,b=e.ai,x=e.ak,v=e.e,C=e.bh,I=e.bi,k=e.bf},function(e){A=e.F},function(e){S=e.C},function(e){P=e.F},function(e){T=e.R,w=e.a},function(e){N=e.T},function(e){j=e.P},function(e){G=e.O},function(e){R=e.i,F=e.M,B=e.G},function(e){V=e.C},function(e){O=e.O},function(e){U=e.O},function(e){z=e.C},function(e){E=e.C},function(e){D=e.C},function(e){q=e.I},function(e){L=e.a},function(e){Y=e.L},function(e){M=e.G,K=e.a},function(e){H=e.S},function(e){X=e.T,Z=e.a},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){for(var J={preApply:"_preApply_126yu_1",popupContainer:"_popupContainer_126yu_15",dialogTitle:"_dialogTitle_126yu_15",popupTips:"_popupTips_126yu_31",banner:"_banner_126yu_36",orchestraName:"_orchestraName_126yu_42",applyTitle:"_applyTitle_126yu_50",applyCellGroup:"_applyCellGroup_126yu_67",radioSection:"_radioSection_126yu_74",radioItem:"_radioItem_126yu_79",mlr13:"_mlr13_126yu_90",paymentTips:"_paymentTips_126yu_93",paymentContainer:"_paymentContainer_126yu_104",needPrice:"_needPrice_126yu_111",allPrice:"_allPrice_126yu_126",sectionCell:"_sectionCell_126yu_134",checkbox:"_checkbox_126yu_144",extra:"_extra_126yu_147",sectionPrice:"_sectionPrice_126yu_150",price:"_price_126yu_157",free:"_free_126yu_170",gives:"_gives_126yu_173",sectionTips:"_sectionTips_126yu_178",iconGives:"_iconGives_126yu_187",iconChecked:"_iconChecked_126yu_192",numFont:"_numFont_126yu_208",numPrefix:"_numPrefix_126yu_211",section:"_section_126yu_134",img:"_img_126yu_218",brandName:"_brandName_126yu_232",model:"_model_126yu_238",orderCellGroup:"_orderCellGroup_126yu_244",payTime:"_payTime_126yu_251",payStatus:"_payStatus_126yu_256",paySuccess:"_paySuccess_126yu_259",imgGroup:"_imgGroup_126yu_262",orderPriceInfo:"_orderPriceInfo_126yu_274",orderPriceNum:"_orderPriceNum_126yu_281",opNums:"_opNums_126yu_289",opBuyLength:"_opBuyLength_126yu_299",btnGroup:"_btnGroup_126yu_304",btnPrice:"_btnPrice_126yu_307",btns:"_btns_126yu_326",preApplyC:"_preApplyC_126yu_329",dialogRefund:"_dialogRefund_126yu_349",refundContent:"_refundContent_126yu_352",tips:"_tips_126yu_355",container:"_container_126yu_360",refundTitle:"_refundTitle_126yu_364",phoneName:"_phoneName_126yu_374"},Q=[],W=1;W<=40;W++)Q.push({text:W+"班",value:W});var $=n({name:"apply",props:{schoolSystem:{type:String,default:"sixYearSystem"},registerInfo:{type:Object,defualt:{}},code:{type:String,default:""}},emits:["next"],setup:function(e,n){n.slots,n.attrs;var _=n.emit,m=r();i();var y=a({detail:{},currentGrade:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5}],classList:Q,subjectList:[],gradeStatus:!1,classStatus:!1,subjectStatus:!1,pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,nameReg:/^[\u4E00-\u9FA5]+$/,subjectChangeStatus:!1}),h=a({username:null,sex:null,currentGrade:null,currentGradeTxt:null,currentClass:"",currentClassTxt:null,registerSubjectId:"",registerSubjectTxt:null,parentName:null,phone:null}),b=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/orchestraRegister/register/"+m.query.id);case 3:t=e.sent,n=t.data,r=n||{},y.detail=r,o=y.currentGrade.find((function(e){return e.value==r.currentGrade})),i=y.classList.find((function(e){return e.value==r.currentClass})),a=y.subjectList.find((function(e){return e.value==r.registerSubjectId})),h.username=r.username,h.sex=r.sex?1:0,h.currentGrade=r.currentGrade,h.currentGradeTxt=o?o.text:"",h.currentClass=r.currentClass,h.currentClassTxt=i.text,h.registerSubjectId=r.registerSubjectId,h.registerSubjectTxt=a?a.text:"",h.parentName=r.parentName,h.phone=r.phone,e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),console.log(e.t0);case 25:case"end":return e.stop()}}),e,null,[[0,22]])})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/open/orchestraSubjectConfig/pageByOrchestraId",{data:{orchestraId:m.query.id,page:1,rows:100}});case 3:t=e.sent,(t.data.rows||[]).forEach((function(e){y.subjectList.push({text:e.name,value:e.subjectId})})),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),v=function(e){return y.nameReg.test(e)&&e.length>=2&&e.length<=15},C=function(e){return e?y.nameReg.test(e)?e.length<2||e.length>15?"学员姓名必须为2~15个字":"":"学员姓名必须为中文":"请填写学员真实姓名"},I=function(){var n=o(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r=t({orchestraId:m.query.id,schoolId:y.detail.schoolId},h),y.detail.id&&(r.id=y.detail.id),n.next=5,g.post("/api-student/orchestraRegister/save",{hideLoading:!1,data:t(t({},r),{},{code:e.code})});case 5:setTimeout((function(){_("next","payment")}),100),n.next=10;break;case 8:n.prev=8,n.t0=n.catch(0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})));return function(){return n.apply(this,arguments)}}();return u(o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x();case 2:return"sixYearSystem"===e.schoolSystem&&y.currentGrade.push({text:"六年级",value:6}),t.next=5,b();case 5:case"end":return t.stop()}}),t)})))),function(){return s("div",{class:J.preApplyC},[s(A,{validateFirst:!0,scrollToError:!0,onSubmit:I,ref:"form",class:J.form},{default:function(){return[s("div",{class:J.applyTitle},[c("学生信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"学生信息",placeholder:"请填写学生真实姓名",inputAlign:"right",modelValue:h.username,"onUpdate:modelValue":function(e){return h.username=e},maxlength:15,rules:[{validator:v,message:C}]},null),s(P,{required:!0,label:"性别",inputAlign:"right",rules:[{required:!0,message:"请选择性别"}]},{input:function(){return s(T,{modelValue:h.sex,"onUpdate:modelValue":function(e){return h.sex=e}},{default:function(){return[s(N,{size:"large",type:"primary",color:1!==h.sex?"#EAEAEA":"#FF8057",textColor:1!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:1},null),c("男生")]}}),s(N,{size:"large",type:"primary",color:0!==h.sex?"#EAEAEA":"#FF8057",textColor:0!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:0},null),c("女生")]}})]}})}}),s(P,{required:!0,label:"年级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择年级",modelValue:h.currentGradeTxt,"onUpdate:modelValue":function(e){return h.currentGradeTxt=e},onClick:function(){return y.gradeStatus=!0},rules:[{required:!0,message:"请选择年级"}]},null),s(P,{required:!0,label:"班级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择班级",modelValue:h.currentClassTxt,"onUpdate:modelValue":function(e){return h.currentClassTxt=e},onClick:function(){return y.classStatus=!0},rules:[{required:!0,message:"请选择班级"}]},null)]}}),s("div",{class:J.applyTitle},[c("声部信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"声部",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择声部",modelValue:h.registerSubjectTxt,"onUpdate:modelValue":function(e){return h.registerSubjectTxt=e},onClick:function(){var t,n,r;y.subjectList.length<=0?l("暂无报名声部"):"LEARNING"===(null===(t=e.registerInfo)||void 0===t?void 0:t.registerStatus)||"OUTOF_ORCHESTRA"===(null===(n=e.registerInfo)||void 0===n?void 0:n.registerStatus)&&(null===(r=e.registerInfo)||void 0===r?void 0:r.orderNumber)>0?y.subjectChangeStatus=!0:y.subjectStatus=!0},rules:[{required:!0,message:"请选择声部"}]},null)]}}),s("div",{class:J.applyTitle},[c("家长信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"家长姓名",inputAlign:"right",placeholder:"请填写家长真实姓名",modelValue:h.parentName,"onUpdate:modelValue":function(e){return h.parentName=e},maxlength:15,rules:[{required:!0,message:"请填写家长真实姓名"}]},null),s(P,{required:!0,label:"手机号",inputAlign:"right",placeholder:"请输入手机号",modelValue:h.phone,"onUpdate:modelValue":function(e){return h.phone=e},maxlength:11,type:"tel",rules:[{pattern:y.pattern,message:"输入监护人手机号码有误"}]},null)]}}),s("div",{class:"btnGroup",style:{paddingTop:"30px"}},[s(d,{type:"primary",round:!0,block:!0,"native-type":"submit"},{default:function(){return[c("下一步")]}})])]}}),s(p,{show:y.gradeStatus,"onUpdate:show":function(e){return y.gradeStatus=e},position:"bottom",round:!0,safeAreaInsetBottom:!0,lazyRender:!1,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.currentGrade,onCancel:function(){return y.gradeStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentGrade=t.value,h.currentGradeTxt=t.text,y.gradeStatus=!1}},null)]}}),s(p,{show:y.classStatus,"onUpdate:show":function(e){return y.classStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.classList,onCancel:function(){return y.classStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentClass=t.value,h.currentClassTxt=t.text,y.classStatus=!1}},null)]}}),s(p,{show:y.subjectStatus,"onUpdate:show":function(e){return y.subjectStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.subjectList,onCancel:function(){return y.subjectStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.registerSubjectId=t.value,h.registerSubjectTxt=t.text,y.subjectStatus=!1}},null)]}}),s(f,{show:y.subjectChangeStatus,"onUpdate:show":function(e){return y.subjectChangeStatus=e},message:"您已有报名订单,不可更换声部",messageAlign:"center",confirmButtonText:"确定"},{title:function(){return s("div",{class:J.dialogTitle},[s("i",null,null),c("提示")])}})])}}}),ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAAn5JREFUSEu9lk1ME0EUx3/T0hYa0BBNJCZEDVGiB48GDsjNix4pFTHePXgwKmoQXSpoKCfPXhQJgnjUizflQOPZBI0mRJRAgIiIVVpCx8xutx90t9sPs3Pcee/93nvzn9kncHkJJ54EgdbdAeIsgnYkRxE06n6SdQSfkcyCfI32Ykaor0VWUaDUznch5BCSVqfE9H3BJ6S4I7TJl3b2lkB5P3SEHc8E0FYSqNAohjd1QQxMz+/eKgDKSE8nqZTKcH+FMNNtDY+nS9x9/jY3Th4wDXsD+KuEme5JPJ4zudAMMN3G9/+hst25ruFNnTLbmwVq4dkqzsypITGhTbUbulLqVmpETjt5VbcvQkq9Qr9ng+G5kqVfKVVdmXtTx4XUuk+DyFNSpTEJ7oH6vbDyzSaE7BRSC0eBGxVDTMcDh+BSP9Q1wNMIfJ2zChkVcjD8DklHVcCDLXDxNtTVw3YSHvfDqkWVghlV4RLQZAv01oCUkNqxNmk+Br23IBCEZAImR2H+g124ZVXhFpKApYXK+PKosfVsGFa/55sdPgE9feCvhcRfmBiBhY/2zRIkigMbGuHKI/D54feGcTZri0bAlpMQvga+AGzFYfwhLH4pfjI60KmleuDraehPeBKBfU0Qugo1PvizCeMPYKngnbaC6y11Fk1u6+K/oDYI6mzjGzA2DCsLpWkuLZoRoM/Ro7kVem8a4lBrcx3GhrItdgygG0TLu/hK/kqR2wkD9mO5NEzGSl38cp82JRK1FLScZT5tysfVx9tMUrr5e9KrNOYY937AOtSYZ9wZMTKtdXOIykDdHBNzle7aIJwHzY765xC02Yz6MZCvqh71y7nXpdr+AzQ6A1zwOYWrAAAAAElFTkSuQmCC",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFljFoVEEQhr+5A1NdISgImiKFhCTYihYxnSgRxZA3AbGRaKeChVYWr7AxjaB2GmxEyDwvYjAodpoiwVZyElJYaFBQsHiNEd6NbHgXLmpyd0FettydmX/n35nZX2ix3F3MbLBUKg27+1HgoIjsDm7u/gNYFpH5er0+q6pzIuJbhZStDs1sFLgF9La6WH6+BNxU1aeb2f8T0Mx63P2JiBzJHT8Bz4FZ4D3wLd/fCxwChoEzQHee+YKInFPVj38C/wVoZkNAuOEeYEVEYnd/pKpZCzbKInLB3WNgP/AdGFXVN81+GwBzsNfALmAmTdPz4+PjaZt0rplNTk5WKpXKY+A08As43gy6DhhoBN6FzETk7uLi4rU4juudgDVs4zguDQwM3HH3q3mmhxv0rgNOTU3N5282U6vVzm4XrBm0v7//WcjU3RfGxsZChbMGmFdjEt4sTdO+TmncjIWc3g/5m0aheiX0WZIkYbNXRC5FUfRwOzRu5pMkyUV3fwAsRVHUJ9Vq9ViWZaGSQun3tKrGTi9jZmUgtEe3uw+FKTIBXAfuq+qVTgO2Y29m94DLIjIR6Hzr7oPASVV91U6ATm3M7ATwUkTmQoZfgH3AAVVd6TRYO/ZmFgbBZ+BryPCnu3cBXaoaGvW/LzMLg2RVRFaLB9wJSgsrGmAuUHrb3W8U1haFN37ho63w4d1oukK/pzzLYj/gHDTomWIkRoPaQkVUE2hxMrF5chcmhJtBQ59OT08PZll2Kogsd98g9UVkOYikcrn8YmRkpKXU/w3FMJTtm1XXOwAAAABJRU5ErkJggg==",ne=n({name:"payment",emits:["next"],setup:function(){var e=r(),n=i(),p=a({check:[],checkboxRefs:[],details:[],goodsInfo:{},textBookInfo:{},repaireInfo:{},vipInfo:{},paymentOrderDetails:[],orderInfo:{needPrice:0,originalPrice:0},memberBaoStatus:!1,goodsStatus:!1,selectGoodsId:null,currentPrice:0,selectGoodsInfo:{},dialogStatus:!1,dialogMessage:"",dialogConfig:{}}),f=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/userPaymentOrder/unpaid");case 3:t=e.sent,(n=t.data).id&&(p.dialogMessage="您有待支付的订单,是否继续支付",p.dialogStatus=!0,p.dialogConfig=n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),b=function(){var n=o(regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,g.get("/api-student/orchestraRegister/registerGoods/"+e.query.id);case 3:r=n.sent,o=r.data,(o.paymentOrderDetails||[]).forEach((function(e){p.paymentOrderDetails.push(e.goodsType)})),(i=o.details||[]).forEach((function(e){if("INSTRUMENTS"===e.goodsType){var n=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.goodsInfo=t(t({},e),{},{goodsUrl:n})}else if("TEXTBOOK"===e.goodsType){var r=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.textBookInfo=t(t({},e),{},{goodsUrl:r})}else"REPAIR"===e.goodsType?p.repaireInfo=t({},e):"VIP"===e.goodsType&&(p.vipInfo=t({},e));p.details=i,p.paymentOrderDetails.includes(e.goodsType)||"REPAIR"===e.goodsType||p.check.push(e.goodsId)})),v(),n.next=14;break;case 12:n.prev=12,n.t0=n.catch(0);case 14:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),x=function(e){p.checkboxRefs[e].toggle(),v()},v=function(){var e=p.details,t={needPrice:0,originalPrice:0};e.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(t.needPrice+=parseFloat(e.currentPrice||0),t.originalPrice+=parseFloat(e.originalPrice||0))})),p.orderInfo=t,I()},C=a({needPrice:null,originalPrice:null}),I=function(){h((function(){C.needPrice?C.needPrice.update(p.orderInfo.needPrice):(C.needPrice=new V("needPrice",p.orderInfo.needPrice,{decimalPlaces:2}),C.needPrice.error?console.error(C.needPrice.error):C.needPrice.start())}))},k=function(){var t=o(regeneratorRuntime.mark((function t(){var r,o,i,a,u,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!(p.check.length<=0)){t.next=4;break}return l("请选择您要购买的商品"),t.abrupt("return");case 4:return v(),r=[],o=p.details,i=!1,o.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&r.push({goodsId:e.goodsId,goodsNum:1,goodsType:e.goodsType,paymentCashAmount:e.currentPrice,paymentCouponAmount:0}),"INSTRUMENTS"===e.goodsType&&p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(i=!0)})),a=p.repaireInfo,i&&a.goodsId&&r.push({goodsId:a.goodsId,goodsNum:1,goodsType:a.goodsType,paymentCashAmount:a.currentPrice,paymentCouponAmount:0}),console.log({bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r}),t.next=14,g.post("/api-student/userPaymentOrder/executeOrder",{hideLoading:!1,data:{bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r,orderName:"乐团报名缴费",orderDesc:"乐团报名缴费"}});case 14:u=t.sent,s=u.data,console.log(s),n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(s.paymentConfig),orderNo:s.orderNo}}),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(0),console.log(t.t0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(){return t.apply(this,arguments)}}();return u((function(){b(),f()})),function(){return s(_,null,[s("div",{class:J.applyTitle},[c("报名须知")]),s("div",{class:[J.paymentTips,J.mlr13]},[s("p",null,[c("1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;")]),s("p",null,[c("2、所有参与乐团的学生免费赠送选报声部教材,教材随乐器一同发放,若您自备乐器,则需承担教材运费。")])]),s(z,{modelValue:p.check,"onUpdate:modelValue":function(e){return p.check=e},style:{paddingBottom:"20px"},onChange:function(){v()}},{default:function(){return[!p.paymentOrderDetails.includes("INSTRUMENTS")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.goodsInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.goodsInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.goodsInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.goodsInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.selectGoodsInfo={showFree:!0,originalPrice:p.repaireInfo.originalPrice},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.goodsStatus=!0}},[p.goodsInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.goodsInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.goodsInfo.description])])])}}),s(D,{border:!1},{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.goodsInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.goodsInfo.originalPrice)])])])])}}),s(D,{center:!0,class:J.gives},{title:function(){return s("div",{class:J.sectionTips},[s(q,{src:R,class:J.iconGives},null),c("赠价值"),p.repaireInfo.originalPrice,c("元乐器维保服务一年")])}})]}})]),!p.paymentOrderDetails.includes("VIP")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.vipInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.vipInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.vipInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.vipInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},[p.vipInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[c("6个月")]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.vipInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥")]),y(p.vipInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.vipInfo.originalPrice)])])])])}})]}})]),!p.paymentOrderDetails.includes("TEXTBOOK")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.textBookInfo.goodsId,disabled:!0,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.textBookInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.textBookInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},[p.textBookInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.textBookInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.textBookInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:[p.textBookInfo.currentPrice>0?J.numFont:J.free]},[p.textBookInfo.currentPrice>0?s(_,null,[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.textBookInfo.currentPrice)]):"免费"])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.textBookInfo.originalPrice)])])])])}})]}})])]}}),s(G,{position:"bottom",background:"white"},{default:function(){return[s("div",{class:J.paymentContainer},[s("div",{class:J.payemntPrice},[s("p",{class:J.needPrice},[c("支付金额:"),s("span",{class:J.numFont},[s("span",null,[c("¥ ")]),s("i",{style:"font-style: normal",id:"needPrice"},null)])]),s("p",{class:J.allPrice},[s("del",{class:J.numFont},[c("总原价:¥ "),y(p.orderInfo.originalPrice)])])]),s("div",{class:J.paymentBtn},[s(d,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,onClick:k},{default:function(){return[c("立即购买")]}})])])]}}),s(O,{modelValue:p.memberBaoStatus,"onUpdate:modelValue":function(e){return p.memberBaoStatus=e},position:"right"},{default:function(){return[s(F,null,null)]}}),s(O,{modelValue:p.goodsStatus,"onUpdate:modelValue":function(e){return p.goodsStatus=e},position:"right",destroy:!0},{default:function(){return[p.goodsStatus&&s(B,{id:p.selectGoodsId,groupPrice:p.currentPrice,goodsInfo:p.selectGoodsInfo},null)]}}),s(U,{title:"提示",show:p.dialogStatus,"onUpdate:show":function(e){return p.dialogStatus=e},message:p.dialogMessage,confirmButtonText:"继续支付",cancelButtonText:"取消订单",showCancelButton:!0,onConfirm:function(){var e=p.dialogConfig.paymentConfig;n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(e.paymentConfig),orderNo:e.orderNo}})},onCancel:(e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/userPaymentOrder/cancelPayment/"+p.dialogConfig.orderNo);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),function(){return e.apply(this,arguments)})},null)]);var e}}});var re=n({name:"order",emits:["next"],setup:function(){var e=i(),n=r(),l=a({isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},resionList:[],refundStatus:!1,resion:null,refundSelect:{},checked:null}),d=function(){var e=o(regeneratorRuntime.mark((function e(){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!l.isClick){e.next=3;break}return e.abrupt("return");case 3:return l.isClick=!0,e.next=6,g.post("/api-student/userPaymentOrder/page",{data:t(t({},l.params),{},{bizId:n.query.id,goodsQuery:!0})});case 6:if(r=e.sent,l.listState.loading=!1,o=r.data||{},!(l.list.length>0&&1===o.current)){e.next=11;break}return e.abrupt("return");case 11:(i=o.rows||[]).goodsInfos&&i.goodsInfos.forEach((function(e){var t=e.goodsUrl?e.goodsUrl.split(",")[0]:"";e.goodsUrl=t})),l.list=l.list.concat(i),l.listState.finished=o.current>=o.pages,l.params.page=o.current+1,l.listState.dataShow=l.list.length>0,l.isClick=!1,e.next=25;break;case 20:e.prev=20,e.t0=e.catch(0),l.listState.dataShow=!1,l.listState.finished=!0,l.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}();return u((function(){d()})),function(){var t,n;return s("div",{style:{paddingTop:"20px"}},[l.listState.dataShow?s(Y,{finished:l.listState.finished,finishedText:" ",class:[J.liveList],onLoad:d,immediateCheck:!1},(n=t=l.list.map((function(t){return s(S,{inset:!0,class:J.orderCellGroup,onClick:function(){return function(t){e.push({path:"payment-result",query:{orderNo:t.orderNo,refund:"refund"}})}(t)}},{default:function(){return[s(D,{title:t.createTime,titleClass:J.payTime,value:L[t.status],valueClass:"WAIT_PAY"===t.status?J.payStatus:"PAID"===t.status?J.paySuccess:""},null),s(D,{border:!1,class:J.imgGroup,center:!0},{title:function(){return s("div",{class:J.orderPriceInfo},[s(M,{border:!1,columnNum:3},{default:function(){return[t.goodsInfos&&t.goodsInfos.map((function(e,t){return t<3&&s(K,null,{default:function(){return[s(q,{class:J.img,src:e.goodsUrl},null)]}})}))]}}),s("div",{class:J.orderPriceNum},[s("div",{class:J.opNums},[s("span",null,[c("¥ ")]),y(t.currentPrice)]),s("div",{class:J.opBuyLength},[c("共"),t.goodsInfos&&t.goodsInfos.length||0,c("件")])])])}})]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!x(n)?t:{default:function(){return[t]}})):s(b,{btnStatus:!1,tips:"暂无订单"},null)])}}});e("default",n({name:"pre-apply",setup:function(){var e=r(),n=i(),u=a({tabValue:"apply",heightV:235,registerInfo:{},purchase:!1,register:!0,code:"",dialogStatus:!1,dialogMessage:"",testIsWeixin:!1}),c=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("payment"!==t){e.next=3;break}return e.next=3,l();case 3:h((function(){u.tabValue=t,window.scrollTo(0,0)}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var t=o(regeneratorRuntime.mark((function t(){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 3:if(n=t.sent,r=n.data,u.registerInfo=r||{},"OUTOF_ORCHESTRA"===r.registerStatus?h((function(){u.tabValue="apply"})):(u.register=r.register,r.register&&h((function(){u.tabValue="payment"})),r.purchase&&(u.purchase=r.purchase,h((function(){u.tabValue="order"})))),"REGISTER"===(o=r.status)||"DOING"===o||"DONE"===o){t.next=12;break}return u.dialogMessage="乐团建设中,请稍等",u.dialogStatus=!0,t.abrupt("return");case 12:if(!(r.registerOrchestra>=1)){t.next=16;break}return u.dialogMessage="您已在其它乐团",u.dialogStatus=!0,t.abrupt("return");case 16:t.next=20;break;case 18:t.prev=18,t.t0=t.catch(0);case 20:case"end":return t.stop()}}),t,null,[[0,18]])})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=o(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("apply"!==n){t.next=11;break}return t.prev=1,t.next=4,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 4:r=t.sent,o=r.data,u.registerInfo=o||{},t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:window.scrollTo(0,0);case 12:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}(),p=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/open/paramConfig/wechatAppId");case 3:t=e.sent,(n=t.data)&&k(n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();if(u.testIsWeixin)l();else if(v().weixin){var f=C();f?(u.code=f,l()):p()}else{I();var _=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:_})}return function(){return s("div",{class:J.preApply},[s("div",{class:J.banner},[s("p",{class:J.orchestraName},[u.registerInfo.orchestraName])]),s(H,{position:"top"},{default:function(){return[s(X,{lineWidth:20,lineHeight:4,active:u.tabValue,"onUpdate:active":function(e){return u.tabValue=e},onChange:function(e){return d(e)}},{default:function(){return[s(Z,{title:"报名信息",name:"apply",disabled:u.purchase},null),s(Z,{title:"缴费信息",name:"payment",disabled:u.purchase||!u.register},null),s(Z,{title:"我的订单",name:"order",disabled:!u.register},null)]}})]}}),"apply"===u.tabValue&&s($,{onNext:c,code:u.code,registerInfo:u.registerInfo,schoolSystem:u.registerInfo.schoolSystem},null),"payment"===u.tabValue&&s(ne,{onNext:c},null),"order"===u.tabValue&&s(re,{onNext:c},null),s(U,{title:"提示",show:u.dialogStatus,"onUpdate:show":function(e){return u.dialogStatus=e},message:u.dialogMessage,confirmButtonText:"确定",onConfirm:function(){I();var r=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:r})}},null)])}}}))}}}))}();
  2323. >>>>>>> online:dist/assets/index-legacy.4b67545e.js