|
|
@@ -227,7 +227,7 @@
|
|
|
<div class="message-box-top">我要咨询<p><i class="fa fa-phone"></i> 免费咨询热线:<b>400-758-1688</b></p>
|
|
|
</div>
|
|
|
<div class="message-box-form">
|
|
|
- <form action="{$site_info.liuyan_url|default=''}/index/jiameng/message" method="post">
|
|
|
+ <form action="{$site_info.liuyan_url|default=''}/index/jiameng/message" method="post" >
|
|
|
<input type="hidden" name="jm_id" value="{$info.id}">
|
|
|
<input type="hidden" name="jm_title" value="{$info.title}">
|
|
|
<input type="hidden" name="catid" value="{$catinfo.id}">
|
|
|
@@ -244,7 +244,8 @@
|
|
|
required="required" pattern="^1[2-9][0-9]{9}$" oninvalid="setCustomValidity('请输入您的手机号')" oninput="setCustomValidity('')"/>
|
|
|
</label>
|
|
|
<label for="tzed"><span><b>*</b> 额度:</span>
|
|
|
- <select class="input-select" name="tzed" id="tzed" required>
|
|
|
+ <input type="text" style="width: 1px;height: 1px;border: none;padding: 0;" id="tzed" name="tzed" value="" required oninvalid="setCustomValidity('请选择投资额度')" oninput="setCustomValidity('')">
|
|
|
+ <select class="input-select" id="stzed" onchange="doSelect()">
|
|
|
<option value="0">请选择投资额度</option>
|
|
|
<option value="1">1万</option>
|
|
|
<option value="5">5万</option>
|
|
|
@@ -363,6 +364,20 @@
|
|
|
<include file="block/footer_xm" />
|
|
|
<script src="__TMPL__/static/js/jquery.nav.js" type="text/javascript"></script>
|
|
|
<script type="text/javascript">
|
|
|
+ function doSubmit(){
|
|
|
+ var tzed = $("#stzed").val();
|
|
|
+ if(tzed<=0 || tzed=='' || tzed == null){
|
|
|
+ alert('请选择投资额度');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ function doSelect(){
|
|
|
+ var tzed = $("#stzed").val();
|
|
|
+ console.log(tzed)
|
|
|
+ document.getElementById('tzed').setCustomValidity('');
|
|
|
+ $("#tzed").val(tzed);
|
|
|
+ }
|
|
|
$(function () {
|
|
|
var swiper = new Swiper('.item-slide', {
|
|
|
autoplay: {
|