恢复其他服务页面
This commit is contained in:
parent
5de5fbc940
commit
482ff54eb8
|
@ -144,6 +144,12 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "货物配送"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/service/other/other",
|
||||
"style": {
|
||||
"navigationBarTitleText": "其他服务"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue