Commit fc06c9de authored by lvtz's avatar lvtz

fix

parent ccba993f
...@@ -352,10 +352,11 @@ Page({ ...@@ -352,10 +352,11 @@ Page({
} }
}) })
}, },
// 弹幕(暂定不跟校区班级走) // 弹幕(暂定跟校区走)
getRandrank(){ getRandrank(){
let otherParams = (this.data.id && this.data.id!=0) ? {class_id: this.data.id } : {school_id: this.data.sid} getRandrank({
getRandrank(otherParams).then((res) => { school_id: this.data.sid
}).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.setData({ this.setData({
randrankData: res.data.list randrankData: res.data.list
......
...@@ -290,6 +290,9 @@ ...@@ -290,6 +290,9 @@
.get-student{ .get-student{
padding-top: 30rpx; padding-top: 30rpx;
background: #fff; background: #fff;
display: flex;
justify-content: center;
overflow: hidden;
} }
/* 预约 领取 */ /* 预约 领取 */
.booking-box{ .booking-box{
...@@ -302,7 +305,6 @@ ...@@ -302,7 +305,6 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
position: relative; position: relative;
margin: 0 auto;
} }
.booking-failed{ .booking-failed{
background: linear-gradient(270deg,rgba(255,52,52,1) 0%,rgba(255,52,109,1) 100%); background: linear-gradient(270deg,rgba(255,52,52,1) 0%,rgba(255,52,109,1) 100%);
......
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