【fix】优化代码

This commit is contained in:
黄少君
2024-02-22 18:37:23 +08:00
parent 17c043348a
commit f8fac0a5bc
246 changed files with 973 additions and 406 deletions

View File

@ -88,7 +88,6 @@
<text v-if="data.stock">仅剩{{ data.stock }}</text>
<text v-else>库存不足</text>
</view>
<view
class="buy-num"
v-if="purchase"
@ -98,6 +97,7 @@
</view>
</view>
<uv-button
class="button"
round
block
type="primary"
@ -317,6 +317,11 @@ const percentage = computed(() => {
align-items: center;
justify-content: center;
.button {
flex-shrink: 0;
white-space: nowrap;
}
&-desc {
line-height: 28rpx;
font-size: 20rpx;