<template>
	<view>
		  <u-sticky bgColor="#fff">
		    <u-tabs :list="categoryList" :scrollable="false"></u-tabs>
		  </u-sticky>
			<view style="height: 100vh;background-color: rgb(245, 245, 245);">
        <Subject1 />
			</view>
			</view>
</template>
<script>
	import storage from '@/jtools/storage';
	import Subject1 from "./components/Subject1";
  export default {
    components: {Subject1},
    data() {
			return {
				searchValue:'',
				cityName:'',
				categoryList:[{
					name:'科目1'
				},{
					name:'科目2'
				},{
					name:'科目3'
				},{
					name:'科目4'
				}]
			};
		},
	 onLoad() {

	 },
	 methods:{
		 //切换科目
		 changeCategory(){

		 },
		 //获取全部题库
		 getAllQuestion(){
			 
		 },
	 }
	}
</script>

<style lang="scss" scoped>
::v-deep .u-tabs__wrapper__nav__line {
		background: linear-gradient(90deg, #11DF20 0%, #00B74F 100%) !important;
		bottom: 14rpx !important;
	}
</style>
