exercis-detail-legacy.bf4998d0.js 34 KB

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