Browse Source

工作台

lilei 4 years ago
parent
commit
f099383707

+ 2 - 2
components/icon-items-list/icon-items-list.vue

@@ -79,8 +79,8 @@
 	}
 	.icon-items-list-icon{
 		.icon-items-imgse{
-			width: 50upx;
-			height: 50upx;
+			width: 60upx;
+			height: 60upx;
 		}
 		.icon-items-text{
 			font-size: 28upx;

+ 51 - 15
pages/work/work.vue

@@ -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>

BIN
static/navIcon/djpz.png


BIN
static/navIcon/wdxd.png


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 44 - 27
unpackage/dist/dev/app-plus/app-view.js


Some files were not shown because too many files changed in this diff