|
@@ -2,16 +2,15 @@
|
|
|
<div class="component-detail">
|
|
<div class="component-detail">
|
|
|
<div class="base-detail">
|
|
<div class="base-detail">
|
|
|
<div class="base-detail-item" v-if="component.kind.nameCn">
|
|
<div class="base-detail-item" v-if="component.kind.nameCn">
|
|
|
- <span>类目:</span>
|
|
|
|
|
|
|
+ <span>类 目:</span>
|
|
|
<span>{{component.kind.nameCn}}</span>
|
|
<span>{{component.kind.nameCn}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="base-detail-item" v-if="component.brand.nameCn">
|
|
<div class="base-detail-item" v-if="component.brand.nameCn">
|
|
|
- <span>品牌:</span>
|
|
|
|
|
|
|
+ <span>品 牌:</span>
|
|
|
<span>{{component.brand.nameCn}}</span>
|
|
<span>{{component.brand.nameCn}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="base-detail-item attach" @click="goAttach(component.attach)">
|
|
<div class="base-detail-item attach" @click="goAttach(component.attach)">
|
|
|
- <span>规格书:</span>
|
|
|
|
|
- <i class="icon-chakan iconfont"></i>
|
|
|
|
|
|
|
+ <span>规格书:<img src="/images/mobile/@2x/productDetail/pdf.png" alt=""><span>查看</span></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="base-detail-item" v-if="component.description">
|
|
<div class="base-detail-item" v-if="component.description">
|
|
|
<span class="description">产品描述:{{component.description}}</span>
|
|
<span class="description">产品描述:{{component.description}}</span>
|
|
@@ -40,7 +39,7 @@
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
|
<tr v-for="store in storeList.content">
|
|
<tr v-for="store in storeList.content">
|
|
|
- <td>{{store.storeName || '-'}}</td>
|
|
|
|
|
|
|
+ <td class="store-name">{{store.storeName || '-'}}</td>
|
|
|
<td>
|
|
<td>
|
|
|
<div v-if="!store.packaging && !store.breakUp && !store.produceDate">-</div>
|
|
<div v-if="!store.packaging && !store.breakUp && !store.produceDate">-</div>
|
|
|
<div>{{store.packaging}}</div>
|
|
<div>{{store.packaging}}</div>
|
|
@@ -55,7 +54,7 @@
|
|
|
<div v-if="!store.prices || store.prices.length == 0">
|
|
<div v-if="!store.prices || store.prices.length == 0">
|
|
|
<span>—</span>
|
|
<span>—</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-for="price in store.prices">
|
|
|
|
|
|
|
+ <div v-for="price in store.prices" class="price-level">
|
|
|
<span v-if="store.currencyName.indexOf('RMB')!==-1">¥{{price.rMBPrice | currency}}</span>
|
|
<span v-if="store.currencyName.indexOf('RMB')!==-1">¥{{price.rMBPrice | currency}}</span>
|
|
|
<span v-if="store.currencyName.indexOf('USD')!==-1">${{price.uSDPrice | currency}}</span>
|
|
<span v-if="store.currencyName.indexOf('USD')!==-1">${{price.uSDPrice | currency}}</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -67,7 +66,7 @@
|
|
|
<span v-if="store.b2cMaxDelivery && store.b2cMaxDelivery !== store.b2cMinDelivery">-</span>
|
|
<span v-if="store.b2cMaxDelivery && store.b2cMaxDelivery !== store.b2cMinDelivery">-</span>
|
|
|
<span v-if="store.b2cMaxDelivery && store.b2cMaxDelivery !== store.b2cMinDelivery">{{store.b2cMaxDelivery}}</span>
|
|
<span v-if="store.b2cMaxDelivery && store.b2cMaxDelivery !== store.b2cMinDelivery">{{store.b2cMaxDelivery}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="store.minBuyQty">{{store.minBuyQty}}起订</div>
|
|
|
|
|
|
|
+ <div v-if="store.minBuyQty"><span class="order-tag">订</span>{{store.minBuyQty}}起订</div>
|
|
|
<div v-if="!store.b2cMinDelivery">
|
|
<div v-if="!store.b2cMinDelivery">
|
|
|
<span>—</span>
|
|
<span>—</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -78,7 +77,7 @@
|
|
|
<div v-if="!storeList.content || storeList.content.length == 0" class="no-store">
|
|
<div v-if="!storeList.content || storeList.content.length == 0" class="no-store">
|
|
|
<img src="/images/mobile/@2x/car@2x.png" alt="">
|
|
<img src="/images/mobile/@2x/car@2x.png" alt="">
|
|
|
<div>抱歉,暂无商家出售此型号!</div>
|
|
<div>抱歉,暂无商家出售此型号!</div>
|
|
|
- <div>您可前往www.usoftmall.com网页版进行“发布求购”或“产品上架”操作!</div>
|
|
|
|
|
|
|
+ <div>您可前往<strong>www.usoftmall.com</strong>网页版进行<strong>“发布求购”</strong>或<strong>“产品上架”</strong>操作!</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -169,20 +168,33 @@
|
|
|
.component-detail {
|
|
.component-detail {
|
|
|
font-size: .28rem;
|
|
font-size: .28rem;
|
|
|
margin-bottom: 1.2rem;
|
|
margin-bottom: 1.2rem;
|
|
|
|
|
+ background: #f7f7f7;
|
|
|
|
|
+ padding-top: .4rem;
|
|
|
.base-detail {
|
|
.base-detail {
|
|
|
- margin: 0 .66rem .34rem .40rem;
|
|
|
|
|
- padding-top: .34rem;
|
|
|
|
|
|
|
+ margin: 0 .27rem .34rem .27rem;
|
|
|
|
|
+ padding: .18rem .36rem;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ border-radius: .1rem;
|
|
|
|
|
+ background: url('/images/mobile/@2x/productDetail/component-desc-bg.png')no-repeat;
|
|
|
|
|
+ height: 3.17rem;
|
|
|
.base-detail-item {
|
|
.base-detail-item {
|
|
|
- margin-bottom: .3rem;
|
|
|
|
|
|
|
+ margin-bottom: .2rem;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ &:nth-last-child(1) {
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ }
|
|
|
&.attach {
|
|
&.attach {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- }
|
|
|
|
|
- i {
|
|
|
|
|
- font-size: .55rem;
|
|
|
|
|
- color: #6fcafe;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: -.13rem;
|
|
|
|
|
|
|
+ img {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ width: .36rem;
|
|
|
|
|
+ height: .4rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ >span >span {
|
|
|
|
|
+ margin-left: .1rem;
|
|
|
|
|
+ color: #418bf6;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
&:last-child {
|
|
&:last-child {
|
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
@@ -201,97 +213,34 @@
|
|
|
}
|
|
}
|
|
|
.product-switch-item {
|
|
.product-switch-item {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
+ background: #fff;
|
|
|
.mobile-switch-btn {
|
|
.mobile-switch-btn {
|
|
|
- background: #e75610;
|
|
|
|
|
- color: #fff;
|
|
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ color: #666;
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- height: .68rem;
|
|
|
|
|
- font-size: .28rem;
|
|
|
|
|
- padding: .19rem .53rem;
|
|
|
|
|
- position: relative;
|
|
|
|
|
|
|
+ height: .64rem;
|
|
|
|
|
+ line-height: .64rem;
|
|
|
|
|
+ font-size: .34rem;
|
|
|
|
|
+ width: 1.4rem;
|
|
|
&:first-child {
|
|
&:first-child {
|
|
|
- background: #fff;
|
|
|
|
|
- color: #e75610;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- border-left: none;
|
|
|
|
|
- padding-left: .30rem;
|
|
|
|
|
- }
|
|
|
|
|
- &:first-child.active {
|
|
|
|
|
- background: #e75610;
|
|
|
|
|
- color: #fff;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- padding-left: .30rem;
|
|
|
|
|
- }
|
|
|
|
|
- &:last-child {
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- color: #e75610;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- border-right: none;
|
|
|
|
|
- padding-right: .35rem;
|
|
|
|
|
- }
|
|
|
|
|
- &:last-child.active {
|
|
|
|
|
- background: #e75610;
|
|
|
|
|
- color: #fff;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- border-right: none;
|
|
|
|
|
- padding-right: .35rem;
|
|
|
|
|
- }
|
|
|
|
|
- &:first-child:before {
|
|
|
|
|
- content: '';
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- width: .64rem;
|
|
|
|
|
- height: .68rem;
|
|
|
|
|
- border-radius: 100%;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- left: -.33rem;
|
|
|
|
|
- top: -.01rem;
|
|
|
|
|
- z-index: -5;
|
|
|
|
|
- }
|
|
|
|
|
- &:first-child.active:before {
|
|
|
|
|
- content: '';
|
|
|
|
|
- background: #e75610;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- width: .64rem;
|
|
|
|
|
- height: .68rem;
|
|
|
|
|
- border-radius: 100%;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- left: -.33rem;
|
|
|
|
|
- top: -.01rem;
|
|
|
|
|
- }
|
|
|
|
|
- &:last-child:before {
|
|
|
|
|
- content: '';
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- width: .64rem;
|
|
|
|
|
- height: .68rem;
|
|
|
|
|
- border-radius: 100%;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- left: 1.04rem;
|
|
|
|
|
- z-index: -5;
|
|
|
|
|
- top: -.01rem;
|
|
|
|
|
|
|
+ margin-right: 1.78rem;
|
|
|
}
|
|
}
|
|
|
- &:last-child.active:before {
|
|
|
|
|
- content: '';
|
|
|
|
|
- background: #e75610;
|
|
|
|
|
- width: .64rem;
|
|
|
|
|
- height: .68rem;
|
|
|
|
|
- border-radius: 100%;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- border: .01rem solid #e75610;
|
|
|
|
|
- left: 1.04rem;
|
|
|
|
|
- z-index: -5;
|
|
|
|
|
- top: -.01rem;
|
|
|
|
|
|
|
+ &.active {
|
|
|
|
|
+ color: #fc5708;
|
|
|
|
|
+ border-bottom: .01rem solid #fc5708;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.product-params {
|
|
.product-params {
|
|
|
line-height: .28rem;
|
|
line-height: .28rem;
|
|
|
- margin-top: .19rem;
|
|
|
|
|
|
|
+ margin-top: .2rem;
|
|
|
.param-item {
|
|
.param-item {
|
|
|
padding: .19rem .4rem;
|
|
padding: .19rem .4rem;
|
|
|
&:nth-child(even) {
|
|
&:nth-child(even) {
|
|
|
- background: #efeeee;
|
|
|
|
|
|
|
+ background: #f9f9f9;
|
|
|
|
|
+ }
|
|
|
|
|
+ &:nth-child(odd) {
|
|
|
|
|
+ background: #fff;
|
|
|
}
|
|
}
|
|
|
.prop-name {
|
|
.prop-name {
|
|
|
width: 3.72rem;
|
|
width: 3.72rem;
|
|
@@ -312,16 +261,18 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.product-store {
|
|
.product-store {
|
|
|
- margin: .38rem .2rem;
|
|
|
|
|
|
|
+ margin: .2rem 0;
|
|
|
table {
|
|
table {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
font-size: .28rem;
|
|
font-size: .28rem;
|
|
|
thead {
|
|
thead {
|
|
|
|
|
+ background: #d5e5fb;
|
|
|
tr {
|
|
tr {
|
|
|
th {
|
|
th {
|
|
|
- padding-bottom: .2rem;
|
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
+ height: .78rem;
|
|
|
|
|
+ line-height: .78rem;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -329,7 +280,10 @@
|
|
|
tr {
|
|
tr {
|
|
|
border-top: .01rem solid rgb(174,175,176);
|
|
border-top: .01rem solid rgb(174,175,176);
|
|
|
td {
|
|
td {
|
|
|
- padding-top: .2rem;
|
|
|
|
|
|
|
+ padding: .2rem .1rem;
|
|
|
|
|
+ &.store-name {
|
|
|
|
|
+ color: #418bf6;
|
|
|
|
|
+ }
|
|
|
div {
|
|
div {
|
|
|
padding-left: .4rem;
|
|
padding-left: .4rem;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -340,19 +294,37 @@
|
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ .price-level:last-child {
|
|
|
|
|
+ color: #fc5708;
|
|
|
|
|
+ }
|
|
|
|
|
+ .order-tag {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ font-size: .18rem;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ background: #ee1717;
|
|
|
|
|
+ height: .27rem;
|
|
|
|
|
+ width: .27rem;
|
|
|
|
|
+ line-height: .27rem;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ border-radius: .05rem;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ top: -.03rem;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.no-store {
|
|
.no-store {
|
|
|
- margin-top: .89rem;
|
|
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ padding-top: 1rem;
|
|
|
img {
|
|
img {
|
|
|
display: block;
|
|
display: block;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
|
margin-bottom: .45rem;
|
|
margin-bottom: .45rem;
|
|
|
- width: 1.97rem;
|
|
|
|
|
- height: 1.8rem;
|
|
|
|
|
|
|
+ width: 3.31rem;
|
|
|
|
|
+ height: 2.13rem;
|
|
|
}
|
|
}
|
|
|
div {
|
|
div {
|
|
|
width: 5.27rem;
|
|
width: 5.27rem;
|