index-legacy.22c6747f.js 236 KB

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