| | |
| | | setTimeout(async () => {
|
| | | const res = await this.$store.dispatch('getCurrentInfo');
|
| | | // #ifndef PUB_CUSTOMER
|
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
|
| | | uni.reLaunch({
|
| | | url: '/pages/home/supplier-home'
|
| | | })
|
| | | if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) { |
| | | if(this.currentInfo.type==='admin'){ |
| | | uni.reLaunch({ |
| | | url: '/sub_pages/partner/delivery/delivery-home' |
| | | }) |
| | | }else{ |
| | | uni.reLaunch({ |
| | | url: '/pages/home/supplier-home' |
| | | }) |
| | | }
|
| | | |
| | | } else {
|
| | | uni.reLaunch({
|
| | | url: '/pages/login/supplier-login'
|
| | |
| | | padding-top: 40rpx;
|
| | | padding-bottom: 40rpx;
|
| | | font-size: var(--title_font_size2);
|
| | | color: #20613D;
|
| | | font-weight: 600;
|
| | | }
|
| | |
|
| | | .title-before-blue:before {
|
| | | content: "|";
|
| | | color: #3140A2;
|
| | | content: "||";
|
| | |
|
| | | margin-right: 20rpx;
|
| | | color: #20613D;
|
| | | margin-right: 20rpx;
|
| | | min-width: 20rpx;
|
| | | background-color: #20613D;
|
| | | border-radius: 6rpx;
|
| | | }
|
| | |
|
| | | .blue {
|
| | |
| | | .m-t-15 {
|
| | | margin-top: 30rpx;
|
| | | }
|
| | |
|
| | | .p-t-12{ |
| | | padding-top: 30rpx; |
| | | }
|
| | | .m-t-icon {
|
| | | margin-top: 8rpx;
|
| | | }
|
| | |
| | | margin-right: 20rpx;
|
| | | border: 2rpx solid #FFFFFF;
|
| | | background-size: 100% 100%;
|
| | | background-color: #fff;
|
| | | background-color: #fff;
|
| | | }
|
| | |
|
| | | .store-name {
|
| | |
| | | line-height: 40rpx;
|
| | | margin-top: 20rpx;
|
| | | }
|
| | |
|
| | | .store-name.t1 {
|
| | | color: #666;
|
| | | }
|
| | |
| | | line-height: 34rpx;
|
| | | margin-top: 8rpx;
|
| | | }
|
| | |
|
| | | .store-address.t1 {
|
| | | color: #666;
|
| | | }
|
| | |
| | | color: #5B8C71;
|
| | | line-height: 52rpx;
|
| | | text-align: center;
|
| | | margin-top: 30rpx;
|
| | | }
|
| | |
|
| | | .store-sc {
|
| | |
| | | color: #FFFFFF;
|
| | | line-height: 64rpx;
|
| | | display: flex;
|
| | | margin-top: 20rpx;
|
| | |
|
| | | .icon-view {
|
| | | // margin-top: 8rpx;
|