This commit is contained in:
parent
637528d037
commit
02afa160c8
|
|
@ -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%;
|
||||
|
|
|
|||
Loading…
Reference in New Issue