wangxy hace 2 meses
padre
commit
d70e18ba92
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      pages/jyjxZhuanyejianshe/jyjxZhuanyejianshe.vue

+ 4 - 4
pages/jyjxZhuanyejianshe/jyjxZhuanyejianshe.vue

@@ -11,16 +11,16 @@
 					<icon class="breadcrumb-jt"></icon>
 					<view class="breadcrumb-active">专业建设</view>
 				</view>
-				
 				<view class="zhuanye-list-box">
+			
 					<view class="zhuanye-item" :class="{active: data.type == 1}" @click="changeType(1)"><icon></icon><text>专业发展</text></view>
 					<view class="zhuanye-item" :class="{active: data.type == 2}" @click="changeType(2)"><icon></icon><text>人培方案</text></view>
 					<view class="zhuanye-item" :class="{active: data.type == 3}" @click="changeType(3)"><icon></icon><text>课程标准</text></view>
 					<view class="zhuanye-item" :class="{active: data.type == 4}" @click="changeType(4)"><icon></icon><text>实训安全</text></view>
 					<view class="zhuanye-item" :class="{active: data.type == 5}" @click="changeType(5)"><icon></icon><text>教材管理</text></view>
 				</view>
-				
-				<MtaScrollViewVue :refreshFn="getList" :other-option="{type: data.type}" ref="listRef">
+			
+				<MtaScrollViewVue :refreshFn="getList" :size="10" :other-option="{type: data.type}" ref="listRef">
 					<template v-slot="{ list }">
 						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
 							<view class="list-time-box">
@@ -66,7 +66,7 @@
 	const listRef = ref(null)
 	
 	onLoad(({type}) => {
-		data.type = type;
+		data.type = type || 1;
 	})
 
 	function handleClick(data) {