1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <view class="window-box">
- <ly-back :showBack="false"/>
- <view class="search w100 h100 flex-center-center">
- <view class="btn btn-primary" @click="search">扫码</view>
- <view class="btn btn-primary" @click="toSelect">手动选择</view>
- </view>
- </view>
- </template>
- <script setup>
- import {reactive} from "vue";
- import {navTo, showToast} from "@/utils/app";
- const pD = reactive({
- title: '学生未激活',
- select: 0,
- selectMax: 1,
- })
- const queryForm = reactive({
- student_id: 0,
- })
- const search = () => {
- // queryForm.student_id = 2260
- }
- const selectHandle = (type) => {
- if (type === 'up') {
- type--
- if (type < 0) type = 0
- } else {
- type++
- if (type > pD.selectMax) type = 0
- }
- }
- const toSelect = () => {
- navTo('pages/classes/select')
- }
- </script>
- <style lang="scss" scoped>
- .info-item {
- display: flex;
- align-items: center;
- margin-bottom: 30rpx;
- &-label {
- margin-right: 50rpx;
- }
- }
- </style>
|