Authored by htoooth

fix css

... ... @@ -1196,11 +1196,6 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
); // 限购商品的状态
}
if (propOrigin('brand_info', '')) {
requestApi.brand =
brandService.getBrandByDomainAsync(propOrigin('brand_info.brand_domain')); // 品牌信息
}
if (propOrigin('bundle_type') === BUNDLE_PRODUCE) {
requestApi.bundle = productAPI.getBundleAsync(result.skn); // 量贩
}
... ... @@ -1212,7 +1207,6 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
let promotionData = requestData.promotion;
let coupon = requestData.coupon;
let limitedInfo = requestData.limited;
let domainBrand = requestData.brand;
let bundle = requestData.bundle;
// 商品标签
... ... @@ -1224,12 +1218,13 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
// 是否收藏
result.isCollect = favoriteData.product;
// 商品价格
// 带人民币符号的商品价格
result.marketPrice = propOrigin('format_market_price');
result.salePrice = propOrigin('format_sales_price');
result.hasOtherPrice = true;
if (result.salePrice === '0') {
//
if (result.salePrice === '0' || result.marketPrice === result.salePrice) {
delete result.salePrice;
result.hasOtherPrice = false;
}
... ... @@ -1437,18 +1432,6 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
};
}
// 非普通商品导航条移除加入购物车按钮
const hasNavCart = (pro) => {
return !(pro.limitedsale === 'Y' ||
pro.secKill === 'Y' ||
pro.deposit === 'Y' ||
pro.presale === 'Y' ||
pro.bundle.type !== 0);
};
result.hasNavCart = hasNavCart(result);
// 电子票
result.isTicket = propOrigin('product_skn') === YOHOOD_TICKET;
if (virtualGoods && result.isTicket) {
... ...
... ... @@ -504,7 +504,7 @@
font-size: 12px;
.title {
margin-top: 10px;
margin-top: 8px;
}
img {
... ... @@ -517,6 +517,7 @@
ul {
list-style: none;
width: 510px;
margin-top: -8px;
}
li {
... ... @@ -524,6 +525,8 @@
cursor: pointer;
border: 1px solid #999999;
height: 34px;
margin-top: 8px;
margin-bottom: 0;
&.focus {
border-color: black;
... ... @@ -558,7 +561,7 @@
height: 24px;
line-height: 24px;
margin-right: 8px;
margin-bottom: 8px;
margin-top: 8px;
padding: 0 10px;
border: 1px solid #999999;
text-align: center;
... ... @@ -585,6 +588,7 @@
.size {
float: left;
color: black;
margin-top: -8px;
}
.size-ruler {
... ... @@ -607,7 +611,7 @@
font-size: 13px;
color: #999;
clear: both;
margin-top: -5px;
line-height: 25px;
}
.line {
... ... @@ -1152,7 +1156,7 @@
.material-content {
/*display: none;*/
overflow: hidden;
overflow: visible;
}
.description-material-tab {
... ... @@ -1892,6 +1896,7 @@
font-size: 13px;
color: #d0021b;
clear: both;
line-height: 25px;
.iconfont {
font-size: 10px !important;
... ... @@ -2099,6 +2104,9 @@
.close {
.iconfont {
position: absolute;
top: 10px;
right: 10px;
font-size: 30px !important;
}
}
... ...