|
@@ -20,6 +20,7 @@ import request from '@/helpers/request'
|
|
|
import { state as globalState } from '@/state'
|
|
|
import { courseEmnu } from '@/constant'
|
|
|
import TeacherAttItem from './modals/teacherAtt-item'
|
|
|
+import OSticky from '@/components/o-sticky'
|
|
|
export default defineComponent({
|
|
|
name: 'attend-student',
|
|
|
props: {
|
|
@@ -159,47 +160,45 @@ export default defineComponent({
|
|
|
}
|
|
|
return () => (
|
|
|
<>
|
|
|
- <Sticky offsetTop={toTop.value}>
|
|
|
- <div>
|
|
|
- <OHeader></OHeader>
|
|
|
- <div class={styles.chioseWrap}>
|
|
|
- <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
- <div
|
|
|
- class={styles.searchBand}
|
|
|
- onClick={() => {
|
|
|
- state.showPopoverTime = true
|
|
|
- }}
|
|
|
- >
|
|
|
- {forms.timeName}
|
|
|
- <Icon name={state.showPopoverTime ? 'arrow-up' : 'arrow-down'} />
|
|
|
- </div>
|
|
|
+ <OSticky position="top">
|
|
|
+ <OHeader />
|
|
|
+ <div class={styles.chioseWrap}>
|
|
|
+ <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
+ <div
|
|
|
+ class={styles.searchBand}
|
|
|
+ onClick={() => {
|
|
|
+ state.showPopoverTime = true
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ {forms.timeName}
|
|
|
+ <Icon name={state.showPopoverTime ? 'arrow-up' : 'arrow-down'} />
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
- <div
|
|
|
- class={styles.searchBand}
|
|
|
- onClick={() => {
|
|
|
- state.showPopoverOrchestra = true
|
|
|
- }}
|
|
|
- >
|
|
|
- {forms.orchestraName}
|
|
|
- <Icon name={state.showPopoverOrchestra ? 'arrow-up' : 'arrow-down'} />
|
|
|
- </div>
|
|
|
+ <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
+ <div
|
|
|
+ class={styles.searchBand}
|
|
|
+ onClick={() => {
|
|
|
+ state.showPopoverOrchestra = true
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ {forms.orchestraName}
|
|
|
+ <Icon name={state.showPopoverOrchestra ? 'arrow-up' : 'arrow-down'} />
|
|
|
</div>
|
|
|
- <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
- <div
|
|
|
- class={styles.searchBand}
|
|
|
- onClick={() => {
|
|
|
- state.showPopoverSubject = true
|
|
|
- }}
|
|
|
- >
|
|
|
- {forms.courseTypeName}
|
|
|
- <Icon name={state.showPopoverSubject ? 'arrow-up' : 'arrow-down'} />
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div style={{ padding: '12px 13px', background: '#F8F8F8' }}>
|
|
|
+ <div
|
|
|
+ class={styles.searchBand}
|
|
|
+ onClick={() => {
|
|
|
+ state.showPopoverSubject = true
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ {forms.courseTypeName}
|
|
|
+ <Icon name={state.showPopoverSubject ? 'arrow-up' : 'arrow-down'} />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </Sticky>
|
|
|
+ </OSticky>
|
|
|
|
|
|
{showContact.value ? (
|
|
|
<PullRefresh v-model={refreshing.value} onRefresh={onRefresh} style="min-height: 100vh;">
|