v1.0
This commit is contained in:
50
components/buyProgress/buyProgress.vue
Normal file
50
components/buyProgress/buyProgress.vue
Normal file
@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<view class="buy-progress">
|
||||
<space align="center">
|
||||
<view class="buy-progress-info">
|
||||
<view
|
||||
class="buy-progress-info-desc"
|
||||
v-if="surplus"
|
||||
>
|
||||
仅剩{{ surplus }}件
|
||||
</view>
|
||||
</view>
|
||||
<view class="buy-progress-action">
|
||||
<uv-button
|
||||
round
|
||||
block
|
||||
type="primary"
|
||||
>
|
||||
立即抢购
|
||||
</uv-button>
|
||||
</view>
|
||||
</space>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "buyProgress",
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
.buy-progress {
|
||||
&-info {
|
||||
flex: 1;
|
||||
|
||||
&-desc {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
&-action {}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user