mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
我的,添加订单
This commit is contained in:
parent
2d18e58518
commit
2e77e00724
@ -51,13 +51,18 @@
|
|||||||
<text class="text-grey">生活服务</text>
|
<text class="text-grey">生活服务</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="cu-item arrow" @click="toMallOrders()">
|
||||||
|
<view class="content">
|
||||||
|
<text class="cuIcon-goodsfavor text-pink"></text>
|
||||||
|
<text class="text-grey">商城订单</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="cu-item arrow" @click="mySettings()">
|
<view class="cu-item arrow" @click="mySettings()">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<text class="cuIcon-settings text-gray"></text>
|
<text class="cuIcon-settings text-gray"></text>
|
||||||
<text class="text-grey">设置</text>
|
<text class="text-grey">设置</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -175,10 +180,7 @@
|
|||||||
},
|
},
|
||||||
loadOwenrInfo: function() {
|
loadOwenrInfo: function() {
|
||||||
let _that = this;
|
let _that = this;
|
||||||
|
|
||||||
context.getOwner(function(_ownerInfo) {
|
context.getOwner(function(_ownerInfo) {
|
||||||
console.log(_ownerInfo);
|
|
||||||
|
|
||||||
if (_ownerInfo) {
|
if (_ownerInfo) {
|
||||||
_that.ownerFlag = true;
|
_that.ownerFlag = true;
|
||||||
} else {
|
} 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) {
|
onGotUserInfo: function(e) {
|
||||||
console.log("nickname=" + JSON.stringify(e.detail.userInfo));
|
console.log("nickname=" + JSON.stringify(e.detail.userInfo));
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user