|
@@ -147,13 +147,14 @@ Page({
|
|
// url: '../merchant-home/order3-list/index?storeId=' + storeId
|
|
// url: '../merchant-home/order3-list/index?storeId=' + storeId
|
|
// });
|
|
// });
|
|
// },
|
|
// },
|
|
- goods() {
|
|
|
|
- let id = this.data.store.objectId
|
|
|
|
- wx.navigateTo({
|
|
|
|
- url: '/nova-tourism/pages/my/merchant/merchant-home/goods/index?id=' + id
|
|
|
|
- });
|
|
|
|
|
|
|
|
- },
|
|
|
|
|
|
+ // goods() {
|
|
|
|
+ // let id = this.data.store.objectId
|
|
|
|
+ // wx.navigateTo({
|
|
|
|
+ // url: '/nova-tourism/pages/my/merchant/merchant-home/goods/index?id=' + id
|
|
|
|
+ // });
|
|
|
|
+
|
|
|
|
+ // },
|
|
|
|
|
|
logout() {
|
|
logout() {
|
|
wx.showModal({
|
|
wx.showModal({
|
|
@@ -164,7 +165,7 @@ Page({
|
|
wx.removeStorageSync('merchant')
|
|
wx.removeStorageSync('merchant')
|
|
wx.removeStorageSync('store')
|
|
wx.removeStorageSync('store')
|
|
wx.navigateTo({
|
|
wx.navigateTo({
|
|
- url: '/nova-tourism/pages/index/index'
|
|
|
|
|
|
+ url: '../../../../pages/index/index'
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
|
|
|
|
@@ -193,14 +194,14 @@ Page({
|
|
});
|
|
});
|
|
|
|
|
|
},
|
|
},
|
|
- category() {
|
|
|
|
- let id = this.data.store.objectId
|
|
|
|
- let type = this.data.store.type
|
|
|
|
- wx.navigateTo({
|
|
|
|
- url: `/nova-tourism/pages/my/merchant/merchant-home/category/index?id=${id}&&type=${type}`
|
|
|
|
- });
|
|
|
|
|
|
+ // category() {
|
|
|
|
+ // let id = this.data.store.objectId
|
|
|
|
+ // let type = this.data.store.type
|
|
|
|
+ // wx.navigateTo({
|
|
|
|
+ // url: `/nova-tourism/pages/my/merchant/merchant-home/category/index?id=${id}&&type=${type}`
|
|
|
|
+ // });
|
|
|
|
|
|
- },
|
|
|
|
|
|
+ // },
|
|
roommanage() {
|
|
roommanage() {
|
|
wx.navigateTo({
|
|
wx.navigateTo({
|
|
url: '../room-manage/index'
|
|
url: '../room-manage/index'
|
|
@@ -250,7 +251,7 @@ Page({
|
|
switch (that.data.store.type) {
|
|
switch (that.data.store.type) {
|
|
case 'stay':
|
|
case 'stay':
|
|
wx.navigateTo({
|
|
wx.navigateTo({
|
|
- url: `/nova-tourism/pages/my/merchant/code-verify/index?id=${code1}`
|
|
|
|
|
|
+ url: `../code-verify/index?id=${code1}`
|
|
});
|
|
});
|
|
break;
|
|
break;
|
|
case 'catering':
|
|
case 'catering':
|