<template>
	<view class="w-body">
		<w-public />
		<w-navbar left-back fixed title="学期选择器"></w-navbar>
		<view>
			<view>学期:{{ xq }} <u-button @click="proxy.$refs.xqSelectRef.open();">请选择</u-button></view>
			<view>学期信息:{{ xqInfo }}</view>
		</view>
		<x-xq-select ref="xqSelectRef" v-model="xq" v-model:info="xqInfo" current/>
		
	</view>
</template>

<script setup>
import { onLoad, onShow, onReady } from '@dcloudio/uni-app'
import { ref, getCurrentInstance } from 'vue'

const { proxy } = getCurrentInstance();

const xq=ref("2021-2022-1");
const xqInfo = ref({});


</script>

<style lang="scss" scoped>
.w-body {
	--navbar-height: 44px;
	background-color: var(--w-bg);
	font-size: .9rem;

}
</style>
