首页跳转更新

This commit is contained in:
jia 2023-10-09 11:55:47 +08:00
parent d0257b52be
commit a6f021cdd9
5 changed files with 11 additions and 5 deletions

View File

@ -884,8 +884,9 @@
})
break;
case 3:
uni.navigateTo({
url: '/pages/nongKe/supply_chain/supplier?type_id=12&isDetail=1&product_type=98&cate_id=' +
url: '/pages/users/supply_procurement/index?type_id=12&isDetail=1&product_type=98&cate_id=' +
this.userInfoData.mer_info.category_id
})
break;

View File

@ -11,7 +11,7 @@
<!-- #ifdef MP || APP-PLUS -->
<view :style="{ height: statusBarHeight }"></view>
<view class="header">
<view class="head-menu" style="width: 30rpx;background-color: transparent;" >
<view class="head-menu" style="width: 30rpx;background-color: transparent;">
<view class="iconfont icon-xiangzuo" @click="goback" style="color: #fff;"></view>
</view>
@ -1077,10 +1077,11 @@
// this.tabs = this.tabs2
// this.service_open = false
// }
if (res.data.business_status == 2) {
if (res.data.business_status == 2) {
this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3
} else {
this.tabs = this.tabs5
this.type=7
}
this.tab(this.type)
// #ifdef H5

View File

@ -11,7 +11,7 @@
</view>
<view class="con_kuo"
@click="navigator(`/pages/nongKe/supply_chain/supplierA?tit=2&type_id=12&isDetail=1&credit_buy=1&product_type=98&cate_id=${id}`)">
<image class="con_img" src="@/static/images/bg2.png" mode=""></image>
<image class="con_img" src="@/static/images/bg3.png" mode=""></image>
<image class="con_ico" src="@/static/images/bgic2.png" mode=""></image>
<view class="con_text">
<h3>先货后款</h3>

View File

@ -56,6 +56,7 @@ export const initEvent = () => {
});
}
if (ret.event == 'log') {
console.log('收到小程序事件: ' + JSON.stringify(ret));
}
});

View File

@ -18,4 +18,7 @@ export const uniMPgetLocation = () => {
}
});
})
}
}