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