...
|
...
|
@@ -5,8 +5,9 @@ |
|
|
</show-box>
|
|
|
<show-box :zero-top-margin="true">
|
|
|
<ul class="item-action">
|
|
|
<li><i class="brand icon icon-share2"></i><span class="action-text">{{brand && brand.brand_name
|
|
|
}}</span></li>
|
|
|
<li><a href="{{brand && brand.brand_domain | brandUrl}}"><i class="brand icon icon-share2"></i><span
|
|
|
class="action-text">{{brand && brand.brand_name
|
|
|
}}</span></a></li>
|
|
|
<li><i class="brand icon icon-focus"></i><span class="action-text">收藏</span></li>
|
|
|
<li><i class="brand icon icon-share2"></i><span class="action-text">分享</span></li>
|
|
|
</ul>
|
...
|
...
|
@@ -41,10 +42,10 @@ |
|
|
<div class="add-cart">
|
|
|
<ul class="cart-detail">
|
|
|
<li>
|
|
|
<span class="color">颜色 <i class="icon icon-sort-up"></i></span>
|
|
|
<span class="color">颜色 <i class="icon icon-sort-up color"></i></span>
|
|
|
</li>
|
|
|
<li>
|
|
|
<span class="size">尺码 <i class="icon icon-sort-down"></i></span>
|
|
|
<span class="size">尺码 <i class="icon icon-sort-down size"></i></span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<hr>
|
...
|
...
|
@@ -276,28 +277,28 @@ |
|
|
<prefer-list :title="preferTitle" :list="preferList"></prefer-list>
|
|
|
</show-box>
|
|
|
|
|
|
<div class="control-box" v-if="isApp && isReady">
|
|
|
<button class="button control-button">
|
|
|
<span @click="yoho.goShopingCart()" style="position: relative;">
|
|
|
<span class="shopbag"></span>
|
|
|
<span v-if="isApp && cartCount > 0" class="badge badge-tr">{{cartCount >= 100 ? '99+': cartCount}}</span>
|
|
|
</span>
|
|
|
</button>
|
|
|
<button class="button control-button" @click="toggleFavorite()">
|
|
|
<span v-if="entity.is_collect === 'Y' " class="icon icon-focused"></span>
|
|
|
<span v-else class="focus"></span>
|
|
|
</button>
|
|
|
<button class="button button-solid add-to-cart"
|
|
|
@click="showAddToCart()"
|
|
|
:disabled="isSoldOut">
|
|
|
<span v-if="isSoldOut">
|
|
|
已售完
|
|
|
</span>
|
|
|
<span v-else="">
|
|
|
加入购物袋
|
|
|
</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
<!--<div class="control-box" v-if="isApp && isReady">-->
|
|
|
<!--<button class="button control-button">-->
|
|
|
<!--<span @click="yoho.goShopingCart()" style="position: relative;">-->
|
|
|
<!--<span class="shopbag"></span>-->
|
|
|
<!--<span v-if="isApp && cartCount > 0" class="badge badge-tr">{{cartCount >= 100 ? '99+': cartCount}}</span>-->
|
|
|
<!--</span>-->
|
|
|
<!--</button>-->
|
|
|
<!--<button class="button control-button" @click="toggleFavorite()">-->
|
|
|
<!--<span v-if="entity.is_collect === 'Y' " class="icon icon-focused"></span>-->
|
|
|
<!--<span v-else class="focus"></span>-->
|
|
|
<!--</button>-->
|
|
|
<!--<button class="button button-solid add-to-cart"-->
|
|
|
<!--@click="showAddToCart()"-->
|
|
|
<!--:disabled="isSoldOut">-->
|
|
|
<!--<span v-if="isSoldOut">-->
|
|
|
<!--已售完-->
|
|
|
<!--</span>-->
|
|
|
<!--<span v-else="">-->
|
|
|
<!--加入购物袋-->
|
|
|
<!--</span>-->
|
|
|
<!--</button>-->
|
|
|
<!--</div>-->
|
|
|
|
|
|
<div v-if="!isApp">
|
|
|
<share-bottom></share-bottom>
|
...
|
...
|
@@ -611,25 +612,31 @@ |
|
|
.icon {
|
|
|
position: absolute;
|
|
|
font-size: 40px;
|
|
|
|
|
|
&.color {
|
|
|
right: 25px;
|
|
|
}
|
|
|
|
|
|
&.size {
|
|
|
right: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.icon-sort-up {
|
|
|
top: 14px;
|
|
|
}
|
|
|
|
|
|
.icon-sort-down {
|
|
|
top: -10px;
|
|
|
}
|
|
|
|
|
|
&:first-child {
|
|
|
padding-right: 25px;
|
|
|
border-right: 1px solid #e0e0e0;
|
|
|
|
|
|
.icon {
|
|
|
top: 16px;
|
|
|
right: 25px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
&:last-child {
|
|
|
padding-left: 30px;
|
|
|
|
|
|
.icon {
|
|
|
top: -4px;
|
|
|
right: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|