index-legacy.23fe0267.js 121 KB

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