恢复其他服务页面

This commit is contained in:
TOP糯米 2023-03-22 21:36:46 +08:00
parent 5de5fbc940
commit 482ff54eb8
2 changed files with 58 additions and 0 deletions

View File

@ -144,6 +144,12 @@
"style": {
"navigationBarTitleText": "货物配送"
}
},
{
"path": "pages/service/other/other",
"style": {
"navigationBarTitleText": "其他服务"
}
}
],
"globalStyle": {

View File

@ -0,0 +1,52 @@
<template>
<app-layout title="其他服务">
<view class="common-service-nav-group">
<text class="section-title">其他服务</text>
<view class="group g1">
<view class="service-item" v-for="(item, index) in list" :key="index" @click="utils.toPage(item.page)">
<image class="service-icon" :src="item.cover" mode="scaleToFill" />
<text class="service-name limit-line clamp-1">
{{ item.title }}
</text>
</view>
</view>
</view>
</app-layout>
</template>
<script>
import AppLayout from "@/components/layout/layout";
export default {
name: "service-other",
data() {
return {
utils: this.$utils,
list: [],
};
},
components: {
AppLayout,
},
onLoad() {
this.$models.system.navList().then((list) => {
this.list = list;
});
},
onShow() {},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {},
methods: {},
};
</script>
<style lang="less" scoped>
.common-service-nav-group {
width: 710rpx;
padding: 40rpx 20rpx;
box-sizing: border-box;
margin: 0 auto;
background-color: #ffffff;
border: 0;
}
</style>