|
|
@ -22,7 +22,7 @@ |
|
|
<text class="lf-font-24">¥</text> |
|
|
<text class="lf-font-24">¥</text> |
|
|
<text class="lf-font-42">{{ item.specs[0].selling_price }}</text> |
|
|
<text class="lf-font-42">{{ item.specs[0].selling_price }}</text> |
|
|
</text> |
|
|
</text> |
|
|
<text class="lf-font-24">¥{{ item.specs[0].original_price }}</text> |
|
|
|
|
|
|
|
|
<text class="lf-font-24 original-price">¥{{ item.specs[0].original_price }}</text> |
|
|
<button>立即抢购</button> |
|
|
<button>立即抢购</button> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -123,10 +123,7 @@ |
|
|
|
|
|
|
|
|
let isPage = res.data.has_more_page; |
|
|
let isPage = res.data.has_more_page; |
|
|
tab_item.isPage = isPage; |
|
|
tab_item.isPage = isPage; |
|
|
if(isPage){ |
|
|
|
|
|
tab_item.loadingClass = true; |
|
|
|
|
|
tab_item.loadingText = '正在加载中'; |
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
|
if(!isPage){ |
|
|
tab_item.loadingClass = false; |
|
|
tab_item.loadingClass = false; |
|
|
tab_item.loadingText = '没有更多数据啦~'; |
|
|
tab_item.loadingText = '没有更多数据啦~'; |
|
|
} |
|
|
} |
|
|
@ -157,7 +154,10 @@ |
|
|
tab_item.loadingText = '正在加载中'; |
|
|
tab_item.loadingText = '正在加载中'; |
|
|
this.getGoodsList(); |
|
|
this.getGoodsList(); |
|
|
uni.stopPullDownRefresh() |
|
|
uni.stopPullDownRefresh() |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
// onShareAppMessage(){ |
|
|
|
|
|
|
|
|
|
|
|
// } |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
@ -224,7 +224,10 @@ |
|
|
.price{ |
|
|
.price{ |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
color:#FF0000; |
|
|
color:#FF0000; |
|
|
|
|
|
|
|
|
|
|
|
.original-price{ |
|
|
|
|
|
text-decoration: line-through; |
|
|
|
|
|
color: #777777; |
|
|
|
|
|
} |
|
|
// text{ |
|
|
// text{ |
|
|
// font-size: 48rpx; |
|
|
// font-size: 48rpx; |
|
|
// color:#FF0000; |
|
|
// color:#FF0000; |
|
|
|