| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 | import { P as c } from './index-f397473a.js';import { C as f } from './index-c8870a16.js';import { T as C } from './index-a585796f.js';import {  d as h,  e as y,  f as e,  Q as d,  j as l,  k as u,  N as _,  g as b,  m as E,  n as g} from './index-95e721f9.js';import { l as S } from './data-c15517db.js';import './index-73922017.js';const q = '_listWrap_efqon_1',  z = '_list_efqon_1',  w = '_searchGroup_efqon_45',  A = '_btnType_efqon_49',  N = '_inputSearch_efqon_83',  U = '_searchCatatory_efqon_106',  B = '_addTrain_efqon_113',  n = {    listWrap: q,    list: z,    searchGroup: w,    btnType: A,    inputSearch: N,    searchCatatory: U,    addTrain: B  },  F = '' + new URL('icon-add-540d8f63.svg', import.meta.url).href,  m = h({    name: 'search-group',    setup() {      return (        y({ search: '' }),        () =>          e('div', { class: n.searchGroup }, [            e('div', { class: n.searchCatatory }, [              e(                d,                { size: 'small', class: n.btnType },                {                  default: () => [                    e(                      l,                      {                        type: 'primary',                        round: !0,                        size: 'small',                        focusable: !1                      },                      { default: () => [u('全部')] }                    ),                    e(                      l,                      {                        secondary: !0,                        round: !0,                        size: 'small',                        focusable: !1                      },                      { default: () => [u('乐谱')] }                    ),                    e(                      l,                      {                        secondary: !0,                        round: !0,                        size: 'small',                        focusable: !1                      },                      { default: () => [u('图片')] }                    ),                    e(                      l,                      {                        secondary: !0,                        round: !0,                        size: 'small',                        focusable: !1                      },                      { default: () => [u('音频')] }                    ),                    e(                      l,                      {                        secondary: !0,                        round: !0,                        size: 'small',                        focusable: !1                      },                      { default: () => [u('视频')] }                    )                  ]                }              ),              e(                l,                {                  type: 'primary',                  class: n.addTrain,                  focusable: !1,                  strong: !0                },                {                  default: () => [                    e('img', { src: F }, null),                    u('添加自定义教材')                  ]                }              )            ]),            e(              _,              { labelAlign: 'left', labelPlacement: 'left' },              {                default: () => [                  e(                    b,                    { label: '教材:' },                    {                      default: () => [                        e(d, null, {                          default: () => [                            e(                              l,                              {                                secondary: !0,                                strong: !0,                                type: 'primary',                                focusable: !1                              },                              { default: () => [u('全部')] }                            ),                            e(                              l,                              { quaternary: !0, focusable: !1 },                              { default: () => [u('人教版')] }                            ),                            e(                              l,                              { quaternary: !0, focusable: !1 },                              { default: () => [u('声部训练')] }                            ),                            e(                              l,                              { quaternary: !0, focusable: !1 },                              { default: () => [u('小曲目')] }                            ),                            e(                              l,                              { quaternary: !0, focusable: !1 },                              { default: () => [u('考级曲目')] }                            )                          ]                        })                      ]                    }                  ),                  e(                    b,                    { label: '乐器:' },                    {                      default: () => [                        e(d, null, {                          default: () => [                            e(                              l,                              { secondary: !0, strong: !0, type: 'primary' },                              { default: () => [u('全部')] }                            ),                            e(                              l,                              {                                quaternary: !0,                                focusable: !1,                                type: 'default'                              },                              { default: () => [u('竖笛')] }                            ),                            e(                              l,                              {                                quaternary: !0,                                focusable: !1,                                type: 'default'                              },                              { default: () => [u('排萧')] }                            ),                            e(                              l,                              {                                quaternary: !0,                                focusable: !1,                                type: 'default'                              },                              { default: () => [u('口风琴')] }                            ),                            e(                              l,                              {                                quaternary: !0,                                focusable: !1,                                type: 'default'                              },                              { default: () => [u('陶笛')] }                            ),                            e(                              l,                              {                                quaternary: !0,                                focusable: !1,                                type: 'default'                              },                              { default: () => [u('葫芦丝')] }                            )                          ]                        })                      ]                    }                  ),                  e(C, { class: n.inputSearch, round: !0 }, null)                ]              }            )          ])      );    }  }),  j = h({    name: 'student-studentList',    setup() {      const t = y({          searchWord: '',          loading: !1,          pagination: { page: 1, rows: 50, pageTotal: 0 },          tableList: []        }),        r = y({ list: [], height: '100%' }),        T = () => {          const a = S.rows || [],            o = [];          a.forEach((i, s) => {            o.push({              id: i.id,              type: 'MUSIC',              title: i.musicSheetName,              url: i.fixedTone ? i.fixedTone.split(',')[0] : '',              isCollect: !(s % 3),              isSelected: !(s % 4)            }),              (s === 2 || s === 12) &&                o.push({                  id: s + 3,                  type: 'VIDEO',                  title: '其多列',                  url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687844640957.png',                  isCollect: !(s % 3),                  isSelected: !(s % 4)                }),              (s === 0 || s === 6) &&                o.push({                  id: s + 3,                  type: 'SONG',                  title: '歌曲表演 大鹿',                  url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1687916228530.png',                  isCollect: !(s % 3),                  isSelected: !(s % 4)                }),              (s === 5 || s === 15) &&                o.push({                  id: s + 3,                  type: 'IMG',                  title: '其多列',                  url: 'https://gyt.ks3-cn-beijing.ksyuncs.com/courseware/1688007481564.jpg',                  isCollect: !(s % 3),                  isSelected: !(s % 4)                });          }),            (r.list = o || []),            (t.pagination.rows = o.length);        },        p = () => {          console.log('getList');        };      return (        T(),        () =>          e('div', { class: n.listWrap }, [            e(              E,              {                defaultValue: 'shareResources',                paneClass: n.paneTitle,                justifyContent: 'center',                paneWrapperClass: n.paneWrapperContainer              },              {                default: () => [                  e(                    g,                    { name: 'shareResources', tab: '共享资源' },                    {                      default: () => [                        e(m, null, null),                        e('div', { class: n.list }, [                          r.list.map(a => e(f, { item: a }, null))                        ]),                        e(                          c,                          {                            page: t.pagination.page,                            'onUpdate:page': a => (t.pagination.page = a),                            pageSize: t.pagination.rows,                            'onUpdate:pageSize': a => (t.pagination.rows = a),                            pageTotal: t.pagination.pageTotal,                            'onUpdate:pageTotal': a =>                              (t.pagination.pageTotal = a),                            onList: p                          },                          null                        )                      ]                    }                  ),                  e(                    g,                    { name: 'myResources', tab: '我的资源' },                    {                      default: () => [                        e(m, null, null),                        e('div', { class: n.list }, [                          r.list.map(a => e(f, { item: a }, null))                        ]),                        e(                          c,                          {                            page: t.pagination.page,                            'onUpdate:page': a => (t.pagination.page = a),                            pageSize: t.pagination.rows,                            'onUpdate:pageSize': a => (t.pagination.rows = a),                            pageTotal: t.pagination.pageTotal,                            'onUpdate:pageTotal': a =>                              (t.pagination.pageTotal = a),                            onList: p                          },                          null                        )                      ]                    }                  ),                  e(                    g,                    { name: 'myCollect', tab: '我的收藏' },                    {                      default: () => [                        e(m, null, null),                        e('div', { class: n.list }, [                          r.list.map(a => e(f, { item: a }, null))                        ]),                        e(                          c,                          {                            page: t.pagination.page,                            'onUpdate:page': a => (t.pagination.page = a),                            pageSize: t.pagination.rows,                            'onUpdate:pageSize': a => (t.pagination.rows = a),                            pageTotal: t.pagination.pageTotal,                            'onUpdate:pageTotal': a =>                              (t.pagination.pageTotal = a),                            onList: p                          },                          null                        )                      ]                    }                  )                ]              }            )          ])      );    }  });export { j as default };
 |