-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap笔记.txt
executable file
·333 lines (327 loc) · 16.7 KB
/
bootstrap笔记.txt
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
bootstrap 2
1.文字的标签:
简称:<abbr>
<abbr title=""></abbr>
斜体:<em>
加粗黑体:<strong>
大写:.initialism
引用:<blockquote>
<small>
右对齐:.pull-right
2.列表:
无序列表:ul li
有序列表:ol li
描述列表:dl dt dd 后两个分别是描述的词汇、描述的内容
dl->.dl-horizontal
boostrap 3
1.col-xs <768<%@ Page Title="" Language="C#" MasterPageFile="~/MainWin.Master" AutoEventWireup="true" CodeBehind="ProductEdit.aspx.cs" Inherits="ERP.Web.product.ProductEdit" %>
<%@ MasterType VirtualPath="~/MainWin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
修改产品信息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderContent" runat="server">
<i class="fa fa-cog">修改产品信息</i>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageContent" runat="server">
<style>
.conversion {
padding-top:7px;color:red;
}
</style>
<form id="frmEdit" class="form-horizontal" action="/api/Product.ashx?action=update">
<input name="ID" type="hidden" value="<%=dr["ID"] %>" />
<h3>基本信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">产品分类</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<%=ERP.Lib.WebSelect_ProductClassify("ClassifyID","","(选择分类)" ,dr["ClassifyID"].ToString()," required ")%>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">工厂</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<%=ERP.Lib.WebSelect_Factory("FactoryID","","(选择工厂)" ,dr["FactoryID"].ToString()," required ")%>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">货号</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<input type="text" value="<%=dr["No"] %>" class="form-control" required="required" name="No" />
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">工厂货号</label>
<div class="col-sm-4 col-md-4 col-lg-4">
<input type="text" value="<%=dr["NoFactory"] %>" class="form-control" name="NoFactory" />
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">品名</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<input type="text" value="<%=dr["Name"] %>" class="form-control" required="required" name="No" />
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">单位</label>
<div class="col-sm-4 col-md-4 col-lg-4">
<input type="text" value="<%=dr["Unit"] %>" class="form-control" required="required" name="NoFactory" />
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">客户</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<%=ERP.Lib.WebSelect_Customer("CustomerID","","(选择客户)" ,dr["CustomerID"].ToString()," required ")%>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">款式</label>
<div class="col-sm-4 col-md-4 col-lg-4 ">
<%=ERP.Lib.WebSelect_Style("StyleID","","(选择款式)" ,dr["StyleID"].ToString()," required ")%>
</div>
</div>
</div>
</div>
<div class=" form-group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">描述信息</label>
<div class="col-sm-10 col-md-10 col-lg-10 ">
<textarea name="Comment" rows="6" cols="20" class="form-control">"<%=dr["Desc"].ToString() %>" </textarea>
<div class="help-block">(填写产品描述信息)</div>
</div>
</div>
<div class="form-group">
<div class="group col-md-8 col-lg-8 col-sm-8">
<div class="form-group">
<label class="col-sm-3 col-md-3 col-lg-3 control-label">长(CM)</label>
<div class="col-sm-6 col-md-6 col-lg-6 ">
<input type="text" value="<%=dr["Length"] %>" class="form-control" name="Length" />
</div>
<div class="col-sm-3 col-md-3 col-lg-3 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="form-group">
<label class="col-sm-3 col-md-3 col-lg-3 control-label">高(CM)</label>
<div class="col-sm-6 col-md-6 col-lg-6 ">
<input type="text" value="<%=dr["Height"] %>" class="form-control" name="Length" />
</div>
<div class="col-sm-3 col-md-3 col-lg-3 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="form-group">
<label class="col-sm-3 col-md-3 col-lg-3 control-label">宽(CM)</label>
<div class="col-sm-6 col-md-6 col-lg-6 ">
<input type="text" value="<%=dr["Width"] %>" class="form-control" name="Length" />
</div>
<div class="col-sm-3 col-md-3 col-lg-3 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="form-group">
<label class="col-sm-3 col-md-3 col-lg-3 control-label">重量(KGS)</label>
<div class="col-sm-6 col-md-6 col-lg-6 ">
<input type="text" value="<%=dr["Length"] %>" class="form-control" name="Length" />
</div>
<div class="col-sm-3 col-md-3 col-lg-3 ">
=<label class="conversion">55.5</label>(LBS)
</div>
</div>
</div>
<div class="group col-md-4 col-lg-4 col-sm-4">
图片区域
</div>
</div>
</div>
</div>
<hr />
<h3>PDQ信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">PDQ装率</label>
<div class="col-sm-2 col-md-2 col-lg-2">
<input type="text" value="<%=dr["PDQPackRate"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">长(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["PDQLength"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">宽(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["PDQWidth"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">高(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["PDQHeight"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
</div>
</div>
<hr />
<h3>内盒信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">内盒率</label>
<div class="col-sm-2 col-md-2 col-lg-2">
<input type="text" value="<%=dr["InnerBoxRate"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">长(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["InnerLength"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">宽(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["InnerWidth"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">高(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["InnerHeight"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">内盒材积</label>
<div class="col-sm-4 col-md-4 col-lg-4">
<label class="conversion">5.56</label>(Cuft)
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">内盒重量(KGS)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["InnerWeight"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(LBS)
</div>
</div>
</div>
</div>
</div>
<hr />
<h3>外箱信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">外箱率</label>
<div class="col-sm-2 col-md-2 col-lg-2">
<input type="text" value="<%=dr["OuterBoxRate"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">长(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["OuterLength"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
<div class="form-group">
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">宽(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["OuterWidth"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
<div class="group">
<label class="col-sm-2 col-md-2 col-lg-2 control-label">高(CM)</label>
<div class="col-sm-2 col-md-2 col-lg-2 ">
<input type="text" value="<%=dr["OuterHeight"] %>" class="form-control" required="required" name="No" />
</div>
<div class="col-sm-2 col-md-2 col-lg-2 ">
=<label class="conversion">55.5</label>(in)
</div>
</div>
</div>
</div>
</div>
<hr />
<h3>价格信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
</div>
</div>
<hr />
<h3>托盘信息</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
</div>
</div>
<hr />
<h3>关税及运费</h3>
<hr />
<div class="row">
<div class="group col-md-11 col-lg-11 col-sm-11">
</div>
</div>
</form>
</asp:Content>
sm >=768
md >=992
lg >=1200
2.push-3 当前元素向右推3个网格
pull-9 当前元素位置像左拉9个网格