Commit 1009a426 authored by youjie's avatar youjie

no message

parent 5c5da994
......@@ -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})$/
......
......@@ -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()
}
......
......@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment