Commit d7a1f960 authored by 王建威's avatar 王建威

bug fix

parent af6cb2e2
......@@ -82,8 +82,12 @@ function jump(url, type) {
if(type === 1){
// 重定向到指定地址,防止回退
window.location.replace(url);
}else{
window.location.href = url;
} else if (type === 2){
uni.navigateTo({
url: url
})
} else {
window.location.href = url;
}
// #endif
......
......@@ -2,12 +2,12 @@
<view class="fin_content">
<SearchBar :isLogin="isLogin"/>
<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="$jump('/pages/index/index')">
<!-- <text @click="$jump('/pages/index/index')">
<i class="credit_icon"></i>
谛宝白条
</text>
</text> -->
<text class="act">采购分期</text>
</view>
<!-- <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