mym 1 年之前
父节点
当前提交
0a7e04bde5
共有 4 个文件被更改,包括 15 次插入45 次删除
  1. 2 2
      pages.json
  2. 0 8
      pages/message/MessageIndex.vue
  3. 0 30
      pages/order/OrderIndex.vue
  4. 13 5
      pages/order/order.vue

+ 2 - 2
pages.json

@@ -39,7 +39,7 @@
 
 		},
 		{
-			"path": "pages/order/OrderIndex",
+			"path": "pages/order/order",
 			"style": {
 				"navigationBarTitleText": "订单中心",
 				"app-plus": {
@@ -51,7 +51,7 @@
 			}
 		},
 		{
-			"path": "pages/message/MessageIndex",
+			"path": "pages/message/message",
 			"style": {
 				"navigationBarTitleText": "消息中心",
 				"app-plus": {

+ 0 - 8
pages/message/MessageIndex.vue

@@ -1,8 +0,0 @@
-<template>
-</template>
-
-<script>
-</script>
-
-<style>
-</style>

+ 0 - 30
pages/order/OrderIndex.vue

@@ -1,30 +0,0 @@
-<template>
-	<view>
-		<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
-	</view>
-</template>
-
-<script>
-	export default {
-		data() {
-			return {
-				list: [{
-					name: '全部'
-				}, {
-					name: '待确认'
-				}, {
-					name: '已取消'
-				}],
-				current: 0
-			}
-		},
-		onLoad() {},
-		methods: {
-
-
-		}
-	}
-</script>
-
-<style>
-</style>

+ 13 - 5
pages/order/order.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		
+		<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
 	</view>
 </template>
 
@@ -8,15 +8,23 @@
 	export default {
 		data() {
 			return {
-				
+				list: [{
+					name: '全部'
+				}, {
+					name: '待确认'
+				}, {
+					name: '已取消'
+				}],
+				current: 0
 			}
 		},
+		onLoad() {},
 		methods: {
-			
+
+
 		}
 	}
 </script>
 
 <style>
-
-</style>
+</style>