Commit 12e0258e by 施宇

添加有效期

parent 0907c987
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<input type="radio" name="delivery_time" lay-filter="delivery" value="期货" <input type="radio" name="delivery_time" lay-filter="delivery" value="期货"
title="期货" checked id="daytext"> title="期货" checked id="daytext">
<div class="lineBlock" id="day"> <div class="lineBlock" id="day">
<input type="text" placeholder="输入时间" class="boxsiz day_input input" <input type="text" placeholder="输入数字或范围" class="boxsiz day_input input"
lay-verify="required" name="day"> lay-verify="required" name="day">
<i class="day"></i> <i class="day"></i>
</div> </div>
......
...@@ -65,6 +65,16 @@ ...@@ -65,6 +65,16 @@
</div> </div>
</div> </div>
</div> </div>
<div class="yxq input_div ">
<span class="input_title lineBlock">*询价有效期:</span>
<div class="input_parent">
<input type="text" name="price" placeholder="请选择截止日期"
class="input boxsiz yxq_input" lay-verify="required" id="yxq">
<div class="yxq_logo layui-form">
<span class="icon iconfont iconjuxing13"></span>
</div>
</div>
</div>
<div class="hq input_div"> <div class="hq input_div">
<span class="input_title lineBlock">*货期:</span> <span class="input_title lineBlock">*货期:</span>
<div class="input_parent" id="delivery"> <div class="input_parent" id="delivery">
......
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
padding: 0 90px 0 15px; padding: 0 90px 0 15px;
} }
.from_mask .form .form_content .input_div .input_parent .input.day_input { .from_mask .form .form_content .input_div .input_parent .input.day_input {
width: 139px; width: 180px;
padding: 0 35px 0 15px; padding: 0 35px 0 15px;
} }
.from_mask .form .form_content .input_div .input_parent .day { .from_mask .form .form_content .input_div .input_parent .day {
...@@ -486,4 +486,3 @@ ...@@ -486,4 +486,3 @@
.from_mask .form .form_content .btn_div span.cz_mask { .from_mask .form .form_content .btn_div span.cz_mask {
margin-left: 40px; margin-left: 40px;
} }
/*# sourceMappingURL=inquirydetail.css.map */
\ No newline at end of file
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
} }
&.day_input { &.day_input {
width: 139px; width: 180px;
padding: 0 35px 0 15px; padding: 0 35px 0 15px;
} }
......
...@@ -71,12 +71,12 @@ ...@@ -71,12 +71,12 @@
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_title, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_title,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_title { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_title {
color: #686E73; color: #686E73;
width: 66px; width: 90px;
text-align: right; text-align: right;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .layui-input-block, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .layui-input-block,
.upload_single_content .inquiry_form .form_content .form_left .input_div .layui-input-block { .upload_single_content .inquiry_form .form_content .form_left .input_div .layui-input-block {
margin-left: 85px; margin-left: 100px;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .layui-input-block .layui-textarea, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .layui-input-block .layui-textarea,
.upload_single_content .inquiry_form .form_content .form_left .input_div .layui-input-block .layui-textarea { .upload_single_content .inquiry_form .form_content .form_left .input_div .layui-input-block .layui-textarea {
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent {
position: absolute; position: absolute;
left: 85px; left: 100px;
right: 0; right: 0;
top: 0; top: 0;
} }
...@@ -116,9 +116,13 @@ ...@@ -116,9 +116,13 @@
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .input.price_input { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .input.price_input {
padding: 0 90px 0 15px; padding: 0 90px 0 15px;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .input.yxq_input,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .input.yxq_input {
padding: 0 40px 0 15px;
}
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .input.day_input, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .input.day_input,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .input.day_input { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .input.day_input {
width: 139px; width: 180px;
padding: 0 35px 0 15px; padding: 0 35px 0 15px;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .day, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .day,
...@@ -128,7 +132,9 @@ ...@@ -128,7 +132,9 @@
left: -30px; left: -30px;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo {
position: absolute; position: absolute;
cursor: pointer; cursor: pointer;
right: 0; right: 0;
...@@ -138,16 +144,37 @@ ...@@ -138,16 +144,37 @@
border-left: 1px solid #D8DFE6; border-left: 1px solid #D8DFE6;
line-height: 26px; line-height: 26px;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb.yxq_logo,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb.yxq_logo,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo.yxq_logo,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo.yxq_logo {
border: none;
text-align: center;
color: #0D84D1;
width: 40px;
}
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb.yxq_logo .icon,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb.yxq_logo .icon,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo.yxq_logo .icon,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo.yxq_logo .icon {
font-size: 20px;
}
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select {
height: 100%; height: 100%;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select .layui-select-title, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select .layui-select-title,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select .layui-select-title { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select .layui-select-title,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select .layui-select-title,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select .layui-select-title {
height: 100%; height: 100%;
} }
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select input, .release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select input,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select input { .upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .rmb .layui-form-select input,
.release_inquiry_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select input,
.upload_single_content .inquiry_form .form_content .form_left .input_div .input_parent .yxq_logo .layui-form-select input {
height: 100%; height: 100%;
border: none; border: none;
width: 99%; width: 99%;
......
...@@ -67,12 +67,12 @@ ...@@ -67,12 +67,12 @@
.input_title { .input_title {
color: #686E73; color: #686E73;
width: 66px; width: 90px;
text-align: right; text-align: right;
} }
.layui-input-block { .layui-input-block {
margin-left: 85px; margin-left: 100px;
.layui-textarea { .layui-textarea {
min-height: 80px; min-height: 80px;
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
.input_parent { .input_parent {
position: absolute; position: absolute;
left: 85px; left: 100px;
right: 0; right: 0;
top: 0; top: 0;
...@@ -110,12 +110,14 @@ ...@@ -110,12 +110,14 @@
width: 100%; width: 100%;
line-height: 40px; line-height: 40px;
&.price_input { &.price_input{
padding: 0 90px 0 15px; padding: 0 90px 0 15px;
} }
&.yxq_input{
padding: 0 40px 0 15px;
}
&.day_input { &.day_input {
width: 139px; width: 180px;
padding: 0 35px 0 15px; padding: 0 35px 0 15px;
} }
...@@ -127,7 +129,7 @@ ...@@ -127,7 +129,7 @@
left: -30px; left: -30px;
} }
.rmb { .rmb,.yxq_logo {
position: absolute; position: absolute;
cursor: pointer; cursor: pointer;
right: 0; right: 0;
...@@ -136,7 +138,16 @@ ...@@ -136,7 +138,16 @@
bottom: 7px; bottom: 7px;
border-left: 1px solid #D8DFE6; border-left: 1px solid #D8DFE6;
line-height: 26px; line-height: 26px;
&.yxq_logo{
border:none;
text-align: center;
color:#0D84D1;
width:40px;
.icon{
font-size: 20px;
}
}
.layui-form-select { .layui-form-select {
height: 100%; height: 100%;
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
this.created(this).mounted(this).isIe(this).handleBind(this); this.created(this).mounted(this).isIe(this).handleBind(this);
}, },
created: function (opt) { created: function (opt) {
//日期控件初始化
layui.laydate.render({
elem: '#yxq',
theme: '#0D84D1'
});
return this; return this;
}, },
mounted: function (opt) { mounted: function (opt) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment