...
|
...
|
@@ -24,10 +24,6 @@ |
|
|
</a>
|
|
|
</show-box>
|
|
|
|
|
|
<div class="separator" v-if="isApp"><span>继续拖动,查看商品信息</span>
|
|
|
<hr/>
|
|
|
</div>
|
|
|
|
|
|
<show-box v-if="intro.productDescBo">
|
|
|
<h2>商品信息</h2>
|
|
|
<i>DESCRIPTION</i>
|
...
|
...
|
@@ -238,27 +234,6 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
.separator {
|
|
|
text-align: center;
|
|
|
color: #c4c4c4;
|
|
|
height: 110px;
|
|
|
line-height: 110px;
|
|
|
margin-bottom: -20px;
|
|
|
|
|
|
span {
|
|
|
background: #f6f6f6;
|
|
|
padding: 0 15px;
|
|
|
}
|
|
|
|
|
|
hr {
|
|
|
max-width: 512px;
|
|
|
margin-top: -55px;
|
|
|
border: none;
|
|
|
border-top: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
i.info {
|
|
|
font-style: normal;
|
|
|
color: #b0b0b0;
|
...
|
...
|
@@ -514,7 +489,6 @@ |
|
|
created() {
|
|
|
const self = this;
|
|
|
const pid = app.data('pid');
|
|
|
let loadIntroDeferred;
|
|
|
|
|
|
// 显示商品特征选择组件
|
|
|
this.$on('feature.close', function() {
|
...
|
...
|
@@ -549,19 +523,10 @@ |
|
|
|
|
|
return result;
|
|
|
}).then((result)=> {
|
|
|
loadIntroDeferred = () => {
|
|
|
// 读取商品详情
|
|
|
$.get(`/product/product/intro_${pid}.json`, {skn: result.productPriceBo.productSkn}).then(intro => {
|
|
|
this.intro = intro;
|
|
|
});
|
|
|
};
|
|
|
});
|
|
|
|
|
|
$(window).on('scroll', ()=> {
|
|
|
if ($(window).scrollTop() > 200 && loadIntroDeferred) {
|
|
|
loadIntroDeferred();
|
|
|
loadIntroDeferred = null;
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// 读取购物车数量
|
...
|
...
|
|