Commit 02fdfceb authored by 郑秀明's avatar 郑秀明

Merge commit '12635be6'

parents 2aaddc54 12635be6
...@@ -82,8 +82,12 @@ function jump(url, type) { ...@@ -82,8 +82,12 @@ function jump(url, type) {
if(type === 1){ if(type === 1){
// 重定向到指定地址,防止回退 // 重定向到指定地址,防止回退
window.location.replace(url); window.location.replace(url);
}else{ } else if (type === 2){
window.location.href = url; uni.navigateTo({
url: url
})
} else {
window.location.href = url;
} }
// #endif // #endif
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<view class="fin_content"> <view class="fin_content">
<SearchBar :isLogin="isLogin"/> <SearchBar :isLogin="isLogin"/>
<view class="tab_bar"> <view class="tab_bar">
<text @click="$jump('/pages/home/home')">首页</text> <text @click="$jump('/pages/home/home', 2)">首页</text>
<!-- <text @click="jumpPhpPage('app=promotion')">精彩活动</text> --> <!-- <text @click="jumpPhpPage('app=promotion')">精彩活动</text> -->
<text @click="$jump('/pages/index/index')"> <!-- <text @click="$jump('/pages/index/index')">
<i class="credit_icon"></i> <i class="credit_icon"></i>
谛宝白条 谛宝白条
</text> </text> -->
<text class="act">采购分期</text> <text class="act">采购分期</text>
</view> </view>
<!-- <view class="flex_category"> <!-- <view class="flex_category">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment