From 2e77e00724de723d5e400019e4206f267daecaa2 Mon Sep 17 00:00:00 2001
From: shane <88386378@qq.com>
Date: Thu, 2 Dec 2021 23:56:20 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=EF=BC=8C=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/my/my.vue | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index c337a54..c07fb45 100755
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -51,13 +51,18 @@
生活服务
+
+
+
+ 商城订单
+
+
设置
-
@@ -175,10 +180,7 @@
},
loadOwenrInfo: function() {
let _that = this;
-
context.getOwner(function(_ownerInfo) {
- console.log(_ownerInfo);
-
if (_ownerInfo) {
_that.ownerFlag = true;
} else {
@@ -186,6 +188,19 @@
}
});
},
+ toMallOrders() {
+ if (!this.ckeckUserInfo()) {
+ this.vc.navigateTo({
+ url: '../showlogin/showlogin'
+ }, () => {
+ this.refreshPageLoginInfo();
+ });
+ return;
+ }
+ this.vc.navigateToMall({
+ url: '/pages/myOrder/myOrder'
+ })
+ },
onGotUserInfo: function(e) {
console.log("nickname=" + JSON.stringify(e.detail.userInfo));
},