|  | @@ -4,6 +4,7 @@ import request from '@/helpers/request'
 | 
	
		
			
				|  |  |  import { browser } from '@/helpers/utils'
 | 
	
		
			
				|  |  |  import { state } from '@/state'
 | 
	
		
			
				|  |  |  import { useRect } from '@vant/use'
 | 
	
		
			
				|  |  | +import OFullRefresh from '@/components/o-full-refresh'
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    Cell,
 | 
	
		
			
				|  |  |    CellGroup,
 | 
	
	
		
			
				|  | @@ -48,7 +49,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      const option1 = computed(() => {
 | 
	
		
			
				|  |  |        const v1: any = props.musicTree.find((n: any) => n.id == route.query.categorieid)
 | 
	
		
			
				|  |  | -    //   console.log('🚀 ~ v1', v1)
 | 
	
		
			
				|  |  | +      //   console.log('🚀 ~ v1', v1)
 | 
	
		
			
				|  |  |        if (Array.isArray(v1?.musicSheetCategoriesList)) {
 | 
	
		
			
				|  |  |          const list = v1.musicSheetCategoriesList.map((m: any) => {
 | 
	
		
			
				|  |  |            if (!data.value1) {
 | 
	
	
		
			
				|  | @@ -135,7 +136,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      //进入云教练
 | 
	
		
			
				|  |  |      const openView = (item: any) => {
 | 
	
		
			
				|  |  |        let src = `${location.origin}/orchestra-music-score/?id=${item.id}`
 | 
	
		
			
				|  |  | -      console.log("🚀 ~ 去云教练的src", src)
 | 
	
		
			
				|  |  | +      console.log('🚀 ~ 去云教练的src', src)
 | 
	
		
			
				|  |  |        postMessage({
 | 
	
		
			
				|  |  |          api: 'openAccompanyWebView',
 | 
	
		
			
				|  |  |          content: {
 | 
	
	
		
			
				|  | @@ -149,11 +150,11 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      const headeRef = ref()
 | 
	
		
			
				|  |  |      const headerData = reactive({
 | 
	
		
			
				|  |  | -        height: 0
 | 
	
		
			
				|  |  | +      height: 0
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      onMounted(() => {
 | 
	
		
			
				|  |  | -        const rect = useRect(headeRef)
 | 
	
		
			
				|  |  | -        headerData.height = rect.height
 | 
	
		
			
				|  |  | +      const rect = useRect(headeRef)
 | 
	
		
			
				|  |  | +      headerData.height = rect.height
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      return () => (
 | 
	
		
			
				|  |  |        <div class={styles['accompany-music-list']}>
 | 
	
	
		
			
				|  | @@ -203,7 +204,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              </Search>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -        {headerData.height && <div style={{height: headerData.height + 'px'}}></div>}
 | 
	
		
			
				|  |  | +        {headerData.height && <div style={{ height: headerData.height + 'px' }}></div>}
 | 
	
		
			
				|  |  |          {/* <Cell
 | 
	
		
			
				|  |  |            center
 | 
	
		
			
				|  |  |            title="胜强测试"
 | 
	
	
		
			
				|  | @@ -227,8 +228,13 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            }}
 | 
	
		
			
				|  |  |          ></Cell> */}
 | 
	
		
			
				|  |  | -        <PullRefresh v-model:modelValue={data.refreshing} onRefresh={onRefresh}>
 | 
	
		
			
				|  |  | +        <OFullRefresh
 | 
	
		
			
				|  |  | +          v-model:modelValue={data.refreshing}
 | 
	
		
			
				|  |  | +          onRefresh={onRefresh}
 | 
	
		
			
				|  |  | +          style="min-height: 100vh;"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  |            <List
 | 
	
		
			
				|  |  | +            loading-text=" "
 | 
	
		
			
				|  |  |              immediateCheck={false}
 | 
	
		
			
				|  |  |              v-model:loading={data.loading}
 | 
	
		
			
				|  |  |              v-model:finished={data.finished}
 | 
	
	
		
			
				|  | @@ -251,7 +257,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                })}
 | 
	
		
			
				|  |  |              </CellGroup>
 | 
	
		
			
				|  |  |            </List>
 | 
	
		
			
				|  |  | -        </PullRefresh>
 | 
	
		
			
				|  |  | +        </OFullRefresh>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          {!data.loading && !data.list.length && <OEmpty tips="空空如也" />}
 | 
	
		
			
				|  |  |        </div>
 |