|
@@ -1,29 +1,65 @@
|
|
|
<template>
|
|
|
- <view>
|
|
|
- <button @click="openSiteInspection">
|
|
|
- 现场巡店
|
|
|
- </button>
|
|
|
+ <view class="nav-pages">
|
|
|
+ <view class="nav-box">
|
|
|
+ <view class="nav-title">巡店</view>
|
|
|
+ <view class="nav-icon-list">
|
|
|
+ <iconItemsList :list="listCy"></iconItemsList>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import iconItemsList from '@/components/icon-items-list/icon-items-list.vue'
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ iconItemsList
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
+ // 巡店
|
|
|
+ listCy: [
|
|
|
+ {
|
|
|
+ id: 'gdcx',
|
|
|
+ icon: '/static/navIcon/wdxd.png',
|
|
|
+ name: '我的巡店',
|
|
|
+ url:'/pages/workOrder/orderList',
|
|
|
+ target: 'page',
|
|
|
+ auth: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 'tcgl',
|
|
|
+ icon: '/static/navIcon/djpz.png',
|
|
|
+ name: '点检配置',
|
|
|
+ url:'/pages/workOrder/sellOrder/bundleList',
|
|
|
+ target: 'page',
|
|
|
+ auth: true
|
|
|
+ },
|
|
|
+ ],
|
|
|
}
|
|
|
},
|
|
|
- methods: {
|
|
|
- // 现场巡店
|
|
|
- openSiteInspection() {
|
|
|
- uni.navigateTo({
|
|
|
- url:"/pages/siteInspection/siteInspection"
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style>
|
|
|
-
|
|
|
+<style lang="scss">
|
|
|
+ page{
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ .nav-pages{
|
|
|
+ height: 100%;
|
|
|
+ .nav-box{
|
|
|
+ margin-bottom: 20upx;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ padding: 5upx 20upx;
|
|
|
+ border-radius: 5upx;
|
|
|
+ .nav-title{
|
|
|
+ font-size: 32upx;
|
|
|
+ padding: 15upx;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ }
|
|
|
+ .nav-icon-list{
|
|
|
+ padding: 10upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|