sunyadv 5 роки тому
батько
коміт
fbe237ab19

+ 2 - 2
official_frontend/src/utils/request.js

@@ -7,8 +7,8 @@ import { getToken } from '@/utils/auth'
 const service = axios.create({
     // url = base url + request url
     // baseURL: process.env.VUE_APP_BASE_API,
-    // baseURL: "http://111.231.87.63:8088",
-    baseURL: "http://192.168.101.166:8088",
+    baseURL: "http://111.231.87.63:8088",
+    // baseURL: "http://192.168.101.166:8088",
     // withCredentials: true, // send cookies when cross-domain requests
     timeout: 5000 // request timeout
 })

+ 1 - 1
website/src/main/resources/templates/apply.html

@@ -196,7 +196,7 @@
                     var email = $("#email").val();
                     var content = $("#message").val();
                     var productsId = id;
-                    if(name == "" || phone == "" || businessName == "" || content == "" || email == ""){
+                    if(name == "" || phone == "" || businessName == "" || email == ""){
                         alert("请填写完整信息");
                     }else{
                         $.post("/onlineApply", {

+ 14 - 0
website/src/main/resources/templates/css/custom.css

@@ -102,6 +102,20 @@ footer.main-footer a {
     background: #666;
 }
 
+.dark-mask {
+    background: rgba(0, 0, 0, 0.3);
+}
+
+#content {
+    position: relative;
+    z-index: 9;
+}
+
+#all .container {
+    position: relative;
+    z-index: 9;
+}
+
 /* 申请 */
 .form-apply {
     background:#e9ecef !important;