first commit

This commit is contained in:
wtq
2025-11-28 10:10:21 +08:00
commit 7e09df72c1
263 changed files with 35495 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<template>
<div class="material-info">
<div>单量: {{preSaleCount}}已选袋子件数/数量: {{totalBag.unitCount}}/{{totalBag.totalCount}}</div>
<div :class="{danger: bagOverload !== '未超出购买限制'}">{{bagOverload}}</div>
</div>
</template>
<script>
import {mapGetters} from 'vuex'
export default {
computed: {
...mapGetters({
preSaleCount: 'indexPage/preSaleCount',
totalBag: 'indexPage/totalBag',
bagOverload: 'indexPage/bagOverload',
})
}
}
</script>
<style lang="scss">
@use "./material-info.scss"
</style>

View File

@@ -0,0 +1,11 @@
@use '@/assets/bundle.scss';
.material-info {
font-size: 30rpx;
color: #606266;
text-align: center;
.danger {
color: #F56C6C;
font-weight: 500;
}
}