Commit 3102358e by xuzhenghua

a标签

parent de0a67fe
...@@ -6,12 +6,12 @@ class Classify extends Component { ...@@ -6,12 +6,12 @@ class Classify extends Component {
state = { state = {
mockData:[ mockData:[
{ {
title: '三月面试求职', title: '三月面试求职三月面试求职三月面试求职',
imgUrl: 'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/4c5ccac604.jpg', imgUrl: 'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/4c5ccac604.jpg',
contact: 'QQ群:449141326', contact: '学习到第2课2三月面试求职班三月面试求职班三月面试求职班分33秒6',
time: '03月12日', time: '03月12日',
record: '学习到第2课2分33秒', record: '学习到第2课2三月面试求职班三月面试求职班三月面试求职班分33秒',
isbuy: 0, isbuy: 1,
price0: 100, price0: 100,
price1: 100 price1: 100
}, },
...@@ -58,8 +58,8 @@ class Classify extends Component { ...@@ -58,8 +58,8 @@ class Classify extends Component {
{this.state.mockData.map((item, index) => { {this.state.mockData.map((item, index) => {
const Info = ( const Info = (
<div className="info"> <div className="info">
<p className='title'>{item.title}</p> <p className='title text-overflow-2'>{item.title}</p>
<p className='contact'>{item.contact}</p> <p className='contact text-overflow-2'>{item.contact}</p>
<div className='des'> <div className='des'>
{item.isbuy === 0 && <p className="course-price"> {item.isbuy === 0 && <p className="course-price">
<span className="new">¥{item.price0}</span> <span className="new">¥{item.price0}</span>
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
.v-list-item { .v-list-item {
.content { .content {
border: none; border: none;
.cover { .cover {
flex: inherit; flex: inherit;
width: 42.2%;
} }
} }
.info { .info {
width: 52.3%;
.title { .title {
font-size: 16px; font-size: 16px;
color: $color_333; color: $color_333;
...@@ -19,9 +20,8 @@ ...@@ -19,9 +20,8 @@
margin-top: 14px; margin-top: 14px;
} }
.des { .des {
margin-top: 25px;
.course-price { .course-price {
margin-top: 15px;
.new { .new {
color: $red; color: $red;
font-size: 15px; font-size: 15px;
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
.isbuy { .isbuy {
display: inline-block; display: inline-block;
margin-top: 15px;
width: 61px; width: 61px;
height: 18px; height: 18px;
background-color: $bg_active; background-color: $bg_active;
......
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