index-d2ed1ee4.js 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889
  1. import { N as _ } from './Scrollbar-27c35a2f.js';
  2. import {
  3. E as L,
  4. w as $,
  5. r as w,
  6. S as V,
  7. q as z,
  8. d as y,
  9. e as S,
  10. f as e,
  11. k as c,
  12. x as D,
  13. U as P,
  14. V as B,
  15. u as W,
  16. h as F,
  17. R as k,
  18. W as U,
  19. m as N,
  20. n as m,
  21. Q as f,
  22. j as u,
  23. z as K,
  24. F as T
  25. } from './index-95e721f9.js';
  26. import { C } from './index-c8870a16.js';
  27. import { b as H, c as J, i as Q } from './index-4b90fba4.js';
  28. import './index-73922017.js';
  29. function x(t) {
  30. var s;
  31. const a = J(t);
  32. return (s = a == null ? void 0 : a.$el) != null ? s : a;
  33. }
  34. const Z = Q ? window : void 0;
  35. function X() {
  36. const t = w(!1);
  37. return (
  38. V() &&
  39. z(() => {
  40. t.value = !0;
  41. }),
  42. t
  43. );
  44. }
  45. function Y(t) {
  46. const s = X();
  47. return L(() => (s.value, !!t()));
  48. }
  49. var O = Object.getOwnPropertySymbols,
  50. ee = Object.prototype.hasOwnProperty,
  51. te = Object.prototype.propertyIsEnumerable,
  52. se = (t, s) => {
  53. var a = {};
  54. for (var l in t) ee.call(t, l) && s.indexOf(l) < 0 && (a[l] = t[l]);
  55. if (t != null && O)
  56. for (var l of O(t)) s.indexOf(l) < 0 && te.call(t, l) && (a[l] = t[l]);
  57. return a;
  58. };
  59. function le(t, s, a = {}) {
  60. const l = a,
  61. { window: n = Z } = l,
  62. p = se(l, ['window']);
  63. let o;
  64. const b = Y(() => n && 'ResizeObserver' in n),
  65. j = () => {
  66. o && (o.disconnect(), (o = void 0));
  67. },
  68. R = L(() => (Array.isArray(t) ? t.map(A => x(A)) : [x(t)])),
  69. q = $(
  70. R,
  71. A => {
  72. if ((j(), b.value && n)) {
  73. o = new ResizeObserver(s);
  74. for (const I of A) I && o.observe(I, p);
  75. }
  76. },
  77. { immediate: !0, flush: 'post', deep: !0 }
  78. ),
  79. M = () => {
  80. j(), q();
  81. };
  82. return H(M), { isSupported: b, stop: M };
  83. }
  84. const ne = '_prepareLessons_pjn4h_1',
  85. ae = '_directoryMain_pjn4h_5',
  86. re = '_resourceMain_pjn4h_6',
  87. ce = '_lessonMain_pjn4h_11',
  88. v = {
  89. prepareLessons: ne,
  90. directoryMain: ae,
  91. resourceMain: re,
  92. lessonMain: ce
  93. },
  94. oe = '_directoryList_85cu9_1',
  95. ue = '_scrollBar_85cu9_8',
  96. ie = '_iconArrow_85cu9_31',
  97. de = '_treeParent_85cu9_34',
  98. pe = '_treeChild_85cu9_37',
  99. he = '_treeItem_85cu9_40',
  100. _e = '_title_85cu9_51',
  101. ye = '_titleSelect_85cu9_59',
  102. fe = '_arrow_85cu9_63',
  103. me = '_arrowSelect_85cu9_70',
  104. be = '_childArrow_85cu9_74',
  105. ve = '_childItem_85cu9_77',
  106. ge = '_childSelect_85cu9_80',
  107. r = {
  108. directoryList: oe,
  109. scrollBar: ue,
  110. 'select-directory': '_select-directory_85cu9_12',
  111. iconArrow: ie,
  112. treeParent: de,
  113. treeChild: pe,
  114. treeItem: he,
  115. title: _e,
  116. titleSelect: ye,
  117. arrow: fe,
  118. arrowSelect: me,
  119. childArrow: be,
  120. childItem: ve,
  121. childSelect: ge
  122. };
  123. function Ce(t) {
  124. return (
  125. typeof t == 'function' ||
  126. (Object.prototype.toString.call(t) === '[object Object]' && !B(t))
  127. );
  128. }
  129. const we = y({
  130. name: 'directory-main',
  131. setup() {
  132. const t = w(!0),
  133. s = S({ expandedKey: null, selectKey: 10 }),
  134. a = w([
  135. {
  136. key: 1,
  137. label:
  138. '第一单元 我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里我愿住在童话里',
  139. selected: !0,
  140. children: [
  141. { key: 10, label: '【欣赏】永远住在童话里' },
  142. { key: 11, label: '【欣赏】糖果仙子舞曲' },
  143. { key: 12, label: '【知识】音的高低' },
  144. { key: 13, label: '【唱歌】小红帽' }
  145. ]
  146. },
  147. {
  148. key: 2,
  149. label: '第二单元 快乐游戏',
  150. selected: !1,
  151. children: [{ key: 14, label: '【欣赏】永远住在童话里' }]
  152. },
  153. {
  154. key: 3,
  155. label: '第三单元 劳动最光荣',
  156. selected: !1,
  157. children: [{ key: 15, label: '【欣赏】永远住在童话里' }]
  158. },
  159. {
  160. key: 4,
  161. label: '第四单元 音乐中的动物',
  162. selected: !1,
  163. children: [{ key: 16, label: '【欣赏】永远住在童话里' }]
  164. },
  165. {
  166. key: 5,
  167. label: '第五单元 动画城',
  168. selected: !1,
  169. children: [{ key: 17, label: '【欣赏】永远住在童话里' }]
  170. },
  171. {
  172. key: 6,
  173. label: '第六单元 下雪啦',
  174. selected: !1,
  175. children: [{ key: 18, label: '【欣赏】永远住在童话里' }]
  176. },
  177. {
  178. key: 7,
  179. label: '我的音乐网页',
  180. selected: !1,
  181. children: [{ key: 19, label: '【欣赏】永远住在童话里' }]
  182. }
  183. ]);
  184. return (
  185. setTimeout(() => {
  186. t.value = !1;
  187. }, 100),
  188. () => {
  189. let l;
  190. return e('div', { class: r.directoryList }, [
  191. e('div', { class: r['select-directory'] }, [
  192. e(
  193. 'span',
  194. { class: ['cr-ellipsis'], title: '人教版二年级上册(2013)' },
  195. [c('人教版二年级上册(2013)')]
  196. ),
  197. e(
  198. D,
  199. { class: r.iconArrow },
  200. {
  201. default: () => [
  202. e(
  203. 'svg',
  204. {
  205. width: '11px',
  206. height: '15px',
  207. viewBox: '0 0 11 15',
  208. version: '1.1',
  209. xmlns: 'http://www.w3.org/2000/svg'
  210. },
  211. [
  212. e(
  213. 'g',
  214. {
  215. stroke: 'none',
  216. 'stroke-width': '1',
  217. fill: 'none',
  218. 'fill-rule': 'evenodd',
  219. opacity: '0.699999988'
  220. },
  221. [
  222. e(
  223. 'g',
  224. {
  225. transform:
  226. 'translate(-445.000000, -137.000000)',
  227. fill: '#131415'
  228. },
  229. [
  230. e(
  231. 'g',
  232. {
  233. transform:
  234. 'translate(152.000000, 120.000000)'
  235. },
  236. [
  237. e(
  238. 'path',
  239. {
  240. d: 'M299.326227,20.2118001 L304.934089,28.4366632 C305.245211,28.8929759 305.127511,29.515105 304.671198,29.8262273 C304.505147,29.9394437 304.308836,30 304.107861,30 L292.892139,30 C292.339854,30 291.892139,29.5522847 291.892139,29 C291.892139,28.7990254 291.952695,28.6027139 292.065911,28.4366632 L297.673773,20.2118001 C297.984895,19.7554873 298.607024,19.6377872 299.063337,19.9489096 C299.16663,20.0193364 299.255801,20.1085074 299.326227,20.2118001 Z',
  241. id: '三角形',
  242. transform:
  243. 'translate(298.500000, 24.500000) rotate(-270.000000) translate(-298.500000, -24.500000) '
  244. },
  245. null
  246. )
  247. ]
  248. )
  249. ]
  250. )
  251. ]
  252. )
  253. ]
  254. )
  255. ]
  256. }
  257. )
  258. ]),
  259. e(
  260. _,
  261. { class: r.scrollBar },
  262. {
  263. default: () => [
  264. e(
  265. P,
  266. { show: t.value },
  267. Ce(
  268. (l = a.value.map((n, p) =>
  269. e('div', { class: r.treeParent, key: 'parent' + p }, [
  270. e(
  271. 'div',
  272. {
  273. class: [r.treeItem, r.parentItem],
  274. onClick: () => {
  275. a.value.forEach(o => {
  276. n.key !== o.key && (o.selected = !1);
  277. }),
  278. (n.selected = !n.selected);
  279. }
  280. },
  281. [
  282. n.children &&
  283. n.children.length > 0 &&
  284. e(
  285. 'span',
  286. {
  287. class: [
  288. r.arrow,
  289. n.selected ? r.arrowSelect : ''
  290. ]
  291. },
  292. null
  293. ),
  294. e(
  295. 'p',
  296. {
  297. class: [
  298. r.title,
  299. n.selected ? r.titleSelect : ''
  300. ]
  301. },
  302. [n.label]
  303. )
  304. ]
  305. ),
  306. n.selected &&
  307. n.children &&
  308. n.children.map((o, b) =>
  309. e(
  310. 'div',
  311. {
  312. key: 'child' + b,
  313. class: [
  314. r.treeItem,
  315. r.childItem,
  316. r.animation,
  317. s.selectKey === o.key ? r.childSelect : ''
  318. ],
  319. onClick: () => {
  320. s.selectKey = o.key;
  321. }
  322. },
  323. [
  324. e('span', { class: r.childArrow }, null),
  325. e('p', { class: r.title }, [o.label])
  326. ]
  327. )
  328. )
  329. ])
  330. ))
  331. )
  332. ? l
  333. : { default: () => [l] }
  334. )
  335. ]
  336. }
  337. )
  338. ]);
  339. }
  340. );
  341. }
  342. }),
  343. ke = '_btnGroup_l69nx_30',
  344. Se = '_listContainer_l69nx_54',
  345. Ae = '_list_l69nx_54',
  346. Ee = '_attendClassModal_l69nx_65',
  347. d = {
  348. 'lesson-main': '_lesson-main_l69nx_1',
  349. btnGroup: ke,
  350. listContainer: Se,
  351. list: Ae,
  352. attendClassModal: Ee
  353. },
  354. je = '_attendClass_1qzpg_1',
  355. Me = '_attendClassSearch_1qzpg_4',
  356. Ie = '_iconSearch_1qzpg_20',
  357. xe = '_classList_1qzpg_24',
  358. Oe = '_thingItem_1qzpg_28',
  359. Le = '_title_1qzpg_43',
  360. ze = '_content_1qzpg_60',
  361. h = {
  362. attendClass: je,
  363. attendClassSearch: Me,
  364. iconSearch: Ie,
  365. classList: xe,
  366. thingItem: Oe,
  367. title: Le,
  368. content: ze
  369. };
  370. function Be(t) {
  371. return (
  372. typeof t == 'function' ||
  373. (Object.prototype.toString.call(t) === '[object Object]' && !B(t))
  374. );
  375. }
  376. const Fe = y({
  377. name: 'attend-class',
  378. emits: ['close'],
  379. setup(t, { emit: s }) {
  380. const a = W(),
  381. l = n => {
  382. s('close');
  383. const { href: p } = a.resolve({ path: '/attend-class' });
  384. window.open(p, +new Date() + '');
  385. };
  386. return () => {
  387. let n;
  388. return e('div', { class: h.attendClass }, [
  389. e('div', { class: h.attendClassSearch }, [
  390. e(
  391. F,
  392. { placeholder: '请输入班级名称', clearable: !0 },
  393. { prefix: () => e('span', { class: 'icon-search-input' }, null) }
  394. ),
  395. e(
  396. k,
  397. {
  398. placeholder: '年级',
  399. clearable: !0,
  400. options: [
  401. { label: '一年级', value: '1' },
  402. { label: '二年级', value: '2' },
  403. { label: '三年级', value: '3' },
  404. { label: '四年级', value: '4' },
  405. { label: '五年级', value: '5' },
  406. { label: '六年级', value: '6' }
  407. ]
  408. },
  409. null
  410. ),
  411. e(
  412. k,
  413. {
  414. placeholder: '班级',
  415. clearable: !0,
  416. options: [
  417. { label: '一班', value: '1' },
  418. { label: '二班', value: '2' },
  419. { label: '三班', value: '3' },
  420. { label: '四班', value: '4' },
  421. { label: '五班', value: '5' }
  422. ]
  423. },
  424. null
  425. )
  426. ]),
  427. e(
  428. _,
  429. { class: h.classList },
  430. Be(
  431. (n = [1, 2, 3, 4, 5, 6, 7].map(p =>
  432. e('div', { onClick: () => l() }, [
  433. e(
  434. U,
  435. { class: h.thingItem },
  436. {
  437. header: () =>
  438. e('div', { class: h.title }, [
  439. c('一年级'),
  440. p,
  441. c('班 23人')
  442. ]),
  443. default: () =>
  444. e('div', { class: h.content }, [
  445. c(
  446. '人教版二年级上册 | 第一单元 |【歌表演】我和我的祖国'
  447. )
  448. ])
  449. }
  450. )
  451. ])
  452. ))
  453. )
  454. ? n
  455. : { default: () => [n] }
  456. )
  457. ]);
  458. };
  459. }
  460. }),
  461. Ne = y({
  462. name: 'lesson-main',
  463. setup() {
  464. const t = S({
  465. list: [
  466. {
  467. id: '1',
  468. name: '其多列',
  469. title: '其多列',
  470. type: 'VIDEO',
  471. content:
  472. 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687844560120.mp4',
  473. url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687844640957.png'
  474. },
  475. {
  476. id: '5',
  477. name: '歌曲表演 大鹿',
  478. title: '歌曲表演 大鹿',
  479. type: 'SONG',
  480. content:
  481. 'https://cloud-coach.ks3-cn-beijing.ksyuncs.com/1686819360752.mp3',
  482. url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687916228530.png'
  483. },
  484. {
  485. id: '2',
  486. name: '其多列',
  487. title: '其多列',
  488. type: 'IMG',
  489. content:
  490. 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1688007481564.jpg',
  491. url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1688007481564.jpg'
  492. },
  493. {
  494. id: '4',
  495. name: '歌曲 其多列',
  496. title: '其多列',
  497. type: 'MUSIC',
  498. content: '43541',
  499. url: 'https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687847690372-1.png'
  500. }
  501. ],
  502. showAttendClass: !1
  503. });
  504. return () =>
  505. e('div', { class: d['lesson-main'] }, [
  506. e(
  507. N,
  508. {
  509. animated: !0,
  510. defaultValue: 'courseware',
  511. paneClass: d.paneTitle,
  512. justifyContent: 'center',
  513. paneWrapperClass: d.paneWrapperContainer
  514. },
  515. {
  516. default: () => [
  517. e(
  518. m,
  519. { name: 'courseware', tab: '课件' },
  520. {
  521. default: () => [
  522. e('div', { class: d.btnGroup }, [
  523. e(f, null, {
  524. default: () => [
  525. e(
  526. u,
  527. { type: 'default' },
  528. { default: () => [c('编辑')] }
  529. )
  530. ]
  531. }),
  532. e(f, null, {
  533. default: () => [
  534. e(
  535. u,
  536. { type: 'default' },
  537. { default: () => [c('预览')] }
  538. ),
  539. e(
  540. u,
  541. {
  542. type: 'primary',
  543. onClick: () => (t.showAttendClass = !0)
  544. },
  545. { default: () => [c('开始上课')] }
  546. )
  547. ]
  548. })
  549. ]),
  550. e(
  551. _,
  552. { class: d.listContainer },
  553. {
  554. default: () => [
  555. e('div', { class: d.list }, [
  556. t.list.map(s =>
  557. e(C, { isShowCollect: !1, item: s }, null)
  558. )
  559. ])
  560. ]
  561. }
  562. )
  563. ]
  564. }
  565. ),
  566. e(
  567. m,
  568. { name: 'train', tab: '训练' },
  569. {
  570. default: () => [
  571. e('div', { class: d.btnGroup }, [
  572. e(f, null, {
  573. default: () => [
  574. e(
  575. u,
  576. { type: 'default' },
  577. { default: () => [c('添加训练')] }
  578. ),
  579. e(
  580. u,
  581. { type: 'default' },
  582. { default: () => [c('编辑')] }
  583. )
  584. ]
  585. }),
  586. e(f, null, {
  587. default: () => [
  588. e(
  589. u,
  590. { type: 'primary' },
  591. { default: () => [c('布置训练')] }
  592. )
  593. ]
  594. })
  595. ])
  596. ]
  597. }
  598. )
  599. ]
  600. }
  601. ),
  602. e(
  603. K,
  604. {
  605. show: t.showAttendClass,
  606. 'onUpdate:show': s => (t.showAttendClass = s),
  607. preset: 'card',
  608. showIcon: !1,
  609. class: d.attendClassModal,
  610. title: '选择班级',
  611. blockScroll: !1
  612. },
  613. {
  614. default: () => [
  615. e(Fe, { onClose: () => (t.showAttendClass = !1) }, null)
  616. ]
  617. }
  618. )
  619. ]);
  620. }
  621. }),
  622. Te = '_iconScreen_d9ed5_33',
  623. Ge = '_listContainer_d9ed5_41',
  624. Re = '_list_d9ed5_41',
  625. i = {
  626. 'resource-main': '_resource-main_d9ed5_1',
  627. iconScreen: Te,
  628. listContainer: Ge,
  629. list: Re
  630. },
  631. qe = '_searchGroup_1q21g_1',
  632. $e = '_searchSelect_1q21g_4',
  633. Ve = '_inputSearch_1q21g_18',
  634. De = '_searchBtn_1q21g_22',
  635. Pe = '_btnType_1q21g_28',
  636. g = {
  637. searchGroup: qe,
  638. searchSelect: $e,
  639. inputSearch: Ve,
  640. searchBtn: De,
  641. btnType: Pe
  642. },
  643. We = { 1: '人教版', 2: '声部训练', 3: '小曲目', 4: '考级曲目' },
  644. Ue = { 1: '坚笛', 2: '排萧', 3: '口风琴', 4: '陶笛', 5: '葫芦丝' };
  645. function G(t) {
  646. const s = [];
  647. for (const a in t) s.push({ label: t[a], value: a });
  648. return s;
  649. }
  650. const Ke = G(We),
  651. He = G(Ue),
  652. E = y({
  653. name: 'resource-search-group',
  654. setup() {
  655. const t = S({ search: null });
  656. return () =>
  657. e(T, null, [
  658. e('div', { class: g.searchGroup }, [
  659. e(
  660. f,
  661. { size: 'small', class: g.btnType },
  662. {
  663. default: () => [
  664. e(
  665. u,
  666. { type: 'primary', round: !0, size: 'small' },
  667. { default: () => [c('全部')] }
  668. ),
  669. e(
  670. u,
  671. { secondary: !0, round: !0, size: 'small' },
  672. { default: () => [c('乐谱')] }
  673. ),
  674. e(
  675. u,
  676. { secondary: !0, round: !0, size: 'small' },
  677. { default: () => [c('图片')] }
  678. ),
  679. e(
  680. u,
  681. { secondary: !0, round: !0, size: 'small' },
  682. { default: () => [c('音频')] }
  683. ),
  684. e(
  685. u,
  686. { secondary: !0, round: !0, size: 'small' },
  687. { default: () => [c('视频')] }
  688. )
  689. ]
  690. }
  691. ),
  692. e('div', { class: g.searchSelect }, [
  693. e(k, { placeholder: '教材', options: Ke, clearable: !0 }, null),
  694. e(k, { placeholder: '乐器', options: He, clearable: !0 }, null)
  695. ]),
  696. e(
  697. F,
  698. {
  699. type: 'text',
  700. placeholder: '请输入搜索关键词',
  701. clearable: !0,
  702. value: t.search,
  703. 'onUpdate:value': s => (t.search = s),
  704. class: g.inputSearch
  705. },
  706. { prefix: () => e('span', { class: 'icon-search-input' }, null) }
  707. )
  708. ])
  709. ]);
  710. }
  711. }),
  712. Je = y({
  713. name: 'resource-main',
  714. props: { selectionHeight: { type: String, default: '100%' } },
  715. setup() {
  716. const t = S({
  717. list: [
  718. {
  719. id: '5',
  720. name: '其多列',
  721. title: '其多列',
  722. type: 'VIDEO',
  723. content:
  724. 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687844560120.mp4',
  725. url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687844640957.png'
  726. },
  727. {
  728. id: '2',
  729. name: '其多列',
  730. title: '其多列',
  731. type: 'IMG',
  732. content: 'https://daya.ks3-cn-beijing.ksyun.com/202306/TiLlteU.png',
  733. url: 'https://daya.ks3-cn-beijing.ksyun.com/202306/TiLlteU.png'
  734. },
  735. {
  736. id: '3',
  737. name: '其多列',
  738. title: '其多列',
  739. type: 'IMG',
  740. content: 'https://daya.ks3-cn-beijing.ksyun.com/202306/TiLlxJ0.png',
  741. url: 'https://daya.ks3-cn-beijing.ksyun.com/202306/TiLlxJ0.png'
  742. },
  743. {
  744. id: '4',
  745. name: '彩虹岛',
  746. title: '彩虹岛',
  747. type: 'MUSIC',
  748. content: '22078',
  749. url: 'https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-fixed/1675770786664-1.png'
  750. }
  751. ],
  752. height: '100%'
  753. });
  754. return () =>
  755. e('div', { class: i['resource-main'] }, [
  756. e(
  757. N,
  758. {
  759. animated: !0,
  760. defaultValue: 'shareResources',
  761. paneClass: i.paneTitle,
  762. paneWrapperClass: i.paneWrapperContainer
  763. },
  764. {
  765. suffix: () =>
  766. e('div', { class: i.iconScreen }, [
  767. e(
  768. 'svg',
  769. {
  770. xmlns: 'http://www.w3.org/2000/svg',
  771. viewBox: '0 0 24 24'
  772. },
  773. [
  774. e('g', { fill: 'none' }, [
  775. e(
  776. 'path',
  777. {
  778. d: 'M5 6a1 1 0 0 1 1-1h2a1 1 0 0 0 0-2H6a3 3 0 0 0-3 3v2a1 1 0 0 0 2 0V6zm0 12a1 1 0 0 0 1 1h2a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3v-2a1 1 0 1 1 2 0v2zM18 5a1 1 0 0 1 1 1v2a1 1 0 1 0 2 0V6a3 3 0 0 0-3-3h-2a1 1 0 1 0 0 2h2zm1 13a1 1 0 0 1-1 1h-2a1 1 0 1 0 0 2h2a3 3 0 0 0 3-3v-2a1 1 0 1 0-2 0v2z',
  779. fill: '#198CFE'
  780. },
  781. null
  782. )
  783. ])
  784. ]
  785. )
  786. ]),
  787. default: () =>
  788. e(T, null, [
  789. e(
  790. m,
  791. { name: 'shareResources', tab: '共享资源' },
  792. {
  793. default: () => [
  794. e(E, null, null),
  795. e(
  796. _,
  797. { class: i.listContainer },
  798. {
  799. default: () => [
  800. e('div', { class: i.list }, [
  801. t.list.map(s =>
  802. e(C, { isShowAdd: !0, item: s }, null)
  803. )
  804. ])
  805. ]
  806. }
  807. )
  808. ]
  809. }
  810. ),
  811. e(
  812. m,
  813. { name: 'myResources', tab: '我的资源' },
  814. {
  815. default: () => [
  816. e(E, null, null),
  817. e(
  818. _,
  819. { class: i.listContainer },
  820. {
  821. default: () => [
  822. e('div', { class: i.list }, [
  823. t.list.map(s =>
  824. e(C, { isShowAdd: !0, item: s }, null)
  825. )
  826. ])
  827. ]
  828. }
  829. )
  830. ]
  831. }
  832. ),
  833. e(
  834. m,
  835. { name: 'myCollect', tab: '我的收藏' },
  836. {
  837. default: () => [
  838. e(E, null, null),
  839. e(
  840. _,
  841. { class: i.listContainer },
  842. {
  843. default: () => [
  844. e('div', { class: i.list }, [
  845. t.list.map(s =>
  846. e(C, { isShowAdd: !0, item: s }, null)
  847. )
  848. ])
  849. ]
  850. }
  851. )
  852. ]
  853. }
  854. )
  855. ])
  856. }
  857. )
  858. ]);
  859. }
  860. }),
  861. tt = y({
  862. name: 'prepare-lessons',
  863. setup() {
  864. const t = w();
  865. return (
  866. z(() => {
  867. le(document.querySelector('#resourceRef'), s => {
  868. const a = s[0],
  869. { height: l } = a.contentRect;
  870. document.documentElement.style.setProperty(
  871. '--window-page-lesson-height',
  872. l + 'px'
  873. );
  874. });
  875. }),
  876. () =>
  877. e('div', { class: v.prepareLessons }, [
  878. e('div', { class: v.directoryMain, ref: t.value }, [
  879. e(we, null, null)
  880. ]),
  881. e('div', { class: v.lessonMain }, [e(Ne, null, null)]),
  882. e('div', { class: v.resourceMain, id: 'resourceRef' }, [
  883. e(Je, null, null)
  884. ])
  885. ])
  886. );
  887. }
  888. });
  889. export { tt as default };