exercis-detail-legacy.e5ea4648.js 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. <<<<<<< HEAD:dist/assets/exercis-detail-legacy.1414baec.js
  2. <<<<<<< HEAD:dist/assets/exercis-detail-legacy.cac51217.js
  3. <<<<<<< HEAD:dist/assets/exercis-detail-legacy.bf4998d0.js
  4. !(function () {
  5. function e(e, t) {
  6. var n = Object.keys(e)
  7. if (Object.getOwnPropertySymbols) {
  8. var r = Object.getOwnPropertySymbols(e)
  9. t &&
  10. (r = r.filter(function (t) {
  11. return Object.getOwnPropertyDescriptor(e, t).enumerable
  12. })),
  13. n.push.apply(n, r)
  14. }
  15. return n
  16. }
  17. function t(t) {
  18. for (var r = 1; r < arguments.length; r++) {
  19. var i = null != arguments[r] ? arguments[r] : {}
  20. r % 2
  21. ? e(Object(i), !0).forEach(function (e) {
  22. n(t, e, i[e])
  23. })
  24. : Object.getOwnPropertyDescriptors
  25. ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i))
  26. : e(Object(i)).forEach(function (e) {
  27. Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(i, e))
  28. })
  29. }
  30. return t
  31. }
  32. function n(e, t, n) {
  33. return (
  34. t in e
  35. ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 })
  36. : (e[t] = n),
  37. e
  38. )
  39. }
  40. function r(e, t, n, r, i, o, a) {
  41. try {
  42. var l = e[o](a),
  43. c = l.value
  44. } catch (s) {
  45. return void n(s)
  46. }
  47. l.done ? t(c) : Promise.resolve(c).then(r, i)
  48. }
  49. function i(e) {
  50. return function () {
  51. var t = this,
  52. n = arguments
  53. return new Promise(function (i, o) {
  54. var a = e.apply(t, n)
  55. function l(e) {
  56. r(a, i, o, l, c, 'next', e)
  57. }
  58. function c(e) {
  59. r(a, i, o, l, c, 'throw', e)
  60. }
  61. l(void 0)
  62. })
  63. }
  64. }
  65. var o = document.createElement('style')
  66. ;(o.innerHTML =
  67. '._itemWrap_d4ln4_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopMain_d4ln4_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopSub_d4ln4_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29{display:flex;flex-direction:row;align-items:center}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34 img{width:100%;height:100%}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgIcon_d4ln4_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57{width:25%}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotSub_d4ln4_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_jyryw_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_jyryw_5 ._topInfo_jyryw_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._headWrap_jyryw_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 p{display:inline-block;width:3.2rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 ._tag_jyryw_38{display:inline-block;padding:0 .29333rem;background:#ff8057;border-radius:.32rem;height:.64rem;font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:.64rem;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDay_jyryw_58{margin-right:.8rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDaysub_jyryw_77{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_jyryw_5 ._chioseWrap_jyryw_84{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_jyryw_94{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_jyryw_94 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_jyryw_94 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_jyryw_114{padding:0 .66667rem .8rem}._DialogConent_jyryw_114 p{font-size:.42667rem;line-height:.8rem;color:#333}.exercisDetailDialog{border-radius:.26667rem}.exercisDetailDialog .van-dialog__header{padding-top:0!important}.van-dialog{top:47%}\n'),
  68. document.head.appendChild(o),
  69. System.register(
  70. [
  71. './index-legacy.da3cfd73.js',
  72. './index-legacy.86e58eb0.js',
  73. './index-legacy.37a26c18.js',
  74. './index-legacy.251c44e7.js',
  75. './quest-icon-legacy.8dd60bcc.js',
  76. './icon_student-legacy.6118fd72.js',
  77. './index-legacy.d552d569.js',
  78. './index-legacy.88f968f8.js',
  79. './index-legacy.0793a1ee.js',
  80. './index-legacy.8ec00d40.js',
  81. './use-tab-status-legacy.203dc693.js',
  82. './utils-legacy.366cb285.js',
  83. './index-legacy.31f31051.js',
  84. './index-legacy.bc5c4a06.js',
  85. './index-legacy.72f6344c.js',
  86. './index-legacy.a9a76943.js'
  87. ],
  88. function (e) {
  89. 'use strict'
  90. var n,
  91. r,
  92. o,
  93. a,
  94. l,
  95. c,
  96. s,
  97. _,
  98. p,
  99. u,
  100. m,
  101. d,
  102. f,
  103. y,
  104. g,
  105. h,
  106. w,
  107. v,
  108. j,
  109. b,
  110. x,
  111. D,
  112. T,
  113. I,
  114. W,
  115. M,
  116. k,
  117. O,
  118. C,
  119. P,
  120. R
  121. return {
  122. setters: [
  123. function (e) {
  124. n = e.O
  125. },
  126. function (e) {
  127. r = e.O
  128. },
  129. function (e) {
  130. ;(o = e.d),
  131. (a = e.c),
  132. (l = e.a5),
  133. (c = e.q),
  134. (s = e.F),
  135. (_ = e.k),
  136. (p = e.ag),
  137. (u = e.aV),
  138. (m = e.R),
  139. (d = e.f),
  140. (f = e.r),
  141. (y = e.ah),
  142. (g = e.$),
  143. (h = e._),
  144. (w = e.am),
  145. (v = e.aT),
  146. (j = e.ai),
  147. (b = e.P),
  148. (x = e.aj),
  149. (D = e.aW),
  150. (T = e.ak),
  151. (I = e.m),
  152. (W = e.o)
  153. },
  154. function (e) {
  155. M = e.O
  156. },
  157. function (e) {
  158. k = e.q
  159. },
  160. function (e) {
  161. O = e.i
  162. },
  163. function (e) {
  164. C = e.I
  165. },
  166. function (e) {
  167. P = e.L
  168. },
  169. function (e) {
  170. R = e.D
  171. },
  172. function () {},
  173. function () {},
  174. function () {},
  175. function () {},
  176. function () {},
  177. function () {},
  178. function () {}
  179. ],
  180. execute: function () {
  181. var L = '_itemWrap_d4ln4_1',
  182. z = '_itemTop_d4ln4_7',
  183. B = '_itemTopLeft_d4ln4_15',
  184. V = '_itemTopMain_d4ln4_15',
  185. N = '_itemTopSub_d4ln4_23',
  186. S = '_itemTopRight_d4ln4_29',
  187. Y = '_imgWrap_d4ln4_34',
  188. q = '_imgIcon_d4ln4_44',
  189. E = '_itemBottom_d4ln4_49',
  190. F = '_itemBottomDot_d4ln4_57',
  191. U = '_dotMain_d4ln4_60',
  192. A = '_dotSub_d4ln4_75',
  193. H = {
  194. 1: {
  195. img: './assets/Image1.cbe96dac.png',
  196. tips: '你的演奏不太好,音准和完整性还需加强,再练一练吧~',
  197. mome: '敢于尝试'
  198. },
  199. 2: {
  200. img: './assets/Image2.0b12593f.png',
  201. tips: '你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~',
  202. mome: '还要加油哦~'
  203. },
  204. 3: {
  205. img: './assets/Image3.d7139ab6.png',
  206. tips: '你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~',
  207. mome: '突破自我'
  208. },
  209. 4: {
  210. img: './assets/Image4.4870f6bf.png',
  211. tips: '你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~',
  212. mome: '崭露头角'
  213. },
  214. 5: {
  215. img: './assets/Image5.150ad63a.png',
  216. tips: '你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~',
  217. mome: '你很棒'
  218. }
  219. },
  220. G = o({
  221. props: ['item'],
  222. name: 'detail-item',
  223. setup: function (e) {
  224. var t = function (e) {
  225. if (!e && 'number' != typeof e) return {}
  226. var t = 1
  227. return (
  228. e > 20 && e <= 40
  229. ? (t = 2)
  230. : e > 40 && e <= 60
  231. ? (t = 3)
  232. : e > 60 && e <= 80
  233. ? (t = 4)
  234. : e > 80 && (t = 5),
  235. t
  236. )
  237. },
  238. n = function () {
  239. var t =
  240. window.location.origin +
  241. '/orchestra-music-score/colexiu-report.html?id='.concat(e.item.id)
  242. _({
  243. api: 'openWebView',
  244. content: {
  245. url: t,
  246. orientation: 0,
  247. isHideTitle: !0,
  248. statusBarTextColor: !1,
  249. isOpenLight: !0
  250. }
  251. })
  252. }
  253. return function () {
  254. return a(s, null, [
  255. a('div', null, [
  256. a('div', { class: L, onClick: n }, [
  257. a('div', { class: z }, [
  258. a('div', { class: B }, [
  259. a('p', { class: V }, [e.item.musicSheetName]),
  260. a('p', { class: N }, [e.item.createTime])
  261. ]),
  262. a('div', { class: S }, [
  263. a('div', { class: Y }, [
  264. a('img', { src: H[t(e.item.score || 0)].img, alt: '' }, null)
  265. ]),
  266. a(l, { name: 'arrow', class: q }, null)
  267. ])
  268. ]),
  269. a('div', { class: E }, [
  270. a('div', { class: F }, [
  271. a('p', { class: U, style: { color: '#F67146' } }, [
  272. e.item.score || 0,
  273. a('span', null, [c('分')]),
  274. ' '
  275. ]),
  276. a('p', { class: A }, [c(' 综合得分')])
  277. ]),
  278. a('div', { class: F }, [
  279. a('p', { class: U }, [
  280. e.item.intonation || 0,
  281. a('span', null, [c('分')]),
  282. ' '
  283. ]),
  284. a('p', { class: A }, [c('音准 ')])
  285. ]),
  286. a('div', { class: F }, [
  287. a('p', { class: U }, [
  288. e.item.cadence || 0,
  289. a('span', null, [c('分')]),
  290. ' '
  291. ]),
  292. a('p', { class: A }, [c('节奏 ')])
  293. ]),
  294. a('div', { class: F }, [
  295. a('p', { class: U }, [
  296. e.item.integrity || 0,
  297. a('span', null, [c('分')]),
  298. ' '
  299. ]),
  300. a('p', { class: A }, [c('完成度 ')])
  301. ])
  302. ])
  303. ])
  304. ])
  305. ])
  306. }
  307. }
  308. }),
  309. $ = {
  310. exercisContainer: '_exercisContainer_jyryw_1',
  311. topWrap: '_topWrap_jyryw_5',
  312. topInfo: '_topInfo_jyryw_5',
  313. topInfoLeft: '_topInfoLeft_jyryw_13',
  314. headWrap: '_headWrap_jyryw_19',
  315. infoMsg: '_infoMsg_jyryw_26',
  316. tag: '_tag_jyryw_38',
  317. topInfoRight: '_topInfoRight_jyryw_51',
  318. infoDay: '_infoDay_jyryw_58',
  319. infoDayMain: '_infoDayMain_jyryw_61',
  320. infoDaysub: '_infoDaysub_jyryw_77',
  321. chioseWrap: '_chioseWrap_jyryw_84',
  322. DialogTitle: '_DialogTitle_jyryw_94',
  323. DialogConent: '_DialogConent_jyryw_114'
  324. }
  325. e(
  326. 'default',
  327. o({
  328. name: 'exercis-detail',
  329. setup: function () {
  330. p()
  331. var e = u(),
  332. o = m(d.platformApi),
  333. _ = f({
  334. showPopoverTime: !1,
  335. showPopoverOrchestra: !1,
  336. currentDate: [y().format('YYYY'), y().format('MM')],
  337. actions: [
  338. { text: '全部乐团', color: 'var(--van-primary-color)' },
  339. { text: '交付团' },
  340. { text: '晋升团' }
  341. ],
  342. id: e.query.id,
  343. heightV: 0,
  344. scrollTop: 0,
  345. isClick: !1
  346. }),
  347. L = f({
  348. practiceMonth: e.query.practiceMonth
  349. ? e.query.practiceMonth
  350. : _.currentDate[0] + '' + _.currentDate[1],
  351. practiceMonthName: e.query.practiceMonthName
  352. ? e.query.practiceMonthName
  353. : _.currentDate[0] + '年' + _.currentDate[1] + '月',
  354. orchestraId: '',
  355. orchestraName: '',
  356. page: 1,
  357. rows: 20,
  358. userId: e.query.id,
  359. clientType: 'STUDENT'
  360. }),
  361. z = m(!1),
  362. B = m(new Date(y().subtract(10, 'year').format('YYYY-MM-DD'))),
  363. V = m(new Date(y().add(10, 'year').format('YYYY-MM-DD'))),
  364. N = m(['year', 'month']),
  365. S = m(!1),
  366. Y = m(!1),
  367. q = m(!1),
  368. E = m(!1),
  369. F = m({}),
  370. U = m([]),
  371. A = (function () {
  372. var e = i(
  373. regeneratorRuntime.mark(function e() {
  374. var n, r
  375. return regeneratorRuntime.wrap(
  376. function (e) {
  377. for (;;)
  378. switch ((e.prev = e.next)) {
  379. case 0:
  380. if (!_.isClick) {
  381. e.next = 2
  382. break
  383. }
  384. return e.abrupt('return')
  385. case 2:
  386. return (
  387. (_.isClick = !0),
  388. S.value && ((U.value = []), (L.page = 1), (S.value = !1)),
  389. (e.prev = 4),
  390. (e.next = 7),
  391. I.post(''.concat(o.value, '/musicPracticeRecord/page'), {
  392. data: t(t({}, L), {}, { feature: 'EVALUATION' })
  393. })
  394. )
  395. case 7:
  396. if (
  397. ((n = e.sent), !(U.value.length > 0 && 1 === n.data.current))
  398. ) {
  399. e.next = 10
  400. break
  401. }
  402. return e.abrupt('return')
  403. case 10:
  404. ;(U.value = U.value.concat(n.data.rows || [])),
  405. (L.page = n.data.current + 1),
  406. (E.value = U.value.length > 0),
  407. (Y.value = !1),
  408. console.log(n.data, n.data.current >= n.data.pages),
  409. (q.value = n.data.current >= n.data.pages),
  410. (e.next = 24)
  411. break
  412. case 18:
  413. ;(e.prev = 18),
  414. (e.t0 = e.catch(4)),
  415. (r = e.t0.message),
  416. W(r),
  417. (E.value = !1),
  418. (q.value = !0)
  419. case 24:
  420. _.isClick = !1
  421. case 25:
  422. case 'end':
  423. return e.stop()
  424. }
  425. },
  426. e,
  427. null,
  428. [[4, 18]]
  429. )
  430. })
  431. )
  432. return function () {
  433. return e.apply(this, arguments)
  434. }
  435. })(),
  436. H = (function () {
  437. var e = i(
  438. regeneratorRuntime.mark(function e() {
  439. var n, r
  440. return regeneratorRuntime.wrap(
  441. function (e) {
  442. for (;;)
  443. switch ((e.prev = e.next)) {
  444. case 0:
  445. return (
  446. (e.prev = 0),
  447. (e.next = 3),
  448. I.get('/api-backend/student/detail/'.concat(_.id))
  449. )
  450. case 3:
  451. ;(n = e.sent),
  452. console.log(n),
  453. (F.value = t({}, n.data)),
  454. (e.next = 12)
  455. break
  456. case 8:
  457. ;(e.prev = 8), (e.t0 = e.catch(0)), (r = e.t0.message), W(r)
  458. case 12:
  459. case 'end':
  460. return e.stop()
  461. }
  462. },
  463. e,
  464. null,
  465. [[0, 8]]
  466. )
  467. })
  468. )
  469. return function () {
  470. return e.apply(this, arguments)
  471. }
  472. })(),
  473. J = m(),
  474. K = m(0)
  475. g(
  476. i(
  477. regeneratorRuntime.mark(function e() {
  478. return regeneratorRuntime.wrap(function (e) {
  479. for (;;)
  480. switch ((e.prev = e.next)) {
  481. case 0:
  482. return (e.next = 2), A()
  483. case 2:
  484. return (e.next = 4), H()
  485. case 4:
  486. window.addEventListener('scroll', Q),
  487. h(function () {
  488. var e = w(J.value).height
  489. K.value = e
  490. })
  491. case 6:
  492. case 'end':
  493. return e.stop()
  494. }
  495. }, e)
  496. })
  497. )
  498. ),
  499. v(function () {
  500. window.removeEventListener('scroll', Q)
  501. })
  502. var Q = function () {
  503. var e =
  504. window.pageYOffset ||
  505. document.documentElement.scrollTop ||
  506. document.body.scrollTop ||
  507. 0
  508. _.scrollTop = e
  509. },
  510. X = function (e) {
  511. ;(_.heightV = e), console.log(e, 'dataHeight')
  512. },
  513. Z = function (e) {
  514. ;(L.practiceMonth = e.selectedValues[0] + e.selectedValues[1]),
  515. (L.practiceMonthName =
  516. e.selectedValues[0] + '年' + e.selectedValues[1] + '月'),
  517. (_.showPopoverTime = !1),
  518. (S.value = !0),
  519. A()
  520. },
  521. ee = function () {
  522. ;(q.value = !1), (Y.value = !0), A()
  523. }
  524. return function () {
  525. var e
  526. return a(s, null, [
  527. a('div', { class: [$.exercisContainer, !E.value && 'emptyRootContainer'] }, [
  528. a('div', { class: $.topWrap, ref: J }, [
  529. a(
  530. r,
  531. { position: 'top', background: '#F8F8F8', onGetHeight: X },
  532. {
  533. default: function () {
  534. return [
  535. a(
  536. n,
  537. {
  538. border: !1,
  539. background: _.heightV > _.scrollTop ? 'transparent' : '#fff'
  540. },
  541. {
  542. right: function () {
  543. return a(
  544. l,
  545. {
  546. name: k,
  547. size: 22,
  548. color: '#333',
  549. onClick: function () {
  550. z.value = !0
  551. }
  552. },
  553. null
  554. )
  555. }
  556. }
  557. )
  558. ]
  559. }
  560. }
  561. ),
  562. a('div', { class: $.topInfo }, [
  563. a('div', { class: $.topInfoLeft }, [
  564. a('div', { class: $.headWrap }, [
  565. a(
  566. C,
  567. {
  568. src: F.value.avatar ? F.value.avatar : O,
  569. fit: 'cover',
  570. width: '68px',
  571. height: '68px'
  572. },
  573. null
  574. )
  575. ]),
  576. a('div', { class: $.infoMsg }, [
  577. a('p', null, [F.value.nickname]),
  578. a('div', { class: $.tag }, [
  579. F.value.subjectNames ? F.value.subjectNames : '暂无声部'
  580. ])
  581. ])
  582. ]),
  583. a('div', { class: $.topInfoRight }, [
  584. a('div', { class: $.infoDay }, [
  585. a('p', { class: $.infoDayMain }, [
  586. F.value.practiceDays ? F.value.practiceDays : 0,
  587. '',
  588. a('span', null, [c('天')])
  589. ]),
  590. a('p', { class: $.infoDaysub }, [c('练习天数')])
  591. ]),
  592. a('div', { class: $.infoTime }, [
  593. a('p', { class: $.infoDayMain }, [
  594. F.value.practiceTimes ? F.value.practiceTimes : 0,
  595. '',
  596. a('span', null, [c('分钟')])
  597. ]),
  598. a('p', { class: $.infoDaysub }, [c('练习时长')])
  599. ])
  600. ])
  601. ]),
  602. a(
  603. 'div',
  604. { class: 'searchGroup-single', style: 'padding-top: 0 !important;' },
  605. [
  606. a(
  607. 'div',
  608. {
  609. class: [
  610. 'searchItem',
  611. _.showPopoverTime ? 'searchItem-active' : ''
  612. ],
  613. onClick: function () {
  614. _.showPopoverTime = !0
  615. }
  616. },
  617. [a('span', null, [L.practiceMonthName])]
  618. )
  619. ]
  620. )
  621. ]),
  622. E.value
  623. ? a(
  624. M,
  625. {
  626. modelValue: S.value,
  627. 'onUpdate:modelValue': function (e) {
  628. return (S.value = e)
  629. },
  630. onRefresh: ee,
  631. style: 'min-height: 100vh;'
  632. },
  633. {
  634. default: function () {
  635. return [
  636. a(
  637. P,
  638. {
  639. 'loading-text': ' ',
  640. finished: q.value,
  641. 'finished-text': '没有更多了',
  642. onLoad: A
  643. },
  644. ((t = e =
  645. U.value.map(function (e) {
  646. return a(G, { item: e }, null)
  647. })),
  648. 'function' == typeof t ||
  649. ('[object Object]' === Object.prototype.toString.call(t) &&
  650. !T(t))
  651. ? e
  652. : {
  653. default: function () {
  654. return [e]
  655. }
  656. })
  657. )
  658. ]
  659. var t
  660. }
  661. }
  662. )
  663. : a(j, { tips: '暂无练习统计' }, null)
  664. ]),
  665. a(
  666. b,
  667. {
  668. show: _.showPopoverTime,
  669. 'onUpdate:show': function (e) {
  670. return (_.showPopoverTime = e)
  671. },
  672. position: 'bottom',
  673. round: !0,
  674. class: 'popupBottomSearch'
  675. },
  676. {
  677. default: function () {
  678. return [
  679. a(
  680. R,
  681. {
  682. onCancel: function () {
  683. _.showPopoverTime = !1
  684. },
  685. onConfirm: Z,
  686. modelValue: _.currentDate,
  687. 'onUpdate:modelValue': function (e) {
  688. return (_.currentDate = e)
  689. },
  690. minDate: B.value,
  691. maxDate: V.value,
  692. formatter: x,
  693. columnsType: N.value
  694. },
  695. null
  696. )
  697. ]
  698. }
  699. }
  700. ),
  701. a(
  702. D,
  703. {
  704. class: 'exercisDetailDialog',
  705. show: z.value,
  706. 'onUpdate:show': function (e) {
  707. return (z.value = e)
  708. },
  709. title: '提示框',
  710. confirmButtonText: '我知道了'
  711. },
  712. {
  713. title: function () {
  714. return a('div', { class: $.DialogTitle }, [
  715. a('span', null, null),
  716. a('p', null, [c('什么是练习数据')])
  717. ])
  718. },
  719. default: function () {
  720. return a('div', { class: $.DialogConent }, [
  721. a('p', null, [
  722. c(
  723. '练习数据是学员通过云教练自主练习的数据统计,可根据时间段查询学员的练习天数和练习时长'
  724. ),
  725. ' '
  726. ]),
  727. a('p', null, [c('练习天数:当天有曲目播放或测评记录即算练习')]),
  728. a('p', null, [c('练习时长:曲目播放和曲目测评的时长总和')])
  729. ])
  730. }
  731. }
  732. )
  733. ])
  734. }
  735. }
  736. })
  737. )
  738. }
  739. }
  740. }
  741. )
  742. })()
  743. =======
  744. !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 i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,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,i,o,a){try{var l=e[o](a),c=l.value}catch(s){return void n(s)}l.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function l(e){r(a,i,o,l,c,"next",e)}function c(e){r(a,i,o,l,c,"throw",e)}l(void 0)}))}}var o=document.createElement("style");o.innerHTML="._itemWrap_d4ln4_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopMain_d4ln4_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopSub_d4ln4_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29{display:flex;flex-direction:row;align-items:center}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34 img{width:100%;height:100%}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgIcon_d4ln4_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57{width:25%}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotSub_d4ln4_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_jyryw_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_jyryw_5 ._topInfo_jyryw_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._headWrap_jyryw_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 p{display:inline-block;width:3.2rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 ._tag_jyryw_38{display:inline-block;padding:0 .29333rem;background:#ff8057;border-radius:.32rem;height:.64rem;font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:.64rem;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDay_jyryw_58{margin-right:.8rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDaysub_jyryw_77{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_jyryw_5 ._chioseWrap_jyryw_84{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_jyryw_94{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_jyryw_94 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_jyryw_94 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_jyryw_114{padding:0 .66667rem .8rem}._DialogConent_jyryw_114 p{font-size:.42667rem;line-height:.8rem;color:#333}.exercisDetailDialog{border-radius:.26667rem}.exercisDetailDialog .van-dialog__header{padding-top:0!important}.van-dialog{top:47%}\n",document.head.appendChild(o),System.register(["./index-legacy.35b085b7.js","./index-legacy.e2f02fbe.js","./index-legacy.5250e410.js","./index-legacy.c698a6af.js","./quest-icon-legacy.8dd60bcc.js","./icon_student-legacy.6118fd72.js","./index-legacy.8f701eeb.js","./index-legacy.60605ef4.js","./index-legacy.1399babf.js","./index-legacy.2260495b.js","./use-tab-status-legacy.8f29db2f.js","./utils-legacy.a517f66f.js","./index-legacy.fa2325b5.js","./index-legacy.f228b6b5.js","./index-legacy.9800e001.js","./index-legacy.eb41f645.js"],(function(e){"use strict";var n,r,o,a,l,c,s,_,p,u,m,f,d,y,g,h,w,v,j,b,x,D,T,I,W,M,k,O,C,P,R;return{setters:[function(e){n=e.O},function(e){r=e.O},function(e){o=e.d,a=e.c,l=e.a5,c=e.q,s=e.F,_=e.k,p=e.ag,u=e.aV,m=e.R,f=e.f,d=e.r,y=e.ah,g=e.$,h=e._,w=e.am,v=e.aT,j=e.ai,b=e.P,x=e.aj,D=e.aW,T=e.ak,I=e.m,W=e.o},function(e){M=e.O},function(e){k=e.q},function(e){O=e.i},function(e){C=e.I},function(e){P=e.L},function(e){R=e.D},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var L="_itemWrap_d4ln4_1",z="_itemTop_d4ln4_7",B="_itemTopLeft_d4ln4_15",V="_itemTopMain_d4ln4_15",N="_itemTopSub_d4ln4_23",S="_itemTopRight_d4ln4_29",Y="_imgWrap_d4ln4_34",q="_imgIcon_d4ln4_44",E="_itemBottom_d4ln4_49",F="_itemBottomDot_d4ln4_57",U="_dotMain_d4ln4_60",A="_dotSub_d4ln4_75",H={1:{img:"./assets/Image1.cbe96dac.png",tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:"./assets/Image2.0b12593f.png",tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:"./assets/Image3.d7139ab6.png",tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:"./assets/Image4.4870f6bf.png",tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:"./assets/Image5.150ad63a.png",tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},G=o({props:["item"],name:"detail-item",setup:function(e){var t=function(e){if(!e&&"number"!=typeof e)return{};var t=1;return e>20&&e<=40?t=2:e>40&&e<=60?t=3:e>60&&e<=80?t=4:e>80&&(t=5),t},n=function(){var t=window.location.origin+"/orchestra-music-score/colexiu-report.html?id=".concat(e.item.id);_({api:"openWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return a(s,null,[a("div",null,[a("div",{class:L,onClick:n},[a("div",{class:z},[a("div",{class:B},[a("p",{class:V},[e.item.musicSheetName]),a("p",{class:N},[e.item.createTime])]),a("div",{class:S},[a("div",{class:Y},[a("img",{src:H[t(e.item.score||0)].img,alt:""},null)]),a(l,{name:"arrow",class:q},null)])]),a("div",{class:E},[a("div",{class:F},[a("p",{class:U,style:{color:"#F67146"}},[e.item.score||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c(" 综合得分")])]),a("div",{class:F},[a("p",{class:U},[e.item.intonation||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("音准 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.cadence||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("节奏 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.integrity||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("完成度 ")])])])])])])}}}),$={exercisContainer:"_exercisContainer_jyryw_1",topWrap:"_topWrap_jyryw_5",topInfo:"_topInfo_jyryw_5",topInfoLeft:"_topInfoLeft_jyryw_13",headWrap:"_headWrap_jyryw_19",infoMsg:"_infoMsg_jyryw_26",tag:"_tag_jyryw_38",topInfoRight:"_topInfoRight_jyryw_51",infoDay:"_infoDay_jyryw_58",infoDayMain:"_infoDayMain_jyryw_61",infoDaysub:"_infoDaysub_jyryw_77",chioseWrap:"_chioseWrap_jyryw_84",DialogTitle:"_DialogTitle_jyryw_94",DialogConent:"_DialogConent_jyryw_114"};e("default",o({name:"exercis-detail",setup:function(){p();var e=u(),o=m(f.platformApi),_=d({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[y().format("YYYY"),y().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id,heightV:0,scrollTop:0,isClick:!1}),L=d({practiceMonth:e.query.practiceMonth?e.query.practiceMonth:_.currentDate[0]+""+_.currentDate[1],practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:_.currentDate[0]+"年"+_.currentDate[1]+"月",orchestraId:"",orchestraName:"",page:1,rows:20,userId:e.query.id,clientType:"STUDENT"}),z=m(!1),B=m(new Date(y().subtract(10,"year").format("YYYY-MM-DD"))),V=m(new Date(y().add(10,"year").format("YYYY-MM-DD"))),N=m(["year","month"]),S=m(!1),Y=m(!1),q=m(!1),E=m(!1),F=m({}),U=m([]),A=function(){var e=i(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.isClick){e.next=2;break}return e.abrupt("return");case 2:return _.isClick=!0,S.value&&(U.value=[],L.page=1,S.value=!1),e.prev=4,e.next=7,I.post("".concat(o.value,"/musicPracticeRecord/page"),{data:t(t({},L),{},{feature:"EVALUATION"})});case 7:if(n=e.sent,!(U.value.length>0&&1===n.data.current)){e.next=10;break}return e.abrupt("return");case 10:U.value=U.value.concat(n.data.rows||[]),L.page=n.data.current+1,E.value=U.value.length>0,Y.value=!1,console.log(n.data,n.data.current>=n.data.pages),q.value=n.data.current>=n.data.pages,e.next=24;break;case 18:e.prev=18,e.t0=e.catch(4),r=e.t0.message,W(r),E.value=!1,q.value=!0;case 24:_.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[4,18]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=i(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,I.get("/api-backend/student/detail/".concat(_.id));case 3:n=e.sent,console.log(n),F.value=t({},n.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),r=e.t0.message,W(r);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),J=m(),K=m(0);g(i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.next=4,H();case 4:window.addEventListener("scroll",Q),h((function(){var e=w(J.value).height;K.value=e}));case 6:case"end":return e.stop()}}),e)})))),v((function(){window.removeEventListener("scroll",Q)}));var Q=function(){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;_.scrollTop=e},X=function(e){_.heightV=e,console.log(e,"dataHeight")},Z=function(e){L.practiceMonth=e.selectedValues[0]+e.selectedValues[1],L.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",_.showPopoverTime=!1,S.value=!0,A()},ee=function(){q.value=!1,Y.value=!0,A()};return function(){var e;return a(s,null,[a("div",{class:[$.exercisContainer,!E.value&&"emptyRootContainer"]},[a("div",{class:$.topWrap,ref:J},[a(r,{position:"top",background:"#F8F8F8",onGetHeight:X},{default:function(){return[a(n,{border:!1,background:_.heightV>_.scrollTop?"transparent":"#fff"},{right:function(){return a(l,{name:k,size:22,color:"#333",onClick:function(){z.value=!0}},null)}})]}}),a("div",{class:$.topInfo},[a("div",{class:$.topInfoLeft},[a("div",{class:$.headWrap},[a(C,{src:F.value.avatar?F.value.avatar:O,fit:"cover",width:"68px",height:"68px"},null)]),a("div",{class:$.infoMsg},[a("p",null,[F.value.nickname]),a("div",{class:$.tag},[F.value.subjectNames?F.value.subjectNames:"暂无声部"])])]),a("div",{class:$.topInfoRight},[a("div",{class:$.infoDay},[a("p",{class:$.infoDayMain},[F.value.practiceDays?F.value.practiceDays:0,"",a("span",null,[c("天")])]),a("p",{class:$.infoDaysub},[c("练习天数")])]),a("div",{class:$.infoTime},[a("p",{class:$.infoDayMain},[F.value.practiceTimes?F.value.practiceTimes:0,"",a("span",null,[c("分钟")])]),a("p",{class:$.infoDaysub},[c("练习时长")])])])]),a("div",{class:"searchGroup-single",style:"padding-top: 0 !important;"},[a("div",{class:["searchItem",_.showPopoverTime?"searchItem-active":""],onClick:function(){_.showPopoverTime=!0}},[a("span",null,[L.practiceMonthName])])])]),E.value?a(M,{modelValue:S.value,"onUpdate:modelValue":function(e){return S.value=e},onRefresh:ee,style:"min-height: 100vh;"},{default:function(){return[a(P,{"loading-text":" ",finished:q.value,"finished-text":"没有更多了",onLoad:A},(t=e=U.value.map((function(e){return a(G,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!T(t)?e:{default:function(){return[e]}}))];var t}}):a(j,{tips:"暂无练习统计"},null)]),a(b,{show:_.showPopoverTime,"onUpdate:show":function(e){return _.showPopoverTime=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[a(R,{onCancel:function(){_.showPopoverTime=!1},onConfirm:Z,modelValue:_.currentDate,"onUpdate:modelValue":function(e){return _.currentDate=e},minDate:B.value,maxDate:V.value,formatter:x,columnsType:N.value},null)]}}),a(D,{class:"exercisDetailDialog",show:z.value,"onUpdate:show":function(e){return z.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return a("div",{class:$.DialogTitle},[a("span",null,null),a("p",null,[c("什么是练习数据")])])},default:function(){return a("div",{class:$.DialogConent},[a("p",null,[c("练习数据是学生通过云教练自主练习的数据统计,可根据时间段查询学生的练习天数和练习时长")," "]),a("p",null,[c("练习天数:当天有曲目播放或测评记录即算练习")]),a("p",null,[c("练习时长:曲目播放和曲目测评的时长总和")])])}})])}}}))}}}))}();
  745. >>>>>>> online:dist/assets/exercis-detail-legacy.cac51217.js
  746. =======
  747. !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 i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,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,i,o,a){try{var l=e[o](a),c=l.value}catch(s){return void n(s)}l.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function l(e){r(a,i,o,l,c,"next",e)}function c(e){r(a,i,o,l,c,"throw",e)}l(void 0)}))}}var o=document.createElement("style");o.innerHTML="._itemWrap_d4ln4_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopMain_d4ln4_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopSub_d4ln4_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29{display:flex;flex-direction:row;align-items:center}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34 img{width:100%;height:100%}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgIcon_d4ln4_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57{width:25%}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotSub_d4ln4_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_jyryw_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_jyryw_5 ._topInfo_jyryw_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._headWrap_jyryw_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 p{display:inline-block;width:3.2rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 ._tag_jyryw_38{display:inline-block;padding:0 .29333rem;background:#ff8057;border-radius:.32rem;height:.64rem;font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:.64rem;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDay_jyryw_58{margin-right:.8rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDaysub_jyryw_77{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_jyryw_5 ._chioseWrap_jyryw_84{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_jyryw_94{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_jyryw_94 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_jyryw_94 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_jyryw_114{padding:0 .66667rem .8rem}._DialogConent_jyryw_114 p{font-size:.42667rem;line-height:.8rem;color:#333}.exercisDetailDialog{border-radius:.26667rem}.exercisDetailDialog .van-dialog__header{padding-top:0!important}.van-dialog{top:47%}\n",document.head.appendChild(o),System.register(["./index-legacy.4a2df9b1.js","./index-legacy.a772c019.js","./index-legacy.e776119d.js","./index-legacy.4da38622.js","./quest-icon-legacy.8dd60bcc.js","./icon_student-legacy.6118fd72.js","./index-legacy.d8701818.js","./index-legacy.7b97ed13.js","./index-legacy.2a9dc00e.js","./index-legacy.4e7fb9ef.js","./use-tab-status-legacy.83fb85a3.js","./utils-legacy.a1f6ead8.js","./index-legacy.3fb3230e.js","./index-legacy.72a95bf0.js","./index-legacy.07af1a6e.js","./index-legacy.9fdb4fc9.js"],(function(e){"use strict";var n,r,o,a,l,c,s,_,p,u,m,d,f,y,g,h,w,v,j,b,x,D,T,I,W,M,k,O,C,P,R;return{setters:[function(e){n=e.O},function(e){r=e.O},function(e){o=e.d,a=e.c,l=e.a5,c=e.q,s=e.F,_=e.k,p=e.ag,u=e.aV,m=e.R,d=e.f,f=e.r,y=e.ah,g=e.$,h=e._,w=e.am,v=e.aT,j=e.ai,b=e.P,x=e.aj,D=e.aW,T=e.ak,I=e.m,W=e.o},function(e){M=e.O},function(e){k=e.q},function(e){O=e.i},function(e){C=e.I},function(e){P=e.L},function(e){R=e.D},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var L="_itemWrap_d4ln4_1",z="_itemTop_d4ln4_7",B="_itemTopLeft_d4ln4_15",V="_itemTopMain_d4ln4_15",N="_itemTopSub_d4ln4_23",S="_itemTopRight_d4ln4_29",Y="_imgWrap_d4ln4_34",q="_imgIcon_d4ln4_44",E="_itemBottom_d4ln4_49",F="_itemBottomDot_d4ln4_57",U="_dotMain_d4ln4_60",A="_dotSub_d4ln4_75",H={1:{img:"./assets/Image1.cbe96dac.png",tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:"./assets/Image2.0b12593f.png",tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:"./assets/Image3.d7139ab6.png",tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:"./assets/Image4.4870f6bf.png",tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:"./assets/Image5.150ad63a.png",tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},G=o({props:["item"],name:"detail-item",setup:function(e){var t=function(e){if(!e&&"number"!=typeof e)return{};var t=1;return e>20&&e<=40?t=2:e>40&&e<=60?t=3:e>60&&e<=80?t=4:e>80&&(t=5),t},n=function(){var t=window.location.origin+"/orchestra-music-score/colexiu-report.html?id=".concat(e.item.id);_({api:"openWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return a(s,null,[a("div",null,[a("div",{class:L,onClick:n},[a("div",{class:z},[a("div",{class:B},[a("p",{class:V},[e.item.musicSheetName]),a("p",{class:N},[e.item.createTime])]),a("div",{class:S},[a("div",{class:Y},[a("img",{src:H[t(e.item.score||0)].img,alt:""},null)]),a(l,{name:"arrow",class:q},null)])]),a("div",{class:E},[a("div",{class:F},[a("p",{class:U,style:{color:"#F67146"}},[e.item.score||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c(" 综合得分")])]),a("div",{class:F},[a("p",{class:U},[e.item.intonation||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("音准 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.cadence||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("节奏 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.integrity||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("完成度 ")])])])])])])}}}),$={exercisContainer:"_exercisContainer_jyryw_1",topWrap:"_topWrap_jyryw_5",topInfo:"_topInfo_jyryw_5",topInfoLeft:"_topInfoLeft_jyryw_13",headWrap:"_headWrap_jyryw_19",infoMsg:"_infoMsg_jyryw_26",tag:"_tag_jyryw_38",topInfoRight:"_topInfoRight_jyryw_51",infoDay:"_infoDay_jyryw_58",infoDayMain:"_infoDayMain_jyryw_61",infoDaysub:"_infoDaysub_jyryw_77",chioseWrap:"_chioseWrap_jyryw_84",DialogTitle:"_DialogTitle_jyryw_94",DialogConent:"_DialogConent_jyryw_114"};e("default",o({name:"exercis-detail",setup:function(){p();var e=u(),o=m(d.platformApi),_=f({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[y().format("YYYY"),y().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id,heightV:0,scrollTop:0,isClick:!1}),L=f({practiceMonth:e.query.practiceMonth?e.query.practiceMonth:_.currentDate[0]+""+_.currentDate[1],practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:_.currentDate[0]+"年"+_.currentDate[1]+"月",orchestraId:"",orchestraName:"",page:1,rows:20,userId:e.query.id,clientType:"STUDENT"}),z=m(!1),B=m(new Date(y().subtract(10,"year").format("YYYY-MM-DD"))),V=m(new Date(y().add(10,"year").format("YYYY-MM-DD"))),N=m(["year","month"]),S=m(!1),Y=m(!1),q=m(!1),E=m(!1),F=m({}),U=m([]),A=function(){var e=i(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.isClick){e.next=2;break}return e.abrupt("return");case 2:return _.isClick=!0,S.value&&(U.value=[],L.page=1,S.value=!1),e.prev=4,e.next=7,I.post("".concat(o.value,"/musicPracticeRecord/page"),{data:t(t({},L),{},{feature:"EVALUATION"})});case 7:if(n=e.sent,!(U.value.length>0&&1===n.data.current)){e.next=10;break}return e.abrupt("return");case 10:U.value=U.value.concat(n.data.rows||[]),L.page=n.data.current+1,E.value=U.value.length>0,Y.value=!1,console.log(n.data,n.data.current>=n.data.pages),q.value=n.data.current>=n.data.pages,e.next=24;break;case 18:e.prev=18,e.t0=e.catch(4),r=e.t0.message,W(r),E.value=!1,q.value=!0;case 24:_.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[4,18]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=i(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,I.get("/api-backend/student/detail/".concat(_.id));case 3:n=e.sent,console.log(n),F.value=t({},n.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),r=e.t0.message,W(r);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),J=m(),K=m(0);g(i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.next=4,H();case 4:window.addEventListener("scroll",Q),h((function(){var e=w(J.value).height;K.value=e}));case 6:case"end":return e.stop()}}),e)})))),v((function(){window.removeEventListener("scroll",Q)}));var Q=function(){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;_.scrollTop=e},X=function(e){_.heightV=e,console.log(e,"dataHeight")},Z=function(e){L.practiceMonth=e.selectedValues[0]+e.selectedValues[1],L.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",_.showPopoverTime=!1,S.value=!0,A()},ee=function(){q.value=!1,Y.value=!0,A()};return function(){var e;return a(s,null,[a("div",{class:[$.exercisContainer,!E.value&&"emptyRootContainer"]},[a("div",{class:$.topWrap,ref:J},[a(r,{position:"top",background:"#F8F8F8",onGetHeight:X},{default:function(){return[a(n,{border:!1,background:_.heightV>_.scrollTop?"transparent":"#fff"},{right:function(){return a(l,{name:k,size:22,color:"#333",onClick:function(){z.value=!0}},null)}})]}}),a("div",{class:$.topInfo},[a("div",{class:$.topInfoLeft},[a("div",{class:$.headWrap},[a(C,{src:F.value.avatar?F.value.avatar:O,fit:"cover",width:"68px",height:"68px"},null)]),a("div",{class:$.infoMsg},[a("p",null,[F.value.nickname]),a("div",{class:$.tag},[F.value.subjectNames?F.value.subjectNames:"暂无声部"])])]),a("div",{class:$.topInfoRight},[a("div",{class:$.infoDay},[a("p",{class:$.infoDayMain},[F.value.practiceDays?F.value.practiceDays:0,"",a("span",null,[c("天")])]),a("p",{class:$.infoDaysub},[c("练习天数")])]),a("div",{class:$.infoTime},[a("p",{class:$.infoDayMain},[F.value.practiceTimes?F.value.practiceTimes:0,"",a("span",null,[c("分钟")])]),a("p",{class:$.infoDaysub},[c("练习时长")])])])]),a("div",{class:"searchGroup-single",style:"padding-top: 0 !important;"},[a("div",{class:["searchItem",_.showPopoverTime?"searchItem-active":""],onClick:function(){_.showPopoverTime=!0}},[a("span",null,[L.practiceMonthName])])])]),E.value?a(M,{modelValue:S.value,"onUpdate:modelValue":function(e){return S.value=e},onRefresh:ee,style:"min-height: 100vh;"},{default:function(){return[a(P,{"loading-text":" ",finished:q.value,"finished-text":"没有更多了",onLoad:A},(t=e=U.value.map((function(e){return a(G,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!T(t)?e:{default:function(){return[e]}}))];var t}}):a(j,{tips:"暂无练习统计"},null)]),a(b,{show:_.showPopoverTime,"onUpdate:show":function(e){return _.showPopoverTime=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[a(R,{onCancel:function(){_.showPopoverTime=!1},onConfirm:Z,modelValue:_.currentDate,"onUpdate:modelValue":function(e){return _.currentDate=e},minDate:B.value,maxDate:V.value,formatter:x,columnsType:N.value},null)]}}),a(D,{class:"exercisDetailDialog",show:z.value,"onUpdate:show":function(e){return z.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return a("div",{class:$.DialogTitle},[a("span",null,null),a("p",null,[c("什么是练习数据")])])},default:function(){return a("div",{class:$.DialogConent},[a("p",null,[c("练习数据是学生通过云教练自主练习的数据统计,可根据时间段查询学生的练习天数和练习时长")," "]),a("p",null,[c("练习天数:当天有曲目播放或测评记录即算练习")]),a("p",null,[c("练习时长:曲目播放和曲目测评的时长总和")])])}})])}}}))}}}))}();
  748. >>>>>>> online:dist/assets/exercis-detail-legacy.1414baec.js
  749. =======
  750. !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 i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,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,i,o,a){try{var l=e[o](a),c=l.value}catch(s){return void n(s)}l.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function l(e){r(a,i,o,l,c,"next",e)}function c(e){r(a,i,o,l,c,"throw",e)}l(void 0)}))}}var o=document.createElement("style");o.innerHTML="._itemWrap_d4ln4_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopMain_d4ln4_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopSub_d4ln4_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29{display:flex;flex-direction:row;align-items:center}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34 img{width:100%;height:100%}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgIcon_d4ln4_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57{width:25%}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotSub_d4ln4_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_jyryw_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_jyryw_5 ._topInfo_jyryw_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._headWrap_jyryw_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 p{display:inline-block;width:3.2rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoLeft_jyryw_13 ._infoMsg_jyryw_26 ._tag_jyryw_38{display:inline-block;padding:0 .29333rem;background:#ff8057;border-radius:.32rem;height:.64rem;font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:.64rem;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDay_jyryw_58{margin-right:.8rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400;text-align:center}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDayMain_jyryw_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_jyryw_5 ._topInfo_jyryw_5 ._topInfoRight_jyryw_51 ._infoDaysub_jyryw_77{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_jyryw_5 ._chioseWrap_jyryw_84{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_jyryw_94{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_jyryw_94 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_jyryw_94 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_jyryw_114{padding:0 .66667rem .8rem}._DialogConent_jyryw_114 p{font-size:.42667rem;line-height:.8rem;color:#333}.exercisDetailDialog{border-radius:.26667rem}.exercisDetailDialog .van-dialog__header{padding-top:0!important}.van-dialog{top:47%}\n",document.head.appendChild(o),System.register(["./index-legacy.80e3d310.js","./index-legacy.62e2337f.js","./index-legacy.8574e5e7.js","./index-legacy.29da1082.js","./quest-icon-legacy.8dd60bcc.js","./icon_student-legacy.6118fd72.js","./index-legacy.699e3e6f.js","./index-legacy.e89423b9.js","./index-legacy.db4f866f.js","./index-legacy.f72db5af.js","./use-tab-status-legacy.2bd37260.js","./utils-legacy.781846ba.js","./index-legacy.c79dbddd.js","./index-legacy.083a9152.js","./index-legacy.c7f88300.js","./index-legacy.6a33e667.js"],(function(e){"use strict";var n,r,o,a,l,c,s,_,p,u,d,m,f,y,g,h,w,v,j,b,x,D,T,I,W,M,k,O,C,P,R;return{setters:[function(e){n=e.O},function(e){r=e.O},function(e){o=e.d,a=e.c,l=e.a5,c=e.q,s=e.F,_=e.k,p=e.ag,u=e.aV,d=e.R,m=e.f,f=e.r,y=e.ah,g=e.$,h=e._,w=e.am,v=e.aT,j=e.ai,b=e.P,x=e.aj,D=e.aW,T=e.ak,I=e.m,W=e.o},function(e){M=e.O},function(e){k=e.q},function(e){O=e.i},function(e){C=e.I},function(e){P=e.L},function(e){R=e.D},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var L="_itemWrap_d4ln4_1",z="_itemTop_d4ln4_7",B="_itemTopLeft_d4ln4_15",V="_itemTopMain_d4ln4_15",N="_itemTopSub_d4ln4_23",S="_itemTopRight_d4ln4_29",Y="_imgWrap_d4ln4_34",q="_imgIcon_d4ln4_44",E="_itemBottom_d4ln4_49",F="_itemBottomDot_d4ln4_57",U="_dotMain_d4ln4_60",A="_dotSub_d4ln4_75",H={1:{img:"./assets/Image1.cbe96dac.png",tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:"./assets/Image2.0b12593f.png",tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:"./assets/Image3.d7139ab6.png",tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:"./assets/Image4.4870f6bf.png",tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:"./assets/Image5.150ad63a.png",tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},G=o({props:["item"],name:"detail-item",setup:function(e){var t=function(e){if(!e&&"number"!=typeof e)return{};var t=1;return e>20&&e<=40?t=2:e>40&&e<=60?t=3:e>60&&e<=80?t=4:e>80&&(t=5),t},n=function(){var t=window.location.origin+"/orchestra-music-score/colexiu-report.html?id=".concat(e.item.id);_({api:"openWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return a(s,null,[a("div",null,[a("div",{class:L,onClick:n},[a("div",{class:z},[a("div",{class:B},[a("p",{class:V},[e.item.musicSheetName]),a("p",{class:N},[e.item.createTime])]),a("div",{class:S},[a("div",{class:Y},[a("img",{src:H[t(e.item.score||0)].img,alt:""},null)]),a(l,{name:"arrow",class:q},null)])]),a("div",{class:E},[a("div",{class:F},[a("p",{class:U,style:{color:"#F67146"}},[e.item.score||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c(" 综合得分")])]),a("div",{class:F},[a("p",{class:U},[e.item.intonation||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("音准 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.cadence||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("节奏 ")])]),a("div",{class:F},[a("p",{class:U},[e.item.integrity||0,a("span",null,[c("分")])," "]),a("p",{class:A},[c("完成度 ")])])])])])])}}}),$={exercisContainer:"_exercisContainer_jyryw_1",topWrap:"_topWrap_jyryw_5",topInfo:"_topInfo_jyryw_5",topInfoLeft:"_topInfoLeft_jyryw_13",headWrap:"_headWrap_jyryw_19",infoMsg:"_infoMsg_jyryw_26",tag:"_tag_jyryw_38",topInfoRight:"_topInfoRight_jyryw_51",infoDay:"_infoDay_jyryw_58",infoDayMain:"_infoDayMain_jyryw_61",infoDaysub:"_infoDaysub_jyryw_77",chioseWrap:"_chioseWrap_jyryw_84",DialogTitle:"_DialogTitle_jyryw_94",DialogConent:"_DialogConent_jyryw_114"};e("default",o({name:"exercis-detail",setup:function(){p();var e=u(),o=d(m.platformApi),_=f({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[y().format("YYYY"),y().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id,heightV:0,scrollTop:0,isClick:!1}),L=f({practiceMonth:e.query.practiceMonth?e.query.practiceMonth:_.currentDate[0]+""+_.currentDate[1],practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:_.currentDate[0]+"年"+_.currentDate[1]+"月",orchestraId:"",orchestraName:"",page:1,rows:20,userId:e.query.id,clientType:"STUDENT"}),z=d(!1),B=d(new Date(y().subtract(10,"year").format("YYYY-MM-DD"))),V=d(new Date(y().add(10,"year").format("YYYY-MM-DD"))),N=d(["year","month"]),S=d(!1),Y=d(!1),q=d(!1),E=d(!1),F=d({}),U=d([]),A=function(){var e=i(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.isClick){e.next=2;break}return e.abrupt("return");case 2:return _.isClick=!0,S.value&&(U.value=[],L.page=1,S.value=!1),e.prev=4,e.next=7,I.post("".concat(o.value,"/musicPracticeRecord/page"),{data:t(t({},L),{},{feature:"EVALUATION"})});case 7:if(n=e.sent,!(U.value.length>0&&1===n.data.current)){e.next=10;break}return e.abrupt("return");case 10:U.value=U.value.concat(n.data.rows||[]),L.page=n.data.current+1,E.value=U.value.length>0,Y.value=!1,console.log(n.data,n.data.current>=n.data.pages),q.value=n.data.current>=n.data.pages,e.next=24;break;case 18:e.prev=18,e.t0=e.catch(4),r=e.t0.message,W(r),E.value=!1,q.value=!0;case 24:_.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[4,18]])})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=i(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,I.get("/api-backend/student/detail/".concat(_.id));case 3:n=e.sent,console.log(n),F.value=t({},n.data),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),e.t0.message;case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),J=d(),K=d(0);g(i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.next=4,H();case 4:window.addEventListener("scroll",Q),h((function(){var e=w(J.value).height;K.value=e}));case 6:case"end":return e.stop()}}),e)})))),v((function(){window.removeEventListener("scroll",Q)}));var Q=function(){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;_.scrollTop=e},X=function(e){_.heightV=e,console.log(e,"dataHeight")},Z=function(e){L.practiceMonth=e.selectedValues[0]+e.selectedValues[1],L.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",_.showPopoverTime=!1,S.value=!0,A()},ee=function(){q.value=!1,Y.value=!0,A()};return function(){var e;return a(s,null,[a("div",{class:[$.exercisContainer,!E.value&&"emptyRootContainer"]},[a("div",{class:$.topWrap,ref:J},[a(r,{position:"top",background:"#F8F8F8",onGetHeight:X},{default:function(){return[a(n,{border:!1,background:_.heightV>_.scrollTop?"transparent":"#fff"},{right:function(){return a(l,{name:k,size:22,color:"#333",onClick:function(){z.value=!0}},null)}})]}}),a("div",{class:$.topInfo},[a("div",{class:$.topInfoLeft},[a("div",{class:$.headWrap},[a(C,{src:F.value.avatar?F.value.avatar:O,fit:"cover",width:"68px",height:"68px"},null)]),a("div",{class:$.infoMsg},[a("p",null,[F.value.nickname]),a("div",{class:$.tag},[F.value.subjectNames?F.value.subjectNames:"暂无声部"])])]),a("div",{class:$.topInfoRight},[a("div",{class:$.infoDay},[a("p",{class:$.infoDayMain},[F.value.practiceDays?F.value.practiceDays:0,"",a("span",null,[c("天")])]),a("p",{class:$.infoDaysub},[c("练习天数")])]),a("div",{class:$.infoTime},[a("p",{class:$.infoDayMain},[F.value.practiceTimes?F.value.practiceTimes:0,"",a("span",null,[c("分钟")])]),a("p",{class:$.infoDaysub},[c("练习时长")])])])]),a("div",{class:"searchGroup-single",style:"padding-top: 0 !important;"},[a("div",{class:["searchItem",_.showPopoverTime?"searchItem-active":""],onClick:function(){_.showPopoverTime=!0}},[a("span",null,[L.practiceMonthName])])])]),E.value?a(M,{modelValue:S.value,"onUpdate:modelValue":function(e){return S.value=e},onRefresh:ee,style:"min-height: 100vh;"},{default:function(){return[a(P,{"loading-text":" ",finished:q.value,"finished-text":"没有更多了",onLoad:A},(t=e=U.value.map((function(e){return a(G,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!T(t)?e:{default:function(){return[e]}}))];var t}}):a(j,{tips:"暂无练习统计"},null)]),a(b,{show:_.showPopoverTime,"onUpdate:show":function(e){return _.showPopoverTime=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[a(R,{onCancel:function(){_.showPopoverTime=!1},onConfirm:Z,modelValue:_.currentDate,"onUpdate:modelValue":function(e){return _.currentDate=e},minDate:B.value,maxDate:V.value,formatter:x,columnsType:N.value},null)]}}),a(D,{class:"exercisDetailDialog",show:z.value,"onUpdate:show":function(e){return z.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return a("div",{class:$.DialogTitle},[a("span",null,null),a("p",null,[c("什么是练习数据")])])},default:function(){return a("div",{class:$.DialogConent},[a("p",null,[c("练习数据是学生通过云教练自主练习的数据统计,可根据时间段查询学生的练习天数和练习时长")," "]),a("p",null,[c("练习天数:当天有曲目播放或测评记录即算练习")]),a("p",null,[c("练习时长:曲目播放和曲目测评的时长总和")])])}})])}}}))}}}))}();
  751. >>>>>>> online:dist/assets/exercis-detail-legacy.e5ea4648.js