detail.html
9.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<include file="public@header"/>
<style type="text/css">
.pic-list li {
margin-bottom: 5px;
}
.dingwei{
position: relative;
width: 20%;
}
.day_tian{
position: absolute;
right: 4px;
line-height: 33px;
top: 0;
}
</style>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<!--<li><a href="{:url('Bank/index')}">银行列表</a></li>-->
<!--<li class="active"><a href="{:url('Bank/add')}">添加银行</a></li>-->
</ul>
<form action="{:url('Need/change')}" method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" >
<div class="row">
<div class="col-md-9">
<table class="table table-bordered">
<input class="form-control" type="hidden" name="id"
value="{$list['id']}"/>
<tr>
<th width="15%">用户名</th>
<td><input class="form-control" type="text" name="user_name" readonly="readonly"
value="{$list['user_name']}" />
</td>
</tr>
<tr>
<th width="15%">地区</th>
<td><input class="form-control" type="text" name="city"
value="{$list['city']}" />
</td>
</tr>
<tr>
<th width="15%">小区</th>
<td><input class="form-control" type="text" name="quarters" value="{$list['quarters']}" />
</td>
</tr>
<tr>
<th width="15%">具体房号</th>
<td><input class="form-control" type="text" name="room"
value="{$list['room']}" />
</td>
</tr>
<tr>
<th width="15%">楼层</th>
<td><input class="form-control" type="text" name="floor"
value="{$list['floor']}" />
</td>
</tr>
<tr>
<th width="15%">户型</th>
<td><input class="form-control" type="text" name="house_type"
value="{$list['house_type']}" />
</td>
</tr>
<tr>
<th width="15%">装修</th>
<td><input class="form-control" type="text" name="renovation"
value="{$list['renovation']}" />
</td>
</tr>
<tr>
<th width="15%">建筑面积</th>
<td>
<div class="dingwei">
<input class="form-control" type="text" name="area"
value="{$list['area']}" style="width: 100%;" />
<span class="day_tian">平方米</span>
</div>
</td>
</tr>
<tr>
<th width="15%">是否首套房</th>
<td>
<select style="border: 1px solid #dce4ec; width: 20%;" name="is_first">
<option name="is_first" value="1" <eq name="list.is_first" value="1">selected</eq>>首套房</option>
<option name="is_first" value="2" <eq name="list.is_first" value="2">selected</eq>>两套及以上</option>
</select>
</td>
</tr>
<tr>
<th width="15%">贷款</th>
<td>
<select style="border: 1px solid #dce4ec; width: 20%;" name="loan">
<option name="loan" value="1" <eq name="list.loan" value="1">selected</eq>>贷款</option>
<option name="loan" value="2" <eq name="list.loan" value="2">selected</eq>>全款</option>
</select>
</td>
</tr>
<tr>
<th width="15%">是否是包干价</th>
<td>
<select style="border: 1px solid #dce4ec; width: 20%;" name="contract">
<option name="contract" value="1" <eq name="list.contract" value="1">selected</eq>>是</option>
<option name="contract" value="2" <eq name="list.contract" value="2">selected</eq>>否</option>
</select>
</td>
</tr>
<tr>
<th width="15%">报价时间</th>
<td>
<div class="dingwei">
<input class="form-control" type="text" name="quotation_time"
value="{$list['quotation_time']}" style="width: 100%;"/>
<span class="day_tian">天</span>
</div>
</td>
</tr>
<tr>
<th width="15%">联系人姓名</th>
<td><input class="form-control" type="text" name="name"
value="{$list['name']}" />
</td>
</tr>
<tr>
<th width="15%">联系人手机号</th>
<td><input class="form-control" type="text" name="tel" value="{$list['tel']}" />
</td>
</tr>
<tr>
<th width="15%">备注</th>
<td><input class="form-control" type="text" name="else" value="{$list['else']}" />
</td>
</tr>
<tr>
<th width="15%">报价人数</th>
<td>
<div class="dingwei">
<input class="form-control" type="text" name="people" value="{$list['people']}" />
<span class="day_tian">人</span>
</div>
</td>
</tr>
<tr>
<th width="15%">创建时间</th>
<td><input class="form-control" type="text" name="create_time" value="{$list['create_time']|date='Y-m-d H:i:s',###}" readonly/>
</td>
</tr>
<tr>
<th width="18%">更新时间</th>
<td><input class="form-control" type="text" name="update_time" value="{$list['update_time']|date='Y-m-d H:i:s',###}" readonly/>
</td>
</tr>
<tr>
<th width="18%">支付保证金时间</th>
<td><input class="form-control" type="text" name="pay_time" value="{$list['pay_time']|date='Y-m-d H:i:s',###}" readonly/>
</td>
</tr>
<tr>
<th width="18%">待选择开始时间</th>
<td><input class="form-control" type="text" name="choose_time" value="{$list['choose_time']|date='Y-m-d H:i:s',###}" readonly/>
</td>
</tr>
<tr>
<th>状态</th>
<td>
<eq name="list.status" value="1">未交保证金</eq>
<eq name="list.status" value="2">待发布</eq>
<eq name="list.status" value="3">待报价</eq>
<eq name="list.status" value="4">报价人数不足</eq>
<eq name="list.status" value="5">待选择中介</eq>
<eq name="list.status" value="6">未选择中介</eq>
<eq name="list.status" value="7">待中介确认</eq>
<eq name="list.status" value="10">待评价</eq>
<eq name="list.status" value="11">已评价</eq>
</td>
</tr>
</table>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
<a class="btn btn-default" href="{:url('Need/index')}">{:lang('BACK')}</a>
</div>
</div>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
//编辑器路径定义
var editorURL = GV.WEB_ROOT;
</script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
$(function () {
editorcontent = new baidu.editor.ui.Editor();
editorcontent.render('content');
try {
editorcontent.sync();
} catch (err) {
}
$('.btn-cancel-thumbnail').click(function () {
$('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
$('#thumbnail').val('');
});
});
</script>
</body>
</html>