Commit af868d14 authored by wangwenbing's avatar wangwenbing
Browse files

Revert "微信修改"

This reverts commit 0871b95a
parent 0871b95a
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html>
<#include "/m/head-file.htm"/>
<body>
<#include "/m/head.htm"/>
<div class="ms-banner">
<img src="{ms:global.host/}/{ms:global.style/}/images/about.png" class="am-img-responsive" alt=""/>
</div>
<div class="ms-about-content">
<div class="am-tabs am-tabs-default ms-about-content-div">
<ul class="am-tabs-nav am-cf">
<li class="am-active ms-about-content-li">
<a href="{ms:global.url/}/53/index.html">关于我们</a>
</li>
<li class="ms-about-content-li">
<a href="{ms:global.url/}/59/index.html">公司动态</a>
</li>
<li class="ms-about-content-li">
<a href="http://mingsoft.net/html/1//5527/index.html#faz">发展历程</a>
</li>
<li class="ms-about-content-li">
<a href="http://mingsoft.net/html/1//5527/index.html#lianx">加入我们</a>
</li>
<li class="ms-about-content-li">
<a href="{ms:global.url/}/19/index.html">联系我们</a>
</li>
</ul>
<div class="am-tabs-bd ms-about-content-main">
<div data-tab-panel-0 class="">{ms:field.content/}</div>
</div>
</div>
</div>
<#include "/m/footer.htm"/>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<#include "/m/head-file.htm"/>
<body>
<#include "/m/head.htm"/>
<div class="ms-banner">
<img src="{ms:global.host/}/{ms:global.style/}/images/message.png" alt="" width="100%" />
</div>
<div class="ms-message-content">
<form method="post" id="postForm">
<p>
<input type="text" class="am-form-field am-radius" name='name' placeholder="姓名" />
</p>
<p>
<input type="text" class="am-form-field am-radius" name='phone' placeholder="手机" />
</p>
<div class="am-form-group">
<textarea class="am-form-field ms-content-form-message" id="doc-ta-1" name='content' placeholder="留言"></textarea>
</div>
<button type="button" class="am-btn am-btn-primary ms-content-button">提交</button>
</form>
</div>
<#include "/m/footer.htm"/>
</body>
</html>
<script>
var flag = false;
$(".am-btn-primary").click(function() {
if(!flag) {
$.ajax({
type: "POST",
url: "{ms:global.host/}/mdiy/diyForm/f2c131968438246e885e0feed7256dbc.do",
data: $("#postForm").serialize(),
success: function(msg) {
flag = true;
alert("提交成功");
}
});
} else {
alert("您已经提交过了!");
}
})
/* 表单验证 */
function verification() {
if($('input[name="name"]').val().length >= 1 && $('input[name="phone"]').val().length >= 1 && $('.ms-content-form-message').val().length >= 1) {
$('.ms-content-button').css("background-color", "#009aff");
$('.ms-content-button').css("pointer-events", 'visible');
$('.ms-content-button').css("color", "#fff");
} else {
$('.ms-content-button').css("background-color", "#fafafa");
$('.ms-content-button').css('pointer-events', "none");
$('.ms-content-button').css("color", "#ddd");
}
}
$('input[name="name"]').on("input", function() {
verification();
})
$('input[name="phone"]').on("input", function() {
verification();
})
$('.ms-content-form-message').on("input", function() {
verification();
})
</script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<div class="ms-footer">
<footer class="am-footer am-footer-default">
<div class="am-footer-switch ms-footer-div">
<a id="godesktop" class="am-footer-desktop ms-footer-div-a" href="{ms:global.url/}/53/index.html">关于我们</a>
<span class="am-footer-divider ms-footer-div-a">|</span>
<a id="godesktop" class="am-footer-desktop ms-footer-div-a" href="http://mingsoft.net/html/1//5527/index.html#faz">发展历程</a>
<span class="am-footer-divider ms-footer-div-a">|</span>
<a id="godesktop" class="am-footer-desktop ms-footer-div-a" href="{ms:global.url/}/19/index.html">联系我们</a>
</div>
<div class="am-footer-miscs ms-footer-copyright">
<p>版权所有©铭飞科技有限公司2012-2018保留一切权利</p>
</div>
</footer>
</div>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment