Commit aefc71c2 by xuzhenghua

ui问题

parents 38dee714 5fe4637c
......@@ -34,7 +34,7 @@ class ReserveCourse extends Component {
const {code, data, msg} = res.data;
if (code === 200) {
this.setState({
courseData: data.filter((item, index) => index < 4),
courseData: JSON.stringify(data) == '{}' ? []:data.filter((item, index) => index < 4),
courseDataAll: data
})
} else {
......@@ -172,7 +172,7 @@ function CourseList(props) {
}
{
item.is_buy === 1 &&
<button
<button
className="to-expand-buy2"
onClick={() => expandPaywk(item.course_id, item.start_timestamp,item.final_start_time)}
>立即付尾款</button>
......
......@@ -24,11 +24,11 @@
li{
flex: 1;
width: 63px;
height: 30px;
height: 40px;
font-size: 11px;
color: #fff;
text-align: center;
line-height: 30px;
line-height: 40px;
&.active{
background: #FF42F9;
}
......
......@@ -12,7 +12,7 @@
.iconfont {
margin: 16px 0 0;
font-size: 24px;
font-size: 28px;
color: #fff;
cursor: pointer;
}
......
......@@ -8,7 +8,7 @@
height: 33px;
border: 1px solid rgba(255, 246, 4, 1);
border-radius: 0 0 6px 6px;
.am-tabs-default-bar {
.am-tabs-default-bar-tab:nth-of-type(3) {
......@@ -16,11 +16,11 @@
display: none;
}
}
.am-tabs-default-bar-tab {
height: auto;
line-height: 1;
&::after {
content: '';
display: block;
......@@ -74,7 +74,7 @@
.prize__content {
display: flex;
flex-wrap: nowrap;
padding: 10px 7px 0;
padding: 10px 7px 0 0;
overflow-y: auto;
}
......@@ -86,7 +86,7 @@
background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/prize-border.png');
background-size: cover;
overflow: hidden;
img {
display: block;
width: 100%;
......
......@@ -41,6 +41,7 @@ export default class RecordPopup extends Component {
</div>
<div className="table__body">
{
recordList.length>0?
recordList.map((item, index) => {
return (<div className="tr__container" key={index}>
<span className="tr">{item.submit_time}</span>
......@@ -54,12 +55,13 @@ export default class RecordPopup extends Component {
</span>
</div>
)
})
}):
<div className={'notdata'}>暂无测试记录</div>
}
</div>
</div>
</div>
</div>
)
}
......
......@@ -14,10 +14,9 @@
.gift__record {
width: 300px;
height: 250px;
background: rgba(255, 255, 255, 1);
border-radius: 5px;
padding: 18px 24px 0 24px;
padding: 18px 24px 30px 24px;
position: relative;
span.tr {
display: flex;
......@@ -60,7 +59,6 @@
}
.table__body {
width: 250px;
height: 102px;
border: 1px solid rgba(207, 219, 229, 0.4);
border-radius: 0px 0px 1px 1px;
box-sizing: border-box;
......@@ -78,10 +76,15 @@
}
}
}
.notdata{
text-align: center;
color: #999999;
line-height: 35px;
}
.close__button {
width: 32px;
height: 32px;
width: 24px;
height: 24px;
border-radius: 50%;
position: absolute;
left: 50%;
......@@ -92,7 +95,7 @@
justify-content: center;
align-items: center;
i {
font-size: 32px;
font-size: 24px;
color: #fff;
}
}
......
......@@ -11,7 +11,7 @@ export default class SharePopup extends Component {
}
}}>
{
browser.isWeixin &&
browser.isWeixin &&
<div className="share__row">
<img src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/throw_icon.png' />
</div>
......@@ -19,7 +19,7 @@ export default class SharePopup extends Component {
<div className="share__content">
<p className="share__text">分享活动页到朋友圈、qq、微博分别</p>
<div className='share__rule'>
<img src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/add2.png' />
<img className={'share__add2'} src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/add2.png' />
<span>(每个平台每天一次)</span>
</div>
</div>
......
......@@ -45,5 +45,8 @@
font-size: 12px;
color: #525C65;
}
.share__add2{
width: 95px;
}
}
}
\ No newline at end of file
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