Browse Source

uas手机版
限制网页不可缩放

RaoMeng 5 years ago
parent
commit
2c447eaaee

+ 22 - 22
uas-office-web/uas-mobile/public/index.html

@@ -1,20 +1,20 @@
 <!DOCTYPE html>
 <html lang="en">
-  <head>
-    <meta charset="utf-8" />
-    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="theme-color" content="#000000" />
+<head>
+    <meta charset="utf-8"/>
+    <link rel="icon" href="%PUBLIC_URL%/favicon.ico"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no"/>
+    <meta name="theme-color" content="#000000"/>
     <meta
-      name="description"
-      content="Web site created using create-react-app"
+            name="description"
+            content="Web site created using create-react-app"
     />
-    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
+    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"/>
     <!--
       manifest.json provides metadata used when your web app is installed on a
       user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
     -->
-    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+    <link rel="manifest" href="%PUBLIC_URL%/manifest.json"/>
     <!--
       Notice the use of %PUBLIC_URL% in the tags above.
       It will be replaced with the URL of the `public` folder during the build.
@@ -25,19 +25,19 @@
       Learn how to configure a non-root public URL by running `npm run build`.
     -->
     <title>React App</title>
-  </head>
-  <body>
-    <noscript>You need to enable JavaScript to run this app.</noscript>
-    <div id="root"></div>
-    <!--
-      This HTML file is a template.
-      If you open it directly in the browser, you will see an empty page.
+</head>
+<body>
+<noscript>You need to enable JavaScript to run this app.</noscript>
+<div id="root"></div>
+<!--
+  This HTML file is a template.
+  If you open it directly in the browser, you will see an empty page.
 
-      You can add webfonts, meta tags, or analytics to this file.
-      The build step will place the bundled scripts into the <body> tag.
+  You can add webfonts, meta tags, or analytics to this file.
+  The build step will place the bundled scripts into the <body> tag.
 
-      To begin the development, run `npm start` or `yarn start`.
-      To create a production bundle, use `npm run build` or `yarn build`.
-    -->
-  </body>
+  To begin the development, run `npm start` or `yarn start`.
+  To create a production bundle, use `npm run build` or `yarn build`.
+-->
+</body>
 </html>

+ 10 - 6
uas-office-web/uas-mobile/src/pages/private/homePage/ReportRoot.jsx

@@ -44,12 +44,12 @@ class ReportRoot extends Component {
     let funcGroup1 = {
       groupText: '采购管理',
       funcList: [
-        { name: '报表', operation: FUNC_OPERATION_CANCEL },
-        { name: '报表', operation: FUNC_OPERATION_ADD },
-        { name: '报表', operation: FUNC_OPERATION_ADD_DISABLE },
-        { name: '报表', operation: FUNC_OPERATION_CANCEL },
-        { name: '报表', operation: FUNC_OPERATION_ADD },
-        { name: '报表', operation: FUNC_OPERATION_ADD_DISABLE },
+        { name: '报表' },
+        { name: '报表' },
+        { name: '报表' },
+        { name: '报表' },
+        { name: '报表' },
+        { name: '报表' },
       ],
     }
     return (
@@ -64,15 +64,19 @@ class ReportRoot extends Component {
         />
         <FuncGroup
           funcGroup={funcGroup}
+          line
         />
         <FuncGroup
           funcGroup={funcGroup1}
+          line
         />
         <FuncGroup
           funcGroup={funcGroup}
+          line
         />
         <FuncGroup
           funcGroup={funcGroup1}
+          line
         />
       </div>
     )