This commit is contained in:
BianLzhaoMin 2025-06-15 15:28:56 +08:00
parent 637528d037
commit 02afa160c8
1 changed files with 29 additions and 27 deletions

View File

@ -84,7 +84,7 @@
v-for="(item, index) in partList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text style="white-space: nowrap;font-size: 26rpx;">
<text style="white-space: nowrap; font-size: 26rpx">
{{ item.title }}
</text>
</view>
@ -95,9 +95,12 @@
<div></div>
<div class="purchase-title">标准箱管理</div>
</div>
<view class="purchase-item" :key="index"
<view
class="purchase-item"
:key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in boxList">
v-for="(item, index) in boxList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
@ -303,6 +306,7 @@ const boxList = ref([
// ])
const onNavigateTo = (url) => {
uni.setStorageSync('scrollTop', null)
uni.navigateTo({ url })
}
</script>
@ -317,7 +321,6 @@ page {
min-height: 100vh;
background-color: #f7f8fa;
//
.new-purchase {
background-color: #fff;
@ -353,7 +356,6 @@ page {
background-color: #2d73cf;
}
//
.purchase-item {
width: 25%;