guhongwei 2 years ago
parent
commit
df5b0a637c
3 changed files with 30 additions and 1 deletions
  1. 6 0
      pages.json
  2. 1 1
      pages/my/index.vue
  3. 23 0
      pagesMy/order/index.vue

+ 6 - 0
pages.json

@@ -76,6 +76,12 @@
 					"style": {
 					"style": {
 						"navigationBarTitleText": "我收藏的店铺"
 						"navigationBarTitleText": "我收藏的店铺"
 					}
 					}
+				},
+				{
+					"path": "order/index",
+					"style": {
+						"navigationBarTitleText": "订单列表"
+					}
 				}
 				}
 			]
 			]
 		},
 		},

+ 1 - 1
pages/my/index.vue

@@ -29,7 +29,7 @@
 				<view class="two_1">
 				<view class="two_1">
 					<view class="title">我的订单</view>
 					<view class="title">我的订单</view>
 					<view class="title">
 					<view class="title">
-						<text @click="toOrrder('我的订单')">全部订单</text>
+						<text @click="toOrrder('pagesMy/order/index')">全部订单</text>
 						<text class="iconfont icon-dayufuhao"></text>
 						<text class="iconfont icon-dayufuhao"></text>
 					</view>
 					</view>
 				</view>
 				</view>

+ 23 - 0
pagesMy/order/index.vue

@@ -0,0 +1,23 @@
+<template>
+	<mobile-frame>
+		订单列表
+	</mobile-frame>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+			};
+		},
+		onShow: function() {},
+		methods: {
+
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>