Bläddra i källkod

Merge remote-tracking branch 'origin/gzb' into wzl

gzb
wangzhonglu 1 år sedan
förälder
incheckning
4ae51ffcea
4 ändrade filer med 15 tillägg och 124 borttagningar
  1. 3
    8
      css/about.css
  2. 4
    4
      css/product.css
  3. 3
    94
      js/trial.js
  4. 5
    18
      sections/about.html

+ 3
- 8
css/about.css Visa fil

@@ -130,7 +130,6 @@
130 130
 }
131 131
 .area_fs {
132 132
   width: 2.8rem;
133
-  height: 3rem;
134 133
   background-color: white;
135 134
   color: #333333;
136 135
   text-align: center;
@@ -151,11 +150,7 @@
151 150
 .area_fs div {
152 151
   font-size: 0.18rem;
153 152
   line-height: 0.5rem;
154
-}
155
-.area_fs p {
156
-  font-size: 0.14rem;
157
-  line-height: 0.24rem;
158
-  margin-top: 0;
153
+  margin-bottom: 0.4rem;
159 154
 }
160 155
 .develop_container {
161 156
   height: 1.6rem;
@@ -194,9 +189,9 @@
194 189
 .rounds {
195 190
   width: 100%;
196 191
   position: absolute;
197
-  top: 30%;
192
+  top: 50%;
198 193
   left: 0;
199
-  transform: translate(0, -50%);
194
+  transform: translate(0,-82%);
200 195
   white-space: nowrap;
201 196
 }
202 197
 .round_q {

+ 4
- 4
css/product.css Visa fil

@@ -60,7 +60,6 @@
60 60
   justify-content: space-between;
61 61
 }
62 62
 .area_item{
63
-  height: 3rem;
64 63
   border-radius: 0.1rem;
65 64
   background: #fefeffff;
66 65
   border: 1px solid #f1f4fc;
@@ -68,6 +67,7 @@
68 67
   box-sizing: border-box;
69 68
   background-color: #fefeff;
70 69
   text-align: center;
70
+  cursor: pointer;
71 71
 }
72 72
 .area_item img{
73 73
   width: 0.56rem;
@@ -157,7 +157,7 @@
157 157
 }
158 158
 .s2{
159 159
   top:2.4rem;
160
-  right: 1rem;
160
+  right: 0.8rem;
161 161
 }
162 162
 .s3 {
163 163
   top: 4rem;
@@ -168,7 +168,7 @@
168 168
 
169 169
 .s5 {
170 170
   top: 2.4rem;
171
-  left: 1rem;
171
+  left: 0.8rem;
172 172
 }
173 173
 
174 174
 .s6 {
@@ -291,7 +291,7 @@
291 291
   margin-left: 0.1rem;
292 292
 }
293 293
 .area_top img {
294
-  width: 5rem;
294
+  width: 6rem;
295 295
   height: 5rem;
296 296
   margin: 0 0.6rem;
297 297
 }

+ 3
- 94
js/trial.js Visa fil

@@ -31,7 +31,8 @@ $(function () {
31 31
     var filter =
32 32
       /^[\w\-\.]+@[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}$/i;
33 33
     let blnTest = filter.test(mailbox);
34
-    if (!blnTest) {
34
+    console.log(mailbox)
35
+    if (mailbox && !blnTest) {
35 36
       $(".err_mailbox").show();
36 37
     }
37 38
   });
@@ -43,99 +44,7 @@ $(function () {
43 44
     var filter =
44 45
       /^[\w\-\.]+@[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}$/i;
45 46
     let blnTest = filter.test(mailbox);
46
-    if (!blnTest) {
47
-      $(".err_mailbox").show();
48
-    } else {
49
-      $(".err_mailbox").hide();
50
-    }
51
-  });
52
-  //提交
53
-  var Loading = false;
54
-
55
-  $(".btn").click(() => {
56
-    if (Loading) {
57
-      return;
58
-    }
59
-    let name = $("#account").val();
60
-    if (!name) {
61
-      $(".err_account").show();
62
-      return;
63
-    }
64
-    let phone = $("#phone").val();
65
-    if (!phone) {
66
-      $(".err_phone").show();
67
-      return;
68
-    }
69
-    var data = {
70
-      account: $("#account").val(),
71
-      phone: $("#phone").val(),
72
-      mailbox: $("#mailbox").val(),
73
-      commcomm: $("#comm").val()
74
-    };
75
-    Loading = true;
76
-    //7.1.2 申请试用--添加
77
-    $.ajax({
78
-      type: "POST",
79
-      url: $.baseUrl + "fc/add",
80
-      dataType: "json",
81
-      async: false,
82
-      data: JSON.stringify(data),
83
-      contentType: "application/json; charset=utf-8",
84
-      success: function (data) {
85
-        Loading = false;
86
-        if (data.code === 0) {
87
-          alert("申请成功");
88
-        } else {
89
-          alert(data.msg);
90
-        }
91
-      }
92
-    });
93
-  });
94
-  $(".header_root").load("./comm/header.html");
95
-  $(".footer_root").load("./comm/footer.html");
96
-  $(".err_account").hide();
97
-  $(".err_phone").hide();
98
-  $(".err_mailbox").hide();
99
-  //姓名
100
-  $("#account").blur(() => {
101
-    let name = $("#account").val();
102
-    if (!name) {
103
-      $(".err_account").show();
104
-    }
105
-  });
106
-  $("#account").focus(() => {
107
-    $(".err_account").hide();
108
-  });
109
-  //联系电话
110
-  $("#phone").blur(() => {
111
-    let phone = $("#phone").val();
112
-    if (!phone) {
113
-      $(".err_phone").show();
114
-    }
115
-  });
116
-  $("#phone").focus(() => {
117
-    $(".err_phone").hide();
118
-  });
119
-
120
-  //邮箱
121
-  $("#mailbox").blur(() => {
122
-    let mailbox = $("#mailbox").val();
123
-    var filter =
124
-      /^[\w\-\.]+@[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}$/i;
125
-    let blnTest = filter.test(mailbox);
126
-    if (!blnTest) {
127
-      $(".err_mailbox").show();
128
-    }
129
-  });
130
-  $("#mailbox").focus(() => {
131
-    $(".err_mailbox").hide();
132
-  });
133
-  $("#mailbox").bind("input propertychange change", function (event) {
134
-    let mailbox = $("#mailbox").val();
135
-    var filter =
136
-      /^[\w\-\.]+@[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}$/i;
137
-    let blnTest = filter.test(mailbox);
138
-    if (!blnTest) {
47
+    if (mailbox && !blnTest) {
139 48
       $(".err_mailbox").show();
140 49
     } else {
141 50
       $(".err_mailbox").hide();

+ 5
- 18
sections/about.html Visa fil

@@ -110,50 +110,37 @@
110 110
             <div class="area_fs">
111 111
               <img src="../img/about/icon1.png" />
112 112
               <div>为教育服务</div>
113
-              <p>技术为教育服务,教育为发展服务</p>
114 113
             </div>
115 114
             <div class="area_fs">
116 115
               <img src="../img/about/icon2.png" />
117 116
               <div>为师生服务</div>
118
-              <p>
119
-                通过大学习、深调研、抓落实,聚焦
120
-                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
121
-              </p>
122 117
             </div>
123 118
             <div class="area_fs">
124 119
               <img src="../img/about/icon3.png" />
125 120
               <div>为成长助力</div>
126
-              <p>
127
-                通过大学习、深调研、抓落实,聚焦
128
-                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
129
-              </p>
130 121
             </div>
131 122
             <div class="area_fs">
132 123
               <img src="../img/about/icon4.png" />
133 124
               <div>为梦想拼搏</div>
134
-              <p>
135
-                通过大学习、深调研、抓落实,聚焦
136
-                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
137
-              </p>
138 125
             </div>
139 126
           </div>
140 127
           <div class="area_title" style="margin: 0.5rem 0">
141 128
             我们始终秉承的愿景
142 129
           </div>
143
-          <div class="area_four bot_fs">
144
-            <div class="area_fs" style="height: 2rem">
130
+          <div class="area_four">
131
+            <div class="area_fs">
145 132
               <img src="../img/about/icon5.png" />
146 133
               <div>燃星星之火</div>
147 134
             </div>
148
-            <div class="area_fs" style="height: 2rem">
135
+            <div class="area_fs">
149 136
               <img src="../img/about/icon6.png" />
150 137
               <div>呈燎原之势</div>
151 138
             </div>
152
-            <div class="area_fs" style="height: 2rem">
139
+            <div class="area_fs">
153 140
               <img src="../img/about/icon7.png" />
154 141
               <div>汇涓涓细流</div>
155 142
             </div>
156
-            <div class="area_fs" style="height: 2rem">
143
+            <div class="area_fs">
157 144
               <img src="../img/about/icon8.png" />
158 145
               <div>成汪洋大海</div>
159 146
             </div>

Laddar…
Avbryt
Spara