@@ -369,7 +369,7 @@
},
"tabBar": {
"color": "#C0C4CC",
- "selectedColor": "#901B21",
+ "selectedColor": "#ee2f72",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
@@ -202,9 +202,14 @@ export default {
window.location.href = url;
}
// #endif
- //测试数据没有写id,用title代替
+ console.log(url);
uni.navigateTo({
- url: url
+ url: url,
+ fail() {
+ uni.switchTab({
+ url: url
+ });
+ }
});