亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

Style.css

.orderItem {

display: block;

padding: 11px 10px 11px 15px;

}

.orderItem__picContainer {

padding: right 10;

display: block;

}

.orderItem__pic {

width: 90px;

height: 90px;

}

.orderItem__content {

display: inline-block;

}


.orderItem__product {

max-width: 237px;

font-size: 17px;

font-weight: 700;

coloc: #111;

padding-right: 8px;

box-sizing: border-box;

overflow: hidden;

text-overflow: ellipsis;

white-space: nowrap;

}


.orderItem__shop {

overflow: hidden;

text-overflow: ellipsis;

white-space: nowrap;

font-size: 13px;

color: #777;

padding-top: 9px;

padding-bottom: 13px;

}


.orderItem__detail {

display: flex;

justify-content: space-between;

height: 2px;

line-height: 22px;

padding-right: 4px;

}


.orderItem__price {

font-size: 13px;

color: #777;

vertical-align: 1px;

margin-left: 10px;

}


.orderItem__price::before {

content: "\A5";

margin-right: 1px;

}


.orderItem_btn {

width: 80px;

height: 22px;

text-align: center;

color: #fff;

border: 0;

font-size: 14px;

}


.orderItem_btn--red {

background-color: #e9203d;

}


.orderItem_btn--grey {

background-color: #999;

}



正在回答

2 回答

按老師的課程學完了,供大家參考

源碼 https://github.com/carrieguo/react-demo-my-order.git


0 回復 有任何疑惑可以回復我~

very good

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
React 16實現訂單列表及評價功能
  • 參與學習       14788    人
  • 解答問題       39    個

以訂單列表為案例,講授React項目的開發流程

進入課程
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號