diff --git a/package.json b/package.json index b5ad7108..0e47181a 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "@antv/g2": "^4.2.10", "@jx3box/jx3box-comment-ui": "^1.9.9", "@jx3box/jx3box-common": "^8.2.24", - "@jx3box/jx3box-common-ui": "^8.9.26", - "@jx3box/jx3box-data": "^3.6.8", + "@jx3box/jx3box-common-ui": "^8.9.29", + "@jx3box/jx3box-data": "^3.6.9", "@jx3box/jx3box-dict": "^2.1.1", "@jx3box/jx3box-editor": "^2.2.15", "@jx3box/jx3box-map": "^0.2.0", diff --git a/src/assets/css/app.less b/src/assets/css/app.less index 7c391b6e..6c238669 100644 --- a/src/assets/css/app.less +++ b/src/assets/css/app.less @@ -80,6 +80,21 @@ width: 100%; box-sizing: border-box; } + + .wechat-miniprogram { + .c-breadcrumb { + position: sticky; + top: 0; + } + + .c-main { + margin-top: 0; + } + + .c-sidebar-left,.c-sidebar-right { + top: 48px; + } + } } .el-tree { diff --git a/src/views/cj/detail.vue b/src/views/cj/detail.vue index 0d713092..2b7803f3 100644 --- a/src/views/cj/detail.vue +++ b/src/views/cj/detail.vue @@ -231,11 +231,11 @@ export default { this.loadConfig(); - const ua = navigator.userAgent; - // 当ua包含 Android 或 iPhone 或 Mobile 时 - if (ua.indexOf("Android") > -1 || ua.indexOf("iPhone") > -1) { - location.href = `/wujie/cj/view/${this.id}`; - } + // const ua = navigator.userAgent; + // // 当ua包含 Android 或 iPhone 或 Mobile 时 + // if (ua.indexOf("Android") > -1 || ua.indexOf("iPhone") > -1) { + // location.href = `/wujie/cj/view/${this.id}`; + // } }, };