首页跳转更新

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; break;
case 3: case 3:
uni.navigateTo({ 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 this.userInfoData.mer_info.category_id
}) })
break; break;

View File

@ -11,7 +11,7 @@
<!-- #ifdef MP || APP-PLUS --> <!-- #ifdef MP || APP-PLUS -->
<view :style="{ height: statusBarHeight }"></view> <view :style="{ height: statusBarHeight }"></view>
<view class="header"> <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 class="iconfont icon-xiangzuo" @click="goback" style="color: #fff;"></view>
</view> </view>
@ -1081,6 +1081,7 @@
this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3 this.isLihaiYun === 'Lihai' ? this.tabs = this.tabs4 : this.tabs = this.tabs3
} else { } else {
this.tabs = this.tabs5 this.tabs = this.tabs5
this.type=7
} }
this.tab(this.type) this.tab(this.type)
// #ifdef H5 // #ifdef H5

View File

@ -11,7 +11,7 @@
</view> </view>
<view class="con_kuo" <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}`)"> @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> <image class="con_ico" src="@/static/images/bgic2.png" mode=""></image>
<view class="con_text"> <view class="con_text">
<h3>先货后款</h3> <h3>先货后款</h3>

View File

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

View File

@ -19,3 +19,6 @@ export const uniMPgetLocation = () => {
}); });
}) })
} }