Commit e92a1a22692b9714e49f50dc93adcb71fa848a82
Merge branch 'dev' of ssh://git3.diligrp.com:29418/dlstatic/static-wappnr into dev
Showing
16 changed files
with
3461 additions
and
168 deletions
2.0/collect_shop.html
... | ... | @@ -18,54 +18,33 @@ |
18 | 18 | <script type="text/javascript" src="http://static.nong12.com/static/newStatic/common/js/base/jquery-2.1.3.min.js"></script> |
19 | 19 | </head> |
20 | 20 | <body> |
21 | - <div class="m-page" id="collection"> | |
21 | + <div class="m-page panel-open" id="collection"> | |
22 | 22 | <header class="m-header header-light"> |
23 | 23 | <div class="head"> |
24 | 24 | <a href="javascript:history.go(-1);" class="lt-bar"><i class="m-icon icon-back"></i></a> |
25 | 25 | <h1>我的收藏</h1> |
26 | - <span class="rt-bar text">编辑</span> | |
26 | + <span class="rt-bar text edit-btn">编辑</span> | |
27 | 27 | </div> |
28 | 28 | </header> |
29 | 29 | <div class="content"> |
30 | 30 | <div class="m-tab"> |
31 | 31 | <ul class="clearfix"> |
32 | - <li class="on"><a href="#">供应</a></li> | |
33 | - <li><a href="#">求购</a></li> | |
34 | - <li><a href="#">预售</a></li> | |
35 | - <li><a href="#">商品</a></li> | |
36 | - <li><a href="#">店铺</a></li> | |
32 | + <li class="on"><a href="#insale">供应</a></li> | |
33 | + <li><a href="#asksale">求购</a></li> | |
34 | + <li><a href="#presale">预售</a></li> | |
35 | + <li><a href="#goods">商品</a></li> | |
36 | + <li><a href="#shops">店铺</a></li> | |
37 | 37 | </ul> |
38 | 38 | </div> |
39 | - <div class="collection-lists supply-list" > | |
39 | + <div class="collection-lists supply-list inlist" id="insale"> | |
40 | 40 | <ul class="m-table-view"> |
41 | 41 | <li class="cell"> |
42 | - <a href="#"> | |
43 | - <div class="orso"> | |
44 | - <span class="title">山东白萝卜</span> | |
45 | - <span class="right price">0.7元/斤</span> | |
46 | - </div> | |
47 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
48 | - <div class="orso"> | |
49 | - <span>河北张家口张北县</span> | |
50 | - <span class="right">2015-03-04</span> | |
51 | - </div> | |
52 | - </a> | |
53 | - </li> | |
54 | - <li class="cell"> | |
55 | - <a href="#"> | |
56 | - <div class="orso"> | |
57 | - <span class="title">山东白萝卜</span> | |
58 | - <span class="right price">0.7元/斤</span> | |
59 | - </div> | |
60 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
61 | - <div class="orso"> | |
62 | - <span>河北张家口张北县</span> | |
63 | - <span class="right">2015-03-04</span> | |
64 | - </div> | |
65 | - </a> | |
66 | - </li> | |
67 | - <li class="cell"> | |
68 | - <a href="#"> | |
42 | + <div class="cellin"> | |
43 | + <label class="labchk"> | |
44 | + 选择 | |
45 | + <input type="checkbox" class="m-radio"/> | |
46 | + </label> | |
47 | + <a href="#" class="display-block"> | |
69 | 48 | <div class="orso"> |
70 | 49 | <span class="title">山东白萝卜</span> |
71 | 50 | <span class="right price">0.7元/斤</span> |
... | ... | @@ -76,91 +55,108 @@ |
76 | 55 | <span class="right">2015-03-04</span> |
77 | 56 | </div> |
78 | 57 | </a> |
58 | + </div> | |
79 | 59 | </li> |
80 | 60 | </ul> |
81 | 61 | </div> |
82 | - <div class="collection-lists supply-list"> | |
83 | - <ul class="m-table-view"> | |
84 | - <li class="cell"> | |
85 | - <a href="#"> | |
86 | - <div class="orso"> | |
87 | - <span class="title">山东白萝卜</span> | |
88 | - </div> | |
89 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
90 | - <div class="orso"> | |
91 | - <span>河北张家口张北县</span> | |
92 | - <span class="right">2015-03-04</span> | |
93 | - </div> | |
94 | - </a> | |
95 | - </li> | |
96 | - <li class="cell"> | |
97 | - <a href="#"> | |
98 | - <div class="orso"> | |
99 | - <span class="title">山东白萝卜</span> | |
100 | - </div> | |
101 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
102 | - <div class="orso"> | |
103 | - <span>河北张家口张北县</span> | |
104 | - <span class="right">2015-03-04</span> | |
105 | - </div> | |
106 | - </a> | |
107 | - </li> | |
108 | - <li class="cell"> | |
109 | - <a href="#"> | |
110 | - <div class="orso"> | |
111 | - <span class="title">山东白萝卜</span> | |
112 | - </div> | |
113 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
114 | - <div class="orso"> | |
115 | - <span>河北张家口张北县</span> | |
116 | - <span class="right">2015-03-04</span> | |
117 | - </div> | |
118 | - </a> | |
119 | - </li> | |
120 | - </ul> | |
62 | + | |
63 | + <div class="collection-lists supply-list asklist" id="asksale"> | |
121 | 64 | </div> |
122 | - <div class="collection-lists supply-list"> | |
123 | - <ul class="m-table-view"> | |
124 | - <li class="cell"> | |
125 | - <a href="#"> | |
126 | - <div class="orso"> | |
127 | - <span class="title">山东白萝卜</span> | |
128 | - <span class="right price">7月~9月上市</span> | |
129 | - </div> | |
130 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
131 | - <div class="orso"> | |
132 | - <span>河北张家口张北县</span> | |
133 | - <span class="right">2015-03-04</span> | |
134 | - </div> | |
135 | - </a> | |
136 | - </li> | |
137 | - <li class="cell"> | |
138 | - <a href="#"> | |
139 | - <div class="orso"> | |
140 | - <span class="title">山东白萝卜</span> | |
141 | - <span class="right price">7月~9月上市</span> | |
142 | - </div> | |
143 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
144 | - <div class="orso"> | |
145 | - <span>河北张家口张北县</span> | |
146 | - <span class="right">2015-03-04</span> | |
147 | - </div> | |
148 | - </a> | |
149 | - </li> | |
150 | - <li class="cell"> | |
151 | - <a href="#"> | |
152 | - <div class="orso"> | |
153 | - <span class="title">山东白萝卜</span> | |
154 | - <span class="right price">7月~9月上市</span> | |
155 | - </div> | |
156 | - <p>有机花菜近期行情不错,销售大,建议大家及时大量买进有机花菜近期行情不错,销售大,建议大家及时大量买进</p> | |
157 | - <div class="orso"> | |
158 | - <span>河北张家口张北县</span> | |
159 | - <span class="right">2015-03-04</span> | |
160 | - </div> | |
161 | - </a> | |
162 | - </li> | |
163 | - </ul> | |
65 | + | |
66 | + <div class="collection-lists supply-list prelist" id="presale"> | |
67 | + </div> | |
68 | + | |
69 | + <div id="goods" class="goodlist"> | |
70 | + <ul class="m-table-view"> | |
71 | + <li class="cell cell-extend-pic"> | |
72 | + <div class="cellin"> | |
73 | + <label class="labchk"> | |
74 | + 选择 | |
75 | + <input type="checkbox" class="m-radio"> | |
76 | + </label> | |
77 | + <a class="display-block" href="#"> | |
78 | + <img src="http://img7.nong12.com/images/i3/e5f60bde9834492bab6c98f169ba4aad.jpeg" width="80" height="80" alt="" class="pic"> | |
79 | + <h3 class="title"> | |
80 | + 山东白萝卜,物美价廉 | |
81 | + </h3> | |
82 | + <p class="title"> | |
83 | + <span class="red">170~180元/箱</span> | |
84 | + </p> | |
85 | + <p class="body"> | |
86 | + <span class="inline">胖丫果业</span> | |
87 | + <span class="inline">主营:柚子、橘子</span> | |
88 | + </p> | |
89 | + <p class="body"> | |
90 | + 辽宁沈阳地利批发市场五号厅 | |
91 | + </p> | |
92 | + </a> | |
93 | + </div> | |
94 | + </li> | |
95 | + </ul> | |
96 | + | |
97 | + </div> | |
98 | + | |
99 | + <div id="shops" class="shoplist"> | |
100 | + <ul class="m-table-view"> | |
101 | + <li class="cell cell-extend-pic"> | |
102 | + <div class="cellin"> | |
103 | + <label class="labchk"> | |
104 | + 选择 | |
105 | + <input type="checkbox" class="m-radio"> | |
106 | + </label> | |
107 | + <a class="display-block" href="#"> | |
108 | + <img src="http://img7.nong12.com/images/i3/e5f60bde9834492bab6c98f169ba4aad.jpeg" width="80" height="80" alt="" class="pic"> | |
109 | + <h3 class="title"> | |
110 | + <i class="m-icon icon-medal-gold"></i> | |
111 | + 寿光合作社 | |
112 | + </h3> | |
113 | + <p class="main-cate"> | |
114 | + <span class="key"> | |
115 | + 主营产品 | |
116 | + </span> | |
117 | + <span class="value">水果<span class="value-red">(售)</span></span> | |
118 | + </p> | |
119 | + <p class="localtion"> | |
120 | + 四川 成都 | |
121 | + </p> | |
122 | + <p class="order-numbers body"> | |
123 | + 成交量0笔 | |
124 | + </p> | |
125 | + <p class="text from-label">产地直供</p> | |
126 | + <i class="m-icon icon-sdrz store-label"></i> | |
127 | + </a> | |
128 | + </div> | |
129 | + </li> | |
130 | + <li class="cell cell-extend-pic"> | |
131 | + <div class="cellin"> | |
132 | + <label class="labchk"> | |
133 | + 选择 | |
134 | + <input type="checkbox" class="m-radio"> | |
135 | + </label> | |
136 | + <a class="display-block" href="#"> | |
137 | + <img src="http://img7.nong12.com/images/i3/e5f60bde9834492bab6c98f169ba4aad.jpeg" width="80" height="80" alt="" class="pic"> | |
138 | + <h3 class="title"> | |
139 | + <i class="m-icon icon-medal-sliver"></i> | |
140 | + 寿光合作社 | |
141 | + </h3> | |
142 | + <p class="main-cate"> | |
143 | + <span class="key"> | |
144 | + 主营产品 | |
145 | + </span> | |
146 | + <span class="value">水果<span class="value-blue">(购)</span></span> | |
147 | + </p> | |
148 | + <p class="localtion"> | |
149 | + 四川 成都 | |
150 | + </p> | |
151 | + <p class="order-numbers body"> | |
152 | + 成交量0笔 | |
153 | + </p> | |
154 | + <p class="text from-label">产地直供</p> | |
155 | + <i class="m-icon icon-sxsj store-label"></i> | |
156 | + </a> | |
157 | + </div> | |
158 | + </li> | |
159 | + </ul> | |
164 | 160 | </div> |
165 | 161 | <!--<div class="collection-lists">--> |
166 | 162 | <!--<ul>--> |
... | ... | @@ -174,6 +170,10 @@ |
174 | 170 | <!--</ul>--> |
175 | 171 | <!--</div>--> |
176 | 172 | </div> |
173 | + <footer class="m-footer border-1px border-top"> | |
174 | + <a href="#" class="m-btn btn-large">取消</a> | |
175 | + <a href="#" class="m-btn btn-danger btn-large">立即删除</a> | |
176 | + </footer> | |
177 | 177 | </div> |
178 | 178 | </body> |
179 | -</html> | |
180 | 179 | \ No newline at end of file |
180 | +</html> | ... | ... |
Gruntfile.js
... | ... | @@ -7,9 +7,9 @@ module.exports = function (grunt) { |
7 | 7 | dist: { |
8 | 8 | files: [{ |
9 | 9 | expand: true, |
10 | - cwd: 'css', | |
10 | + cwd: 'css/style', | |
11 | 11 | src: ['*.less'], |
12 | - dest: 'css', | |
12 | + dest: 'css/style', | |
13 | 13 | ext: '.css' |
14 | 14 | }] |
15 | 15 | } |
... | ... | @@ -45,7 +45,7 @@ module.exports = function (grunt) { |
45 | 45 | }, |
46 | 46 | css: { |
47 | 47 | files: [ |
48 | - 'css/*.less' | |
48 | + 'css/style/*.less' | |
49 | 49 | ], |
50 | 50 | tasks: ['less'], |
51 | 51 | options: { | ... | ... |
css/style/checkin.css
0 → 100644
1 | +/** | |
2 | + * name : zzf | |
3 | + * info : | |
4 | + */ | |
5 | +/*************************************************** | |
6 | +* feature : 变量配置; | |
7 | +* update : 2015/02/05; | |
8 | +* use : ; | |
9 | +* extend : ; | |
10 | +* example : ; | |
11 | +* desc : ; | |
12 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
13 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
14 | +****************************************************/ | |
15 | +.bg-img { | |
16 | + background: url('../../images/icon/icon.png') no-repeat; | |
17 | + background-size: 150px; | |
18 | +} | |
19 | +#check_in { | |
20 | + background: #f44f4c; | |
21 | +} | |
22 | +#check_in img { | |
23 | + width: 100%; | |
24 | +} | |
25 | +#check_in .check-btn { | |
26 | + text-align: center; | |
27 | + font-size: 20px; | |
28 | + color: #fff; | |
29 | + line-height: 30px; | |
30 | + margin-top: 10px; | |
31 | +} | |
32 | +#check_in .check-btn span { | |
33 | + font-weight: bold; | |
34 | + margin: 0 5px; | |
35 | + font-size: 30px; | |
36 | +} | |
37 | +#check_in .check-btn .btn { | |
38 | + background: url("../../images/icon-1-3.png") center center no-repeat; | |
39 | + display: inline-block; | |
40 | + background-size: 270px; | |
41 | + background-position: -1px -59px; | |
42 | + width: 230px; | |
43 | + height: 60px; | |
44 | + line-height: 60px; | |
45 | + color: #f44f4c; | |
46 | + font-size: 24px; | |
47 | + margin-top: 20px; | |
48 | +} | |
49 | +#check_in .check-btn .btn:focus, | |
50 | +#check_in .check-btn .btn:active, | |
51 | +#check_in .check-btn .btn:hover { | |
52 | + background-position: -1px 0px; | |
53 | + color: #fff; | |
54 | +} | |
55 | +#check_in .winning { | |
56 | + margin: 20px 15px; | |
57 | + background: rgba(255, 255, 255, 0.2); | |
58 | + border-radius: 4px; | |
59 | + padding: 10px; | |
60 | + font-size: 15px; | |
61 | + color: #ddd; | |
62 | +} | |
63 | +#check_in .winning p { | |
64 | + margin-bottom: 10px; | |
65 | +} | |
66 | +#check_in .intro span { | |
67 | + background: url("../../images/icon-1-3.png") center center no-repeat; | |
68 | + display: inline-block; | |
69 | + background-size: 250px; | |
70 | + background-position: -1px -170px; | |
71 | + width: 87px; | |
72 | + height: 40px; | |
73 | + text-align: center; | |
74 | + line-height: 45px; | |
75 | + color: #fff; | |
76 | +} | |
77 | +#check_in .intro p { | |
78 | + margin: 5px 15px; | |
79 | + font-size: 14px; | |
80 | + color: #fff; | |
81 | +} | ... | ... |
css/style/collection.css
... | ... | @@ -79,3 +79,168 @@ |
79 | 79 | width: 20%; |
80 | 80 | padding: 0px; |
81 | 81 | } |
82 | +#collection .m-table-view { | |
83 | + background-color: transparent; | |
84 | +} | |
85 | +#collection .m-table-view .cell { | |
86 | + background-color: transparent; | |
87 | + overflow: visible; | |
88 | + border: 0; | |
89 | + padding: 0; | |
90 | +} | |
91 | +#collection .m-table-view .cell .cellin { | |
92 | + border: 1px solid #ddd; | |
93 | + background-color: #fff; | |
94 | + padding: 10px; | |
95 | + position: relative; | |
96 | + -webkit-transition: all 0.3s; | |
97 | + transition: all 0.3s; | |
98 | +} | |
99 | +#collection .m-table-view .cell-extend-pic { | |
100 | + padding: 0; | |
101 | +} | |
102 | +#collection .m-table-view .cell-extend-pic .cellin { | |
103 | + padding: 15px 56px; | |
104 | + padding-left: 95px; | |
105 | +} | |
106 | +#collection .m-table-view .cell-extend-pic .cellin .pic { | |
107 | + width: 80px; | |
108 | + height: 80px; | |
109 | + margin-left: -90px; | |
110 | +} | |
111 | +#collection .m-table-view .cell-extend-pic .cellin .display-block { | |
112 | + margin-left: 10px; | |
113 | +} | |
114 | +#collection .m-table-view .title { | |
115 | + font-size: 16px; | |
116 | + color: #333; | |
117 | + line-height: 1; | |
118 | +} | |
119 | +#collection .m-table-view h3.title { | |
120 | + padding-bottom: 5px; | |
121 | + margin: 0; | |
122 | + display: block; | |
123 | +} | |
124 | +#collection .main-cate .value-red { | |
125 | + font-size: 14px; | |
126 | + color: #fb5041; | |
127 | +} | |
128 | +#collection .main-cate .value-blue { | |
129 | + font-size: 14px; | |
130 | + color: #1b6ba5; | |
131 | +} | |
132 | +#collection .main-cate .key { | |
133 | + font-size: 14px; | |
134 | + color: #999; | |
135 | +} | |
136 | +#collection .main-cate .value { | |
137 | + font-size: 14px; | |
138 | + color: #666; | |
139 | +} | |
140 | +#collection li p { | |
141 | + line-height: 1; | |
142 | + padding: 5px 0; | |
143 | + margin: 0; | |
144 | +} | |
145 | +#collection li p.body { | |
146 | + color: #999; | |
147 | + padding: 2px 0 3px 0; | |
148 | +} | |
149 | +#collection .store-label { | |
150 | + position: absolute; | |
151 | + left: 15px; | |
152 | + top: 15px; | |
153 | +} | |
154 | +#collection .from-label { | |
155 | + color: #999; | |
156 | + font-size: 12px; | |
157 | + font-weight: 100; | |
158 | + padding: 0 10px 0 0; | |
159 | +} | |
160 | +#collection .localtion { | |
161 | + font-size: 14px; | |
162 | + color: #666; | |
163 | +} | |
164 | +#collection .order-numbers { | |
165 | + font-size: 13px; | |
166 | + color: #999; | |
167 | +} | |
168 | +#collection .goodlist, | |
169 | +#collection .shoplist { | |
170 | + background-color: #fff; | |
171 | +} | |
172 | +#collection .goodlist .cell, | |
173 | +#collection .shoplist .cell { | |
174 | + border-bottom: 1px solid #ddd; | |
175 | +} | |
176 | +#collection .goodlist .cell .cellin, | |
177 | +#collection .shoplist .cell .cellin { | |
178 | + border: 0; | |
179 | +} | |
180 | +.supply-list { | |
181 | + padding: 0; | |
182 | +} | |
183 | +.supply-list > ul { | |
184 | + margin-top: 10px; | |
185 | +} | |
186 | +.supply-list li { | |
187 | + margin: 0 10px 10px 10px; | |
188 | +} | |
189 | +.supply-list li p { | |
190 | + line-height: 20px !important; | |
191 | +} | |
192 | +.supply-list .orso { | |
193 | + height: 30px; | |
194 | + line-height: 30px; | |
195 | +} | |
196 | +.supply-list .orso .title { | |
197 | + line-height: 30px !important; | |
198 | +} | |
199 | +.shoplist .cell-extend-pic .m-icon { | |
200 | + margin: -3px 0 0 0; | |
201 | +} | |
202 | +.red { | |
203 | + color: #fa4535; | |
204 | +} | |
205 | +.labchk { | |
206 | + width: 40px; | |
207 | + position: absolute; | |
208 | + left: 0; | |
209 | + top: 0; | |
210 | + height: 100%; | |
211 | + color: transparent; | |
212 | +} | |
213 | +.labchk .m-radio { | |
214 | + position: absolute; | |
215 | + top: 50%; | |
216 | + left: 10px; | |
217 | + margin-top: -11px; | |
218 | + opacity: 0; | |
219 | + -webkit-transition: all 0.3s; | |
220 | + transition: all 0.3s; | |
221 | +} | |
222 | +.m-footer { | |
223 | + padding: 0px; | |
224 | + height: 0px; | |
225 | + overflow: hidden; | |
226 | + -webkit-transition: height 0.3s; | |
227 | + transition: height 0.3s; | |
228 | +} | |
229 | +.m-footer .m-btn { | |
230 | + float: left; | |
231 | + width: 50%; | |
232 | + box-sizing: border-box; | |
233 | +} | |
234 | +.panel-open .m-footer { | |
235 | + position: fixed; | |
236 | + display: block; | |
237 | + z-index: 9; | |
238 | + height: 50px; | |
239 | +} | |
240 | +.panel-open .labchk .m-radio { | |
241 | + opacity: 1; | |
242 | +} | |
243 | +.panel-open .m-table-view .cellin { | |
244 | + -webkit-transform: translate3d(50px, 0, 0); | |
245 | + transform: translate3d(50px, 0, 0); | |
246 | +} | ... | ... |
css/style/collection.less
... | ... | @@ -12,4 +12,177 @@ |
12 | 12 | padding: 0px; |
13 | 13 | } |
14 | 14 | } |
15 | -} | |
16 | 15 | \ No newline at end of file |
16 | + .m-table-view { | |
17 | + background-color: transparent; | |
18 | + .cell { | |
19 | + background-color: transparent; | |
20 | + overflow: visible; | |
21 | + border: 0; | |
22 | + padding: 0; | |
23 | + .cellin { | |
24 | + border: 1px solid #ddd; | |
25 | + background-color: #fff; | |
26 | + padding: 10px; | |
27 | + position: relative; | |
28 | + -webkit-transition: all 0.3s; | |
29 | + transition: all 0.3s; | |
30 | + } | |
31 | + } | |
32 | + .cell-extend-pic { | |
33 | + padding: 0; | |
34 | + .cellin { | |
35 | + padding: 15px 56px; | |
36 | + padding-left:95px; | |
37 | + .pic{ | |
38 | + width:80px; | |
39 | + height:80px; | |
40 | + margin-left: -90px; | |
41 | + } | |
42 | + .display-block{ | |
43 | + margin-left:10px; | |
44 | + } | |
45 | + } | |
46 | + } | |
47 | + .title{ | |
48 | + font-size:16px; | |
49 | + color:#333; | |
50 | + line-height: 1; | |
51 | + } | |
52 | + h3.title { | |
53 | + padding-bottom: 5px; | |
54 | + margin: 0; | |
55 | + display: block; | |
56 | + } | |
57 | + } | |
58 | + .main-cate { | |
59 | + .value-red{ | |
60 | + font-size:14px; | |
61 | + color:#fb5041; | |
62 | + } | |
63 | + .value-blue{ | |
64 | + font-size:14px; | |
65 | + color:#1b6ba5; | |
66 | + } | |
67 | + .key{ | |
68 | + font-size:14px; | |
69 | + color:#999; | |
70 | + } | |
71 | + .value{ | |
72 | + font-size:14px; | |
73 | + color:#666; | |
74 | + } | |
75 | + } | |
76 | + li p { | |
77 | + line-height: 1; | |
78 | + padding: 5px 0; | |
79 | + margin: 0; | |
80 | + } | |
81 | + li p.body { | |
82 | + color: #999; | |
83 | + padding: 2px 0 3px 0; | |
84 | + } | |
85 | + .store-label{ | |
86 | + position: absolute; | |
87 | + left: 15px; | |
88 | + top: 15px; | |
89 | + } | |
90 | + .from-label{ | |
91 | + color:#999; | |
92 | + font-size:12px; | |
93 | + font-weight: 100; | |
94 | + padding: 0 10px 0 0; | |
95 | + } | |
96 | + .localtion{ | |
97 | + font-size:14px; | |
98 | + color:#666; | |
99 | + } | |
100 | + .order-numbers{ | |
101 | + font-size: 13px; | |
102 | + color:#999; | |
103 | + } | |
104 | + .goodlist, | |
105 | + .shoplist { | |
106 | + background-color: #fff; | |
107 | + .cell { | |
108 | + border-bottom: 1px solid #ddd; | |
109 | + .cellin { | |
110 | + border: 0; | |
111 | + } | |
112 | + } | |
113 | + } | |
114 | +} | |
115 | + | |
116 | +.supply-list { | |
117 | + padding: 0; | |
118 | + >ul { | |
119 | + margin-top: 10px; | |
120 | + } | |
121 | + li { | |
122 | + margin: 0 10px 10px 10px; | |
123 | + p { | |
124 | + line-height: 20px !important; | |
125 | + } | |
126 | + } | |
127 | + .orso { | |
128 | + height: 30px; | |
129 | + line-height: 30px; | |
130 | + .title { | |
131 | + line-height: 30px !important; | |
132 | + } | |
133 | + } | |
134 | +} | |
135 | +.shoplist { | |
136 | + .cell-extend-pic .m-icon { | |
137 | + margin: -3px 0 0 0; | |
138 | + } | |
139 | +} | |
140 | +.red { | |
141 | + color: #fa4535; | |
142 | +} | |
143 | +.labchk { | |
144 | + width: 40px; | |
145 | + position: absolute; | |
146 | + left: 0; | |
147 | + top: 0; | |
148 | + height: 100%; | |
149 | + color: transparent; | |
150 | + .m-radio { | |
151 | + position: absolute; | |
152 | + top: 50%; | |
153 | + left: 10px; | |
154 | + margin-top: -11px; | |
155 | + opacity: 0; | |
156 | + -webkit-transition: all 0.3s; | |
157 | + transition: all 0.3s; | |
158 | + | |
159 | + } | |
160 | +} | |
161 | +.m-footer { | |
162 | + padding: 0px; | |
163 | + height: 0px; | |
164 | + overflow: hidden; | |
165 | + -webkit-transition: height 0.3s; | |
166 | + transition: height 0.3s; | |
167 | + .m-btn { | |
168 | + float: left; | |
169 | + width: 50%; | |
170 | + box-sizing: border-box; | |
171 | + } | |
172 | +} | |
173 | +.panel-open { | |
174 | + .m-footer { | |
175 | + position: fixed; | |
176 | + display: block; | |
177 | + z-index: 9; | |
178 | + height: 50px; | |
179 | + } | |
180 | + .labchk { | |
181 | + .m-radio { | |
182 | + opacity: 1; | |
183 | + } | |
184 | + } | |
185 | + .m-table-view .cellin { | |
186 | + -webkit-transform: translate3d(50px, 0, 0); | |
187 | + transform: translate3d(50px, 0, 0); | |
188 | + } | |
189 | +} | ... | ... |
css/style/common-2.css
0 → 100644
1 | +@import "m2.0/jquery.mobile.custom.structure.min.css"; | |
2 | +/*************************************************** | |
3 | +* feature : 零散的ui组件的集合; | |
4 | +* update : 2015/02/03; | |
5 | +* use : import 本文件; | |
6 | +* desc : 仅需在HTML Page引入本文件,即可调用到 reset、通用UI样式; | |
7 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
8 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
9 | +****************************************************/ | |
10 | +/*************************************************** | |
11 | +* feature : 全局样式重置; | |
12 | +* update : 2015/02/03; | |
13 | +* use : ; | |
14 | +* extend : ; | |
15 | +* example : ; | |
16 | +* desc : ; | |
17 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
18 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
19 | +****************************************************/ | |
20 | +* { | |
21 | + -moz-tap-highlight-color: rgba(0, 0, 0, 0); | |
22 | + -o-tap-highlight-color: rgba(0, 0, 0, 0); | |
23 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
24 | +} | |
25 | +html { | |
26 | + height: 100%; | |
27 | +} | |
28 | +html, | |
29 | +body, | |
30 | +div, | |
31 | +span, | |
32 | +object, | |
33 | +iframe, | |
34 | +h1, | |
35 | +h2, | |
36 | +h3, | |
37 | +h4, | |
38 | +h5, | |
39 | +h6, | |
40 | +p, | |
41 | +blockquote, | |
42 | +pre, | |
43 | +abbr, | |
44 | +address, | |
45 | +cite, | |
46 | +code, | |
47 | +del, | |
48 | +dfn, | |
49 | +em, | |
50 | +img, | |
51 | +ins, | |
52 | +kbd, | |
53 | +q, | |
54 | +samp, | |
55 | +small, | |
56 | +strong, | |
57 | +sub, | |
58 | +sup, | |
59 | +var, | |
60 | +b, | |
61 | +i, | |
62 | +dl, | |
63 | +dt, | |
64 | +dd, | |
65 | +ol, | |
66 | +ul, | |
67 | +li, | |
68 | +fieldset, | |
69 | +form, | |
70 | +label, | |
71 | +legend, | |
72 | +table, | |
73 | +caption, | |
74 | +tbody, | |
75 | +tfoot, | |
76 | +thead, | |
77 | +tr, | |
78 | +th, | |
79 | +td, | |
80 | +article, | |
81 | +aside, | |
82 | +canvas, | |
83 | +details, | |
84 | +figcaption, | |
85 | +figure, | |
86 | +footer, | |
87 | +header, | |
88 | +menu, | |
89 | +nav, | |
90 | +section, | |
91 | +summary, | |
92 | +time, | |
93 | +mark, | |
94 | +audio, | |
95 | +video { | |
96 | + margin: 0; | |
97 | + padding: 0; | |
98 | + border: 0; | |
99 | + outline: 0; | |
100 | + vertical-align: baseline; | |
101 | + background: transparent; | |
102 | +} | |
103 | +body { | |
104 | + font: 12px/1.5 sans-serif; | |
105 | + background-color: #F5F5F5; | |
106 | + position: relative; | |
107 | + color: #333; | |
108 | + min-height: 100%; | |
109 | + overflow-x: hidden; | |
110 | +} | |
111 | +article, | |
112 | +aside, | |
113 | +details, | |
114 | +figcaption, | |
115 | +figure, | |
116 | +footer, | |
117 | +header, | |
118 | +menu, | |
119 | +nav, | |
120 | +section { | |
121 | + display: block; | |
122 | +} | |
123 | +nav ul { | |
124 | + list-style: none; | |
125 | +} | |
126 | +li { | |
127 | + list-style: none; | |
128 | +} | |
129 | +em { | |
130 | + font-style: normal; | |
131 | +} | |
132 | +ins { | |
133 | + background-color: #ff9; | |
134 | + color: #000; | |
135 | + text-decoration: none; | |
136 | +} | |
137 | +mark { | |
138 | + background-color: #ff9; | |
139 | + color: #000; | |
140 | + font-style: italic; | |
141 | + font-weight: bold; | |
142 | +} | |
143 | +table { | |
144 | + border-collapse: collapse; | |
145 | + border-spacing: 0; | |
146 | +} | |
147 | +hr { | |
148 | + display: block; | |
149 | + height: 1px; | |
150 | + border: 0; | |
151 | + border-top: 1px solid #cccccc; | |
152 | + margin: 0; | |
153 | + padding: 0; | |
154 | +} | |
155 | +input, | |
156 | +select { | |
157 | + vertical-align: middle; | |
158 | +} | |
159 | +input:focus, | |
160 | +button:focus { | |
161 | + outline: none; | |
162 | +} | |
163 | +a { | |
164 | + color: #333; | |
165 | + text-decoration: none; | |
166 | + margin: 0; | |
167 | + padding: 0; | |
168 | + vertical-align: baseline; | |
169 | + background: transparent; | |
170 | +} | |
171 | +a:active, | |
172 | +a:visited { | |
173 | + color: #333; | |
174 | +} | |
175 | +input, | |
176 | +img { | |
177 | + border: 0; | |
178 | + vertical-align: middle; | |
179 | +} | |
180 | +textarea, | |
181 | +input, | |
182 | +a { | |
183 | + -webkit-tap-highlight-color: transparent; | |
184 | +} | |
185 | +/* 清除浮动 */ | |
186 | +.clearfix, | |
187 | +.clear { | |
188 | + display: inline-table; | |
189 | + zoom: 1; | |
190 | +} | |
191 | +* html .clearfix, | |
192 | +* html .clear { | |
193 | + height: 1%; | |
194 | +} | |
195 | +* html .clearfix, | |
196 | +* html .clear { | |
197 | + zoom: 1; | |
198 | +} | |
199 | +.clearfix, | |
200 | +.clear { | |
201 | + display: block; | |
202 | +} | |
203 | +.clear { | |
204 | + clear: both; | |
205 | +} | |
206 | +.clearfix:after, | |
207 | +.clear:after { | |
208 | + content: " "; | |
209 | + display: block; | |
210 | + height: 0; | |
211 | + clear: both; | |
212 | + visibility: hidden; | |
213 | + line-height: 0px; | |
214 | +} | |
215 | +/*************************************************** | |
216 | +* feature : 变量配置; | |
217 | +* update : 2015/02/05; | |
218 | +* use : ; | |
219 | +* extend : ; | |
220 | +* example : ; | |
221 | +* desc : ; | |
222 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
223 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
224 | +****************************************************/ | |
225 | +.bg-img { | |
226 | + background: url('../../images/icon/icon.png') no-repeat; | |
227 | + background-size: 150px; | |
228 | +} | |
229 | +/*************************************************** | |
230 | +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; | |
231 | +* update : 2015/02/03; | |
232 | +* use : .m-header; | |
233 | +* extend : .header-*; | |
234 | +* example : <header class="m-header header-light"></header>; | |
235 | +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题; | |
236 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
237 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
238 | +****************************************************/ | |
239 | +.head { | |
240 | + height: 44px; | |
241 | + box-sizing: border-box; | |
242 | + text-align: center; | |
243 | +} | |
244 | +.logo { | |
245 | + width: 25px; | |
246 | + background: url('../../images/icon/icon.png') no-repeat; | |
247 | + background-size: 150px; | |
248 | + background-position: -125px 11px; | |
249 | + margin: 0 15px; | |
250 | +} | |
251 | +.m-header { | |
252 | + z-index: 5; | |
253 | + color: #FFF; | |
254 | + background-color: #23AC38; | |
255 | + position: relative; | |
256 | +} | |
257 | +.m-header.header-light { | |
258 | + background: rgba(255, 255, 255, 0.8); | |
259 | + color: #000; | |
260 | +} | |
261 | +.m-header.header-light .text { | |
262 | + color: #666; | |
263 | +} | |
264 | +.m-header .head { | |
265 | + padding: 0 50px; | |
266 | + box-sizing: border-box; | |
267 | +} | |
268 | +.m-header .head h1 { | |
269 | + display: inline-block; | |
270 | + vertical-align: middle; | |
271 | + line-height: 44px; | |
272 | + font-weight: normal; | |
273 | + font-size: 18px; | |
274 | + white-space: nowrap; | |
275 | + text-overflow: ellipsis; | |
276 | + overflow: hidden; | |
277 | +} | |
278 | +.m-header .lt-bar, | |
279 | +.m-header .rt-bar { | |
280 | + position: absolute; | |
281 | + left: 0; | |
282 | + top: 0; | |
283 | + bottom: 0; | |
284 | + min-width: 44px; | |
285 | + line-height: 44px; | |
286 | + height: 100%; | |
287 | + text-align: center; | |
288 | + cursor: pointer; | |
289 | + z-index: 1; | |
290 | +} | |
291 | +.m-header .lt-bar { | |
292 | + float: left; | |
293 | +} | |
294 | +.m-header .lt-bar.text { | |
295 | + padding-left: 10px; | |
296 | + text-align: left; | |
297 | +} | |
298 | +.m-header .rt-bar { | |
299 | + float: right; | |
300 | + left: auto; | |
301 | + right: 0; | |
302 | +} | |
303 | +.m-header .rt-bar.text { | |
304 | + padding-right: 10px; | |
305 | + text-align: right; | |
306 | +} | |
307 | +.m-header .text { | |
308 | + text-align: center; | |
309 | + line-height: 44px; | |
310 | + font-size: 15px; | |
311 | + color: #FFF; | |
312 | +} | |
313 | +.m-header.header-search .head { | |
314 | + padding: 7px 44px; | |
315 | +} | |
316 | +.m-header.header-search .search-box { | |
317 | + line-height: 30px; | |
318 | + font-size: 14px; | |
319 | + padding: 0 8px; | |
320 | + background-color: #158F28; | |
321 | + color: #eee; | |
322 | + cursor: text; | |
323 | + display: block; | |
324 | + color: #999; | |
325 | + text-align: left; | |
326 | +} | |
327 | +.m-header.header-search .icon-search { | |
328 | + margin-top: 7px; | |
329 | +} | |
330 | +.m-header.header-search .icon-search-w { | |
331 | + margin-top: 8px; | |
332 | +} | |
333 | +.m-header.header-search .input-wrap { | |
334 | + display: block; | |
335 | + overflow: hidden; | |
336 | + padding-left: 8px; | |
337 | + box-sizing: border-box; | |
338 | +} | |
339 | +.m-header.header-search .m-input { | |
340 | + float: left; | |
341 | + width: 98%; | |
342 | + display: block; | |
343 | + padding: 4px 0; | |
344 | + color: #333; | |
345 | + border: none; | |
346 | + background: none; | |
347 | +} | |
348 | +.m-header.header-search .m-input::-webkit-input-placeholder { | |
349 | + color: #999; | |
350 | +} | |
351 | +.m-header.header-search .m-dropdown { | |
352 | + float: left; | |
353 | +} | |
354 | +.m-header.header-search #search-btn { | |
355 | + background: none; | |
356 | + color: #fff; | |
357 | + font-size: 14px; | |
358 | +} | |
359 | +.m-header.header-home .head { | |
360 | + position: relative; | |
361 | + padding: 7px 10px 7px 44px; | |
362 | + margin-right: 0; | |
363 | +} | |
364 | +.m-header.header-home .search-box { | |
365 | + background-color: #158F28; | |
366 | + color: #FFF; | |
367 | +} | |
368 | +/*************************************************** | |
369 | +* feature : 全局底部; | |
370 | +* update : 2015/02/03; | |
371 | +* use : .m-footer; | |
372 | +* extend : .footer-*; | |
373 | +* example : <footer class="m-footer"></footer>; | |
374 | +* desc : ; | |
375 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
376 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
377 | +****************************************************/ | |
378 | +.m-footer { | |
379 | + position: fixed !important; | |
380 | + left: 0; | |
381 | + right: 0; | |
382 | + bottom: 0; | |
383 | + padding: 12px 10px; | |
384 | + background: rgba(255, 255, 255, 0.9); | |
385 | + z-index: 1; | |
386 | +} | |
387 | +/*************************************************** | |
388 | +* feature : 全局icon库,提供常用icon集合; | |
389 | +* update : 2015/02/03; | |
390 | +* use : .m-icon; | |
391 | +* extend : .icon-*; | |
392 | +* example : <i class="m-icon icon-back">返回<i>; | |
393 | +* desc : 默认为深色或彩色icon, 通过 .white 来引用白色icon; | |
394 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
395 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
396 | +****************************************************/ | |
397 | +/* | |
398 | +LESS variables are information about icon's compiled state, stored under its original file name | |
399 | + | |
400 | +.icon-home { | |
401 | + width: @icon-home-width; | |
402 | +} | |
403 | + | |
404 | +The large array-like variables contain all information about a single icon | |
405 | +@icon-home: x y offset_x offset_y width height total_width total_height image_path name; | |
406 | + | |
407 | +At the bottom of this section, we provide information about the spritesheet itself | |
408 | +@spritesheet: width height image @spritesheet-sprites; | |
409 | +*/ | |
410 | +/* | |
411 | +The provided classes are intended to be used with the array-like variables | |
412 | + | |
413 | +.icon-home { | |
414 | + .sprite-width(@icon-home); | |
415 | +} | |
416 | +.icon-email { | |
417 | + .sprite(@icon-email); | |
418 | +} | |
419 | +*/ | |
420 | +/* | |
421 | +The `.sprites` mixin generates identical output to the CSS template | |
422 | + but can be overridden inside of LESS | |
423 | + | |
424 | +This must be run when you have at least 2 sprites. | |
425 | + If run with a single sprite, then there will be reference errors. | |
426 | + | |
427 | +.sprites(@spritesheet-sprites); | |
428 | +*/ | |
429 | +.m-icon { | |
430 | + display: inline-block; | |
431 | + vertical-align: middle; | |
432 | +} | |
433 | +.icon-information { | |
434 | + background-image: url(../../images/dist/sprite.png); | |
435 | + background-position: -580px 0px; | |
436 | + background-position: -290px 0px; | |
437 | + width: 120px; | |
438 | + width: 60px; | |
439 | + height: 40px; | |
440 | + height: 20px; | |
441 | + background-size: 350px; | |
442 | +} | |
443 | +.icon-logo-app { | |
444 | + background-image: url(../../images/dist/sprite.png); | |
445 | + background-position: -580px -210px; | |
446 | + background-position: -290px -105px; | |
447 | + width: 50px; | |
448 | + width: 25px; | |
449 | + height: 50px; | |
450 | + height: 25px; | |
451 | + background-size: 350px; | |
452 | +} | |
453 | +.icon-fiter { | |
454 | + background-image: url(../../images/dist/sprite.png); | |
455 | + background-position: -440px -360px; | |
456 | + background-position: -220px -180px; | |
457 | + width: 40px; | |
458 | + width: 20px; | |
459 | + height: 40px; | |
460 | + height: 20px; | |
461 | + background-size: 350px; | |
462 | +} | |
463 | +.icon-have-point { | |
464 | + background-image: url(../../images/dist/sprite.png); | |
465 | + background-position: -668px -453px; | |
466 | + background-position: -334px -226.5px; | |
467 | + width: 24px; | |
468 | + width: 12px; | |
469 | + height: 24px; | |
470 | + height: 12px; | |
471 | + background-size: 350px; | |
472 | +} | |
473 | +.icon-new { | |
474 | + background-image: url(../../images/dist/sprite.png); | |
475 | + background-position: -580px -310px; | |
476 | + background-position: -290px -155px; | |
477 | + width: 60px; | |
478 | + width: 30px; | |
479 | + height: 34px; | |
480 | + height: 17px; | |
481 | + background-size: 350px; | |
482 | +} | |
483 | +.icon-no-point { | |
484 | + background-image: url(../../images/dist/sprite.png); | |
485 | + background-position: -513px -480px; | |
486 | + background-position: -256.5px -240px; | |
487 | + width: 24px; | |
488 | + width: 12px; | |
489 | + height: 24px; | |
490 | + height: 12px; | |
491 | + background-size: 350px; | |
492 | +} | |
493 | +.icon-pro-more { | |
494 | + background-image: url(../../images/dist/sprite.png); | |
495 | + background-position: -580px -40px; | |
496 | + background-position: -290px -20px; | |
497 | + width: 60px; | |
498 | + width: 30px; | |
499 | + height: 60px; | |
500 | + height: 30px; | |
501 | + background-size: 350px; | |
502 | +} | |
503 | +.icon-talking { | |
504 | + background-image: url(../../images/dist/sprite.png); | |
505 | + background-position: -580px -344px; | |
506 | + background-position: -290px -172px; | |
507 | + width: 45px; | |
508 | + width: 22.5px; | |
509 | + height: 45px; | |
510 | + height: 22.5px; | |
511 | + background-size: 350px; | |
512 | +} | |
513 | +.icon-white-jt { | |
514 | + background-image: url(../../images/dist/sprite.png); | |
515 | + background-position: -680px -210px; | |
516 | + background-position: -340px -105px; | |
517 | + width: 20px; | |
518 | + width: 10px; | |
519 | + height: 30px; | |
520 | + height: 15px; | |
521 | + background-size: 350px; | |
522 | +} | |
523 | +.icon-cdzg { | |
524 | + background-image: url(../../images/dist/sprite.png); | |
525 | + background-position: -480px 0px; | |
526 | + background-position: -240px 0px; | |
527 | + width: 100px; | |
528 | + width: 50px; | |
529 | + height: 100px; | |
530 | + height: 50px; | |
531 | + background-size: 350px; | |
532 | +} | |
533 | +.icon-gqxx { | |
534 | + background-image: url(../../images/dist/sprite.png); | |
535 | + background-position: -480px -100px; | |
536 | + background-position: -240px -50px; | |
537 | + width: 100px; | |
538 | + width: 50px; | |
539 | + height: 100px; | |
540 | + height: 50px; | |
541 | + background-size: 350px; | |
542 | +} | |
543 | +.icon-jhd { | |
544 | + background-image: url(../../images/dist/sprite.png); | |
545 | + background-position: -480px -200px; | |
546 | + background-position: -240px -100px; | |
547 | + width: 100px; | |
548 | + width: 50px; | |
549 | + height: 100px; | |
550 | + height: 50px; | |
551 | + background-size: 350px; | |
552 | +} | |
553 | +.icon-nhzy { | |
554 | + background-image: url(../../images/dist/sprite.png); | |
555 | + background-position: -480px -300px; | |
556 | + background-position: -240px -150px; | |
557 | + width: 100px; | |
558 | + width: 50px; | |
559 | + height: 100px; | |
560 | + height: 50px; | |
561 | + background-size: 350px; | |
562 | +} | |
563 | +.icon-pfsc { | |
564 | + background-image: url(../../images/dist/sprite.png); | |
565 | + background-position: 0px -480px; | |
566 | + background-position: 0px -240px; | |
567 | + width: 100px; | |
568 | + width: 50px; | |
569 | + height: 100px; | |
570 | + height: 50px; | |
571 | + background-size: 350px; | |
572 | +} | |
573 | +.icon-tcls { | |
574 | + background-image: url(../../images/dist/sprite.png); | |
575 | + background-position: -100px -480px; | |
576 | + background-position: -50px -240px; | |
577 | + width: 100px; | |
578 | + width: 50px; | |
579 | + height: 100px; | |
580 | + height: 50px; | |
581 | + background-size: 350px; | |
582 | +} | |
583 | +.icon-wdnf { | |
584 | + background-image: url(../../images/dist/sprite.png); | |
585 | + background-position: -240px -360px; | |
586 | + background-position: -120px -180px; | |
587 | + width: 100px; | |
588 | + width: 50px; | |
589 | + height: 100px; | |
590 | + height: 50px; | |
591 | + background-size: 350px; | |
592 | +} | |
593 | +.icon-yqxx { | |
594 | + background-image: url(../../images/dist/sprite.png); | |
595 | + background-position: -340px -360px; | |
596 | + background-position: -170px -180px; | |
597 | + width: 100px; | |
598 | + width: 50px; | |
599 | + height: 100px; | |
600 | + height: 50px; | |
601 | + background-size: 350px; | |
602 | +} | |
603 | +.icon-cao-mei { | |
604 | + background-image: url(../../images/dist/sprite.png); | |
605 | + background-position: -240px -240px; | |
606 | + background-position: -120px -120px; | |
607 | + width: 120px; | |
608 | + width: 60px; | |
609 | + height: 120px; | |
610 | + height: 60px; | |
611 | + background-size: 350px; | |
612 | +} | |
613 | +.icon-da-suan { | |
614 | + background-image: url(../../images/dist/sprite.png); | |
615 | + background-position: -360px 0px; | |
616 | + background-position: -180px 0px; | |
617 | + width: 120px; | |
618 | + width: 60px; | |
619 | + height: 120px; | |
620 | + height: 60px; | |
621 | + background-size: 350px; | |
622 | +} | |
623 | +.icon-dou-jiao { | |
624 | + background-image: url(../../images/dist/sprite.png); | |
625 | + background-position: -360px -120px; | |
626 | + background-position: -180px -60px; | |
627 | + width: 120px; | |
628 | + width: 60px; | |
629 | + height: 120px; | |
630 | + height: 60px; | |
631 | + background-size: 350px; | |
632 | +} | |
633 | +.icon-hua-cai { | |
634 | + background-image: url(../../images/dist/sprite.png); | |
635 | + background-position: -360px -240px; | |
636 | + background-position: -180px -120px; | |
637 | + width: 120px; | |
638 | + width: 60px; | |
639 | + height: 120px; | |
640 | + height: 60px; | |
641 | + background-size: 350px; | |
642 | +} | |
643 | +.icon-luo-bo { | |
644 | + background-image: url(../../images/dist/sprite.png); | |
645 | + background-position: 0px -360px; | |
646 | + background-position: 0px -180px; | |
647 | + width: 120px; | |
648 | + width: 60px; | |
649 | + height: 120px; | |
650 | + height: 60px; | |
651 | + background-size: 350px; | |
652 | +} | |
653 | +.icon-mo-gu { | |
654 | + background-image: url(../../images/dist/sprite.png); | |
655 | + background-position: -120px -360px; | |
656 | + background-position: -60px -180px; | |
657 | + width: 120px; | |
658 | + width: 60px; | |
659 | + height: 120px; | |
660 | + height: 60px; | |
661 | + background-size: 350px; | |
662 | +} | |
663 | +.icon-ping-guo { | |
664 | + background-image: url(../../images/dist/sprite.png); | |
665 | + background-position: 0px 0px; | |
666 | + width: 120px; | |
667 | + width: 60px; | |
668 | + height: 120px; | |
669 | + height: 60px; | |
670 | + background-size: 350px; | |
671 | +} | |
672 | +.icon-pro-more2 { | |
673 | + background-image: url(../../images/dist/sprite.png); | |
674 | + background-position: -620px -477px; | |
675 | + background-position: -310px -238.5px; | |
676 | + width: 40px; | |
677 | + width: 20px; | |
678 | + height: 40px; | |
679 | + height: 20px; | |
680 | + background-size: 350px; | |
681 | +} | |
682 | +.icon-pu-tao { | |
683 | + background-image: url(../../images/dist/sprite.png); | |
684 | + background-position: 0px -240px; | |
685 | + background-position: 0px -120px; | |
686 | + width: 120px; | |
687 | + width: 60px; | |
688 | + height: 120px; | |
689 | + height: 60px; | |
690 | + background-size: 350px; | |
691 | +} | |
692 | +.icon-tao-zi { | |
693 | + background-image: url(../../images/dist/sprite.png); | |
694 | + background-position: -240px -120px; | |
695 | + background-position: -120px -60px; | |
696 | + width: 120px; | |
697 | + width: 60px; | |
698 | + height: 120px; | |
699 | + height: 60px; | |
700 | + background-size: 350px; | |
701 | +} | |
702 | +.icon-tu-dou { | |
703 | + background-image: url(../../images/dist/sprite.png); | |
704 | + background-position: -240px 0px; | |
705 | + background-position: -120px 0px; | |
706 | + width: 120px; | |
707 | + width: 60px; | |
708 | + height: 120px; | |
709 | + height: 60px; | |
710 | + background-size: 350px; | |
711 | +} | |
712 | +.icon-xiang-jiao { | |
713 | + background-image: url(../../images/dist/sprite.png); | |
714 | + background-position: -120px -120px; | |
715 | + background-position: -60px -60px; | |
716 | + width: 120px; | |
717 | + width: 60px; | |
718 | + height: 120px; | |
719 | + height: 60px; | |
720 | + background-size: 350px; | |
721 | +} | |
722 | +.icon-xue-li { | |
723 | + background-image: url(../../images/dist/sprite.png); | |
724 | + background-position: 0px -120px; | |
725 | + background-position: 0px -60px; | |
726 | + width: 120px; | |
727 | + width: 60px; | |
728 | + height: 120px; | |
729 | + height: 60px; | |
730 | + background-size: 350px; | |
731 | +} | |
732 | +.icon-yang-cong { | |
733 | + background-image: url(../../images/dist/sprite.png); | |
734 | + background-position: -120px -240px; | |
735 | + background-position: -60px -120px; | |
736 | + width: 120px; | |
737 | + width: 60px; | |
738 | + height: 120px; | |
739 | + height: 60px; | |
740 | + background-size: 350px; | |
741 | +} | |
742 | +.icon-ying-tao { | |
743 | + background-image: url(../../images/dist/sprite.png); | |
744 | + background-position: -120px 0px; | |
745 | + background-position: -60px 0px; | |
746 | + width: 120px; | |
747 | + width: 60px; | |
748 | + height: 120px; | |
749 | + height: 60px; | |
750 | + background-size: 350px; | |
751 | +} | |
752 | +.icon-dgys { | |
753 | + background-image: url(../../images/dist/sprite.png); | |
754 | + background-position: -580px -160px; | |
755 | + background-position: -290px -80px; | |
756 | + width: 50px; | |
757 | + width: 25px; | |
758 | + height: 50px; | |
759 | + height: 25px; | |
760 | + background-size: 350px; | |
761 | +} | |
762 | +.icon-qtzl { | |
763 | + background-image: url(../../images/dist/sprite.png); | |
764 | + background-position: -630px -160px; | |
765 | + background-position: -315px -80px; | |
766 | + width: 50px; | |
767 | + width: 25px; | |
768 | + height: 50px; | |
769 | + height: 25px; | |
770 | + background-size: 350px; | |
771 | +} | |
772 | +.icon-scl { | |
773 | + background-image: url(../../images/dist/sprite.png); | |
774 | + background-position: -640px -40px; | |
775 | + background-position: -320px -20px; | |
776 | + width: 50px; | |
777 | + width: 25px; | |
778 | + height: 50px; | |
779 | + height: 25px; | |
780 | + background-size: 350px; | |
781 | +} | |
782 | +.icon-sgl_20150825111731 { | |
783 | + background-image: url(../../images/dist/sprite.png); | |
784 | + background-position: -630px -210px; | |
785 | + background-position: -315px -105px; | |
786 | + width: 50px; | |
787 | + width: 25px; | |
788 | + height: 50px; | |
789 | + height: 25px; | |
790 | + background-size: 350px; | |
791 | +} | |
792 | +.icon-spfl { | |
793 | + background-image: url(../../images/dist/sprite.png); | |
794 | + background-position: -580px -260px; | |
795 | + background-position: -290px -130px; | |
796 | + width: 50px; | |
797 | + width: 25px; | |
798 | + height: 50px; | |
799 | + height: 25px; | |
800 | + background-size: 350px; | |
801 | +} | |
802 | +.icon-wlfw { | |
803 | + background-image: url(../../images/dist/sprite.png); | |
804 | + background-position: -630px -260px; | |
805 | + background-position: -315px -130px; | |
806 | + width: 50px; | |
807 | + width: 25px; | |
808 | + height: 50px; | |
809 | + height: 25px; | |
810 | + background-size: 350px; | |
811 | +} | |
812 | +.icon-ddgl { | |
813 | + background-image: url(../../images/dist/sprite.png); | |
814 | + background-position: -580px -517px; | |
815 | + background-position: -290px -258.5px; | |
816 | + width: 40px; | |
817 | + width: 20px; | |
818 | + height: 40px; | |
819 | + height: 20px; | |
820 | + background-size: 350px; | |
821 | +} | |
822 | +.icon-szgl { | |
823 | + background-image: url(../../images/dist/sprite.png); | |
824 | + background-position: -620px -517px; | |
825 | + background-position: -310px -258.5px; | |
826 | + width: 40px; | |
827 | + width: 20px; | |
828 | + height: 40px; | |
829 | + height: 20px; | |
830 | + background-size: 350px; | |
831 | +} | |
832 | +.icon-tkgl { | |
833 | + background-image: url(../../images/dist/sprite.png); | |
834 | + background-position: -660px -477px; | |
835 | + background-position: -330px -238.5px; | |
836 | + width: 40px; | |
837 | + width: 20px; | |
838 | + height: 40px; | |
839 | + height: 20px; | |
840 | + background-size: 350px; | |
841 | +} | |
842 | +.icon-wdsc { | |
843 | + background-image: url(../../images/dist/sprite.png); | |
844 | + background-position: -660px -517px; | |
845 | + background-position: -330px -258.5px; | |
846 | + width: 40px; | |
847 | + width: 20px; | |
848 | + height: 40px; | |
849 | + height: 20px; | |
850 | + background-size: 350px; | |
851 | +} | |
852 | +.icon-xxgl { | |
853 | + background-image: url(../../images/dist/sprite.png); | |
854 | + background-position: -580px -477px; | |
855 | + background-position: -290px -238.5px; | |
856 | + width: 40px; | |
857 | + width: 20px; | |
858 | + height: 40px; | |
859 | + height: 20px; | |
860 | + background-size: 350px; | |
861 | +} | |
862 | +.icon-back-top { | |
863 | + background-image: url(../../images/dist/sprite.png); | |
864 | + background-position: -480px -400px; | |
865 | + background-position: -240px -200px; | |
866 | + width: 80px; | |
867 | + width: 40px; | |
868 | + height: 80px; | |
869 | + height: 40px; | |
870 | + background-size: 350px; | |
871 | +} | |
872 | +.icon-dwtb { | |
873 | + background-image: url(../../images/dist/sprite.png); | |
874 | + background-position: -580px -389px; | |
875 | + background-position: -290px -194.5px; | |
876 | + width: 44px; | |
877 | + width: 22px; | |
878 | + height: 44px; | |
879 | + height: 22px; | |
880 | + background-size: 350px; | |
881 | +} | |
882 | +.icon-lsjt { | |
883 | + background-image: url(../../images/dist/sprite.png); | |
884 | + background-position: -668px -433px; | |
885 | + background-position: -334px -216.5px; | |
886 | + width: 30px; | |
887 | + width: 15px; | |
888 | + height: 20px; | |
889 | + height: 10px; | |
890 | + background-size: 350px; | |
891 | +} | |
892 | +.icon-wsc { | |
893 | + background-image: url(../../images/dist/sprite.png); | |
894 | + background-position: -624px -389px; | |
895 | + background-position: -312px -194.5px; | |
896 | + width: 44px; | |
897 | + width: 22px; | |
898 | + height: 44px; | |
899 | + height: 22px; | |
900 | + background-size: 350px; | |
901 | +} | |
902 | +.icon-xk-no { | |
903 | + background-image: url(../../images/dist/sprite.png); | |
904 | + background-position: -580px -433px; | |
905 | + background-position: -290px -216.5px; | |
906 | + width: 44px; | |
907 | + width: 22px; | |
908 | + height: 44px; | |
909 | + height: 22px; | |
910 | + background-size: 350px; | |
911 | +} | |
912 | +.icon-xk-yes { | |
913 | + background-image: url(../../images/dist/sprite.png); | |
914 | + background-position: -625px -344px; | |
915 | + background-position: -312.5px -172px; | |
916 | + width: 44px; | |
917 | + width: 22px; | |
918 | + height: 44px; | |
919 | + height: 22px; | |
920 | + background-size: 350px; | |
921 | +} | |
922 | +.icon-ysc { | |
923 | + background-image: url(../../images/dist/sprite.png); | |
924 | + background-position: -624px -433px; | |
925 | + background-position: -312px -216.5px; | |
926 | + width: 44px; | |
927 | + width: 22px; | |
928 | + height: 44px; | |
929 | + height: 22px; | |
930 | + background-size: 350px; | |
931 | +} | |
932 | +.icon-sdrz { | |
933 | + background-image: url(../../images/dist/sprite.png); | |
934 | + background-position: -580px -100px; | |
935 | + background-position: -290px -50px; | |
936 | + width: 90px; | |
937 | + width: 45px; | |
938 | + height: 30px; | |
939 | + height: 15px; | |
940 | + background-size: 350px; | |
941 | +} | |
942 | +.icon-sxsj { | |
943 | + background-image: url(../../images/dist/sprite.png); | |
944 | + background-position: -580px -130px; | |
945 | + background-position: -290px -65px; | |
946 | + width: 90px; | |
947 | + width: 45px; | |
948 | + height: 30px; | |
949 | + height: 15px; | |
950 | + background-size: 350px; | |
951 | +} | |
952 | +.icon-arrow-down { | |
953 | + background-image: url(../../images/dist/sprite.png); | |
954 | + background-position: -668px -415px; | |
955 | + background-position: -334px -207.5px; | |
956 | + width: 26px; | |
957 | + width: 13px; | |
958 | + height: 14px; | |
959 | + height: 7px; | |
960 | + background-size: 350px; | |
961 | +} | |
962 | +.icon-back { | |
963 | + background-image: url(../../images/dist/sprite.png); | |
964 | + background-position: -680px -160px; | |
965 | + background-position: -340px -80px; | |
966 | + width: 20px; | |
967 | + width: 10px; | |
968 | + height: 34px; | |
969 | + height: 17px; | |
970 | + background-size: 350px; | |
971 | +} | |
972 | +.icon-call { | |
973 | + background-image: url(../../images/dist/sprite.png); | |
974 | + background-position: -640px -310px; | |
975 | + background-position: -320px -155px; | |
976 | + width: 32px; | |
977 | + width: 16px; | |
978 | + height: 33px; | |
979 | + height: 16.5px; | |
980 | + background-size: 350px; | |
981 | +} | |
982 | +.icon-circle-back { | |
983 | + background-image: url(../../images/dist/sprite.png); | |
984 | + background-position: -270px -480px; | |
985 | + background-position: -135px -240px; | |
986 | + width: 70px; | |
987 | + width: 35px; | |
988 | + height: 70px; | |
989 | + height: 35px; | |
990 | + background-size: 350px; | |
991 | +} | |
992 | +.icon-circle-more { | |
993 | + background-image: url(../../images/dist/sprite.png); | |
994 | + background-position: -340px -480px; | |
995 | + background-position: -170px -240px; | |
996 | + width: 70px; | |
997 | + width: 35px; | |
998 | + height: 70px; | |
999 | + height: 35px; | |
1000 | + background-size: 350px; | |
1001 | +} | |
1002 | +.icon-circle-star { | |
1003 | + background-image: url(../../images/dist/sprite.png); | |
1004 | + background-position: -410px -480px; | |
1005 | + background-position: -205px -240px; | |
1006 | + width: 70px; | |
1007 | + width: 35px; | |
1008 | + height: 70px; | |
1009 | + height: 35px; | |
1010 | + background-size: 350px; | |
1011 | +} | |
1012 | +.icon-circle-video { | |
1013 | + background-image: url(../../images/dist/sprite.png); | |
1014 | + background-position: -200px -480px; | |
1015 | + background-position: -100px -240px; | |
1016 | + width: 70px; | |
1017 | + width: 35px; | |
1018 | + height: 70px; | |
1019 | + height: 35px; | |
1020 | + background-size: 350px; | |
1021 | +} | |
1022 | +.icon-jrjhd { | |
1023 | + background-image: url(../../images/dist/sprite.png); | |
1024 | + background-position: -440px -400px; | |
1025 | + background-position: -220px -200px; | |
1026 | + width: 36px; | |
1027 | + width: 18px; | |
1028 | + height: 37px; | |
1029 | + height: 18.5px; | |
1030 | + background-size: 350px; | |
1031 | +} | |
1032 | +.icon-medal-gold { | |
1033 | + background-image: url(../../images/dist/sprite.png); | |
1034 | + background-position: -670px -130px; | |
1035 | + background-position: -335px -65px; | |
1036 | + width: 22px; | |
1037 | + width: 11px; | |
1038 | + height: 30px; | |
1039 | + height: 15px; | |
1040 | + background-size: 350px; | |
1041 | +} | |
1042 | +.icon-medal-sliver { | |
1043 | + background-image: url(../../images/dist/sprite.png); | |
1044 | + background-position: -672px -310px; | |
1045 | + background-position: -336px -155px; | |
1046 | + width: 22px; | |
1047 | + width: 11px; | |
1048 | + height: 30px; | |
1049 | + height: 15px; | |
1050 | + background-size: 350px; | |
1051 | +} | |
1052 | +.icon-phone { | |
1053 | + background-image: url(../../images/dist/sprite.png); | |
1054 | + background-position: -670px -100px; | |
1055 | + background-position: -335px -50px; | |
1056 | + width: 29px; | |
1057 | + width: 14.5px; | |
1058 | + height: 29px; | |
1059 | + height: 14.5px; | |
1060 | + background-size: 350px; | |
1061 | +} | |
1062 | +.icon-search-w { | |
1063 | + background-image: url(../../images/dist/sprite.png); | |
1064 | + background-position: -668px -389px; | |
1065 | + background-position: -334px -194.5px; | |
1066 | + width: 25px; | |
1067 | + width: 12.5px; | |
1068 | + height: 26px; | |
1069 | + height: 13px; | |
1070 | + background-size: 350px; | |
1071 | +} | |
1072 | +.icon-search { | |
1073 | + background-image: url(../../images/dist/sprite.png); | |
1074 | + background-position: -669px -344px; | |
1075 | + background-position: -334.5px -172px; | |
1076 | + width: 30px; | |
1077 | + width: 15px; | |
1078 | + height: 31px; | |
1079 | + height: 15.5px; | |
1080 | + background-size: 350px; | |
1081 | +} | |
1082 | +.icon-star { | |
1083 | + background-image: url(../../images/dist/sprite.png); | |
1084 | + background-position: -480px -480px; | |
1085 | + background-position: -240px -240px; | |
1086 | + width: 33px; | |
1087 | + width: 16.5px; | |
1088 | + height: 31px; | |
1089 | + height: 15.5px; | |
1090 | + background-size: 350px; | |
1091 | +} | |
1092 | +.icon-up-down { | |
1093 | + background-image: url(../../images/dist/sprite.png); | |
1094 | + background-position: -560px -400px; | |
1095 | + background-position: -280px -200px; | |
1096 | + width: 20px; | |
1097 | + width: 10px; | |
1098 | + height: 24px; | |
1099 | + height: 12px; | |
1100 | + background-size: 350px; | |
1101 | +} | |
1102 | +.icon-yjt { | |
1103 | + background-image: url(../../images/dist/sprite.png); | |
1104 | + background-position: -680px -260px; | |
1105 | + background-position: -340px -130px; | |
1106 | + width: 17px; | |
1107 | + width: 8.5px; | |
1108 | + height: 30px; | |
1109 | + height: 15px; | |
1110 | + background-size: 350px; | |
1111 | +} | |
1112 | +.icon-arrow { | |
1113 | + background-image: url(../../images/dist/sprite.png); | |
1114 | + background-position: -680px -260px; | |
1115 | + background-position: -340px -130px; | |
1116 | + width: 17px; | |
1117 | + width: 8.5px; | |
1118 | + height: 30px; | |
1119 | + height: 15px; | |
1120 | + background-size: 350px; | |
1121 | +} | |
1122 | +/*************************************************** | |
1123 | +* feature : 分隔栏; | |
1124 | +* update : 2015/02/03; | |
1125 | +* use : .m-segment; | |
1126 | +* extend : .segment-*; | |
1127 | +* example : <ul class="m-segment"><li class="on"><a href="#" class="text">商品详情</a></li><li><a href="#" class="text">商品评论</a></li></ul>; | |
1128 | +* desc : ; | |
1129 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1130 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1131 | +****************************************************/ | |
1132 | +.m-segment { | |
1133 | + overflow: hidden; | |
1134 | + vertical-align: middle; | |
1135 | +} | |
1136 | +.m-segment li { | |
1137 | + width: 50%; | |
1138 | + line-height: 30px; | |
1139 | + text-align: center; | |
1140 | + float: left; | |
1141 | + background-color: #FFF; | |
1142 | + color: #23AC38; | |
1143 | + border: 1px solid #23AC38; | |
1144 | + border-right: none; | |
1145 | + box-sizing: border-box; | |
1146 | +} | |
1147 | +.m-segment li:last-child { | |
1148 | + border-right: 1px solid #23AC38; | |
1149 | +} | |
1150 | +.m-segment li .segment-text { | |
1151 | + display: block; | |
1152 | + color: #23AC38; | |
1153 | + line-height: 30px; | |
1154 | + font-size: 14px; | |
1155 | +} | |
1156 | +.m-segment .on { | |
1157 | + color: #FFF; | |
1158 | + background-color: #23AC38; | |
1159 | +} | |
1160 | +.m-segment .on .segment-text { | |
1161 | + color: #FFF; | |
1162 | +} | |
1163 | +.m-segment.tab-col-2 li { | |
1164 | + width: 50% !important; | |
1165 | +} | |
1166 | +.m-segment.tab-col-3 li { | |
1167 | + width: 33.3% !important; | |
1168 | +} | |
1169 | +.m-segment.tab-col-4 li { | |
1170 | + padding-right: 0; | |
1171 | + width: 25% !important; | |
1172 | +} | |
1173 | +/*************************************************** | |
1174 | +* feature : 表格; | |
1175 | +* update : 2015/02/03; | |
1176 | +* use : .m-table; | |
1177 | +* extend : .table-*; | |
1178 | +* example : ; | |
1179 | +* desc : ; | |
1180 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1181 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1182 | +****************************************************/ | |
1183 | +.m-table { | |
1184 | + border-collapse: collapse; | |
1185 | + width: 100%; | |
1186 | + font-size: 14px; | |
1187 | + background-color: #FFF; | |
1188 | +} | |
1189 | +.m-table thead tr { | |
1190 | + background-color: #f4f7fa; | |
1191 | +} | |
1192 | +.m-table th, | |
1193 | +.m-table td { | |
1194 | + font-size: 14px; | |
1195 | + color: #333; | |
1196 | + padding: 6px 15px; | |
1197 | + border: 1px solid #dfe5e7; | |
1198 | + font-weight: normal; | |
1199 | +} | |
1200 | +.m-table td { | |
1201 | + color: #999; | |
1202 | +} | |
1203 | +/*************************************************** | |
1204 | +* feature : 按钮,默认提供3种样式; | |
1205 | +* update : 2015/02/03; | |
1206 | +* use : .m-btn; | |
1207 | +* extend : .btn-*; | |
1208 | +* example : ; | |
1209 | +* desc : ; | |
1210 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1211 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1212 | +****************************************************/ | |
1213 | +.m-btn, | |
1214 | +a.m-btn { | |
1215 | + display: inline-block; | |
1216 | + padding: 0 15px; | |
1217 | + min-width: 43px; | |
1218 | + line-height: 28px; | |
1219 | + font-size: 14px; | |
1220 | + color: #666; | |
1221 | + text-align: center; | |
1222 | + border: none; | |
1223 | + background-color: #FFF; | |
1224 | + cursor: pointer; | |
1225 | + vertical-align: middle; | |
1226 | + border: 1px solid #EEE; | |
1227 | + background-color: #EEE; | |
1228 | +} | |
1229 | +.m-btn.btn-success, | |
1230 | +a.m-btn.btn-success { | |
1231 | + color: #FFF; | |
1232 | + background-color: #23AC38; | |
1233 | + border-color: #23AC38; | |
1234 | +} | |
1235 | +.m-btn.btn-success.reverse, | |
1236 | +a.m-btn.btn-success.reverse { | |
1237 | + background-color: #FFF; | |
1238 | + color: #23ac38; | |
1239 | + line-height: 43px; | |
1240 | + border: 1px solid #23ac38; | |
1241 | +} | |
1242 | +.m-btn.btn-large, | |
1243 | +a.m-btn.btn-large { | |
1244 | + font-size: 16px; | |
1245 | + line-height: 48px; | |
1246 | +} | |
1247 | +.m-btn.btn-default, | |
1248 | +a.m-btn.btn-default { | |
1249 | + background-color: #FFF; | |
1250 | + color: #666; | |
1251 | + border-color: #ddd; | |
1252 | +} | |
1253 | +.m-btn.btn-warning, | |
1254 | +a.m-btn.btn-warning { | |
1255 | + color: #FFF; | |
1256 | + background-color: #ff9d2c; | |
1257 | + border-color: #ff9d2c; | |
1258 | +} | |
1259 | +.m-btn.btn-danger, | |
1260 | +a.m-btn.btn-danger { | |
1261 | + color: #FFF; | |
1262 | + background-color: #FA4535; | |
1263 | + border-color: #FA4535; | |
1264 | +} | |
1265 | +.m-btn.btn-text, | |
1266 | +a.m-btn.btn-text { | |
1267 | + background: none; | |
1268 | + border: 1px solid #23ac38; | |
1269 | + color: #23ac38; | |
1270 | + width: 65px; | |
1271 | + font-size: 12px; | |
1272 | + text-align: center; | |
1273 | + line-height: 23px; | |
1274 | + padding: 0; | |
1275 | + float: right; | |
1276 | + border-radius: 2px; | |
1277 | + margin-top: -2px; | |
1278 | +} | |
1279 | +.m-btn.disabled, | |
1280 | +a.m-btn.disabled { | |
1281 | + background-color: #ddd; | |
1282 | + border-color: #ddd; | |
1283 | +} | |
1284 | +/*************************************************** | |
1285 | +* feature : 表单组件类集合,提供input、textarea等样式; | |
1286 | +* update : 2015/02/03; | |
1287 | +* use : 按需使用; | |
1288 | +* extend : ; | |
1289 | +* example : ; | |
1290 | +* desc : ; | |
1291 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1292 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1293 | +****************************************************/ | |
1294 | +.m-input { | |
1295 | + display: inline-block; | |
1296 | + line-height: normal; | |
1297 | + line-height: 22px; | |
1298 | + min-height: 22px; | |
1299 | + padding: 3px; | |
1300 | + background: none; | |
1301 | + font-size: 14px; | |
1302 | + color: #000; | |
1303 | + border: 1px solid #ddd; | |
1304 | + text-align: left; | |
1305 | + outline: none; | |
1306 | + background-color: #f5f5f5; | |
1307 | + border-radius: 0; | |
1308 | + box-shadow: none; | |
1309 | + vertical-align: middle; | |
1310 | +} | |
1311 | +.m-input.input-small { | |
1312 | + width: 47px; | |
1313 | +} | |
1314 | +.m-input.input-large { | |
1315 | + width: 92px; | |
1316 | +} | |
1317 | +.m-input:focus { | |
1318 | + background-color: #fff; | |
1319 | + border-color: #23AC38; | |
1320 | +} | |
1321 | +.m-textarea { | |
1322 | + width: 100%; | |
1323 | + padding: 8px; | |
1324 | + box-sizing: border-box; | |
1325 | + font-size: 14px; | |
1326 | + min-height: 90px; | |
1327 | + border: 1px solid #ddd; | |
1328 | + border-width: 1px 0; | |
1329 | + margin-top: 10px; | |
1330 | + outline: none; | |
1331 | + border-radius: 0; | |
1332 | + box-shadow: none; | |
1333 | + resize: none; | |
1334 | + -webkit-appearance: none; | |
1335 | +} | |
1336 | +.m-input-number { | |
1337 | + display: inline-block; | |
1338 | + border: 1px solid #ccc; | |
1339 | + border-radius: 4px; | |
1340 | + background-color: #FFF; | |
1341 | + font-size: 0; | |
1342 | +} | |
1343 | +.m-input-number input { | |
1344 | + line-height: normal; | |
1345 | + float: left; | |
1346 | + height: 22px; | |
1347 | + padding: 5px 5px 6px; | |
1348 | + font-size: 12px; | |
1349 | + color: #666; | |
1350 | + width: 40px; | |
1351 | + text-align: center; | |
1352 | +} | |
1353 | +.m-input-number span { | |
1354 | + float: left; | |
1355 | + position: relative; | |
1356 | + width: 33px; | |
1357 | + height: 33px; | |
1358 | + cursor: pointer; | |
1359 | +} | |
1360 | +.m-input-number span:before, | |
1361 | +.m-input-number span:after { | |
1362 | + content: ''; | |
1363 | + position: absolute; | |
1364 | + width: 15px; | |
1365 | + height: 1px; | |
1366 | + top: 50%; | |
1367 | + left: 50%; | |
1368 | + margin-left: -7px; | |
1369 | + background-color: #999; | |
1370 | + font-size: 0; | |
1371 | + overflow: hidden; | |
1372 | + cursor: pointer; | |
1373 | +} | |
1374 | +.m-input-number .reduce { | |
1375 | + border-right: 1px solid #ccc; | |
1376 | +} | |
1377 | +.m-input-number .reduce:after { | |
1378 | + display: none; | |
1379 | +} | |
1380 | +.m-input-number .add { | |
1381 | + border-left: 1px solid #ccc; | |
1382 | +} | |
1383 | +.m-input-number .add:after { | |
1384 | + content: ''; | |
1385 | + position: absolute; | |
1386 | + height: 15px; | |
1387 | + width: 1px; | |
1388 | + margin: -7px 0 0; | |
1389 | +} | |
1390 | +input.m-radio { | |
1391 | + background-image: url(../../images/dist/sprite.png); | |
1392 | + background-position: -580px -433px; | |
1393 | + background-position: -290px -216.5px; | |
1394 | + width: 44px; | |
1395 | + width: 22px; | |
1396 | + height: 44px; | |
1397 | + height: 22px; | |
1398 | + background-size: 350px; | |
1399 | + -webkit-appearance: none; | |
1400 | + -moz-appearance: none; | |
1401 | + -o-appearance: none; | |
1402 | + appearance: none; | |
1403 | + display: inline-block; | |
1404 | + border: none; | |
1405 | + cursor: pointer; | |
1406 | + margin: 0px; | |
1407 | + position: relative; | |
1408 | + outline: none; | |
1409 | +} | |
1410 | +input.m-radio:focus { | |
1411 | + outline: 0; | |
1412 | + outline: none; | |
1413 | +} | |
1414 | +input.m-radio:checked { | |
1415 | + background-image: url(../../images/dist/sprite.png); | |
1416 | + background-position: -625px -344px; | |
1417 | + background-position: -312.5px -172px; | |
1418 | + width: 44px; | |
1419 | + width: 22px; | |
1420 | + height: 44px; | |
1421 | + height: 22px; | |
1422 | + background-size: 350px; | |
1423 | +} | |
1424 | +.m-select { | |
1425 | + position: relative; | |
1426 | + display: inline-block; | |
1427 | + vertical-align: middle; | |
1428 | + min-width: 50px; | |
1429 | +} | |
1430 | +.m-select .select-text { | |
1431 | + color: #999; | |
1432 | + text-align: right; | |
1433 | + display: block; | |
1434 | + line-height: 21px; | |
1435 | +} | |
1436 | +.m-select select { | |
1437 | + border: 0; | |
1438 | + font-size: 14px; | |
1439 | + background: none; | |
1440 | + outline: none; | |
1441 | + -webkit-appearance: none; | |
1442 | + position: absolute; | |
1443 | + top: 0; | |
1444 | + left: 0; | |
1445 | + width: 100%; | |
1446 | + opacity: 0; | |
1447 | +} | |
1448 | +.m-input-date { | |
1449 | + position: relative; | |
1450 | + display: inline-block; | |
1451 | + vertical-align: middle; | |
1452 | + min-width: 50px; | |
1453 | +} | |
1454 | +.m-input-date .current { | |
1455 | + color: #999; | |
1456 | + text-align: right; | |
1457 | + display: block; | |
1458 | + line-height: 21px; | |
1459 | +} | |
1460 | +.m-input-date input { | |
1461 | + border: 0; | |
1462 | + font-size: 14px; | |
1463 | + background: none; | |
1464 | + outline: none; | |
1465 | + position: absolute; | |
1466 | + top: 0; | |
1467 | + left: 0; | |
1468 | + width: 100%; | |
1469 | + height: 100%; | |
1470 | + opacity: 0; | |
1471 | +} | |
1472 | +/*************************************************** | |
1473 | +* feature : 深色背景遮罩层、常配合.m-popup使用; | |
1474 | +* update : 2015/02/03; | |
1475 | +* use : .m-mask; | |
1476 | +* extend : ; | |
1477 | +* example : ; | |
1478 | +* desc : ; | |
1479 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1480 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1481 | +****************************************************/ | |
1482 | +.m-mask { | |
1483 | + position: absolute; | |
1484 | + bottom: 0; | |
1485 | + left: 0; | |
1486 | + top: 0; | |
1487 | + right: 0; | |
1488 | + opacity: 1; | |
1489 | + background: rgba(0, 0, 0, 0.5); | |
1490 | + z-index: 10; | |
1491 | + overflow: hidden; | |
1492 | + -webkit-transition: opacity 0.05s ease-in-out; | |
1493 | + -moz-transition: opacity 0.05s ease-in-out; | |
1494 | + -o-transition: opacity 0.05s ease-in-out; | |
1495 | + transition: opacity 0.05s ease-in-out; | |
1496 | +} | |
1497 | +/*************************************************** | |
1498 | +* feature : popup; | |
1499 | +* update : 2015/02/03; | |
1500 | +* use : .m-popup; | |
1501 | +* extend : ; | |
1502 | +* example : ; | |
1503 | +* desc : ; | |
1504 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1505 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1506 | +****************************************************/ | |
1507 | +.m-popup { | |
1508 | + position: fixed; | |
1509 | + right: 0; | |
1510 | + left: 50%; | |
1511 | + bottom: 0; | |
1512 | + width: 270px; | |
1513 | + margin-left: -135px; | |
1514 | + background: rgba(255, 255, 255, 0.9); | |
1515 | + border-radius: 4px; | |
1516 | + z-index: 20; | |
1517 | + -webkit-transition: -webkit-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s; | |
1518 | + -moz-transition: -moz-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s; | |
1519 | + -o-transition: -o-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s; | |
1520 | + transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s; | |
1521 | +} | |
1522 | +.m-popup.popup-large { | |
1523 | + left: 25px; | |
1524 | + right: 25px; | |
1525 | + width: auto; | |
1526 | + margin-left: 0; | |
1527 | +} | |
1528 | +.m-popup .popup-head h1 { | |
1529 | + font-size: 14px; | |
1530 | + color: #000; | |
1531 | + line-height: 50px; | |
1532 | + text-align: center; | |
1533 | + font-weight: 400; | |
1534 | +} | |
1535 | +.m-popup .popup-cont .title { | |
1536 | + color: #666; | |
1537 | +} | |
1538 | +.m-popup .popup-cont .m-table-view { | |
1539 | + margin-top: 0; | |
1540 | + background: none; | |
1541 | +} | |
1542 | +.m-popup .popup-foot .m-btn { | |
1543 | + float: left; | |
1544 | + width: 50%; | |
1545 | + background: none; | |
1546 | + color: #027aff; | |
1547 | + box-sizing: border-box; | |
1548 | + border-radius: 0; | |
1549 | + border: none; | |
1550 | +} | |
1551 | +.m-popup .popup-foot .m-btn:first-child { | |
1552 | + border-right: 1px solid #ddd; | |
1553 | +} | |
1554 | +/*************************************************** | |
1555 | +* feature : swipe.js的图片滑动组件; | |
1556 | +* update : 2015/02/03; | |
1557 | +* use : ; | |
1558 | +* extend : ; | |
1559 | +* example : ; | |
1560 | +* desc : ; | |
1561 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1562 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1563 | +****************************************************/ | |
1564 | +.m-slider { | |
1565 | + position: relative; | |
1566 | + height: 220px; | |
1567 | + width: 100%; | |
1568 | + color: #333; | |
1569 | + text-align: center; | |
1570 | + line-height: 23px; | |
1571 | + font-size: 14px; | |
1572 | +} | |
1573 | +.m-slider .slider-wrap { | |
1574 | + width: 100%; | |
1575 | + overflow: hidden; | |
1576 | + height: 100%; | |
1577 | + position: relative; | |
1578 | +} | |
1579 | +.m-slider .slider-wrap div { | |
1580 | + position: relative; | |
1581 | + float: left; | |
1582 | + width: 100%; | |
1583 | + height: 100%; | |
1584 | + background-size: cover; | |
1585 | +} | |
1586 | +.m-slider .page-contrl { | |
1587 | + float: left; | |
1588 | + position: absolute; | |
1589 | + width: 100%; | |
1590 | + left: 0; | |
1591 | + bottom: -16px; | |
1592 | + text-align: center; | |
1593 | +} | |
1594 | +.m-slider .page-contrl li { | |
1595 | + display: inline-block; | |
1596 | + width: 5px; | |
1597 | + height: 5px; | |
1598 | + background: #d3d3d3; | |
1599 | + border-radius: 50%; | |
1600 | + margin-right: 4px; | |
1601 | +} | |
1602 | +.m-slider .page-contrl li:last-child { | |
1603 | + margin-right: 0; | |
1604 | +} | |
1605 | +.m-slider .page-contrl li.on { | |
1606 | + background: #00b4af; | |
1607 | +} | |
1608 | +/*************************************************** | |
1609 | +* feature : 评论统计模块; | |
1610 | +* update : 2015/02/03; | |
1611 | +* use : .m-stat; | |
1612 | +* extend : ; | |
1613 | +* example : ; | |
1614 | +* desc : ; | |
1615 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1616 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1617 | +****************************************************/ | |
1618 | +.m-stat { | |
1619 | + padding: 12px 0 12px 90px; | |
1620 | + background-color: #fff; | |
1621 | +} | |
1622 | +.m-stat .rate { | |
1623 | + font-size: 12px; | |
1624 | + color: #666; | |
1625 | + text-align: center; | |
1626 | + float: left; | |
1627 | + margin-left: -58px; | |
1628 | + margin-top: 0; | |
1629 | +} | |
1630 | +.m-stat .rate em { | |
1631 | + font-style: normal; | |
1632 | + font-size: 18px; | |
1633 | + color: #FF9D2C; | |
1634 | +} | |
1635 | +.m-stat ul { | |
1636 | + width: 100%; | |
1637 | +} | |
1638 | +.m-stat li { | |
1639 | + width: 100%; | |
1640 | + font-size: 10px; | |
1641 | + color: #666; | |
1642 | + box-sizing: border-box; | |
1643 | + padding: 0 50px; | |
1644 | + overflow: hidden; | |
1645 | + position: relative; | |
1646 | +} | |
1647 | +.m-stat li .text { | |
1648 | + float: left; | |
1649 | + margin-left: -50px; | |
1650 | + text-align: right; | |
1651 | + width: 70px; | |
1652 | + margin-right: 15px; | |
1653 | +} | |
1654 | +.m-stat li .progress { | |
1655 | + display: block; | |
1656 | + background-color: #ddd; | |
1657 | + height: 10px; | |
1658 | + font-size: 0; | |
1659 | + margin-top: 3px; | |
1660 | +} | |
1661 | +.m-stat li .progress span { | |
1662 | + display: block; | |
1663 | + height: 100%; | |
1664 | + background-color: #ff9d2c; | |
1665 | +} | |
1666 | +.m-stat li .percent { | |
1667 | + position: absolute; | |
1668 | + right: 4px; | |
1669 | + top: 0; | |
1670 | + text-align: left; | |
1671 | + width: 36px; | |
1672 | + margin-left: 10px; | |
1673 | +} | |
1674 | +/*************************************************** | |
1675 | +* feature : 评论星级样式; | |
1676 | +* update : 2015/02/03; | |
1677 | +* use : .m-star; | |
1678 | +* extend : ; | |
1679 | +* example : ; | |
1680 | +* desc : m-star用于展示,m-like用户交互; | |
1681 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1682 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1683 | +****************************************************/ | |
1684 | +.m-star { | |
1685 | + width: 75px; | |
1686 | + height: 14px; | |
1687 | + display: inline-block; | |
1688 | + vertical-align: middle; | |
1689 | + background: url("../../images/icon/star@2x.png") left center repeat-x; | |
1690 | + background-size: 15px; | |
1691 | +} | |
1692 | +.m-star span { | |
1693 | + display: block; | |
1694 | + width: 0; | |
1695 | + height: 100%; | |
1696 | + background: url("../../images/icon/star_ht@2x.png") left center repeat-x; | |
1697 | + background-size: 15px; | |
1698 | +} | |
1699 | +.m-like { | |
1700 | + float: left; | |
1701 | + height: 25px; | |
1702 | +} | |
1703 | +.m-like span { | |
1704 | + float: left; | |
1705 | + width: 25px; | |
1706 | + height: 25px; | |
1707 | + padding: 0 1px; | |
1708 | + background: url("../../images/icon/star@2x.png") left center no-repeat; | |
1709 | + background-size: 25px; | |
1710 | + cursor: pointer; | |
1711 | +} | |
1712 | +.m-like .on { | |
1713 | + background-image: url("../../images/icon/star_ht@2x.png"); | |
1714 | + background-size: 25px; | |
1715 | +} | |
1716 | +/*************************************************** | |
1717 | +* feature : 商品详情页,阶梯价格; | |
1718 | +* update : 2015/02/03; | |
1719 | +* use : ; | |
1720 | +* extend : ; | |
1721 | +* example : ; | |
1722 | +* desc : ; | |
1723 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1724 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1725 | +****************************************************/ | |
1726 | +.m-step { | |
1727 | + overflow: hidden; | |
1728 | + position: relative; | |
1729 | + padding: 11px 0; | |
1730 | +} | |
1731 | +.m-step:after { | |
1732 | + left: auto; | |
1733 | + right: -4px; | |
1734 | + border: 8px solid #ddd; | |
1735 | + border-color: transparent transparent transparent #ddd; | |
1736 | + background: none; | |
1737 | + width: 0; | |
1738 | + height: 0; | |
1739 | + margin-top: -7px; | |
1740 | + font-size: 0; | |
1741 | +} | |
1742 | +.m-step li { | |
1743 | + float: left; | |
1744 | + text-align: left; | |
1745 | + padding: 0 5px; | |
1746 | + position: relative; | |
1747 | + min-width: 85px; | |
1748 | + box-sizing: border-box; | |
1749 | +} | |
1750 | +.m-step .desc, | |
1751 | +.m-step .price { | |
1752 | + font-size: 14px; | |
1753 | + color: #6c2; | |
1754 | + display: block; | |
1755 | + padding-bottom: 8px; | |
1756 | +} | |
1757 | +.m-step .price { | |
1758 | + font-size: 18px; | |
1759 | + font-style: normal; | |
1760 | + padding: 0; | |
1761 | + line-height: 1.1; | |
1762 | +} | |
1763 | +.m-list-view { | |
1764 | + margin-top: 10px; | |
1765 | +} | |
1766 | +.m-list-view .cell { | |
1767 | + font-size: 14px; | |
1768 | + padding: 0 0 0 15px; | |
1769 | + background-color: #FFF; | |
1770 | + overflow: hidden; | |
1771 | + position: relative; | |
1772 | + text-align: left; | |
1773 | +} | |
1774 | +.m-list-view .cell-header { | |
1775 | + background-color: #f8f8f8; | |
1776 | + padding: 0 10px; | |
1777 | +} | |
1778 | +.m-list-view .cell-header .title { | |
1779 | + font-size: 13px; | |
1780 | + color: #333; | |
1781 | + line-height: 35px; | |
1782 | + width: auto; | |
1783 | +} | |
1784 | +.m-list-view .cell-header .text { | |
1785 | + font-size: 13px; | |
1786 | + line-height: 35px; | |
1787 | + float: right; | |
1788 | + color: #9e9e9e; | |
1789 | + text-align: right; | |
1790 | + margin: 0; | |
1791 | +} | |
1792 | +.m-list-view .cell-basic { | |
1793 | + padding: 11px 10px; | |
1794 | +} | |
1795 | +.m-list-view .cell-basic .title, | |
1796 | +.m-list-view .cell-basic .text { | |
1797 | + float: none; | |
1798 | + display: inline-block; | |
1799 | + vertical-align: middle; | |
1800 | + margin: 0 10px 0 0; | |
1801 | + line-height: 1.5; | |
1802 | +} | |
1803 | +.m-list-view .cell-basic .sub-title { | |
1804 | + padding-top: 10px; | |
1805 | + font-size: 13px; | |
1806 | + color: #999; | |
1807 | +} | |
1808 | +.m-list-view .cell-radio { | |
1809 | + text-align: right; | |
1810 | + padding: 0 10px; | |
1811 | + margin-bottom: 10px; | |
1812 | + background-color: #eee; | |
1813 | +} | |
1814 | +.m-list-view .cell-radio .title { | |
1815 | + color: #333; | |
1816 | + width: auto; | |
1817 | + text-align: left; | |
1818 | +} | |
1819 | +.m-list-view .cell-radio .text { | |
1820 | + float: none; | |
1821 | + text-align: right; | |
1822 | +} | |
1823 | +.m-list-view .cell-radio .m-radio { | |
1824 | + margin-left: 8px; | |
1825 | +} | |
1826 | +.m-list-view .cell-radio .m-table-view { | |
1827 | + margin: 0 -10px; | |
1828 | +} | |
1829 | +.m-list-view .cell-radio .m-table-view .cell-radio { | |
1830 | + margin: 0; | |
1831 | + background-color: #FFF; | |
1832 | +} | |
1833 | +.m-list-view .cell-extend .m-table-view { | |
1834 | + margin: 0 0 0 45px; | |
1835 | +} | |
1836 | +.m-list-view .cell-extend .m-table-view .cell { | |
1837 | + padding: 0; | |
1838 | +} | |
1839 | +.m-list-view .cell-extend .m-table-view .text { | |
1840 | + margin-left: 0; | |
1841 | +} | |
1842 | +.m-list-view .cell-pic { | |
1843 | + padding: 15px; | |
1844 | +} | |
1845 | +.m-list-view .cell-pic .pic { | |
1846 | + float: left; | |
1847 | +} | |
1848 | +.m-list-view .cell-pic .cont { | |
1849 | + margin-left: 90px; | |
1850 | +} | |
1851 | +.m-list-view .cell-pic h3 { | |
1852 | + font-size: 14px; | |
1853 | + font-weight: normal; | |
1854 | +} | |
1855 | +.m-list-view .cell-pic em { | |
1856 | + font-size: 16px; | |
1857 | + font-weight: normal; | |
1858 | +} | |
1859 | +.m-list-view .cell-pic p { | |
1860 | + color: #9b9b9b; | |
1861 | + font-size: 12px; | |
1862 | +} | |
1863 | +.m-list-view .acc-icon { | |
1864 | + position: relative; | |
1865 | + padding-right: 30px; | |
1866 | +} | |
1867 | +.m-list-view .acc-icon .acc { | |
1868 | + position: absolute; | |
1869 | + right: 0; | |
1870 | + top: 0; | |
1871 | + min-width: 30px; | |
1872 | + height: 100%; | |
1873 | + line-height: 44px; | |
1874 | + text-align: left; | |
1875 | + color: #999; | |
1876 | + text-align: right; | |
1877 | +} | |
1878 | +.m-list-view .acc-icon .acc .m-icon { | |
1879 | + margin-right: 4px; | |
1880 | +} | |
1881 | +.m-list-view .title { | |
1882 | + font-size: 15px; | |
1883 | + color: #999; | |
1884 | + float: left; | |
1885 | + font-weight: 400; | |
1886 | + line-height: 44px; | |
1887 | +} | |
1888 | +.m-list-view .text { | |
1889 | + display: block; | |
1890 | + font-size: 15px; | |
1891 | + color: #333; | |
1892 | + line-height: 44px; | |
1893 | + position: relative; | |
1894 | + white-space: nowrap; | |
1895 | + word-break: break-all; | |
1896 | + text-overflow: ellipsis; | |
1897 | + overflow: hidden; | |
1898 | +} | |
1899 | +.m-list-view .text .m-input { | |
1900 | + font-size: 15px; | |
1901 | +} | |
1902 | +/*************************************************** | |
1903 | +* feature : 文本消息遮罩; | |
1904 | +* update : 2015/02/03; | |
1905 | +* use : .m-message; | |
1906 | +* extend : ; | |
1907 | +* example : ; | |
1908 | +* desc : ; | |
1909 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1910 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1911 | +****************************************************/ | |
1912 | +.m-message { | |
1913 | + position: fixed; | |
1914 | + left: 0; | |
1915 | + right: 0; | |
1916 | + top: 0; | |
1917 | + bottom: 0; | |
1918 | + background: none; | |
1919 | + text-align: center; | |
1920 | + z-index: 9999; | |
1921 | +} | |
1922 | +.m-message .text { | |
1923 | + margin-top: 20%; | |
1924 | + display: inline-block; | |
1925 | + vertical-align: middle; | |
1926 | + color: #FFF; | |
1927 | + background: rgba(0, 0, 0, 0.7); | |
1928 | + border-radius: 4px; | |
1929 | + font-size: 14px; | |
1930 | + padding: 15px 45px; | |
1931 | +} | |
1932 | +.m-tips { | |
1933 | + padding: 20px 15px; | |
1934 | + min-height: 70px; | |
1935 | +} | |
1936 | +.m-tips .pic { | |
1937 | + float: left; | |
1938 | + width: 70px; | |
1939 | + height: 70px; | |
1940 | + margin-right: 10px; | |
1941 | +} | |
1942 | +.m-tips h3 { | |
1943 | + font-size: 16px; | |
1944 | + color: #FF9D2C; | |
1945 | + margin-bottom: 8px; | |
1946 | + font-weight: 400; | |
1947 | +} | |
1948 | +.m-tips p { | |
1949 | + font-size: 12px; | |
1950 | + color: #999; | |
1951 | +} | |
1952 | +/*************************************************** | |
1953 | +* feature : tab选项卡切换; | |
1954 | +* update : 2015/02/03; | |
1955 | +* use : ; | |
1956 | +* extend : ; | |
1957 | +* example : ; | |
1958 | +* desc : ; | |
1959 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
1960 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
1961 | +****************************************************/ | |
1962 | +.m-tab { | |
1963 | + width: 100%; | |
1964 | + background-color: #FFF; | |
1965 | + font-size: 14px; | |
1966 | + color: #999; | |
1967 | + border-width: 1px 0; | |
1968 | + overflow: hidden; | |
1969 | + box-sizing: border-box; | |
1970 | + padding: 0 15px; | |
1971 | +} | |
1972 | +.m-tab a { | |
1973 | + color: #999; | |
1974 | +} | |
1975 | +.m-tab li { | |
1976 | + float: left; | |
1977 | + min-width: 32px; | |
1978 | + padding-right: 18px; | |
1979 | + line-height: 40px; | |
1980 | + text-align: center; | |
1981 | + position: relative; | |
1982 | +} | |
1983 | +.m-tab li:last-child { | |
1984 | + padding-right: 0; | |
1985 | +} | |
1986 | +.m-tab .on a { | |
1987 | + color: #2caa3f; | |
1988 | + display: block; | |
1989 | + position: relative; | |
1990 | +} | |
1991 | +.m-tab .on a:after { | |
1992 | + content: ''; | |
1993 | + position: absolute; | |
1994 | + bottom: 0; | |
1995 | + left: 0; | |
1996 | + right: 0; | |
1997 | + height: 2px; | |
1998 | + background-color: #23AC38; | |
1999 | +} | |
2000 | +.m-tab.tab-col-2 li { | |
2001 | + width: 50% !important; | |
2002 | +} | |
2003 | +.m-tab.tab-col-4 li { | |
2004 | + padding-right: 0; | |
2005 | + width: 25% !important; | |
2006 | +} | |
2007 | +/*************************************************** | |
2008 | +* feature : 表格视图, 提供类ios UITableView风格布局; | |
2009 | +* update : 2015/02/03; | |
2010 | +* use : .m-table-view; | |
2011 | +* extend : ; | |
2012 | +* example : ; | |
2013 | +* desc : ; | |
2014 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
2015 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
2016 | +****************************************************/ | |
2017 | +.m-table-view-old { | |
2018 | + background-color: #fff; | |
2019 | +} | |
2020 | +.m-table-view-old li { | |
2021 | + padding: 15px; | |
2022 | + border-bottom: 1px solid #ddd; | |
2023 | +} | |
2024 | +.m-table-view-old .pic { | |
2025 | + float: left; | |
2026 | + width: 60px; | |
2027 | + height: 60px; | |
2028 | + margin-right: 13px; | |
2029 | +} | |
2030 | +.m-table-view-old h3 { | |
2031 | + font-size: 14px; | |
2032 | + color: #FA4535; | |
2033 | + margin-bottom: 4px; | |
2034 | +} | |
2035 | +.m-table-view-old p { | |
2036 | + color: #999; | |
2037 | + font-size: 12px; | |
2038 | +} | |
2039 | +.m-table-view { | |
2040 | + width: 100%; | |
2041 | + background-color: #FFF; | |
2042 | + border-top: 1px solid #ddd; | |
2043 | + margin-top: 10px; | |
2044 | +} | |
2045 | +.m-table-view .cell { | |
2046 | + font-size: 14px; | |
2047 | + padding: 11px 15px; | |
2048 | + text-align: right; | |
2049 | + border-bottom: 1px solid #ddd; | |
2050 | + overflow: hidden; | |
2051 | + position: relative; | |
2052 | +} | |
2053 | +.m-table-view .acc-icon { | |
2054 | + position: relative; | |
2055 | +} | |
2056 | +.m-table-view .acc-icon .text { | |
2057 | + padding-right: 15px; | |
2058 | +} | |
2059 | +.m-table-view .acc-icon:after { | |
2060 | + content: ''; | |
2061 | + position: absolute; | |
2062 | + right: 10px; | |
2063 | + top: 50%; | |
2064 | + width: 10px; | |
2065 | + height: 15px; | |
2066 | + background: url("../../images/icon/arrow_rt@2x.png") center center no-repeat; | |
2067 | + background-size: 10px; | |
2068 | + margin-top: -7.5px; | |
2069 | +} | |
2070 | +.m-table-view .title { | |
2071 | + font-size: 14px; | |
2072 | + color: #333; | |
2073 | + float: left; | |
2074 | + font-weight: 400; | |
2075 | +} | |
2076 | +.m-table-view .text { | |
2077 | + display: inline-block; | |
2078 | + font-size: 14px; | |
2079 | + color: #999; | |
2080 | +} | |
2081 | +.m-table-view .cell-extend { | |
2082 | + padding: 11px 45px 11px 110px; | |
2083 | + text-align: left; | |
2084 | +} | |
2085 | +.m-table-view .cell-extend .m-icon { | |
2086 | + margin-right: 10px; | |
2087 | +} | |
2088 | +.m-table-view .cell-extend .title { | |
2089 | + line-height: 36px; | |
2090 | + margin-left: -95px; | |
2091 | + display: inline-block; | |
2092 | + float: none; | |
2093 | + vertical-align: middle; | |
2094 | +} | |
2095 | +.m-table-view .cell-extend .text { | |
2096 | + display: inline-block; | |
2097 | + text-align: left; | |
2098 | + padding: 0 10px; | |
2099 | + font-size: 12px; | |
2100 | + width: 100%; | |
2101 | + box-sizing: border-box; | |
2102 | + color: #999; | |
2103 | + vertical-align: middle; | |
2104 | +} | |
2105 | +.m-table-view .cell-extend .acc { | |
2106 | + position: absolute; | |
2107 | + top: 50%; | |
2108 | + right: 15px; | |
2109 | + margin-top: -10px; | |
2110 | + float: right; | |
2111 | + width: 20px; | |
2112 | + height: 20px; | |
2113 | +} | |
2114 | +.m-table-view .cell-extend-pic { | |
2115 | + padding: 11px 45px 11px 110px; | |
2116 | + padding: 15px 85px; | |
2117 | + text-align: left; | |
2118 | + font-size: 12px; | |
2119 | +} | |
2120 | +.m-table-view .cell-extend-pic .m-icon { | |
2121 | + margin-right: 10px; | |
2122 | +} | |
2123 | +.m-table-view .cell-extend-pic .title { | |
2124 | + line-height: 36px; | |
2125 | + margin-left: -95px; | |
2126 | + display: inline-block; | |
2127 | + float: none; | |
2128 | + vertical-align: middle; | |
2129 | +} | |
2130 | +.m-table-view .cell-extend-pic .text { | |
2131 | + display: inline-block; | |
2132 | + text-align: left; | |
2133 | + padding: 0 10px; | |
2134 | + font-size: 12px; | |
2135 | + width: 100%; | |
2136 | + box-sizing: border-box; | |
2137 | + color: #999; | |
2138 | + vertical-align: middle; | |
2139 | +} | |
2140 | +.m-table-view .cell-extend-pic .acc { | |
2141 | + position: absolute; | |
2142 | + top: 50%; | |
2143 | + right: 15px; | |
2144 | + margin-top: -10px; | |
2145 | + float: right; | |
2146 | + width: 20px; | |
2147 | + height: 20px; | |
2148 | +} | |
2149 | +.m-table-view .cell-extend-pic .title { | |
2150 | + margin-left: 0; | |
2151 | + font-size: 12px; | |
2152 | + text-align: left; | |
2153 | + margin: 0 0 5px; | |
2154 | + line-height: 1.5; | |
2155 | +} | |
2156 | +.m-table-view .cell-extend-pic .detail { | |
2157 | + color: #999; | |
2158 | + font-size: 12px; | |
2159 | +} | |
2160 | +.m-table-view .cell-extend-pic .pic { | |
2161 | + width: 60px; | |
2162 | + height: 60px; | |
2163 | + float: left; | |
2164 | + margin-left: -70px; | |
2165 | +} | |
2166 | +.m-table-view .cell-extend-pic .text { | |
2167 | + position: absolute; | |
2168 | + right: 0; | |
2169 | + top: 15px; | |
2170 | + text-align: right; | |
2171 | + color: #000; | |
2172 | + font-size: 12px; | |
2173 | + font-weight: 700; | |
2174 | + width: 70px; | |
2175 | + padding: 0 15px 0 0; | |
2176 | + box-sizing: content-box; | |
2177 | +} | |
2178 | +.m-table-view .cell-extend-pic .text em { | |
2179 | + display: block; | |
2180 | + font-style: normal; | |
2181 | +} | |
2182 | +/*************************************************** | |
2183 | +* feature : actionSheet组件,模拟IOS actionSheet外观; | |
2184 | +* update : 2015/02/03; | |
2185 | +* use : .m-actionsheet; | |
2186 | +* extend : .actionsheet-*; | |
2187 | +* example : ; | |
2188 | +* desc : ; | |
2189 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
2190 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
2191 | +****************************************************/ | |
2192 | +.m-actionsheet { | |
2193 | + position: fixed; | |
2194 | + left: 10px; | |
2195 | + right: 10px; | |
2196 | + bottom: 0; | |
2197 | + padding-bottom: 10px; | |
2198 | + z-index: 20; | |
2199 | + -webkit-transform: translate(0, 100%) translateZ(0); | |
2200 | + -ms-transform: translate(0, 100%) translateZ(0); | |
2201 | + -o-transform: translate(0, 100%) translateZ(0); | |
2202 | + transform: translate(0, 100%) translateZ(0); | |
2203 | + -webkit-transition: -webkit-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s; | |
2204 | + -moz-transition: -moz-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s; | |
2205 | + -o-transition: -o-transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s; | |
2206 | + transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s; | |
2207 | +} | |
2208 | +.m-actionsheet ul { | |
2209 | + list-style: none; | |
2210 | +} | |
2211 | +.m-actionsheet li { | |
2212 | + line-height: 50px; | |
2213 | + text-align: center; | |
2214 | + background: rgba(255, 255, 255, 0.95); | |
2215 | + border-top: 1px solid #ddd; | |
2216 | +} | |
2217 | +.m-actionsheet li:first-child { | |
2218 | + border-top-left-radius: 8px; | |
2219 | + border-top-right-radius: 8px; | |
2220 | + border: none; | |
2221 | +} | |
2222 | +.m-actionsheet li:last-child { | |
2223 | + margin-top: 10px; | |
2224 | + border-radius: 8px; | |
2225 | + border: none; | |
2226 | +} | |
2227 | +.m-actionsheet li.last-item { | |
2228 | + border-bottom-left-radius: 8px; | |
2229 | + border-bottom-right-radius: 8px; | |
2230 | +} | |
2231 | +.m-actionsheet li a { | |
2232 | + display: block; | |
2233 | + color: #027aff; | |
2234 | + font-size: 16px; | |
2235 | + font-weight: 700; | |
2236 | + text-decoration: none; | |
2237 | +} | |
2238 | +/* | |
2239 | +* use : .m-dropdown; | |
2240 | +*/ | |
2241 | +.m-dropdown { | |
2242 | + display: inline-block; | |
2243 | + line-height: 30px; | |
2244 | + overflow: visible; | |
2245 | +} | |
2246 | +.m-dropdown .current { | |
2247 | + font-size: 14px; | |
2248 | + color: #FFF; | |
2249 | + position: relative; | |
2250 | + display: inline-block; | |
2251 | + padding: 0 25px 0 10px; | |
2252 | + cursor: pointer; | |
2253 | +} | |
2254 | +.m-dropdown .current:after { | |
2255 | + content: ''; | |
2256 | + position: absolute; | |
2257 | + right: 7px; | |
2258 | + top: 50%; | |
2259 | + width: 11px; | |
2260 | + height: 7px; | |
2261 | + cursor: pointer; | |
2262 | + margin-top: -3px; | |
2263 | + background: url("../../images/icon.png") -121px -206px no-repeat; | |
2264 | + background-size: 150px; | |
2265 | +} | |
2266 | +.m-dropdown .dropdown-items { | |
2267 | + background: rgba(0, 0, 0, 0.8); | |
2268 | + position: absolute; | |
2269 | + top: 40px; | |
2270 | + border-radius: 3px; | |
2271 | + min-width: 85px; | |
2272 | + display: none; | |
2273 | +} | |
2274 | +.m-dropdown .dropdown-items:before { | |
2275 | + content: ''; | |
2276 | + position: absolute; | |
2277 | + top: -16px; | |
2278 | + left: 17px; | |
2279 | + width: 0; | |
2280 | + height: 0; | |
2281 | + font-size: 0; | |
2282 | + overflow: hidden; | |
2283 | + border: 8px solid rgba(0, 0, 0, 0.8); | |
2284 | + border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent; | |
2285 | +} | |
2286 | +.m-dropdown .dropdown-items .item { | |
2287 | + display: block; | |
2288 | + line-height: 45px; | |
2289 | + border-bottom: 1px solid #666; | |
2290 | + text-align: left; | |
2291 | + color: #EEE; | |
2292 | +} | |
2293 | +.m-dropdown .dropdown-items .item a { | |
2294 | + padding: 0 15px; | |
2295 | + font-size: 14px; | |
2296 | + display: inline-block; | |
2297 | + color: #EEE; | |
2298 | +} | |
2299 | +.m-dropdown .dropdown-items .item:first-child { | |
2300 | + border-top-left-radius: 3px; | |
2301 | + border-top-right-radius: 3px; | |
2302 | +} | |
2303 | +.m-dropdown .dropdown-items .item:last-child { | |
2304 | + border: none; | |
2305 | + border-bottom-left-radius: 3px; | |
2306 | + border-bottom-right-radius: 3px; | |
2307 | +} | |
2308 | +.m-dropdown .dropdown-items .item .m-icon { | |
2309 | + margin-right: 5px; | |
2310 | +} | |
2311 | +/*************************************************** | |
2312 | +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; | |
2313 | +* update : 2015/02/03; | |
2314 | +* use : 按需使用对应class即可; | |
2315 | +* desc : ; | |
2316 | +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] | |
2317 | +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; | |
2318 | +****************************************************/ | |
2319 | +.text-left { | |
2320 | + text-align: left !important; | |
2321 | +} | |
2322 | +.text-center { | |
2323 | + text-align: center !important; | |
2324 | +} | |
2325 | +.text-right { | |
2326 | + text-align: right !important; | |
2327 | +} | |
2328 | +.text-nowrap { | |
2329 | + white-space: nowrap !important; | |
2330 | +} | |
2331 | +.text-lowercase { | |
2332 | + text-transform: lowercase; | |
2333 | +} | |
2334 | +.text-uppercase { | |
2335 | + text-transform: uppercase; | |
2336 | +} | |
2337 | +.text-capitalize { | |
2338 | + text-transform: capitalize; | |
2339 | +} | |
2340 | +.text-indent { | |
2341 | + text-indent: -999em; | |
2342 | +} | |
2343 | +.float-left { | |
2344 | + float: left !important; | |
2345 | +} | |
2346 | +.float-right { | |
2347 | + float: right !important; | |
2348 | +} | |
2349 | +.float-none { | |
2350 | + float: none !important; | |
2351 | +} | |
2352 | +.display-block { | |
2353 | + display: block !important; | |
2354 | +} | |
2355 | +.clearfix:after { | |
2356 | + content: ''; | |
2357 | + display: block; | |
2358 | + height: 0; | |
2359 | + overflow: hidden; | |
2360 | + font-size: 0; | |
2361 | + clear: both; | |
2362 | +} | |
2363 | +.m-hide { | |
2364 | + display: none !important; | |
2365 | + visibility: hidden; | |
2366 | + opacity: 0; | |
2367 | + z-index: -1; | |
2368 | +} | |
2369 | +.m-hidden { | |
2370 | + visibility: hidden; | |
2371 | + opacity: 0; | |
2372 | + z-index: -1; | |
2373 | +} | |
2374 | +.m-show { | |
2375 | + display: block !important; | |
2376 | + visibility: visible; | |
2377 | +} | |
2378 | +.m-separate { | |
2379 | + position: relative; | |
2380 | + width: 100%; | |
2381 | + line-height: 50px; | |
2382 | + text-align: center; | |
2383 | + font-size: 12px; | |
2384 | + color: #666; | |
2385 | + overflow: visible; | |
2386 | +} | |
2387 | +.m-more, | |
2388 | +a.m-more { | |
2389 | + display: block; | |
2390 | + font-size: 12px; | |
2391 | + text-align: center; | |
2392 | + color: #999; | |
2393 | + line-height: 45px; | |
2394 | + background-color: #FFF; | |
2395 | +} | |
2396 | +.m-animate-hide { | |
2397 | + -webkit-transform: translate(0, 100%) translateZ(0) !important; | |
2398 | + -ms-transform: translate(0, 100%) translateZ(0) !important; | |
2399 | + -o-transform: translate(0, 100%) translateZ(0) !important; | |
2400 | + transform: translate(0, 100%) translateZ(0) !important; | |
2401 | +} | |
2402 | +.m-animate-show { | |
2403 | + -webkit-transform: translate(0, 0) translateZ(0) !important; | |
2404 | + -ms-transform: translate(0, 0) translateZ(0) !important; | |
2405 | + -o-transform: translate(0, 0) translateZ(0) !important; | |
2406 | + transform: translate(0, 0) translateZ(0) !important; | |
2407 | +} | |
2408 | +.hidden { | |
2409 | + opacity: 0; | |
2410 | + z-index: -1; | |
2411 | +} | |
2412 | +.font-white { | |
2413 | + color: #FFF !important; | |
2414 | +} | |
2415 | +.font-gray { | |
2416 | + color: #666 !important; | |
2417 | +} | |
2418 | +.font-light { | |
2419 | + color: #999 !important; | |
2420 | +} | |
2421 | +.font-yellow { | |
2422 | + color: #FF9D2C !important; | |
2423 | +} | |
2424 | +.font-orange { | |
2425 | + color: #FF6B00 !important; | |
2426 | +} | |
2427 | +.font-red { | |
2428 | + color: #fa4535 !important; | |
2429 | +} | |
2430 | +.font-green { | |
2431 | + color: #23ac38 !important; | |
2432 | +} | |
2433 | +/** | |
2434 | + m/m_bar | |
2435 | + 左下角工具条 | |
2436 | +*/ | |
2437 | +.m-bar { | |
2438 | + position: absolute; | |
2439 | + z-index: 10; | |
2440 | +} | |
2441 | +.m-bar-bg { | |
2442 | + position: fixed; | |
2443 | + left: 0; | |
2444 | + top: 0; | |
2445 | + z-index: 5; | |
2446 | + width: 100%; | |
2447 | + height: 100%; | |
2448 | + background: rgba(0, 0, 0, 0.6); | |
2449 | + display: none; | |
2450 | +} | |
2451 | +.m-bar-content { | |
2452 | + position: fixed; | |
2453 | + z-index: 10; | |
2454 | + left: 20px; | |
2455 | + bottom: 65px; | |
2456 | + text-align: center; | |
2457 | +} | |
2458 | +.m-bar-content .m-bar-btn { | |
2459 | + position: relative; | |
2460 | + width: 46px; | |
2461 | + height: 46px; | |
2462 | + border-radius: 100%; | |
2463 | + background: #66cc22; | |
2464 | + border: 2px #fff solid; | |
2465 | + z-index: 1001; | |
2466 | +} | |
2467 | +.m-bar-content .m-bar-icon { | |
2468 | + margin: 0; | |
2469 | + display: inline-block; | |
2470 | + height: 100%; | |
2471 | +} | |
2472 | +.m-bar-content a { | |
2473 | + position: absolute; | |
2474 | + width: 50px; | |
2475 | + height: 50px; | |
2476 | + left: 0; | |
2477 | + top: 0; | |
2478 | + display: block; | |
2479 | + background: #ffffff; | |
2480 | + border-radius: 100%; | |
2481 | + font-size: 12px; | |
2482 | + color: #666; | |
2483 | + -webkit-transform: translate(0, 0) translateZ(0); | |
2484 | + -moz-transform: translate(0, 0) translateZ(0); | |
2485 | + -o-transform: translate(0, 0) translateZ(0); | |
2486 | + transform: translate(0, 0) translateZ(0); | |
2487 | + -webkit-transition: -webkit-transform ease-out 0.25s; | |
2488 | + -moz-transition: -moz-transform ease-out 0.25s; | |
2489 | + -ms-transition: -ms-transform ease-out 0.25s; | |
2490 | + -o-transition: -o-transform ease-out 0.25s; | |
2491 | + transition: transform ease-out 0.25s; | |
2492 | + backface-visibility: hidden; | |
2493 | + -webkit-backface-visibility: hidden; | |
2494 | + /* Chrome 和 Safari */ | |
2495 | + -moz-backface-visibility: hidden; | |
2496 | + /* Firefox */ | |
2497 | + -ms-backface-visibility: hidden; | |
2498 | + /* Internet Explorer */ | |
2499 | +} | |
2500 | +.m-bar-content p { | |
2501 | + line-height: normal; | |
2502 | + margin-top: -2px; | |
2503 | +} | |
2504 | +.m-bar-content .icon { | |
2505 | + display: inline-block; | |
2506 | + width: 18px; | |
2507 | + height: 18px; | |
2508 | + line-height: normal; | |
2509 | + margin-top: 5px; | |
2510 | + background: url('../../images/icon/icon.png') no-repeat; | |
2511 | + background-size: 150px; | |
2512 | +} | |
2513 | +.m-bar-content .icon-home { | |
2514 | + background-position: 0 -309px; | |
2515 | +} | |
2516 | +.m-bar-content .icon-me { | |
2517 | + background-position: -23px -309px; | |
2518 | +} | |
2519 | +.m-bar-content .icon-order { | |
2520 | + background-position: -48px -309px; | |
2521 | +} | |
2522 | +.border-1px { | |
2523 | + position: relative; | |
2524 | +} | |
2525 | +.border-1px:before, | |
2526 | +.border-1px:after { | |
2527 | + border-top: 1px solid #e2e2e2; | |
2528 | + content: ''; | |
2529 | + display: block; | |
2530 | + width: 100%; | |
2531 | + position: absolute; | |
2532 | + left: 0; | |
2533 | + z-index: 1; | |
2534 | +} | |
2535 | +.border-1px:before { | |
2536 | + top: 0; | |
2537 | +} | |
2538 | +.border-1px:after { | |
2539 | + bottom: 0; | |
2540 | +} | |
2541 | +.border-1px.border-top:after { | |
2542 | + display: none; | |
2543 | +} | |
2544 | +.border-1px.border-bottom:before { | |
2545 | + display: none; | |
2546 | +} | |
2547 | +.border-1px-full { | |
2548 | + position: relative; | |
2549 | +} | |
2550 | +.border-1px-full:after { | |
2551 | + content: ''; | |
2552 | + position: absolute; | |
2553 | + top: 0; | |
2554 | + left: 0; | |
2555 | + z-index: 1; | |
2556 | + border: 1px solid #e2e2e2; | |
2557 | + -webkit-box-sizing: border-box; | |
2558 | + box-sizing: border-box; | |
2559 | + width: 200%; | |
2560 | + height: 200%; | |
2561 | + -webkit-transform: scale(0.5); | |
2562 | + transform: scale(0.5); | |
2563 | + -webkit-transform-origin: left top; | |
2564 | + transform-origin: left top; | |
2565 | + border-radius: 3px; | |
2566 | + -webkit-border-radius: 3px; | |
2567 | + -moz-border-radius: 3px; | |
2568 | +} | |
2569 | +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) { | |
2570 | + .border-1px::after, | |
2571 | + .border-1px::before { | |
2572 | + -webkit-transform: scaleY(0.7); | |
2573 | + -webkit-transform-origin: 0 0; | |
2574 | + transform: scaleY(0.7); | |
2575 | + } | |
2576 | + .border-1px::after { | |
2577 | + -webkit-transform-origin: left bottom; | |
2578 | + } | |
2579 | +} | |
2580 | +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { | |
2581 | + .border-1px::after, | |
2582 | + .border-1px::before { | |
2583 | + -webkit-transform: scaleY(0.5); | |
2584 | + transform: scaleY(0.5); | |
2585 | + } | |
2586 | +} | |
2587 | +* { | |
2588 | + margin: 0; | |
2589 | + padding: 0; | |
2590 | + border: none; | |
2591 | + -webkit-text-size-adjust: none; | |
2592 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
2593 | +} | |
2594 | +ul { | |
2595 | + list-style: none; | |
2596 | +} | |
2597 | +.m-page { | |
2598 | + padding-bottom: 80px; | |
2599 | +} | |
2600 | +.m-list-text { | |
2601 | + background-color: #FFF; | |
2602 | + border-top: 1px solid #ddd; | |
2603 | +} | |
2604 | +.m-list-text li { | |
2605 | + padding: 15px; | |
2606 | + border-bottom: 1px solid #ddd; | |
2607 | +} | |
2608 | +.m-list-text .author { | |
2609 | + float: right; | |
2610 | + font-size: 12px; | |
2611 | + color: #999; | |
2612 | +} | |
2613 | +.m-list-text p { | |
2614 | + color: #666; | |
2615 | + font-size: 14px; | |
2616 | +} | |
2617 | +.s-page { | |
2618 | + position: fixed; | |
2619 | + left: 0; | |
2620 | + top: 0; | |
2621 | + width: 100%; | |
2622 | + min-height: 100%; | |
2623 | + background: #f5f5f5; | |
2624 | + display: none; | |
2625 | + z-index: 99; | |
2626 | +} | |
2627 | +.transition-wrapper { | |
2628 | + height: 100%; | |
2629 | + width: 100%; | |
2630 | + overflow: hidden; | |
2631 | +} | |
2632 | +.transition-wrapper .m-page { | |
2633 | + height: 100%; | |
2634 | + overflow-x: hidden; | |
2635 | + overflow-y: auto; | |
2636 | +} | |
2637 | +.transition-wrapper body { | |
2638 | + height: 100%; | |
2639 | + width: 100%; | |
2640 | + overflow: hidden; | |
2641 | + position: relative; | |
2642 | +} | |
2643 | +.transition-up { | |
2644 | + background: #F5F5F5; | |
2645 | + width: 100%; | |
2646 | + height: 100%; | |
2647 | + position: absolute; | |
2648 | + top: 0; | |
2649 | + left: 0; | |
2650 | + z-index: 999; | |
2651 | + overflow-x: hidden; | |
2652 | + overflow-y: auto; | |
2653 | + padding-bottom: 20px; | |
2654 | + -webkit-transform: translate3d(0px, 100%, 0px); | |
2655 | + -moz-transform: translate3d(0px, 100%, 0px); | |
2656 | + transform: translate3d(0px, 100%, 0px); | |
2657 | + -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19); | |
2658 | + -moz-transition: -moz-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19); | |
2659 | + -o-transition: -o-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19); | |
2660 | + transition: transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19); | |
2661 | +} | |
2662 | +.transition-up .transition-content { | |
2663 | + min-height: 100%; | |
2664 | + overflow-x: hidden; | |
2665 | + overflow-y: auto; | |
2666 | +} | |
2667 | +.transition-up.show { | |
2668 | + -webkit-transform: translate3d(0px, 0%, 0px); | |
2669 | + -moz-transform: translate3d(0px, 0%, 0px); | |
2670 | + transform: translate3d(0px, 0%, 0px); | |
2671 | + -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); | |
2672 | + -moz-transition: -moz-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); | |
2673 | + -o-transition: -o-transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); | |
2674 | + transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); | |
2675 | +} | |
2676 | +.m-no-data { | |
2677 | + margin-top: 50px; | |
2678 | + text-align: center; | |
2679 | + font-size: 18px; | |
2680 | + color: #666; | |
2681 | +} | |
2682 | +.m-no-data .no-data-icon { | |
2683 | + height: 150px; | |
2684 | + background: url("../../images/no-data.png") center center no-repeat; | |
2685 | + background-size: 150px; | |
2686 | + margin-bottom: 20px; | |
2687 | +} | |
2688 | +.m-city { | |
2689 | + white-space: nowrap; | |
2690 | + overflow: hidden; | |
2691 | + text-overflow: ellipsis; | |
2692 | + max-width: 70%; | |
2693 | + display: inline-block; | |
2694 | + vertical-align: middle; | |
2695 | +} | |
2696 | +.to-app-box { | |
2697 | + position: fixed; | |
2698 | + bottom: -100%; | |
2699 | + left: 0; | |
2700 | + width: 100%; | |
2701 | + z-index: 1; | |
2702 | +} | |
2703 | +.to-app-box .ll { | |
2704 | + float: left; | |
2705 | +} | |
2706 | +.to-app-box .rr { | |
2707 | + float: right; | |
2708 | +} | |
2709 | +.to-app-box .to-app-bg { | |
2710 | + padding: 10px; | |
2711 | + background: rgba(0, 0, 0, 0.7); | |
2712 | +} | |
2713 | +.to-app-box .app-close, | |
2714 | +.to-app-box .app-logo, | |
2715 | +.to-app-box .app-info { | |
2716 | + display: inline-block; | |
2717 | + vertical-align: middle; | |
2718 | + margin-right: 10px; | |
2719 | +} | |
2720 | +.to-app-box .app-close { | |
2721 | + width: 18px; | |
2722 | + height: 19px; | |
2723 | + background: url("../../images/icon/d-x.png") 0 0 no-repeat; | |
2724 | + background-size: 18px; | |
2725 | +} | |
2726 | +.to-app-box .app-logo { | |
2727 | + width: 35px; | |
2728 | + height: 35px; | |
2729 | + background: url("../../images/icon/d-logo.png") 0 0 no-repeat; | |
2730 | + background-size: 35px; | |
2731 | +} | |
2732 | +.to-app-box .app-info { | |
2733 | + color: #fff; | |
2734 | + font-size: 15px; | |
2735 | +} | |
2736 | +.to-app-box .app-info p { | |
2737 | + font-size: 12px; | |
2738 | +} | |
2739 | +.to-app-box .app-download { | |
2740 | + width: 89px; | |
2741 | + height: 36px; | |
2742 | + margin-top: 3px; | |
2743 | + background: url("../../images/icon/d-btn.png") 0 0 no-repeat; | |
2744 | + background-size: 87px; | |
2745 | +} | |
2746 | +/*重置按钮*/ | |
2747 | +.clear-view { | |
2748 | + text-align: center; | |
2749 | + padding-top: 10px; | |
2750 | +} | |
2751 | +.clear-view .m-btn { | |
2752 | + padding: 0 30px; | |
2753 | + line-height: 40px; | |
2754 | +} | |
2755 | +.ui-loader-default { | |
2756 | + width: 4.125em; | |
2757 | + height: 4.125em; | |
2758 | + margin-left: -2.0625em; | |
2759 | + margin-top: -2.0625em; | |
2760 | + filter: alpha(opacity=100); | |
2761 | + opacity: 1; | |
2762 | +} | |
2763 | +.ui-loader .ui-icon-loading { | |
2764 | + width: 4em; | |
2765 | + height: 4em; | |
2766 | + border-radius: 0; | |
2767 | + background-color: transparent; | |
2768 | +} | |
2769 | +.ui-icon-loading { | |
2770 | + background: url(../../images/ajax-loader.gif) center center no-repeat; | |
2771 | + background-size: 4.125em 4.125em; | |
2772 | +} | ... | ... |
css/style/common.css
1 | +@import "m/jquery.mobile.custom.structure.min.css"; | |
1 | 2 | /*************************************************** |
2 | 3 | * feature : 零散的ui组件的集合; |
3 | 4 | * update : 2015/02/03; |
... | ... | @@ -16,7 +17,6 @@ |
16 | 17 | * feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description] |
17 | 18 | * - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中]; |
18 | 19 | ****************************************************/ |
19 | -@import "m/jquery.mobile.custom.structure.min.css"; | |
20 | 20 | * { |
21 | 21 | -moz-tap-highlight-color: rgba(0, 0, 0, 0); |
22 | 22 | -o-tap-highlight-color: rgba(0, 0, 0, 0); | ... | ... |
css/style/coupons.css
0 → 100644
1 | +/** | |
2 | + * name : zzf | |
3 | + * info : | |
4 | + */ | |
5 | +.m-tab { | |
6 | + height: 45px; | |
7 | + padding: 0px; | |
8 | +} | |
9 | +.m-tab li { | |
10 | + width: 29.3%; | |
11 | + padding: 0 2%; | |
12 | + line-height: 43px; | |
13 | +} | |
14 | +.m-tab li.on a:after { | |
15 | + height: 2px; | |
16 | + background-color: #2caa3f; | |
17 | +} | |
18 | +.hint { | |
19 | + height: 40px; | |
20 | + background: #faaf19; | |
21 | + position: fixed; | |
22 | + bottom: 0px; | |
23 | + width: 100%; | |
24 | + font-size: 16px; | |
25 | + text-align: center; | |
26 | + color: #fff; | |
27 | + line-height: 40px; | |
28 | +} | |
29 | +.hint a { | |
30 | + margin-left: 10px; | |
31 | + color: #fff; | |
32 | + border: 1px solid #fff; | |
33 | + padding: 5px 10px; | |
34 | +} | |
35 | +#add_coupons p { | |
36 | + height: 45px; | |
37 | + line-height: 45px; | |
38 | + margin: 0 15px; | |
39 | + font-size: 14px; | |
40 | + color: #999; | |
41 | +} | |
42 | +#add_coupons .input-view { | |
43 | + height: 50px; | |
44 | + background: #fff; | |
45 | + border-top: 1px solid #ddd; | |
46 | + border-bottom: 1px solid #ddd; | |
47 | + line-height: 50px; | |
48 | +} | |
49 | +#add_coupons .input-view input { | |
50 | + color: #bbb; | |
51 | + font-size: 16px; | |
52 | + height: 50px; | |
53 | + width: 100%; | |
54 | + padding-left: 15px; | |
55 | +} | |
56 | +#add_coupons .input-view input:focus { | |
57 | + color: #333; | |
58 | +} | |
59 | +#add_coupons .m-btn { | |
60 | + display: block; | |
61 | + margin: 15px; | |
62 | + background: #faaf19; | |
63 | + color: #fff; | |
64 | +} | ... | ... |
css/style/m/m_coupons.less
0 → 100644
css/style/order_confirm.css
... | ... | @@ -12,51 +12,6 @@ |
12 | 12 | background: url('../../images/icon/icon.png') no-repeat; |
13 | 13 | background-size: 150px; |
14 | 14 | } |
15 | -/** | |
16 | - * name : zzf | |
17 | - * info : | |
18 | - */ | |
19 | -.acoupons { | |
20 | - height: 50px; | |
21 | - padding: 10px 0; | |
22 | - background: #fff; | |
23 | - border-bottom: 1px solid #ddd; | |
24 | - border-top: 1px solid #ddd; | |
25 | - margin-top: 10px; | |
26 | - position: relative; | |
27 | -} | |
28 | -.acoupons img { | |
29 | - float: left; | |
30 | - margin-left: 10px; | |
31 | - width: 50px; | |
32 | - height: 50px; | |
33 | - background-size: cover; | |
34 | -} | |
35 | -.acoupons .cont { | |
36 | - font-size: 12px; | |
37 | - line-height: 18px; | |
38 | - margin-left: 70px; | |
39 | - color: #333; | |
40 | -} | |
41 | -.acoupons .cont .time { | |
42 | - color: #999; | |
43 | -} | |
44 | -.acoupons .icon-about { | |
45 | - position: absolute; | |
46 | - right: 0px; | |
47 | - top: 0px; | |
48 | -} | |
49 | -.acoupons .icon-use, | |
50 | -.acoupons .icon-overdue { | |
51 | - position: absolute; | |
52 | - right: 5px; | |
53 | - top: 5px; | |
54 | -} | |
55 | -.acoupons .m-radio { | |
56 | - position: absolute; | |
57 | - top: 25px; | |
58 | - right: 25px; | |
59 | -} | |
60 | 15 | .orderConfirm { |
61 | 16 | background-color: #F5F5F5; |
62 | 17 | } | ... | ... |
css/style/user_relevance.css
0 → 100644
1 | +/** | |
2 | + * name : zzf | |
3 | + * info : | |
4 | + */ | |
5 | +#relevance .relevance-msg { | |
6 | + text-align: center; | |
7 | + margin-top: 25px; | |
8 | +} | |
9 | +#relevance .relevance-msg img { | |
10 | + width: 75px; | |
11 | + height: 75px; | |
12 | + border-radius: 50%; | |
13 | +} | |
14 | +#relevance .relevance-msg span { | |
15 | + margin: 0 20px; | |
16 | +} | |
17 | +#relevance .relevance-msg .info { | |
18 | + line-height: 25px; | |
19 | + margin-top: 15px; | |
20 | + font-size: 14px; | |
21 | + color: #999; | |
22 | +} | |
23 | +#relevance .relevance-msg .info .name { | |
24 | + font-size: 16px; | |
25 | + color: #333; | |
26 | +} | |
27 | +#relevance .relevance-bound { | |
28 | + margin: 10px; | |
29 | + background: #fff; | |
30 | + border: 1px solid #ddd; | |
31 | + padding-bottom: 10px; | |
32 | +} | |
33 | +#relevance .relevance-bound .head { | |
34 | + display: block; | |
35 | + height: 43px; | |
36 | +} | |
37 | +#relevance .relevance-bound .head p { | |
38 | + width: 50%; | |
39 | + line-height: 43px; | |
40 | + float: left; | |
41 | + border-bottom: 1px solid #ddd; | |
42 | + font-size: 16px; | |
43 | + border-top: 2px solid #fff; | |
44 | + color: #999; | |
45 | + border-right: 1px solid #ddd; | |
46 | + margin-right: -1px; | |
47 | +} | |
48 | +#relevance .relevance-bound .head p.on { | |
49 | + color: #23ac38; | |
50 | + border-top: 2px solid #23ac38; | |
51 | + border-bottom: 1px solid #fff; | |
52 | +} | |
53 | +#relevance .relevance-bound .relevance-form li { | |
54 | + border: 1px solid #ddd; | |
55 | + margin: 15px 15px 0 15px; | |
56 | +} | |
57 | +#relevance .relevance-bound .relevance-form li input { | |
58 | + font-size: 16px; | |
59 | + color: #bbb; | |
60 | +} | |
61 | +#relevance .relevance-bound .relevance-form li input:focus { | |
62 | + color: #333; | |
63 | +} | |
64 | +#relevance .relevance-bound .relevance-form .m-btn { | |
65 | + display: block; | |
66 | + margin: 15px 15px 0; | |
67 | +} | |
68 | +#relevance .relevance-bound .relevance-form .firm-reg-reg { | |
69 | + background: #fff; | |
70 | + border: 1px solid #FF9D2C; | |
71 | + color: #FF9D2C; | |
72 | + margin-top: 10px; | |
73 | +} | ... | ... |
css/style/userhome.css
css/style/userhome.less
... | ... | @@ -51,6 +51,10 @@ header { |
51 | 51 | .msg p { |
52 | 52 | font-size: 18px; |
53 | 53 | margin-bottom: 5px; |
54 | + line-height: 26px; | |
55 | + height: 26px; | |
56 | + overflow: hidden; | |
57 | + max-width: 200px; | |
54 | 58 | } |
55 | 59 | .msg span { |
56 | 60 | font-size: 14px; |
... | ... | @@ -150,4 +154,4 @@ header { |
150 | 154 | border: 1px solid #ddd; |
151 | 155 | line-height: 50px; |
152 | 156 | margin: 30px 10px 15px; |
153 | -} | |
154 | 157 | \ No newline at end of file |
158 | +} | ... | ... |
index.html
package.json
test
0 → 100644