Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
1009a426
Commit
1009a426
authored
Sep 27, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5c5da994
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
28 deletions
+26
-28
addChild.vue
src/pages/MyChild/addChild.vue
+23
-12
person.vue
src/pages/person/person.vue
+3
-1
timeTable.vue
src/pages/timetable/timeTable.vue
+0
-15
No files found.
src/pages/MyChild/addChild.vue
View file @
1009a426
...
...
@@ -187,20 +187,31 @@
const
methods
=
{
clickChecked
(
item
){
data
.
list
=
[]
data
.
dataList
.
forEach
(
i
=>
{
i
.
checked
=
false
if
(
item
.
StuId
==
i
.
StuId
){
data
.
list
.
push
(
i
)
if
(
item
.
checked
){
data
.
list
=
[]
item
.
checked
=
false
data
.
form
=
{
StuId
:
''
,
// WeChatName: item.WeChatName,
// WeChatImg: item.WeChatImg,
UnionId
:
''
}
})
item
.
checked
=
true
data
.
form
=
{
StuId
:
item
.
StuId
,
// WeChatName: item.WeChatName,
// WeChatImg: item.WeChatImg,
UnionId
:
uni
.
getStorageSync
(
'wxUserAuthInfo'
).
unionid
}
else
{
data
.
dataList
.
forEach
(
i
=>
{
i
.
checked
=
false
if
(
item
.
StuId
==
i
.
StuId
){
data
.
list
.
push
(
i
)
}
})
item
.
checked
=
true
data
.
form
=
{
StuId
:
item
.
StuId
,
// WeChatName: item.WeChatName,
// WeChatImg: item.WeChatImg,
UnionId
:
uni
.
getStorageSync
(
'wxUserAuthInfo'
).
unionid
}
}
},
clickIcon
(){
var
phonereg
=
11
&&
/^
((
13|14|15|16|17|18|19
)[
0-9
]{1}\d{8})
$/
...
...
src/pages/person/person.vue
View file @
1009a426
...
...
@@ -72,7 +72,7 @@
<view
class=
"courseInfo"
v-if=
"pageData.CourseInfo.length>0"
>
<view
class=
"title"
>
当前学习课程
</view>
<view
class=
"box"
:style=
"
{ 'margin-top': `${statusBarHeight}px` }"
>
<view
class=
"box"
>
<view
class=
"box-top"
>
<carousel
:img-list=
"pageData.CourseInfo"
url-key=
"B2BIcon"
@
selected=
'selectedBanner'
></carousel>
</view>
...
...
@@ -264,6 +264,8 @@
}
let
res
=
await
CreateTeacherCode
(
msg
);
if
(
res
)
{
data
.
QRcodeImg
=
res
.
Data
data
.
showPopup
=
true
uni
.
hideLoading
()
that
.
getData
()
}
...
...
src/pages/timetable/timeTable.vue
View file @
1009a426
...
...
@@ -420,21 +420,6 @@
}
};
onMounted
(()
=>
{
// let port = uni.getSystemInfoSync().platform
// switch (port) {
// case 'android':
// data.statusBarHeight = false
// console.log('运行Android上',port);//android
// break;
// case 'ios':
// data.statusBarHeight = true
// console.log('运行iOS上',port);//ios
// break;
// default:
// data.statusBarHeight = true
// console.log('运行在开发者工具上');//devtools
// break;
// }
that
.
VersionUpdate
()
getcalendar
(
new
Date
().
getFullYear
(),
new
Date
().
getMonth
()
+
1
);
let
today
=
calendar
.
value
.
find
((
e
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment