|
@@ -48,3 +48,17 @@
|
|
|
|
|
|
<!-- 加载主要js,很乱,后续优化 -->
|
|
|
<script type="text/javascript" src="../script/lib/manage/main.js?v19"></script>
|
|
|
+
|
|
|
+<script>
|
|
|
+
|
|
|
+if ($("#iosiframe").length) {
|
|
|
+ var ua = navigator.userAgent.toLowerCase();
|
|
|
+ var screenwidth = window.screen.width;
|
|
|
+ if(!/iphone|ipad|ipod/.test(ua)){
|
|
|
+ $("#iosiframe").attr("scrolling","auto");
|
|
|
+ }else{
|
|
|
+ $('#iosiframe').width(screenwidth + 'px');
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+</script>
|