hy 7 years ago
parent
commit
a1cdb29aa9

+ 43 - 36
frontend/saas-portal-web/src/pages/invitation_mobile_join/invitation_mobile_join.html

@@ -1,11 +1,15 @@
 <!DOCTYPE html>
 <html>
     <head>
-        <title>U企云服 - 邀请加入</title>
         <meta charset="utf-8">
-        <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
-        <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-        <meta name="renderer" content="webkit|ie-comp|ie-stand"> -->
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <meta name="description" content="">
+        <meta name="keywords" content="">
+        <meta name="viewport"
+                content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+        <meta name="renderer" content="webkit">
+        <meta http-equiv="Cache-Control" content="no-siteapp"/>
+        <title>U企云服 - 邀请加入</title>
         <!-- 浏览器图标 -->
         <link type="image/x-icon" href="../../../static/img/logo.png" rel="shortcut icon">
         <link rel="stylesheet" type="text/css" href="../../../static/css/invitation_mobile_join.css">
@@ -180,41 +184,44 @@
         </script> 
     </head>
     <body>
-        <div class="x-join-center" hidden>
-            <div class="subtitle">U企云服</div>
-            <div style="margin:15px 0 0 0px">
-                <!-- 邀请人姓名 -->
-                <span id="sendman" style="padding:0 0 0 2px;color: #fff;"></span>
+        <div class="x-join" style="width:100%;height:100%">
+            <div class="x-join-center" hidden>
+                <div class="subtitle">U企云服</div>
+                <div style="margin:30px 0 0 0px">
+                    <!-- 邀请人姓名 -->
+                    <span id="sendman" style="padding:0 0 0 2px;color: #fff;"></span>
+                    </br>
+                    <!-- 邀请语 -->
+                    <span id="sendmsg" style="padding:10px 0 0 2px;margin:10px 0 0 0;color: #fff;"></span>
+                    </br>
+                </div>
+                <input id="myMobile" style="margin-bottom: 0px !important;margin: 60px auto;" class="input_style" type="text" onBlur="checkMobile()" placeholder="请输入手机号码"></input>
+                <input class="input_style" id="selectCode" type="text" placeholder="请输入验证码"></input>
+                <button style="position: absolute;" class="btn-check" type="button" id="checkBtn" onclick="getCode()">获取验证码</button>
+                <input class="input_style" id="selectName" type="text" placeholder="请输入姓名"></input>
+                <select class="input_style" id="selectJob" placeholder="请选择岗位(必填)"></select>
+                <button class="btn-submit" style="border-radius: 30px;width: 80%;      margin-top: 40px;   font-size: 18px; height: 47px;" type="button" id="joinBtn" onclick="join();">提 交</button>
+            </div>
+            <div class="x-join-bottom" style="    height: 95px;">
                 </br>
-                <!-- 邀请语 -->
-                <span id="sendmsg" style="padding:10px 0 0 2px;margin:10px 0 0 0;color: #fff;"></span>
+                <span style="font-size:16px;padding:0 0 0 5px;color: #999;">U企云服 | 电子行业企业管理云端方案</span>
                 </br>
+                <span style="font-size:16px;padding:0 0 0 5px;color: #999;">深圳市优软科技有限公司</span>
+            </div>
+            <div class="x-join-error" hidden>
+                </br></br></br></br>
+                <span id="error_code" style="padding:0 0 0 5px;color: #2f2c27;">访问链接已失效</span>
+            </div>
+            <div id="dialog-message" hidden>
+                <p style="font-size: 15px;">
+                    提交成功,欢迎你加入U企云服,通过https://saas.usoftchina.com访问U企云服,立即畅享轻松工作!
+                </p>
+                </br>
+                <p style="font-size: 13px;    color: #999;">
+                    新用户登录密码随后将发送短信通知<br>
+                    请注意查收
+                </p>
             </div>
-            <input id="myMobile" class="input_style" type="text" onBlur="checkMobile()" placeholder="请输入手机号码"></input>
-            <input class="input_style" id="selectCode" type="text" placeholder="请输入验证码"></input>
-            <button style="position: absolute;" class="btn-check" type="button" id="checkBtn" onclick="getCode()">获取验证码</button>
-            <input class="input_style" id="selectName" type="text" placeholder="请输入姓名"></input>
-            <select class="input_style" id="selectJob" style="width:100%;margin-top: 30px;opacity: 0.8;border-radius: 0px;" placeholder="请选择岗位(必填)"></select>
-			<button class="btn-submit" style="margin-left: 12px;border-radius: 30px;width: 240px;" type="button" id="joinBtn" onclick="join();">提 交</button>
-        </div>
-        <div class="x-join-bottom">
-            <span style="font-size:16px;padding:0 0 0 5px;color: #999;">U企云服 | 电子行业企业管理云端方案</span>
-            </br>
-            <span style="font-size:16px;padding:0 0 0 5px;color: #999;">深圳市优软科技有限公司</span>
-        </div>
-        <div class="x-join-error" hidden>
-            </br></br></br></br>
-            <span id="error_code" style="padding:0 0 0 5px;color: #2f2c27;">访问链接已失效</span>
-        </div>
-        <div id="dialog-message" hidden>
-            <p style="font-size: 15px;">
-                提交成功,欢迎你加入U企云服,通过https://saas.usoftchina.com访问U企云服,立即畅享轻松工作!
-            </p>
-            </br>
-            <p style="font-size: 13px;    color: #999;">
-                新用户登录密码随后将发送短信通知<br>
-                请注意查收
-            </p>
         </div>
     </body>
 </html>

+ 14 - 9
frontend/saas-portal-web/static/css/invitation_mobile_join.css

@@ -3,7 +3,13 @@
 	padding: 0;
 	box-sizing: border-box
 }
+body, html {
+    min-height: 100%;
+}
 body {
+    position: fixed;
+    width: 100%;
+    height: 100%;
     background-size: cover;
     background-image: url(../img/invitation_background.png);
 	font-family: Microsoft YaHei, 微软雅黑, simhei;
@@ -32,15 +38,13 @@ body {
 }
 .x-join-center {
 	width: 100%;
-    height: 400px;
-    position: absolute;
-    top: 50%;
+    height: 100%;
     /* left: 50%; */
-    margin-top: -200px;
     /* margin-left: -140px; */
     text-align: center;
 }
 .x-join-center .subtitle {
+    margin-top: 50px;
     margin-left: -15px;
 	display: block;
     height: 50px;
@@ -89,12 +93,13 @@ body {
 	margin: 15px 5px 0 30px;
 }
 .input_style{
+    font-size: 14.5px;
     margin: 0 auto;
     padding-top: 3px;
     padding-left: 13px;
-    width: 240px;
-    margin-top: 10px;
-    height: 36px;
+    width: 80%;
+    margin-top: 18px;
+    height: 40px;
 	display: block;
     color: #555;
     background-color: #fff;
@@ -110,7 +115,7 @@ body {
 
 .btn-check{
     margin-top: -33px;
-    margin-left: 1px;
+    margin-left: 30px;
     line-height: 20px;
     height: 30px;
     background: #fff;
@@ -121,7 +126,7 @@ body {
     display: inline-block;
     /* padding: 0px; */
     margin-bottom: 0;
-    font-size: 14px;
+    font-size: 16px;
     font-weight: 400;
     text-align: center;
     white-space: nowrap;

+ 2 - 1
frontend/saas-portal-web/static/css/toast.style.css

@@ -86,7 +86,8 @@ i {
     min-width: 240px !important;
     position: absolute;
     margin-left: 5px;
-    top: 10%;
+    top: 0%;
+    margin-top: 205px;
     left: 50%;
     -ms-transform: translate(-50%,-50%);
     -moz-transform: translate(-50%,-50%);

+ 4 - 0
frontend/saas-web/app/view/main/MainController.js

@@ -241,6 +241,10 @@ Ext.define('saas.view.main.MainController', {
     },
 
     shareCompany:function(){
+        if(this.getViewModel()._parent.data.account.companyId==2){
+            saas.util.BaseUtil.showErrorToast('演示账套无法分享');
+            return false;
+        }
         //打开分享窗口
         var win = Ext.create('Ext.window.Window', {  
             cls:'x-window-dbfind',