소스 검색

云模官网样式修改

sunyadv 5 년 전
부모
커밋
fbe237ab19
3개의 변경된 파일17개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      official_frontend/src/utils/request.js
  2. 1 1
      website/src/main/resources/templates/apply.html
  3. 14 0
      website/src/main/resources/templates/css/custom.css

+ 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;