Browse Source

修改app上菜单栏尺寸过小的问题

master
Gaoxs 5 years ago
parent
commit
15fc59f369
  1. 6
      pages.json
  2. 4
      utils/index.js

6
pages.json

@ -431,9 +431,9 @@
"borderStyle": "black", "borderStyle": "black",
"backgroundColor": "#ffffff", "backgroundColor": "#ffffff",
"height": "50px", "height": "50px",
"fontSize": "8px", "fontSize": "10px",
"iconWidth": "16px", "iconWidth": "24px",
"spacing": "-3px", "spacing": "3px",
"list": [{ "list": [{
"pagePath": "pages/home/index", "pagePath": "pages/home/index",
"iconPath": "static/icon-home.png", "iconPath": "static/icon-home.png",

4
utils/index.js

@ -82,7 +82,7 @@ export function isType(arg, type) {
} }
export function isWeixin() { export function isWeixin() {
if (navigator && navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1) { if (navigator && navigator.userAgent && navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1) {
return true return true
} }
return false return false
@ -608,7 +608,7 @@ export function routerPermissions(url, type) {
}) })
cookie.set('redirect', path) cookie.set('redirect', path)
}) })
// } else if (Vue.prototype.$deviceType == 'weixin') { // } else if (Vue.prototype.$deviceType == 'weixin') {
// wechat().then(() => oAuth()); // wechat().then(() => oAuth());
// if (!type) { // if (!type) {
// push({ // push({

Loading…
Cancel
Save