| | |
| | | if (true && storage.getItem('token')) {
|
| | | setTimeout(async () => {
|
| | | const res = await this.$store.dispatch('getCurrentInfo');
|
| | | // console.log('init info',res,this.currentInfo)
|
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
|
| | |
|
| | | uni.reLaunch({
|
| | | url: '/pages/home/supplier-home'
|
| | | })
|
| | | }
|
| | | // console.log('init info',res,this.currentInfo) |
| | | // #ifdef PUB_CUSTOMER |
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { |
| | | uni.reLaunch({ |
| | | url: '/pages/home/supplier-home' |
| | | }) |
| | | } |
| | | // #endif
|
| | | }, 200);
|
| | | } else {
|
| | |
|
| | |
| | | export default { |
| | | |
| | | httpBaseUri: 'https://www.hmyxianhua.com/flower', |
| | | // httpBaseUri: 'https://47.99.58.211/flower', |
| | | // httpBaseUri: 'https://www.hmyxianhua.com/flower', |
| | | httpBaseUri: 'http://47.99.58.211/flower', |
| | | |
| | | clientId: '', |
| | | secret: '', |
| | |
| | | appDownloadUri: 'http://xxx/app/', |
| | | websocketUrl: '', |
| | | type: 'dev' |
| | | } |
| | | } |
| | | |
| | |
| | | {
|
| | | "path": "supplier-reg/supplier-reg",
|
| | | "style": {
|
| | | "navigationBarTitleText": "申请入住",
|
| | | "navigationBarTitleText": "申请入驻",
|
| | | "navigationStyle": "custom"
|
| | | }
|
| | | },
|
| | |
| | | }],
|
| | | "globalStyle": {
|
| | | "navigationBarTextStyle": "black",
|
| | | "navigationBarTitleText": "uni-app",
|
| | | "navigationBarTitleText": "花满芫",
|
| | | "navigationBarBackgroundColor": "#F8F8F8",
|
| | | "backgroundColor": "#F8F8F8",
|
| | | "app-plus": {
|
| | |
| | | |
| | | |
| | | if (!this.currentInfo.supplierDTO) { |
| | | await this.$message.confirm('尚未入住店铺信息,是否前往入住?') |
| | | await this.$message.confirm('尚未入驻店铺信息,是否前往入驻?') |
| | | this.goto('/sub_pages/supplier/supplier-info/supplier-info', true) |
| | | return |
| | | } |
| | |
| | | <template> |
| | | <view> |
| | | 入住协议todo |
| | | 入驻协议todo |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | <form class="cl"> |
| | | <view class="t-a titles-top"> |
| | | <view class="title-1">HELLO</view> |
| | | <view class="title-2">欢迎入住<span class="title-3">花满芜</span></view> |
| | | <view class="title-2">欢迎入驻<span class="title-3">花满芜</span></view> |
| | | </view> |
| | | |
| | | |