This commit is contained in:
曹辉 2023-04-20 11:04:08 +08:00
parent 89072c1ab7
commit b056c6288e

View File

@ -1,6 +1,6 @@
<template>
<view class="top">
<view class="content" v-if="!studentId" @tap="goindex">
<view class="content" v-if="!parentList" @tap="goindex">
<view class="pictures">
<image src="../../static/toux.png" mode=""></image>
</view>
@ -22,7 +22,7 @@
<image src="../../static/tuichu.png" mode=""></image>
</view>
</view>
<view class="student" v-if="!studentId">
<view class="student" v-if="!parentList">
<view class="studentitem">
<image src="../../static/renshi.png" mode=""></image>
<span>学生信息</span>
@ -57,7 +57,7 @@
</view>
</view>
</view>
<view class="school" v-if="!studentId">
<view class="school" v-if="!parentList">
<view class="studentitem">
<image src="../../static/xuexiao.png" mode=""></image>
<span>幼儿园信息</span>
@ -119,18 +119,18 @@
export default {
data() {
return {
studentId: null,
mask: false,
phone: '',
studentInfoList: [],
kindergartenInfoList: [],
parentList: {},
parentList: null,
}
},
onShow() {
let that = this;
that.phone = uni.getStorageSync('phone');
if (that.phone) {
console.log(1)
that.getInfoByPhoneinfo();
} else {}
},