暂存
This commit is contained in:
@@ -369,9 +369,9 @@
|
||||
<view class="item">
|
||||
<text><b>电话:</b>{{thisStudent.student.tel}}</text>
|
||||
</view>
|
||||
<view class="item">
|
||||
<!-- <view class="item">
|
||||
<b>课程购买情况:</b><br />{{thisStudent.buyState}}
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="scoreBox flex_box flex_between border_radius_10 " >
|
||||
<view class="">
|
||||
<view class="ciyao">
|
||||
@@ -407,11 +407,7 @@
|
||||
></view> -->
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<!-- <view class="fabBox">
|
||||
<uni-fab ref="fab" :pattern="pattern" :content="fabContent" :horizontal="horizontal" :vertical="vertical"
|
||||
:direction="direction" @trigger="fabTrigger" @fabClick="fabClick" />
|
||||
</view> -->
|
||||
</u-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -441,20 +437,7 @@
|
||||
buttonColor: '#007AFF',
|
||||
iconColor: '#fff'
|
||||
},
|
||||
fabContent: [{
|
||||
iconPath: '/static/icon/pigai2.png',
|
||||
selectedIconPath: '/static/icon/pigai2.png',
|
||||
text: '发布作业',
|
||||
active: false
|
||||
},
|
||||
{
|
||||
iconPath: '/static/icon/pigai1.png',
|
||||
selectedIconPath: '/static/icon/pigai1.png',
|
||||
text: '发布医案',
|
||||
active: false
|
||||
},
|
||||
],
|
||||
|
||||
|
||||
thisClass: {
|
||||
showOverBtn: false
|
||||
},
|
||||
@@ -541,17 +524,17 @@
|
||||
onLoad(e) {
|
||||
uni.hideTabBar();
|
||||
this.classId = e.id
|
||||
|
||||
this.interval = setInterval(() => {
|
||||
if (this.thisClass.id) {
|
||||
uni.showLoading({
|
||||
title: '加载中'
|
||||
})
|
||||
this.getRealRole()
|
||||
// this.interval = setInterval(() => {
|
||||
// if (this.thisClass.id) {
|
||||
// uni.showLoading({
|
||||
// title: '加载中'
|
||||
// })
|
||||
this.getUserInfo()
|
||||
clearInterval(this.interval)
|
||||
console.log('定时清了吗');
|
||||
}
|
||||
}, 500)
|
||||
// clearInterval(this.interval)
|
||||
// console.log('定时清了吗');
|
||||
// }
|
||||
// }, 500)
|
||||
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@@ -662,7 +645,7 @@
|
||||
url: "common/class/getUserRole",
|
||||
method: "POST",
|
||||
data: {
|
||||
"classId": this.thisClass.id
|
||||
"classId": this.classId
|
||||
},
|
||||
header: { //默认 无 说明:请求头
|
||||
'Content-Type': 'application/json'
|
||||
@@ -870,31 +853,7 @@
|
||||
},
|
||||
closeManager() {
|
||||
this.showMan = false
|
||||
},
|
||||
fabClick() {
|
||||
// uni.showToast({
|
||||
// title: '点击了悬浮按钮',
|
||||
// icon: 'none'
|
||||
// })
|
||||
},
|
||||
fabTrigger(e) {
|
||||
console.log(e)
|
||||
this.fabContent[e.index].active = !e.item.active
|
||||
var _url = '/pages/miniClass/addHomeWork'
|
||||
var _type = '0'
|
||||
if (e.index == 0) {
|
||||
// 发布作业/医案
|
||||
_type = '0'
|
||||
} else {
|
||||
_type = '1'
|
||||
}
|
||||
this.$refs.fab.close()
|
||||
setTimeout(() => {
|
||||
uni.navigateTo({
|
||||
url: `${_url}?classId=${this.thisClass.id}&type=${_type}`
|
||||
})
|
||||
}, 200)
|
||||
},
|
||||
},
|
||||
// 获取固定作业的数量
|
||||
async getHomeWorkLength() {
|
||||
var list = []
|
||||
@@ -1639,6 +1598,7 @@
|
||||
|
||||
.item {
|
||||
border: 1px solid #fff;
|
||||
padding: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1860,14 +1820,14 @@
|
||||
color: #666;
|
||||
font-size: 30rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
}
|
||||
.zhengshu{width: 80rpx; height: 80rpx; background-size: contain;}
|
||||
.Azheng{background-image: url(@/static/icon/Az.png);}
|
||||
.Bzheng{background-image: url(@/static/icon/Bz.png);}
|
||||
.scoreBox{
|
||||
align-items: center;
|
||||
align-items: center; border: 1px solid #f1f1f1;
|
||||
margin-top: 20rpx;
|
||||
text-align: center; background-color: #fff; padding: 20rpx;
|
||||
text-align: center; background-color: #fff; padding: 10rpx 20rpx;
|
||||
.ciyao{color: #999;}
|
||||
.score{color: #258feb; font-weight: bold; font-size: 36rpx;}
|
||||
.seePaper{width: 50rpx; height: 50rpx;
|
||||
|
||||
Reference in New Issue
Block a user