index-legacy.33645b93.js 274 KB

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