Commit 680ef874807f4a8b770027868f3fd943b576d8ba
1 parent
134c16eb
首页界面优化
Showing
7 changed files
with
946 additions
and
773 deletions
app.wxss
components/diy_store_select/diy_store_select.wxss
1 | -.store_sele{width: 100%;z-index: 8; height: 88rpx; padding: 0 15rpx;position: fixed; color: white; | |
2 | - top: 0; left: 0; background-color: #ff7295; font-size: 30rpx; } | |
3 | - | |
4 | - .store_sele1{ height: 100rpx; padding: 0 15rpx; color: #666;background-color: #fff; font-size: 32rpx;} | |
5 | - | |
6 | - | |
7 | -.logo_box{ width: 64rpx; height:64rpx;margin-right: 15rpx; } | |
1 | +.store_sele { | |
2 | + width: 100%; | |
3 | + z-index: 8; | |
4 | + height: 60rpx; | |
5 | + padding: 0 15rpx; | |
6 | + /* position: fixed; */ | |
7 | + color: white; | |
8 | + /* top: 0; | |
9 | + left: 0; */ | |
10 | + background-color: #ff7295; | |
11 | + font-size: 26rpx; | |
12 | + box-sizing: border-box; | |
13 | +} | |
14 | + | |
15 | +.store_sele1 { | |
16 | + height: 100rpx; | |
17 | + padding: 0 15rpx; | |
18 | + color: #666; | |
19 | + background-color: #fff; | |
20 | + font-size: 32rpx; | |
21 | +} | |
22 | + | |
23 | + | |
24 | +.logo_box { | |
25 | + width: 48rpx; | |
26 | + height: 48rpx; | |
27 | + margin-right: 10rpx; | |
28 | +} | |
29 | + | |
8 | 30 | .pd-view { |
9 | - height: 80rpx; | |
31 | + /* height: 80rpx; */ | |
32 | +} | |
33 | + | |
34 | +.circle { | |
35 | + border-radius: 50%; | |
10 | 36 | } |
11 | 37 | |
12 | -.circle{ border-radius: 50%;} | |
13 | 38 | /*-- 门店选择 --*/ |
14 | 39 | /* 选择门店的弹窗 */ |
15 | -.mongolia-layer{ | |
16 | -position: fixed; | |
17 | -left: 0; | |
18 | -top: 0; | |
19 | -right: 0; | |
20 | -bottom: 0; | |
21 | -z-index: 11; | |
22 | -background: rgba(0,0,0,0.4); | |
23 | -width: 100%; | |
24 | -height: 91.9%; | |
25 | - | |
26 | -} | |
27 | - | |
28 | -.popup-frame{ | |
29 | -position: fixed; | |
30 | -bottom:110rpx; | |
31 | -z-index: 20; | |
32 | -background: white; | |
33 | -width: 100%; | |
34 | -border-radius: 20rpx 20rpx 0 0; | |
35 | -height: 72%; | |
36 | - | |
37 | -} | |
38 | -.popup-top{ | |
39 | - border-bottom: 1rpx solid #eee; | |
40 | - height: 155rpx; | |
41 | - width: 95%; | |
42 | - margin: auto; | |
43 | - line-height: 155rpx; | |
44 | - | |
45 | -} | |
46 | -.bg_rights{ | |
47 | - border-top: 2rpx solid ; | |
48 | - border-right: 2rpx solid ; | |
49 | - transform: rotate(45deg); | |
50 | - display:inline-block; | |
51 | - width:15rpx;height:15rpx; | |
52 | - border-color:#da0b31; | |
40 | +.mongolia-layer { | |
41 | + position: fixed; | |
42 | + left: 0; | |
43 | + top: 0; | |
44 | + right: 0; | |
45 | + bottom: 0; | |
46 | + z-index: 11; | |
47 | + background: rgba(0, 0, 0, 0.4); | |
48 | + width: 100%; | |
49 | + height: 91.9%; | |
50 | + | |
51 | +} | |
52 | + | |
53 | +.popup-frame { | |
54 | + position: fixed; | |
55 | + bottom: 110rpx; | |
56 | + z-index: 20; | |
57 | + background: white; | |
58 | + width: 100%; | |
59 | + border-radius: 20rpx 20rpx 0 0; | |
60 | + height: 72%; | |
61 | + | |
62 | +} | |
63 | + | |
64 | +.popup-top { | |
65 | + border-bottom: 1rpx solid #eee; | |
66 | + height: 155rpx; | |
67 | + width: 95%; | |
68 | + margin: auto; | |
69 | + line-height: 155rpx; | |
70 | + | |
71 | +} | |
72 | + | |
73 | +.bg_rights { | |
74 | + border-top: 2rpx solid; | |
75 | + border-right: 2rpx solid; | |
76 | + transform: rotate(45deg); | |
77 | + display: inline-block; | |
78 | + width: 15rpx; | |
79 | + height: 15rpx; | |
80 | + border-color: #da0b31; | |
53 | 81 | } |
82 | + | |
54 | 83 | .modal-closes { |
55 | - position: absolute; | |
56 | - right: 30rpx; | |
57 | - top: -15rpx; | |
58 | - height: 25rpx; | |
59 | - | |
60 | -} | |
61 | -.choose_more{ | |
62 | - margin-top: 40rpx; | |
63 | - margin-right: 20rpx; | |
64 | - | |
65 | -} | |
66 | -.choose_mores{ | |
67 | - margin-top: 30rpx; | |
68 | - margin-right: 15rpx; | |
69 | - | |
70 | -} | |
71 | -.store-list{ | |
72 | - width: 95%; | |
73 | - height: 72%; | |
74 | - overflow-y: scroll; | |
75 | - margin: auto; | |
76 | -} | |
77 | -.store-list .store_choose{ | |
78 | - width: 100%; | |
79 | - height: 120rpx; | |
80 | - line-height: 125rpx; | |
81 | - border-bottom: 1rpx solid #eee; | |
82 | - | |
83 | -} | |
84 | -.store-list .store_choose .store{ | |
85 | -width: 100%; | |
86 | -margin: auto; | |
87 | -line-height: 37rpx; | |
88 | -padding-left: 20rpx; | |
89 | - | |
90 | -} | |
91 | -.xc-hook{ | |
92 | - width: 35rpx; | |
93 | - height: 35rpx; | |
94 | - transform: rotate(-145deg); | |
95 | -line-height: 37rpx; | |
96 | -text-align: center; | |
97 | -} | |
98 | - .xc-hooks{ | |
99 | - width: 30rpx; | |
100 | - height: 30rpx; | |
101 | - border: 1rpx solid #999; | |
102 | - } | |
103 | - .address-frame{ | |
104 | - width: 93%; | |
105 | -margin-left: 7rpx; | |
106 | - | |
107 | - } | |
108 | - .nearby_store{ | |
109 | -margin-left: 17rpx; | |
110 | - } | |
111 | - .address_name{ | |
112 | - margin-right: 10rpx; | |
113 | - | |
114 | - } | |
115 | - .address-val{ | |
116 | - height: 38rpx; | |
117 | -line-height: 38rpx; | |
118 | - | |
119 | - } | |
120 | - .store-bottom{ | |
121 | - width: 85%; | |
122 | - margin: auto; | |
123 | - height: 70rpx; | |
124 | - } | |
125 | - .determine{ | |
126 | - width: 260rpx; | |
127 | - height: 55rpx; | |
128 | - border-radius: 50rpx; | |
129 | - line-height: 55rpx; | |
130 | - } | |
131 | - .default{ | |
132 | - width: 260rpx; | |
133 | - height: 55rpx; | |
134 | - border:3rpx solid #c8c8c8; | |
135 | - border-radius: 50rpx; | |
136 | - line-height: 55rpx; | |
137 | - } | |
138 | - .store-bottom-frame{ | |
139 | - width: 95%; | |
140 | - margin: auto; | |
141 | - } | |
142 | - | |
143 | - | |
144 | - /* 门店分类列表 */ | |
145 | - .sort_store_list{ | |
146 | - height: 82%; | |
147 | - overflow: hidden; | |
148 | - overflow-y: scroll; | |
149 | - width: 95%; | |
150 | - margin: auto; | |
151 | - } | |
152 | - .sort_store_list .sort-store-frame{ | |
153 | - width: 100%; | |
154 | - height: 100rpx; | |
155 | - line-height:100rpx; | |
156 | - border-bottom: 1rpx solid #eee; | |
157 | - | |
158 | - } | |
159 | - .sort_store_list .sort-store-frame .sort-store{ | |
160 | - width: 94.5%; | |
161 | - margin: auto; | |
162 | - } | |
163 | - .ai_center{ align-items: center;} | |
164 | 84 | \ No newline at end of file |
85 | + position: absolute; | |
86 | + right: 30rpx; | |
87 | + top: -15rpx; | |
88 | + height: 25rpx; | |
89 | + | |
90 | +} | |
91 | + | |
92 | +.choose_more { | |
93 | + margin-top: 40rpx; | |
94 | + margin-right: 20rpx; | |
95 | + | |
96 | +} | |
97 | + | |
98 | +.choose_mores { | |
99 | + margin-top: 30rpx; | |
100 | + margin-right: 15rpx; | |
101 | + | |
102 | +} | |
103 | + | |
104 | +.store-list { | |
105 | + width: 95%; | |
106 | + height: 72%; | |
107 | + overflow-y: scroll; | |
108 | + margin: auto; | |
109 | +} | |
110 | + | |
111 | +.store-list .store_choose { | |
112 | + width: 100%; | |
113 | + height: 120rpx; | |
114 | + line-height: 125rpx; | |
115 | + border-bottom: 1rpx solid #eee; | |
116 | + | |
117 | +} | |
118 | + | |
119 | +.store-list .store_choose .store { | |
120 | + width: 100%; | |
121 | + margin: auto; | |
122 | + line-height: 37rpx; | |
123 | + padding-left: 20rpx; | |
124 | + | |
125 | +} | |
126 | + | |
127 | +.xc-hook { | |
128 | + width: 35rpx; | |
129 | + height: 35rpx; | |
130 | + transform: rotate(-145deg); | |
131 | + line-height: 37rpx; | |
132 | + text-align: center; | |
133 | +} | |
134 | + | |
135 | +.xc-hooks { | |
136 | + width: 30rpx; | |
137 | + height: 30rpx; | |
138 | + border: 1rpx solid #999; | |
139 | +} | |
140 | + | |
141 | +.address-frame { | |
142 | + width: 93%; | |
143 | + margin-left: 7rpx; | |
144 | + | |
145 | +} | |
146 | + | |
147 | +.nearby_store { | |
148 | + margin-left: 17rpx; | |
149 | +} | |
150 | + | |
151 | +.address_name { | |
152 | + margin-right: 10rpx; | |
153 | + | |
154 | +} | |
155 | + | |
156 | +.address-val { | |
157 | + height: 38rpx; | |
158 | + line-height: 38rpx; | |
159 | + | |
160 | +} | |
161 | + | |
162 | +.store-bottom { | |
163 | + width: 85%; | |
164 | + margin: auto; | |
165 | + height: 70rpx; | |
166 | +} | |
167 | + | |
168 | +.determine { | |
169 | + width: 260rpx; | |
170 | + height: 55rpx; | |
171 | + border-radius: 50rpx; | |
172 | + line-height: 55rpx; | |
173 | +} | |
174 | + | |
175 | +.default { | |
176 | + width: 260rpx; | |
177 | + height: 55rpx; | |
178 | + border: 3rpx solid #c8c8c8; | |
179 | + border-radius: 50rpx; | |
180 | + line-height: 55rpx; | |
181 | +} | |
182 | + | |
183 | +.store-bottom-frame { | |
184 | + width: 95%; | |
185 | + margin: auto; | |
186 | +} | |
187 | + | |
188 | + | |
189 | +/* 门店分类列表 */ | |
190 | +.sort_store_list { | |
191 | + height: 82%; | |
192 | + overflow: hidden; | |
193 | + overflow-y: scroll; | |
194 | + width: 95%; | |
195 | + margin: auto; | |
196 | +} | |
197 | + | |
198 | +.sort_store_list .sort-store-frame { | |
199 | + width: 100%; | |
200 | + height: 100rpx; | |
201 | + line-height: 100rpx; | |
202 | + border-bottom: 1rpx solid #eee; | |
203 | + | |
204 | +} | |
205 | + | |
206 | +.sort_store_list .sort-store-frame .sort-store { | |
207 | + width: 94.5%; | |
208 | + margin: auto; | |
209 | +} | |
210 | + | |
211 | +.ai_center { | |
212 | + align-items: center; | |
213 | +} | ... | ... |
components/goods_list/goods_list.wxml
... | ... | @@ -5,9 +5,9 @@ |
5 | 5 | <view class="hang "> |
6 | 6 | <!-- 商品详情 --> |
7 | 7 | <view class="collect ib" wx:for="{{recommend}}" bindtap="go_url" data-url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> |
8 | - <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}"> | |
8 | + <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}" hover-class="none"> | |
9 | 9 | <!-- 商品图⽚ --> |
10 | - <image class="sp" src="{{url+item.original_img}}" mode="scaleToFill" binderror="bind_bnerr_xc" data-url="{{url+item.original_img}}" data-errorimg="recommend[{{index}}].original_img"></image> | |
10 | + <image class="sp" src="{{url+item.original_img}}" mode="widthFix" binderror="bind_bnerr_xc" data-url="{{url+item.original_img}}" data-errorimg="recommend[{{index}}].original_img"></image> | |
11 | 11 | <view class="bottom"> |
12 | 12 | <!-- 商品名称 --> |
13 | 13 | <view class="goods_name ellipsis-2 fs28">{{item.goods_name}}</view> |
... | ... | @@ -119,7 +119,7 @@ |
119 | 119 | </block> |
120 | 120 | </block> |
121 | 121 | <!-- 商品压根就没有等级价 --> |
122 | - <block wx:else> | |
122 | + <view class="flex ai_c" wx:else> | |
123 | 123 | <view class="money flex"> |
124 | 124 | <!-- 办卡价 --> |
125 | 125 | <view class="flex xc-wc"> |
... | ... | @@ -127,14 +127,14 @@ |
127 | 127 | <view class="fs35">{{filter.toFix(item.shop_price,2)}}</view> |
128 | 128 | </view> |
129 | 129 | </view> |
130 | - <view class="flex" style="line-height: 28rpx;"> | |
130 | + <view class="flex" style=""> | |
131 | 131 | <!-- 原价 --> |
132 | 132 | <view class="price flex xc-ash line_th"> |
133 | 133 | <view class="fs22">¥</view> |
134 | 134 | <view class="fs22">{{item.market_price}}</view> |
135 | 135 | </view> |
136 | 136 | </view> |
137 | - </block> | |
137 | + </view> | |
138 | 138 | </block> |
139 | 139 | </view> |
140 | 140 | </navigator> | ... | ... |
components/goods_list/goods_list.wxss
1 | 1 | .collects { |
2 | - margin-top: 40rpx; | |
3 | - margin-bottom: 40rpx; | |
2 | + /* margin-top: 40rpx; */ | |
3 | + /* margin-bottom: 40rpx; */ | |
4 | 4 | } |
5 | 5 | |
6 | 6 | .ai-center{ |
... | ... | @@ -94,28 +94,28 @@ |
94 | 94 | |
95 | 95 | .hang .collect { |
96 | 96 | width: 347rpx; |
97 | - height: 520rpx; | |
97 | + /* height: 520rpx; */ | |
98 | 98 | border-radius: 25rpx; |
99 | - border: 1rpx solid rgb(214, 214, 214); | |
99 | + border: 2rpx solid #ebedf0; | |
100 | 100 | overflow: hidden; |
101 | 101 | margin-right: 14rpx; |
102 | 102 | margin-bottom: 5rpx; |
103 | 103 | } |
104 | 104 | |
105 | 105 | .collect .bottom { |
106 | - padding: 0rpx 20rpx; | |
106 | + padding: 0rpx 20rpx 20rpx; | |
107 | 107 | } |
108 | 108 | |
109 | 109 | .collect .sp { |
110 | 110 | width: 100%; |
111 | - height: 326rpx; | |
111 | + height: 340rpx; | |
112 | 112 | } |
113 | 113 | |
114 | 114 | .collect .money { |
115 | - margin-top: 28rpx; | |
115 | + /* margin-top: 28rpx; | |
116 | 116 | margin-bottom: 8rpx; |
117 | 117 | line-height: 28rpx; |
118 | - align-items: baseline; | |
118 | + align-items: baseline; */ | |
119 | 119 | } |
120 | 120 | |
121 | 121 | .collect .money view { | ... | ... |
custom-tab-bar/index.wxss
1 | -.main_bar{ | |
2 | - width:100%; border-top: 1rpx solid #ebebeb; position: fixed; bottom: 0; left: 0; z-index: 10000; | |
3 | - display: flex; justify-content: space-around; | |
1 | +.main_bar { | |
2 | + width: 100%; | |
3 | + border-top: 1rpx solid #ebebeb; | |
4 | + position: fixed; | |
5 | + bottom: 0; | |
6 | + left: 0; | |
7 | + z-index: 10000; | |
8 | + display: flex; | |
9 | + justify-content: space-around; | |
4 | 10 | } |
5 | -.tabbar_item{ | |
6 | - position:relative;height:100%;float:left;text-align:center;padding:0px 0; | |
11 | + | |
12 | +.tabbar_item { | |
13 | + position: relative; | |
14 | + height: 100%; | |
15 | + float: left; | |
16 | + text-align: center; | |
17 | + padding: 0px 0; | |
7 | 18 | } |
8 | -.tab_img{display: flex; justify-content: center;align-items: center} | |
9 | -.nav_imgage{ | |
10 | - height: 58rpx; width: 58rpx;background-position: center;background-repeat: no-repeat;background-size: auto 92%; | |
19 | + | |
20 | +.tab_img { | |
21 | + display: flex; | |
22 | + justify-content: center; | |
23 | + align-items: center | |
24 | +} | |
25 | + | |
26 | +.nav_imgage { | |
27 | + height: 52rpx; | |
28 | + width: 52rpx; | |
29 | + background-position: center; | |
30 | + background-repeat: no-repeat; | |
31 | + background-size: 100%; | |
32 | +} | |
33 | + | |
34 | +.cart_num { | |
35 | + top: 0; | |
36 | + background-color: red; | |
37 | + color: #fff; | |
38 | + font-size: 20rpx; | |
39 | + border-radius: 50%; | |
40 | + width: 40rpx; | |
41 | + line-height: 40rpx; | |
42 | + height: 40rpx; | |
43 | + position: absolute; | |
44 | + z-index: 100; | |
45 | + right: 30rpx; | |
11 | 46 | } |
12 | -.cart_num{ | |
13 | - top:0;background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;line-height:40rpx;height: 40rpx;position: absolute;z-index: 100;right:30rpx; | |
14 | -} | |
15 | 47 | \ No newline at end of file | ... | ... |
pages/index/index/index.wxml
... | ... | @@ -13,34 +13,38 @@ |
13 | 13 | <block wx:if="{{banner}}"> |
14 | 14 | <image class="xc-top-img abs" src="{{url}}/miniapp/images/top-img.png"></image> |
15 | 15 | </block> |
16 | - <!-- 控制要不要显示顶部门店选择 --> | |
17 | - <block wx:if="{{is_topstore}}"> | |
18 | - <store_select></store_select> | |
19 | - </block> | |
20 | - | |
21 | - <!--搜索框--> | |
22 | - <view class="search-box {{scrollTop>10?'search-fixed':''}} flex-center white " style="top:{{is_topstore?88:0}}rpx"> | |
23 | - <view class="classify-frame t-c" bindtap="go_cate"> | |
24 | - <image class="classify-img" src="{{url}}/miniapp/images/classify.png"></image> | |
25 | - <view class="fs20">分 | |
26 | - <text class="white fs22">类</text> | |
27 | - </view> | |
28 | - </view> | |
29 | - <view class="search-inner"> | |
30 | - <view class="search-img"> | |
31 | - <image class="wh100" src="{{url}}/miniapp/images/search.png"></image> | |
32 | - </view> | |
33 | - <input bindfocus="jumpSearch" class="search-cont" placeholder="请输入您所搜索的商品" type="text"> | |
34 | - </input> | |
35 | - </view> | |
36 | - <view class="classify-frame t-c" bindtap="getScancode"> | |
37 | - <image class="classify-img" src="{{url}}/miniapp/images/scanning.png"></image> | |
38 | - <view class="fs20">扫一扫</view> | |
39 | - </view> | |
40 | - </view> | |
16 | + <view class="top-bar"> | |
17 | + <!-- 控制要不要显示顶部门店选择 --> | |
18 | + <block wx:if="{{is_topstore}}"> | |
19 | + <store_select style="z-index: 999;"></store_select> | |
20 | + </block> | |
21 | + | |
22 | + <!--搜索框--> | |
23 | + <!-- <view class="search-box {{scrollTop>10?'search-fixed':''}} flex-center white " style="top:{{is_topstore?88:0}}rpx"> --> | |
24 | + <view class="search-box flex-center white"> | |
25 | + <view class="classify-frame t-c" bindtap="go_cate"> | |
26 | + <image class="classify-img" src="{{url}}/miniapp/images/classify.png"></image> | |
27 | + <!-- <view class="fs20">分类</view> --> | |
28 | + <!-- <view class="fs20">分类 | |
29 | + <text class="white fs22">类</text> | |
30 | + </view> --> | |
31 | + </view> | |
32 | + <view class="search-inner"> | |
33 | + <view class="search-img"> | |
34 | + <image class="wh100" src="{{url}}/miniapp/images/search.png"></image> | |
35 | + </view> | |
36 | + <input bindfocus="jumpSearch" class="search-cont" placeholder="搜索商品" type="text"/> | |
37 | + </view> | |
38 | + <view class="classify-frame t-c" bindtap="getScancode"> | |
39 | + <image class="classify-img" src="{{url}}/miniapp/images/scanning.png"></image> | |
40 | + <!-- <view class="fs20">扫一扫</view> --> | |
41 | + </view> | |
42 | + </view> | |
43 | + </view> | |
44 | + | |
41 | 45 | <!--滚动广告--> |
42 | 46 | <view class="rel title-img" wx:if="{{banner}}"> |
43 | - <swiper circular="true" autoplay="true" class="swiper_box" duration="1000" interval="3000" vertical="" bindchange="bannerSwiperChange" style="height:{{max_sw_height}}rpx" circular="true"> | |
47 | + <swiper circular="true" indicator-dots indicator-active-color="#fff" autoplay="true" class="swiper_box" duration="1000" interval="3000" vertical="" bindchange="bannerSwiperChange" style="height:{{max_sw_height}}rpx"> | |
44 | 48 | <swiper-item wx:for="{{banner}}" wx:key="banner" class="swiperItem"> |
45 | 49 | <view class="slide-image-frame"> |
46 | 50 | <image bindtap='go_ad' data-url="{{item.ad_weapplink}}" class="slide-image" mode="widthFix" src="{{item.ad_code}}" bindload="imageLoad" data-index="{{index}}" lazy-load="true" binderror="bind_bnerr" data-errorimg="banner[{{index}}].ad_code"></image> |
... | ... | @@ -48,14 +52,14 @@ |
48 | 52 | </swiper-item> |
49 | 53 | </swiper> |
50 | 54 | |
51 | - <view class="flex-center-around translation abs"> | |
52 | - <view class="circle spot" wx:for="{{banner}}" wx:key="{{index}}" style="background:{{index==banner_index?'#fff':'#999'}}"> | |
55 | + <!-- <view class="flex-center-around translation abs"> | |
56 | + <view class="circle spot" wx:for="{{banner}}" wx:key="{{index}}" style="background-color:{{index==banner_index?'#fff':'rgba(255,255,255,.5)'}}"> | |
53 | 57 | </view> |
54 | - </view> | |
58 | + </view> --> | |
55 | 59 | </view> |
56 | - <view class="pd-view" wx:else></view> | |
60 | + <!-- <view class="pd-view" wx:else></view> --> | |
57 | 61 | |
58 | - <view class="flex-center-around {{banner==null?'mar-top':'mar-tops'}}"> | |
62 | + <!-- <view class="flex-center-around {{banner==null?'mar-top':'mar-tops'}}"> | |
59 | 63 | <view class="flex-vertical"> |
60 | 64 | <image class="xc-hook" src="{{url}}/miniapp/images/index/youxuan.png"> |
61 | 65 | </image> |
... | ... | @@ -74,7 +78,7 @@ |
74 | 78 | </image> |
75 | 79 | <text class="yellow-co fs26 margin-left">售后无忧</text> |
76 | 80 | </view> |
77 | - </view> | |
81 | + </view> --> | |
78 | 82 | |
79 | 83 | <!---导航--> |
80 | 84 | <view class="venues_box"> |
... | ... | @@ -113,18 +117,19 @@ |
113 | 117 | </view> |
114 | 118 | |
115 | 119 | <!-- 大分类 --> |
116 | - <view class="flex-center-around"> | |
117 | - <view wx:for="{{gd_category}}" bindtap="go_cate2" data-cid="{{item.id}}" data-pid="0"> | |
118 | - <view class="circle xc-class-frame t-c"> | |
120 | + <view class="flex ali-c"> | |
121 | + <view class="w20" wx:for="{{gd_category}}" bindtap="go_cate2" data-cid="{{item.id}}" data-pid="0"> | |
122 | + <view class="circle xc-class-frame t-c"> | |
119 | 123 | <image class="xc-class-img" src="{{item.icoimg==null||item.icoimg==''?(item.image?url+item.image:url+'/miniapp/images/no_cate_def.png'):item.icoimg}}" |
120 | 124 | binderror="bind_bnerr_icon" data-err="gd_category[{{index}}].icon"></image> |
121 | - <view class="fs24 gonju ellipsis-1">{{item.name}}</view> | |
125 | + <view class="fs26 gonju ellipsis-1"><text>{{item.name}}</text></view> | |
122 | 126 | </view> |
123 | 127 | </view> |
124 | 128 | </view> |
125 | 129 | <!-- 轮播 --> |
126 | 130 | <block wx:if="{{swiperimage.length>0}}"> |
127 | - <swiper class="swiper" autoplay="true" interval="5000" circular="{{true}}" indicator-dots="{{true}}" indicator-active-color="rgb(255,255,255)"> | |
131 | + <!-- <swiper class="swiper" autoplay="true" interval="5000" circular="{{true}}" indicator-dots="{{true}}" indicator-active-color="rgb(255,255,255)" vertical> --> | |
132 | + <swiper class="swiper" autoplay="true" interval="5000" circular="{{true}}" easing-function="easeInOutCubic"> | |
128 | 133 | <!-- 活动轮播 --> |
129 | 134 | <block wx:for="{{swiperimage}}" wx:for-item="adver" wx:for-index="key"> |
130 | 135 | <swiper-item> |
... | ... | @@ -136,74 +141,78 @@ |
136 | 141 | </swiper> |
137 | 142 | </block> |
138 | 143 | |
139 | - <view class="split-line"></view> | |
144 | + <!-- <view class="split-line"></view> --> | |
145 | + | |
146 | + | |
147 | + <!--秒杀--> | |
148 | + <view class="seckill" wx:if="{{saleGoods!=null && pindGoods.length!=0 }}"> | |
149 | + <navigator url="/pages/activity/seckill_list/seckill_list"> | |
150 | + <view class="seckill-time"> | |
151 | + <view class="classname flex ai_c"> | |
152 | + <image class="clock-img" src="{{url}}/miniapp/images/clock.png"></image> | |
153 | + <image class="seckill-ttitle-img height" src="{{url}}/miniapp/images/seckill-ttitle.png"></image> | |
154 | + </view> | |
155 | + <view class="flex ai_c seckill-list"> | |
156 | + <text class="fs26 xc-marfin-right">查看全部</text> | |
157 | + <image class="arrow-right" src="{{url}}/miniapp/images/icon-arrowdown.png"></image> | |
158 | + </view> | |
159 | + </view> | |
160 | + </navigator> | |
161 | + <view class="seckill-list"> | |
162 | + <swiper class="s_prom" indicator-dots="{{false}}" bindchange="flashSwiperChange" next-margin="90rpx"> | |
163 | + <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper " wx:key="saleGoods"> | |
164 | + <navigator class="mgl20" hover-class="none" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" wx:for="{{item}}" wx:key="item" wx:for-item="aitem" wx:for-index="aind"> | |
165 | + <view class="imgview "> | |
166 | + <image src="{{url+aitem.original_img}}" lazy-load="true" data-errorimg="saleGoods[{{index}}][{{aind}}].original_img" binderror="bind_bnerr3" data-img="{{aitem.original_img}}"></image> | |
167 | + | |
168 | + <image wx:if="{{aitem.status==0}}" class="status_img" src="{{url}}/miniapp/images/miao/yure.png"></image> | |
169 | + <image wx:if="{{aitem.status==1}}" class="status_img" src="{{url}}/miniapp/images/miao/going.png"></image> | |
170 | + <image wx:if="{{aitem.status==2}}" class="status_img" src="{{url}}/miniapp/images/miao/mend.png"></image> | |
171 | + </view> | |
172 | + <view class="ellipsis-1 mar-top10">{{aitem.title}}</view> | |
173 | + <!-- <view class="red-co mar-top10 is_seckill_height"> --> | |
174 | + <view class="co-red mar-top10"> | |
175 | + <text class="fs20">¥</text>{{aitem.price}} | |
176 | + <text class="un_line">¥{{aitem.market_price}}</text> | |
177 | + </view> | |
178 | + </navigator> | |
179 | + </swiper-item> | |
180 | + </swiper> | |
181 | + <!-- <view class="flex-center-around translation"> | |
182 | + <view class="circle spot" wx:for="{{saleGoods}}" wx:key="{{index}}" style="background:{{index==flash_index?'#fff':'#999'}}"> | |
183 | + </view> | |
184 | + </view> --> | |
185 | + </view> | |
186 | + </view> | |
140 | 187 | |
141 | - <!--秒杀--> | |
142 | - <view class="seckill" wx:if="{{saleGoods!=null && pindGoods.length!=0 }}"> | |
143 | - <navigator url="/pages/activity/seckill_list/seckill_list"> | |
144 | - <view class="seckill-time"> | |
145 | - <view class="classname flex"> | |
146 | - <image class="clock-img" src="{{url}}/miniapp/images/clock.png"></image> | |
147 | - <image class="seckill-ttitle-img height" src="{{url}}/miniapp/images/seckill-ttitle.png"></image> | |
148 | - </view> | |
149 | - <view class="flex seckill-list"> | |
150 | - <text class="fs24 xc-marfin-right">查看全部</text> | |
151 | - <image class="arrow-right" src="{{url}}/miniapp/images/icon-arrowdown.png"></image> | |
152 | - </view> | |
153 | - </view> | |
154 | - </navigator> | |
155 | - <view class="seckill-list"> | |
156 | - <swiper class="s_prom" indicator-dots="{{false}}" bindchange="flashSwiperChange"> | |
157 | - <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper " wx:key="saleGoods"> | |
158 | - <navigator class="ib m-left" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" wx:for="{{item}}" wx:key="item" wx:for-item="aitem" wx:for-index="aind"> | |
159 | - <view class="imgview "> | |
160 | - <image src="{{url+aitem.original_img}}" lazy-load="true" data-errorimg="saleGoods[{{index}}][{{aind}}].original_img" binderror="bind_bnerr3" data-img="{{aitem.original_img}}"></image> | |
161 | - | |
162 | - <image wx:if="{{aitem.status==0}}" class="status_img" src="{{url}}/miniapp/images/miao/yure.png"></image> | |
163 | - <image wx:if="{{aitem.status==1}}" class="status_img" src="{{url}}/miniapp/images/miao/going.png"></image> | |
164 | - <image wx:if="{{aitem.status==2}}" class="status_img" src="{{url}}/miniapp/images/miao/mend.png"></image> | |
165 | - </view> | |
166 | - <view class="ellipsis-2">{{aitem.title}}</view> | |
167 | - <view class="red-co mar-top10 is_seckill_height"> | |
168 | - <text class="fs20">¥</text>{{aitem.price}} | |
169 | - <text class="un_line">¥{{aitem.market_price}}</text> | |
170 | - </view> | |
171 | - </navigator> | |
172 | - </swiper-item> | |
173 | - </swiper> | |
174 | - <view class="flex-center-around translation"> | |
175 | - <view class="circle spot" wx:for="{{saleGoods}}" wx:key="{{index}}" style="background:{{index==flash_index?'#fff':'#999'}}"> | |
176 | - </view> | |
177 | - </view> | |
178 | - </view> | |
179 | - </view> | |
188 | + | |
180 | 189 | <!----拼单----> |
181 | - <view class="seckill assemble-top-border" wx:if="{{pindGoods!=null && pindGoods.length!=0 }}"> | |
182 | - <navigator url="/pages/activity/pind_list/pind_list"> | |
190 | + <view class="seckill" wx:if="{{pindGoods!=null && pindGoods.length!=0 }}"> | |
191 | + <navigator url="/pages/activity/pind_list/pind_list" hover-class="none"> | |
183 | 192 | <view class="seckill-time"> |
184 | - <view class="classname flex"> | |
193 | + <view class="classname flex ai_c"> | |
185 | 194 | <image class="clock-img" src="{{url}}/miniapp/images/clock.png"></image> |
186 | 195 | <image class="seckill-ttitle-img" src="{{url}}/miniapp/images/team.png"></image> |
187 | 196 | <block wx:if="{{pt_timer_item}}"> |
188 | - <view class="flex user-frame t-c xc-ash {{pt_timer_active==1?'pt_active':''}}"> | |
197 | + <view class="flex user-frame ai_c xc-ash {{pt_timer_active==1?'pt_active':''}}"> | |
189 | 198 | <image class="user-img circle" src="{{pt_timer_item.head_pic}}"></image> |
190 | 199 | <view class="ellipsis-1 user-name fs24">{{pt_timer_item.nickname}}</view> |
191 | - <text class="fs20">刚拼团成功</text> | |
200 | + <text class="fs22" style="color:#ed6a0c;">刚拼团成功</text> | |
192 | 201 | </view> |
193 | 202 | </block> |
194 | 203 | </view> |
195 | - <view class="flex seckill-list"> | |
196 | - <text class="fs24 xc-marfin-right">查看全部</text> | |
204 | + <view class="flex ai_c seckill-list"> | |
205 | + <text class="fs26 xc-marfin-right">查看全部</text> | |
197 | 206 | <image class="arrow-right" src="{{url}}/miniapp/images/icon-arrowdown.png"></image> |
198 | 207 | </view> |
199 | 208 | </view> |
200 | 209 | </navigator> |
201 | 210 | <view class="seckill-lists rel"> |
202 | - <swiper class="s_proms" style="height:{{pindGoods[0].length>1?'590':'290'}}rpx" indicator-active-color='red' bindchange="ptSwiperChange"> | |
211 | + <swiper class="s_proms" style="height:{{pindGoods[0].length>1?'580':'290'}}rpx" indicator-active-color='red' bindchange="ptSwiperChange"> | |
203 | 212 | <swiper-item wx:for="{{pindGoods}}" wx:key="{{index}}" wx:for-index="pix"> |
204 | 213 | <view class="teamheight" style='display:block;' wx:for="{{item}}" wx:for-item="aitem" wx:for-index="aind"> |
205 | 214 | <view class="kill-item"> |
206 | - <navigator class="flex navwidth" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}"> | |
215 | + <navigator class="flex navwidth" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" hover-class="none"> | |
207 | 216 | <view class="kill-pic"> |
208 | 217 | <image class="wh100" src="{{url+aitem.original_img}}" data-val="{{aitem.original_img}}" data-errorimg="pindGoods[{{pix}}][{{aind}}].original_img" binderror="bind_bnerr2" lazy-load="true"> |
209 | 218 | </image> |
... | ... | @@ -262,7 +271,7 @@ |
262 | 271 | </view> |
263 | 272 | |
264 | 273 | <!-- 好物推荐 --> |
265 | - <view class="title" style="margin-bottom:{{isIpx ? '48rpx' : '0'}};"> | |
274 | + <view class="title bdt16" style="margin-bottom:{{isIpx ? '48rpx' : '0'}};"> | |
266 | 275 | <!-- 标题 --> |
267 | 276 | <view> |
268 | 277 | <!-- 中文名标题 --> |
... | ... | @@ -283,11 +292,11 @@ |
283 | 292 | </view> |
284 | 293 | |
285 | 294 | <!-- 英文标题 --> |
286 | - <view class="english flex-center"> | |
295 | + <!-- <view class="english flex-center"> | |
287 | 296 | <view class="silk"></view> |
288 | 297 | <view class="esh five-level-word">GOOD HOT THING</view> |
289 | 298 | <view class="silk"></view> |
290 | - </view> | |
299 | + </view> --> | |
291 | 300 | |
292 | 301 | </view> |
293 | 302 | <!-- 商品列表组件 --> |
... | ... | @@ -404,14 +413,17 @@ |
404 | 413 | <view class="disgraceful"> |
405 | 414 | <!-- 新人礼领取图片 --> |
406 | 415 | <view class="newreceive flex-center"> |
407 | - <view> | |
408 | - <navigator bindtap="new_nav"> | |
409 | - <view class="flex-level" style="position: relative;"> | |
416 | + <view class="t-c"> | |
417 | + <navigator bindtap="new_nav" hover-class="none"> | |
418 | + <view class="img-box" style="position: relative;"> | |
410 | 419 | <image class="receive" src="{{url}}{{new_image==''?'/miniapp/images/newpeople/newreceive.png':new_image}}"></image> |
411 | - <image class="close" src="{{url}}/miniapp/images/plus/Close.png" catchtap="close_disgraceful" style="margin-top: -70rpx; right: -60rpx;"></image> | |
412 | 420 | </view> |
421 | + <!-- <view> --> | |
422 | + | |
423 | + <!-- </view> --> | |
413 | 424 | </navigator> |
414 | - <view class="flex-level"></view> | |
425 | + <image class="close" src="{{url}}/miniapp/images/plus/Close.png" catchtap="close_disgraceful" mode=""/> | |
426 | + <!-- <view class="flex-level"></view> --> | |
415 | 427 | </view> |
416 | 428 | </view> |
417 | 429 | </view> | ... | ... |
pages/index/index/index.wxss
1 | 1 | .pink-b { |
2 | - background: #ff7295; | |
2 | + background: #ff7295; | |
3 | +} | |
4 | + | |
5 | +.top-bar { | |
6 | + position: fixed; | |
7 | + top: 0; | |
8 | + width: 100%; | |
9 | + z-index: 99; | |
3 | 10 | } |
4 | 11 | |
5 | 12 | |
6 | 13 | .search-box { |
7 | - position: fixed; | |
14 | + /* position: fixed; | |
8 | 15 | top: 0; |
9 | - left: 0; | |
10 | - width: 100%; | |
11 | - height: 88rpx; | |
12 | - z-index: 10; | |
13 | - background-color: #ff7295; | |
16 | + left: 0; */ | |
17 | + width: 100%; | |
18 | + /* height: 80rpx; */ | |
19 | + z-index: 10; | |
20 | + background-color: #ff7295; | |
21 | + padding: 0 10rpx; | |
22 | + box-sizing: border-box; | |
14 | 23 | } |
15 | 24 | |
16 | 25 | .classify-img { |
17 | - width: 50rpx; | |
18 | - height: 45rpx; | |
26 | + width: 50rpx; | |
27 | + height: 50rpx; | |
19 | 28 | } |
20 | 29 | |
21 | 30 | .logo { |
22 | - width: 48rpx; | |
23 | - height: 48rpx; | |
24 | - margin: 0 18rpx; | |
25 | - border-radius: 50%; | |
26 | - overflow: hidden; | |
31 | + width: 48rpx; | |
32 | + height: 48rpx; | |
33 | + margin: 0 18rpx; | |
34 | + border-radius: 50%; | |
35 | + overflow: hidden; | |
27 | 36 | } |
28 | 37 | |
29 | 38 | .search-inner { |
30 | - display: flex; | |
31 | - align-items: center; | |
32 | - margin: 20rpx 25rpx; | |
33 | - width: 566rpx; | |
34 | - height: 58rpx; | |
35 | - border-radius: 29rpx; | |
36 | - background-color: #fff; | |
37 | - justify-content: center; | |
39 | + display: flex; | |
40 | + align-items: center; | |
41 | + margin: 12rpx 20rpx; | |
42 | + /* margin: 20rpx 25rpx; */ | |
43 | + /* width: 566rpx; | |
44 | + height: 58rpx; */ | |
45 | + border-radius: 29rpx; | |
46 | + background-color: #fff; | |
47 | + justify-content: center; | |
48 | + position: relative; | |
38 | 49 | } |
39 | 50 | |
40 | 51 | .search-img { |
41 | - width: 30rpx; | |
42 | - height: 30rpx; | |
43 | - margin-left: 36rpx; | |
44 | - display: flex; | |
45 | - align-items: center; | |
46 | - position: absolute; | |
47 | - left: 10%; | |
52 | + width: 30rpx; | |
53 | + height: 30rpx; | |
54 | + /* margin-left: 36rpx; */ | |
55 | + display: flex; | |
56 | + align-items: center; | |
57 | + position: absolute; | |
58 | + left: 16rpx; | |
48 | 59 | } |
49 | 60 | |
50 | 61 | .search-cont { |
51 | - height: 58rpx; | |
52 | - width: 530rpx; | |
53 | - padding-left: 12rpx; | |
54 | - line-height: 58rpx; | |
55 | - font-size: 24rpx; | |
56 | - color: #666; | |
57 | - margin-left: 56rpx; | |
62 | + height: 58rpx; | |
63 | + width: 530rpx; | |
64 | + /* padding-left: 12rpx; */ | |
65 | + line-height: 58rpx; | |
66 | + font-size: 24rpx; | |
67 | + color: #666; | |
68 | + margin-left: 50rpx; | |
58 | 69 | } |
59 | 70 | |
60 | 71 | .search-fixed { |
61 | - background: #ff7295; | |
72 | + background: #ff7295; | |
62 | 73 | } |
63 | 74 | |
64 | 75 | .swiper_box { |
65 | - width: 100%; | |
66 | - height: auto; | |
76 | + width: 100%; | |
77 | + /* height: auto; */ | |
78 | + border-radius: 16rpx; | |
79 | + overflow: hidden; | |
67 | 80 | } |
68 | 81 | |
69 | 82 | .swiperItem { |
70 | - display: flex; | |
71 | - align-items: center; | |
83 | + display: flex; | |
84 | + align-items: center; | |
72 | 85 | } |
73 | 86 | |
74 | 87 | .s_prom { |
75 | - width: 100%; | |
76 | - height: 340rpx; | |
88 | + width: 100%; | |
89 | + height: 326rpx; | |
77 | 90 | } |
78 | 91 | |
79 | 92 | .s_proms { |
80 | - width: 100%; | |
81 | - height: 590rpx; | |
93 | + width: 100%; | |
94 | + height: 590rpx; | |
82 | 95 | } |
83 | 96 | |
84 | 97 | .slide-image { |
85 | - width: 100%; | |
86 | - display: inline-block; | |
87 | - overflow: hidden; | |
88 | - border-radius: 14rpx; | |
89 | - height: auto; | |
98 | + width: 100%; | |
99 | + display: block; | |
100 | + /* overflow: hidden; */ | |
101 | + /* border-radius: 14rpx; | |
102 | + height: auto; */ | |
90 | 103 | } |
91 | 104 | |
92 | 105 | .venues_box { |
93 | - background-color: #fff; | |
94 | - padding: 20rpx 10rpx 0; | |
106 | + /* background-color: #fff; | |
107 | + padding: 20rpx 10rpx 0; */ | |
95 | 108 | } |
96 | 109 | |
97 | 110 | .venues_list { |
... | ... | @@ -100,167 +113,171 @@ |
100 | 113 | } |
101 | 114 | |
102 | 115 | .venues_item { |
103 | - display: block; | |
104 | - float: left; | |
105 | - width: 20%; | |
106 | - text-align: center; | |
107 | - margin: 25rpx 0; | |
116 | + /* display: block; | |
117 | + float: left; */ | |
118 | + flex: 1; | |
119 | + text-align: center; | |
120 | + margin: 20rpx 0; | |
108 | 121 | } |
109 | 122 | |
110 | 123 | .venues_item image { |
111 | - vertical-align: middle; | |
112 | - width: 90rpx; | |
113 | - height: 90rpx; | |
114 | - border: 0; | |
124 | + vertical-align: middle; | |
125 | + width: 80rpx; | |
126 | + height: 80rpx; | |
127 | + border: 0; | |
115 | 128 | } |
116 | 129 | |
117 | 130 | .venues_item view { |
118 | - font-size: 26rpx; | |
119 | - margin-top: 10rpx; | |
131 | + font-size: 26rpx; | |
132 | + margin-top: 10rpx; | |
133 | + color: #333; | |
120 | 134 | } |
121 | 135 | |
122 | 136 | .choice_box { |
123 | - font-size: 14px; | |
137 | + font-size: 14px; | |
124 | 138 | } |
125 | 139 | |
126 | 140 | .choice_box .choice_list .choice_item { |
127 | - width: 368rpx; | |
128 | - float: left; | |
129 | - margin: 2rpx; | |
130 | - background-color: #fff; | |
141 | + width: 368rpx; | |
142 | + float: left; | |
143 | + margin: 2rpx; | |
144 | + background-color: #fff; | |
131 | 145 | } |
132 | 146 | |
133 | 147 | .choice_box .choice_list image { |
134 | - width: 100%; | |
135 | - height: auto; | |
148 | + width: 100%; | |
149 | + height: auto; | |
136 | 150 | } |
137 | 151 | |
138 | 152 | .title-img { |
139 | - margin-top: 110rpx; | |
140 | - margin-bottom: 15rpx; | |
141 | - height: auto; | |
153 | + margin-top: 10rpx; | |
154 | + padding: 0 20rpx; | |
155 | + box-sizing: border-box; | |
156 | + /* margin-bottom: 15rpx; | |
157 | + height: auto; */ | |
142 | 158 | } |
143 | 159 | |
144 | 160 | .choice_box .choice_list .title { |
145 | - height: 36rpx; | |
146 | - line-height: 36rpx; | |
147 | - /* font-weight: bold; */ | |
148 | - text-align: left; | |
149 | - color: #333; | |
150 | - margin-left: 20rpx; | |
151 | - font-size: 30rpx; | |
161 | + height: 36rpx; | |
162 | + line-height: 36rpx; | |
163 | + /* font-weight: bold; */ | |
164 | + text-align: left; | |
165 | + color: #333; | |
166 | + margin-left: 20rpx; | |
167 | + font-size: 30rpx; | |
152 | 168 | } |
153 | 169 | |
154 | 170 | .choice_box .choice_list .choice_footer { |
155 | - display: block; | |
156 | - margin-top: 20rpx; | |
157 | - margin-left: 15rpx; | |
158 | - position: relative; | |
159 | - height: 74rpx; | |
160 | - line-height: 17rpx; | |
171 | + display: block; | |
172 | + margin-top: 20rpx; | |
173 | + margin-left: 15rpx; | |
174 | + position: relative; | |
175 | + height: 74rpx; | |
176 | + line-height: 17rpx; | |
161 | 177 | } |
162 | 178 | |
163 | 179 | .choice_box .choice_list .choice_footer .price { |
164 | - color: #f23030; | |
165 | - height: 10px; | |
180 | + color: #f23030; | |
181 | + height: 10px; | |
166 | 182 | } |
167 | 183 | |
168 | 184 | .choice_box .choice_list .choice_footer .similer { |
169 | - position: absolute; | |
170 | - bottom: 0; | |
171 | - right: 0; | |
172 | - text-align: center; | |
173 | - color: #686868; | |
174 | - width: fit-content; | |
175 | - line-height: 30rpx; | |
176 | - border: 1rpx solid #bfbfbf; | |
177 | - padding: 1rpx 6rpx; | |
178 | - border-radius: 5rpx; | |
185 | + position: absolute; | |
186 | + bottom: 0; | |
187 | + right: 0; | |
188 | + text-align: center; | |
189 | + color: #686868; | |
190 | + width: fit-content; | |
191 | + line-height: 30rpx; | |
192 | + border: 1rpx solid #bfbfbf; | |
193 | + padding: 1rpx 6rpx; | |
194 | + border-radius: 5rpx; | |
179 | 195 | } |
180 | 196 | |
181 | 197 | .section { |
182 | - margin-top: 20rpx; | |
183 | - background-color: #fff; | |
198 | + margin-top: 20rpx; | |
199 | + background-color: #fff; | |
184 | 200 | } |
185 | 201 | |
186 | 202 | .section-title { |
187 | - padding-top: 30rpx; | |
188 | - height: 54rpx; | |
189 | - line-height: 54rpx; | |
190 | - font-size: 36rpx; | |
191 | - font-weight: 700; | |
192 | - color: #333; | |
193 | - text-align: center; | |
194 | - letter-spacing: 3rpx; | |
203 | + padding-top: 30rpx; | |
204 | + height: 54rpx; | |
205 | + line-height: 54rpx; | |
206 | + font-size: 36rpx; | |
207 | + font-weight: 700; | |
208 | + color: #333; | |
209 | + text-align: center; | |
210 | + letter-spacing: 3rpx; | |
195 | 211 | } |
196 | 212 | |
197 | 213 | .section-subtitle { |
198 | - line-height: 0; | |
199 | - width: 340rpx; | |
200 | - height: 16rpx; | |
201 | - padding-bottom: 20rpx; | |
202 | - margin: 0 auto; | |
214 | + line-height: 0; | |
215 | + width: 340rpx; | |
216 | + height: 16rpx; | |
217 | + padding-bottom: 20rpx; | |
218 | + margin: 0 auto; | |
203 | 219 | } |
204 | 220 | |
205 | 221 | .seckill { |
206 | - margin-top: 20rpx; | |
207 | - background-color: #fff; | |
208 | - padding-bottom: 30rpx; | |
222 | + /* margin-top: 20rpx; */ | |
223 | + background-color: #fff; | |
224 | + border-top: 16rpx solid #f7f8fa; | |
225 | + /* padding-bottom: 30rpx; */ | |
209 | 226 | } |
210 | 227 | |
211 | 228 | .seckill-time { |
212 | - display: flex; | |
213 | - justify-content: space-between; | |
214 | - padding: 0 30rpx; | |
215 | - align-items: center; | |
216 | - height: 72rpx; | |
217 | - color: #333; | |
218 | - margin-bottom: 20rpx; | |
229 | + display: flex; | |
230 | + justify-content: space-between; | |
231 | + padding: 20rpx; | |
232 | + align-items: center; | |
233 | + /* height: 70rpx; */ | |
234 | + color: #333; | |
235 | + /* margin-bottom: 10rpx; */ | |
219 | 236 | } |
220 | 237 | |
221 | 238 | .sk-tips { |
222 | - font-size: 36rpx; | |
223 | - font-weight: bold; | |
224 | - margin-right: 20rpx; | |
239 | + font-size: 36rpx; | |
240 | + font-weight: bold; | |
241 | + margin-right: 20rpx; | |
225 | 242 | } |
226 | 243 | |
227 | 244 | .sk-time { |
228 | - position: relative; | |
229 | - display: inline-block; | |
230 | - font-size: 24rpx; | |
231 | - width: 36rpx; | |
232 | - line-height: 36rpx; | |
233 | - background-color: #333; | |
234 | - margin-right: 20rpx; | |
235 | - color: #fff; | |
236 | - text-align: center; | |
245 | + position: relative; | |
246 | + display: inline-block; | |
247 | + font-size: 24rpx; | |
248 | + width: 36rpx; | |
249 | + line-height: 36rpx; | |
250 | + background-color: #333; | |
251 | + margin-right: 20rpx; | |
252 | + color: #fff; | |
253 | + text-align: center; | |
237 | 254 | } |
238 | 255 | |
239 | 256 | .sk-time::before { |
240 | - content: ':'; | |
241 | - position: absolute; | |
242 | - right: -13rpx; | |
243 | - top: 0; | |
244 | - color: #333; | |
245 | - font-weight: bold; | |
257 | + content: ':'; | |
258 | + position: absolute; | |
259 | + right: -13rpx; | |
260 | + top: 0; | |
261 | + color: #333; | |
262 | + font-weight: bold; | |
246 | 263 | } |
247 | 264 | |
248 | 265 | .sk-time:last-child::before { |
249 | - content: ''; | |
266 | + content: ''; | |
250 | 267 | } |
251 | 268 | |
252 | 269 | .seckill-time>navigator { |
253 | - font-size: 28rpx; | |
270 | + font-size: 28rpx; | |
254 | 271 | } |
255 | 272 | |
256 | 273 | .sk-pic { |
257 | - width: 28rpx; | |
258 | - height: 28rpx; | |
259 | - vertical-align: top; | |
274 | + width: 28rpx; | |
275 | + height: 28rpx; | |
276 | + vertical-align: top; | |
260 | 277 | } |
261 | 278 | |
262 | 279 | .seckill-list { |
263 | - overflow: hidden; | |
280 | + /* overflow: hidden; */ | |
264 | 281 | } |
265 | 282 | |
266 | 283 | /* .seckill-list navigator { |
... | ... | @@ -268,665 +285,695 @@ |
268 | 285 | } */ |
269 | 286 | |
270 | 287 | .seckill-list view { |
271 | - height: 62rpx; | |
272 | - padding: 0 10rpx; | |
273 | - line-height: 33rpx; | |
274 | - overflow: hidden; | |
275 | - font-size: 28rpx; | |
276 | - width: 203rpx; | |
288 | + /* height: 62rpx; */ | |
289 | + /* padding: 0 10rpx; | |
290 | + line-height: 33rpx; */ | |
291 | + overflow: hidden; | |
292 | + font-size: 32rpx; | |
293 | + width: 200rpx; | |
277 | 294 | } |
278 | 295 | |
279 | 296 | .seckill-list view.imgview { |
280 | - width: 203rpx; | |
281 | - height: 210rpx; | |
282 | - position: relative; | |
283 | - overflow: hidden; | |
297 | + width: 200rpx; | |
298 | + height: 210rpx; | |
299 | + border-radius: 10rpx; | |
300 | + position: relative; | |
301 | + overflow: hidden; | |
284 | 302 | } |
285 | 303 | |
286 | 304 | .imgview image { |
287 | - width: 203rpx; | |
288 | - height: 203rpx; | |
289 | - border-radius: 10rpx; | |
305 | + display: block; | |
306 | + width: 100%; | |
307 | + height: 100%; | |
308 | + | |
290 | 309 | } |
291 | 310 | |
292 | 311 | .seckill-list view.djs_view { |
293 | - background: rgba(9, 9, 9, 0.5); | |
294 | - color: #fff; | |
295 | - font-size: 20rpx; | |
296 | - width: 216rpx; | |
297 | - height: 36rpx; | |
298 | - line-height: 36rpx; | |
299 | - position: absolute; | |
300 | - bottom: 0; | |
301 | - left: 10rpx; | |
302 | - z-index: 5; | |
303 | - text-align-last: center; | |
312 | + background: rgba(9, 9, 9, 0.5); | |
313 | + color: #fff; | |
314 | + font-size: 20rpx; | |
315 | + width: 216rpx; | |
316 | + height: 36rpx; | |
317 | + line-height: 36rpx; | |
318 | + position: absolute; | |
319 | + bottom: 0; | |
320 | + left: 10rpx; | |
321 | + z-index: 5; | |
322 | + text-align-last: center; | |
304 | 323 | } |
305 | 324 | |
306 | 325 | .seckill-list image.status_img { |
307 | - width: 100rpx; | |
308 | - height: 35rpx; | |
309 | - position: absolute; | |
310 | - top: 0rpx; | |
311 | - left: 10rpx; | |
312 | - z-index: 5; | |
326 | + width: 100rpx; | |
327 | + height: 35rpx; | |
328 | + position: absolute; | |
329 | + top: 0; | |
330 | + left: 0; | |
331 | + /* z-index: 5; */ | |
313 | 332 | } |
314 | 333 | |
315 | 334 | .seckill-list view.status_view { |
316 | - width: 60rpx; | |
317 | - height: 60rpx; | |
318 | - text-align: center; | |
319 | - line-height: 60rpx; | |
320 | - position: absolute; | |
321 | - background: #e9030d; | |
322 | - color: #fff; | |
323 | - font-size: 18rpx; | |
324 | - top: 5rpx; | |
325 | - right: 10rpx; | |
326 | - z-index: 5; | |
327 | - border-radius: 50%; | |
328 | - padding: 0; | |
335 | + width: 60rpx; | |
336 | + height: 60rpx; | |
337 | + text-align: center; | |
338 | + line-height: 60rpx; | |
339 | + position: absolute; | |
340 | + background: #e9030d; | |
341 | + color: #fff; | |
342 | + font-size: 18rpx; | |
343 | + top: 5rpx; | |
344 | + right: 10rpx; | |
345 | + z-index: 5; | |
346 | + border-radius: 50%; | |
347 | + padding: 0; | |
329 | 348 | } |
330 | 349 | |
331 | 350 | .xiafa { |
332 | - text-decoration: line-through; | |
333 | - font-size: 10px; | |
334 | - color: #999; | |
335 | - margin-left: 10rpx; | |
351 | + text-decoration: line-through; | |
352 | + font-size: 10px; | |
353 | + color: #999; | |
354 | + margin-left: 10rpx; | |
336 | 355 | } |
337 | 356 | |
338 | 357 | .shelue { |
339 | - /* text-overflow: -o-ellipsis-lastline; | |
358 | + /* text-overflow: -o-ellipsis-lastline; | |
340 | 359 | overflow: hidden; |
341 | 360 | text-overflow: ellipsis; |
342 | 361 | display: -webkit-box; |
343 | 362 | -webkit-line-clamp: 2; |
344 | 363 | -webkit-box-orient: vertical; */ |
345 | - white-space: nowrap; | |
346 | - text-overflow: ellipsis; | |
347 | - overflow: hidden; | |
364 | + white-space: nowrap; | |
365 | + text-overflow: ellipsis; | |
366 | + overflow: hidden; | |
348 | 367 | } |
349 | 368 | |
350 | 369 | .meiz { |
351 | - padding: 0 10rpx; | |
352 | - background: #c4182e; | |
353 | - color: #fff; | |
354 | - height: 18px; | |
355 | - line-height: 18px; | |
356 | - margin-top: -10rpx; | |
357 | - border-radius: 10rpx; | |
370 | + padding: 0 10rpx; | |
371 | + background: #c4182e; | |
372 | + color: #fff; | |
373 | + height: 18px; | |
374 | + line-height: 18px; | |
375 | + margin-top: -10rpx; | |
376 | + border-radius: 10rpx; | |
358 | 377 | } |
359 | 378 | |
360 | 379 | .dengj { |
361 | - padding: 0 10rpx; | |
362 | - background: #ffd700; | |
363 | - color: #fff; | |
364 | - height: 18px; | |
365 | - line-height: 18px; | |
366 | - margin-top: -10rpx; | |
367 | - border-radius: 10rpx; | |
380 | + padding: 0 10rpx; | |
381 | + background: #ffd700; | |
382 | + color: #fff; | |
383 | + height: 18px; | |
384 | + line-height: 18px; | |
385 | + margin-top: -10rpx; | |
386 | + border-radius: 10rpx; | |
368 | 387 | } |
369 | 388 | |
370 | 389 | .kongge { |
371 | - width: 20rpx; | |
390 | + width: 20rpx; | |
372 | 391 | } |
373 | 392 | |
374 | 393 | .choice_footer .ys { |
375 | - color: #999; | |
376 | - margin-top: 20rpx; | |
377 | - font-size: 11px; | |
378 | - margin-left: 5rpx; | |
394 | + color: #999; | |
395 | + margin-top: 20rpx; | |
396 | + font-size: 11px; | |
397 | + margin-left: 5rpx; | |
379 | 398 | } |
380 | 399 | |
381 | 400 | .p_swiper { |
382 | - display: flex; | |
401 | + display: flex; | |
383 | 402 | } |
384 | 403 | |
385 | 404 | .p_swiper .un_line { |
386 | - text-decoration: line-through; | |
387 | - font-size: 22rpx; | |
388 | - color: #b2a2c2; | |
405 | + text-decoration: line-through; | |
406 | + font-size: 22rpx; | |
407 | + color: #b2a2c2; | |
389 | 408 | } |
390 | 409 | |
391 | 410 | .seckill-list view.co-red2 { |
392 | - font-size: 22rpx; | |
393 | - color: #c2aebb; | |
394 | - margin-top: -8rpx; | |
411 | + font-size: 22rpx; | |
412 | + color: #c2aebb; | |
413 | + margin-top: -8rpx; | |
395 | 414 | } |
396 | 415 | |
397 | 416 | .seckill-list view.cantuan { |
398 | - width: 72rpx; | |
399 | - height: 36rpx; | |
400 | - text-align: center; | |
401 | - line-height: 36rpx; | |
402 | - position: absolute; | |
403 | - background: #e9030d; | |
404 | - color: #fff; | |
405 | - font-size: 18rpx; | |
406 | - bottom: 30rpx; | |
407 | - right: 10rpx; | |
408 | - z-index: 5; | |
409 | - border-radius: 5rpx; | |
410 | - padding: 0; | |
417 | + width: 72rpx; | |
418 | + height: 36rpx; | |
419 | + text-align: center; | |
420 | + line-height: 36rpx; | |
421 | + position: absolute; | |
422 | + background: #e9030d; | |
423 | + color: #fff; | |
424 | + font-size: 18rpx; | |
425 | + bottom: 30rpx; | |
426 | + right: 10rpx; | |
427 | + z-index: 5; | |
428 | + border-radius: 5rpx; | |
429 | + padding: 0; | |
411 | 430 | } |
412 | 431 | |
413 | 432 | .arrow-right { |
414 | - width: 24rpx; | |
415 | - height: 24rpx; | |
433 | + width: 20rpx; | |
434 | + height: 20rpx; | |
416 | 435 | } |
417 | 436 | |
418 | 437 | .pd-view { |
419 | - height: 80rpx; | |
438 | + /* height: 80rpx; */ | |
420 | 439 | } |
421 | 440 | |
422 | 441 | .xc-grow-ups { |
423 | - margin-left: 8rpx; | |
424 | - margin-top: 6rpx; | |
442 | + margin-left: 8rpx; | |
443 | + margin-top: 6rpx; | |
425 | 444 | } |
426 | 445 | |
427 | 446 | .xc-top-img { |
428 | - width: 100%; | |
429 | - top: -1rpx; | |
430 | - height: 315rpx; | |
447 | + width: 100%; | |
448 | + /* margin-top: -30rpx; */ | |
449 | + height: 420rpx; | |
450 | + top: 0; | |
451 | + background-color: white; | |
452 | + /* top: -1rpx; | |
453 | + height: 315rpx; */ | |
431 | 454 | } |
432 | 455 | |
433 | 456 | .classify-frame { |
434 | - line-height: 25rpx; | |
457 | + line-height: 25rpx; | |
435 | 458 | } |
436 | 459 | |
437 | 460 | .slide-image-frame { |
438 | - width: 95%; | |
439 | - margin: auto; | |
440 | - border-radius: 10rpx; | |
461 | + width: 100%; | |
462 | + /* margin: auto; */ | |
463 | + /* padding: 0 20rpx; | |
464 | + box-sizing: border-box; */ | |
465 | + /* border-radius: 10rpx; */ | |
441 | 466 | } |
442 | 467 | |
443 | 468 | .xc-hook { |
444 | - width: 52rpx; | |
445 | - height: 52rpx; | |
469 | + width: 52rpx; | |
470 | + height: 52rpx; | |
446 | 471 | } |
447 | 472 | |
448 | 473 | .margin-left { |
449 | - margin-left: 10rpx; | |
474 | + margin-left: 10rpx; | |
450 | 475 | } |
451 | 476 | |
452 | 477 | .xc-class-img { |
453 | - width: 83rpx; | |
454 | - height: 83rpx; | |
478 | + width: 80rpx; | |
479 | + height: 80rpx; | |
455 | 480 | } |
456 | 481 | |
457 | 482 | .xc-class-frame { |
458 | - line-height: 40rpx; | |
459 | - margin-top: 20rpx; | |
460 | - margin-bottom: 20rpx; | |
483 | + line-height: 40rpx; | |
484 | + /* margin-top: 20rpx; */ | |
485 | + margin-bottom: 20rpx; | |
461 | 486 | } |
462 | 487 | |
463 | 488 | .xc-title-img { |
464 | - height: 220rpx; | |
465 | - width: 100%; | |
466 | - border-radius: 15rpx; | |
489 | + height: 100%; | |
490 | + width: 100%; | |
491 | + border-radius: 15rpx; | |
467 | 492 | } |
468 | 493 | |
469 | 494 | .title-img-frame { |
470 | - width: 94%; | |
471 | - margin: auto; | |
495 | + width: 100%; | |
496 | + height: 100%; | |
497 | + /* margin: auto; | |
472 | 498 | margin-top: 30rpx; |
473 | - padding-bottom: 10rpx; | |
499 | + padding-bottom: 10rpx; */ | |
474 | 500 | } |
475 | 501 | |
476 | 502 | .seckill-list { |
477 | - line-height: 24rpx; | |
503 | + /* line-height: 24rpx; */ | |
504 | + color: #333; | |
505 | + | |
478 | 506 | } |
479 | 507 | |
480 | 508 | .seckill-lists { |
481 | - line-height: 30rpx; | |
509 | + /* line-height: 30rpx; */ | |
482 | 510 | } |
483 | 511 | |
484 | 512 | .xc-marfin-right { |
485 | - margin-right: 8rpx; | |
513 | + margin-right: 8rpx; | |
486 | 514 | } |
487 | 515 | |
488 | 516 | .classname .clock-img { |
489 | - width: 36rpx; | |
490 | - height: 36rpx; | |
491 | - margin-right: 10rpx; | |
517 | + width: 28rpx; | |
518 | + height: 28rpx; | |
519 | + /* margin-right: 10rpx; */ | |
492 | 520 | } |
493 | 521 | |
494 | 522 | .classname .seckill-ttitle-img { |
495 | - width: 150rpx; | |
496 | - height: 40rpx; | |
523 | + width: 150rpx; | |
524 | + height: 40rpx; | |
497 | 525 | } |
498 | 526 | |
499 | 527 | .seckill-ttitle-img.height { |
500 | - height: 35rpx; | |
528 | + height: 35rpx; | |
501 | 529 | } |
502 | 530 | |
503 | 531 | .split-line { |
504 | - width: 100%; | |
505 | - height: 10rpx; | |
506 | - background: #eee; | |
532 | + width: 100%; | |
533 | + height: 10rpx; | |
534 | + background: #eee; | |
507 | 535 | } |
508 | 536 | |
509 | 537 | .mar-top10 { |
510 | - margin-top: 10rpx; | |
538 | + margin-top: 10rpx; | |
511 | 539 | } |
512 | 540 | |
513 | 541 | .classname .user-img { |
514 | - width: 30rpx; | |
515 | - height: 30rpx; | |
516 | - margin-left: 20rpx; | |
517 | - margin-right: 10rpx; | |
542 | + width: 40rpx; | |
543 | + height: 40rpx; | |
544 | + margin-left: 20rpx; | |
545 | + margin-right: 10rpx; | |
546 | + background-color: #f7f8fa; | |
518 | 547 | } |
519 | 548 | |
520 | 549 | .user-frame { |
521 | - /* border-left: 5rpx solid #eee; */ | |
522 | - height: 35rpx; | |
523 | - line-height: 35rpx; | |
524 | - margin-left: 10rpx; | |
550 | + /* border-left: 5rpx solid #eee; */ | |
551 | + /* height: 35rpx; | |
552 | + line-height: 35rpx; */ | |
553 | + margin-left: 10rpx; | |
525 | 554 | } |
526 | 555 | |
527 | 556 | .user-name { |
528 | - width: 66rpx; | |
529 | - border-left: 5rpx solid #eee; | |
557 | + width: 140rpx; | |
558 | + padding-left: 10rpx; | |
559 | + border-left: 2rpx solid #ebedf0; | |
530 | 560 | } |
531 | 561 | |
532 | 562 | /* 团购列表 */ |
533 | 563 | |
534 | 564 | .kill-item { |
535 | - display: flex; | |
536 | - justify-content: space-between; | |
537 | - background-color: #fff; | |
538 | - padding: 10rpx 10rpx; | |
539 | - margin-bottom: 10rpx; | |
540 | - border-radius: 10rpx; | |
541 | - height: 249rpx; | |
542 | - align-items: center; | |
565 | + display: flex; | |
566 | + justify-content: space-between; | |
567 | + background-color: #fff; | |
568 | + padding: 20rpx; | |
569 | + /* margin-bottom: 10rpx; */ | |
570 | + border-radius: 10rpx; | |
571 | + /* height: 249rpx; */ | |
572 | + align-items: center; | |
543 | 573 | } |
544 | 574 | |
545 | 575 | .kill-pic { |
546 | - width: 215rpx; | |
547 | - height: 215rpx; | |
548 | - position: relative; | |
576 | + width: 215rpx; | |
577 | + height: 215rpx; | |
578 | + position: relative; | |
549 | 579 | } |
550 | 580 | |
551 | 581 | .teamheight { |
552 | - height: 289rpx; | |
553 | - border-bottom: 6rpx solid #eee; | |
582 | + /* height: 289rpx; */ | |
583 | + border-bottom: 2rpx solid #ebedf0; | |
554 | 584 | } |
555 | 585 | |
556 | 586 | .kill-cont { |
557 | - width: 440rpx; | |
558 | - height: 215rpx; | |
559 | - margin-left: 16rpx; | |
587 | + width: 440rpx; | |
588 | + height: 215rpx; | |
589 | + margin-left: 16rpx; | |
560 | 590 | } |
561 | 591 | |
562 | 592 | .goods-name { |
563 | - max-height: 60rpx; | |
564 | - font-size: 24rpx; | |
565 | - color: #555; | |
566 | - line-height: 55rpx; | |
593 | + max-height: 60rpx; | |
594 | + font-size: 24rpx; | |
595 | + color: #555; | |
596 | + line-height: 55rpx; | |
567 | 597 | } |
568 | 598 | |
569 | 599 | .xc-team-img { |
570 | - width: 38rpx; | |
571 | - height: 45rpx; | |
572 | - left: -1rpx; | |
573 | - top: -16rpx; | |
600 | + width: 38rpx; | |
601 | + height: 45rpx; | |
602 | + left: -1rpx; | |
603 | + top: -16rpx; | |
574 | 604 | } |
575 | 605 | |
576 | 606 | .tneirong { |
577 | - color: #fff; | |
578 | - font-size: 20rpx; | |
579 | - border-radius: 20rpx; | |
580 | - padding-left: 32rpx; | |
581 | - padding-right: 15rpx; | |
582 | - padding-bottom: 2rpx; | |
583 | - height: 28rpx; | |
584 | - line-height: 28rpx; | |
585 | - white-space: nowrap; | |
607 | + color: #fff; | |
608 | + font-size: 20rpx; | |
609 | + border-radius: 20rpx; | |
610 | + padding-left: 32rpx; | |
611 | + padding-right: 15rpx; | |
612 | + padding-bottom: 2rpx; | |
613 | + height: 28rpx; | |
614 | + line-height: 28rpx; | |
615 | + white-space: nowrap; | |
586 | 616 | } |
587 | 617 | |
588 | 618 | .xc-people-val-frame { |
589 | - border: 3rpx solid #d60021; | |
590 | - border-radius: 8rpx; | |
591 | - white-space: nowrap; | |
592 | - height: 28rpx; | |
619 | + border: 3rpx solid #d60021; | |
620 | + border-radius: 8rpx; | |
621 | + white-space: nowrap; | |
622 | + height: 28rpx; | |
593 | 623 | } |
594 | 624 | |
595 | 625 | .xc-people-val-frame .val-img { |
596 | - width: 33rpx; | |
597 | - height: 28rpx; | |
598 | - border-radius: 8rpx; | |
599 | - margin-left: -2rpx; | |
626 | + width: 33rpx; | |
627 | + height: 28rpx; | |
628 | + border-radius: 8rpx; | |
629 | + margin-left: -2rpx; | |
600 | 630 | } |
601 | 631 | |
602 | 632 | .people-img { |
603 | - width: 20rpx; | |
604 | - height: 20rpx; | |
633 | + width: 20rpx; | |
634 | + height: 20rpx; | |
605 | 635 | } |
606 | 636 | |
607 | 637 | .goods-num { |
608 | - height: 50rpx; | |
609 | - display: flex; | |
610 | - justify-content: space-between; | |
611 | - margin-top: 10rpx; | |
612 | - font-size: 24rpx; | |
613 | - color: #999; | |
638 | + height: 50rpx; | |
639 | + display: flex; | |
640 | + justify-content: space-between; | |
641 | + margin-top: 10rpx; | |
642 | + font-size: 24rpx; | |
643 | + color: #999; | |
614 | 644 | } |
615 | 645 | |
616 | 646 | .xc-top15 { |
617 | - padding-top: 15rpx; | |
618 | - margin-top: 25rpx; | |
647 | + padding-top: 15rpx; | |
648 | + margin-top: 25rpx; | |
619 | 649 | } |
620 | 650 | |
621 | 651 | .underline { |
622 | - text-decoration: line-through; | |
623 | - color: #999; | |
624 | - font-size: 20rpx; | |
625 | - margin-left: 5rpx; | |
626 | - margin-top: 5rpx; | |
652 | + text-decoration: line-through; | |
653 | + color: #999; | |
654 | + font-size: 20rpx; | |
655 | + margin-left: 5rpx; | |
656 | + margin-top: 5rpx; | |
627 | 657 | } |
628 | 658 | |
629 | 659 | .navigator.navwidth { |
630 | - width: 100%;; | |
660 | + width: 100%;; | |
631 | 661 | } |
632 | 662 | |
633 | 663 | .view.left { |
634 | - padding: 0 5rpx; | |
664 | + padding: 0 5rpx; | |
635 | 665 | } |
636 | 666 | |
637 | 667 | /* 热门好物 */ |
638 | 668 | |
639 | 669 | .title .China { |
640 | - width: 100%; | |
641 | - margin-top: 10rpx; | |
642 | - margin-bottom: 10rpx; | |
643 | - line-height: 0rpx; | |
670 | + width: 100%; | |
671 | + padding: 20rpx 0; | |
672 | + /* line-height: 0rpx; */ | |
644 | 673 | } |
645 | 674 | |
646 | 675 | .title .China .line view { |
647 | - width: 2rpx; | |
676 | + width: 2rpx; | |
648 | 677 | } |
649 | 678 | |
650 | 679 | .title .China .line { |
651 | - height: 40rpx; | |
652 | - color: rgb(51, 51, 51); | |
680 | + height: 40rpx; | |
681 | + color: rgb(51, 51, 51); | |
653 | 682 | } |
654 | 683 | |
655 | 684 | .title .China .line view { |
656 | - border-left: 3rpx solid #000; | |
657 | - margin-left: 5rpx; | |
685 | + border-left: 3rpx solid #000; | |
686 | + margin-left: 5rpx; | |
658 | 687 | } |
659 | 688 | |
660 | 689 | .title .China .line .one { |
661 | - height: 23rpx; | |
690 | + height: 23rpx; | |
662 | 691 | } |
663 | 692 | |
664 | 693 | .title .China .line .two { |
665 | - height: 15rpx; | |
694 | + height: 15rpx; | |
666 | 695 | } |
667 | 696 | |
668 | 697 | .title .China .line .three { |
669 | - height: 18rpx; | |
698 | + height: 18rpx; | |
670 | 699 | } |
671 | 700 | |
672 | 701 | .title .China .Recommend { |
673 | - margin: 0rpx 20rpx; | |
674 | - font-size: 28rpx; | |
675 | - line-height: 39rpx; | |
676 | - font-weight: bold; | |
702 | + margin: 0rpx 20rpx; | |
703 | + font-size: 30rpx; | |
704 | + line-height: 39rpx; | |
705 | + font-weight: bold; | |
677 | 706 | } |
678 | 707 | |
679 | 708 | .title .english .silk { |
680 | - width: 214rpx; | |
681 | - height: 2rpx; | |
682 | - background-color: #000; | |
709 | + width: 214rpx; | |
710 | + height: 2rpx; | |
711 | + background-color: #000; | |
683 | 712 | } |
684 | 713 | |
685 | 714 | .title .english .esh { |
686 | - margin: 0rpx 15rpx; | |
715 | + margin: 0rpx 15rpx; | |
687 | 716 | } |
688 | 717 | |
689 | 718 | .collects { |
690 | - margin-top: 40rpx; | |
719 | + margin-top: 40rpx; | |
691 | 720 | } |
692 | 721 | |
693 | 722 | .hang { |
694 | - width: 100%; | |
695 | - margin: auto; | |
696 | - padding-left: 21rpx; | |
723 | + width: 100%; | |
724 | + margin: auto; | |
725 | + padding-left: 21rpx; | |
697 | 726 | } |
698 | 727 | |
699 | 728 | .hang .collect { |
700 | - width: 347rpx; | |
701 | - height: 571rpx; | |
702 | - border-radius: 25rpx; | |
703 | - border: 1rpx solid rgb(214, 214, 214); | |
704 | - overflow: hidden; | |
705 | - margin-right: 14rpx; | |
706 | - margin-bottom: 5rpx; | |
729 | + width: 347rpx; | |
730 | + height: 571rpx; | |
731 | + border-radius: 25rpx; | |
732 | + border: 1rpx solid rgb(214, 214, 214); | |
733 | + overflow: hidden; | |
734 | + margin-right: 14rpx; | |
735 | + margin-bottom: 5rpx; | |
707 | 736 | } |
708 | 737 | |
709 | 738 | .collect .bottom { |
710 | - padding: 0rpx 20rpx; | |
739 | + padding: 0rpx 20rpx; | |
711 | 740 | } |
712 | 741 | |
713 | 742 | .collect .sp { |
714 | - width: 100%; | |
715 | - height: 326rpx; | |
743 | + width: 100%; | |
744 | + height: 326rpx; | |
716 | 745 | } |
717 | 746 | |
718 | 747 | .collect .money { |
719 | - margin-top: 60rpx; | |
720 | - margin-bottom: 18rpx; | |
721 | - line-height: 28rpx; | |
722 | - align-items: baseline; | |
748 | + margin-top: 60rpx; | |
749 | + margin-bottom: 18rpx; | |
750 | + line-height: 28rpx; | |
751 | + align-items: baseline; | |
723 | 752 | } |
724 | 753 | |
725 | 754 | .collect .money view { |
726 | - line-height: 28rpx; | |
755 | + line-height: 28rpx; | |
727 | 756 | } |
728 | 757 | |
729 | 758 | .collect .money .flex { |
730 | - font-weight: bold; | |
759 | + font-weight: bold; | |
731 | 760 | } |
732 | 761 | |
733 | 762 | .collect .money .flex .fs24 { |
734 | - padding-top: 5rpx; | |
763 | + padding-top: 5rpx; | |
735 | 764 | } |
736 | 765 | |
737 | 766 | .collect .Discount { |
738 | - width: 156rpx; | |
739 | - height: 28rpx; | |
740 | - border-radius: 20rpx; | |
741 | - background-color: rgb(56, 56, 56); | |
742 | - font-size: 18rpx; | |
743 | - color: rgb(255, 255, 255); | |
767 | + width: 156rpx; | |
768 | + height: 28rpx; | |
769 | + border-radius: 20rpx; | |
770 | + background-color: rgb(56, 56, 56); | |
771 | + font-size: 18rpx; | |
772 | + color: rgb(255, 255, 255); | |
744 | 773 | } |
745 | 774 | |
746 | 775 | .collect .Discount image { |
747 | - height: 18rpx; | |
748 | - width: 18rpx; | |
749 | - line-height: 28rpx; | |
750 | - margin-right: 3rpx; | |
776 | + height: 18rpx; | |
777 | + width: 18rpx; | |
778 | + line-height: 28rpx; | |
779 | + margin-right: 3rpx; | |
751 | 780 | } |
752 | 781 | |
753 | 782 | .collect.ml20 { |
754 | - margin-left: 13rpx; | |
783 | + margin-left: 13rpx; | |
755 | 784 | } |
756 | 785 | |
757 | 786 | .fs24.dollar { |
758 | - padding: 0rpx; | |
787 | + padding: 0rpx; | |
759 | 788 | } |
760 | 789 | |
761 | 790 | .money .price { |
762 | - margin-left: 12rpx; | |
763 | - text-decoration: line-through; | |
764 | - line-height: 23rpx; | |
791 | + margin-left: 12rpx; | |
792 | + text-decoration: line-through; | |
793 | + line-height: 23rpx; | |
765 | 794 | } |
766 | 795 | |
767 | 796 | .province { |
768 | - line-height: 26rpx; | |
797 | + line-height: 26rpx; | |
769 | 798 | } |
770 | 799 | |
771 | 800 | .nothing { |
772 | - height: 75rpx; | |
773 | - width: 100%; | |
801 | + height: 75rpx; | |
802 | + width: 100%; | |
774 | 803 | } |
775 | 804 | |
776 | 805 | .nothing .no_content { |
777 | - margin: 0rpx 11rpx; | |
778 | - color: rgb(138, 138, 138); | |
806 | + margin: 0rpx 11rpx; | |
807 | + color: rgb(138, 138, 138); | |
779 | 808 | } |
780 | 809 | |
781 | 810 | .nothing .Foil { |
782 | - width: 80rpx; | |
783 | - height: 2rpx; | |
784 | - background-color: rgb(138, 138, 138); | |
811 | + width: 80rpx; | |
812 | + height: 2rpx; | |
813 | + background-color: rgb(138, 138, 138); | |
785 | 814 | } |
786 | 815 | |
787 | 816 | .goods_name { |
788 | - height: 70rpx; | |
789 | - margin-top: 6rpx; | |
817 | + height: 70rpx; | |
818 | + margin-top: 6rpx; | |
790 | 819 | } |
791 | 820 | |
792 | 821 | .seckill-list view.translation { |
793 | - width: 108rpx; | |
794 | - height: 20rpx; | |
795 | - border-radius: 20rpx; | |
796 | - background: #dfdfdf; | |
797 | - margin: auto; | |
798 | - line-height: 20rpx; | |
822 | + width: 108rpx; | |
823 | + height: 20rpx; | |
824 | + border-radius: 20rpx; | |
825 | + background: #dfdfdf; | |
826 | + margin: auto; | |
827 | + line-height: 20rpx; | |
799 | 828 | } |
800 | 829 | |
801 | 830 | .seckill-list view.spot { |
802 | - width: 10rpx; | |
803 | - height: 10rpx; | |
804 | - padding: 0rpx; | |
831 | + width: 10rpx; | |
832 | + height: 10rpx; | |
833 | + padding: 0rpx; | |
805 | 834 | } |
806 | 835 | |
807 | 836 | .spot { |
808 | - width: 10rpx; | |
809 | - height: 10rpx; | |
810 | - padding: 0rpx; | |
837 | + width: 10rpx; | |
838 | + height: 10rpx; | |
839 | + padding: 0rpx; | |
811 | 840 | } |
812 | 841 | |
813 | 842 | .translation { |
814 | - width: 108rpx; | |
815 | - height: 20rpx; | |
816 | - border-radius: 20rpx; | |
817 | - background: #e0e0e0; | |
818 | - line-height: 20rpx; | |
819 | - bottom: 45rpx; | |
820 | - left: 43%; | |
843 | + width: 108rpx; | |
844 | + height: 20rpx; | |
845 | + border-radius: 20rpx; | |
846 | + /* background: #e0e0e0; */ | |
847 | + line-height: 20rpx; | |
848 | + bottom: 45rpx; | |
849 | + left: 43%; | |
821 | 850 | } |
822 | 851 | |
823 | 852 | .translation { |
824 | - width: 108rpx; | |
825 | - height: 20rpx; | |
826 | - border-radius: 20rpx; | |
827 | - background: #b8d1d6; | |
828 | - line-height: 20rpx; | |
829 | - bottom: 12rpx; | |
830 | - left: 43%; | |
853 | + width: 108rpx; | |
854 | + height: 20rpx; | |
855 | + border-radius: 20rpx; | |
856 | + /* background: #b8d1d6; */ | |
857 | + line-height: 20rpx; | |
858 | + bottom: 12rpx; | |
859 | + left: 43%; | |
831 | 860 | } |
832 | 861 | |
833 | 862 | .translations { |
834 | - width: 108rpx; | |
835 | - height: 20rpx; | |
836 | - border-radius: 20rpx; | |
837 | - background: #dfdfdf; | |
838 | - line-height: 20rpx; | |
839 | - bottom: 25rpx; | |
840 | - left: 43%; | |
863 | + width: 108rpx; | |
864 | + height: 20rpx; | |
865 | + border-radius: 20rpx; | |
866 | + background: #dfdfdf; | |
867 | + line-height: 20rpx; | |
868 | + bottom: 25rpx; | |
869 | + left: 43%; | |
841 | 870 | } |
842 | 871 | |
843 | 872 | .mar-top { |
844 | - margin-top: 20rpx; | |
873 | + margin-top: 20rpx; | |
845 | 874 | } |
846 | 875 | |
847 | 876 | .mar-tops { |
848 | - margin-top: 10rpx; | |
877 | + margin-top: 10rpx; | |
849 | 878 | } |
850 | 879 | |
851 | 880 | .pt_active { |
852 | - animation: sport 0.5s; | |
881 | + animation: sport 0.5s; | |
853 | 882 | } |
854 | 883 | |
855 | 884 | @keyframes sport { |
856 | - 0% { | |
857 | - transform: translateY(80rpx); | |
858 | - opacity: 0; | |
859 | - } | |
885 | + 0% { | |
886 | + transform: translateY(80rpx); | |
887 | + opacity: 0; | |
888 | + } | |
860 | 889 | |
861 | - 100% { | |
862 | - transform: translateY(0rpx); | |
863 | - opacity: 1; | |
864 | - } | |
890 | + 100% { | |
891 | + transform: translateY(0rpx); | |
892 | + opacity: 1; | |
893 | + } | |
865 | 894 | } |
866 | 895 | |
867 | 896 | .m-left { |
868 | - margin-left: 18rpx; | |
897 | + margin-left: 10rpx; | |
869 | 898 | } |
870 | 899 | |
871 | 900 | .martop4 { |
872 | - margin-top: 4rpx; | |
901 | + margin-top: 4rpx; | |
873 | 902 | } |
874 | 903 | |
875 | 904 | .time-blue { |
876 | - margin-left: 10rpx; | |
905 | + margin-left: 10rpx; | |
877 | 906 | } |
878 | 907 | |
879 | 908 | .is_seckill_height { |
880 | - height: 40rpx; | |
881 | - line-height: 32rpx; | |
909 | + height: 40rpx; | |
910 | + line-height: 32rpx; | |
882 | 911 | } |
883 | 912 | |
884 | 913 | .assemble-top-border { |
885 | - border-top: 10rpx solid #eee; | |
886 | - padding-top: 20rpx; | |
887 | - margin-top: 0rpx; | |
914 | + border-top: 10rpx solid #eee; | |
915 | + padding-top: 20rpx; | |
916 | + margin-top: 0rpx; | |
888 | 917 | } |
889 | 918 | |
890 | 919 | .gonju { |
891 | - max-width: 120rpx; | |
920 | + /* max-width: 120rpx; */ | |
921 | + padding: 0 20rpx; | |
922 | + color: #333; | |
923 | + box-sizing: border-box; | |
892 | 924 | } |
893 | 925 | |
894 | 926 | .disgraceful { |
895 | - position: fixed; | |
896 | - width: 100%; | |
897 | - height: 100%; | |
898 | - left: 0rpx; | |
899 | - bottom: 0rpx; | |
900 | - background-color: rgba(182, 174, 174, 0.753); | |
901 | - z-index: 10; | |
927 | + position: fixed; | |
928 | + width: 100%; | |
929 | + height: 100%; | |
930 | + left: 0rpx; | |
931 | + bottom: 0rpx; | |
932 | + background-color: rgba(0, 0, 0, 0.5); | |
933 | + z-index: 998; | |
902 | 934 | } |
903 | 935 | |
904 | 936 | .newreceive { |
905 | - position: fixed; | |
906 | - width: 100%; | |
907 | - height: 100%; | |
908 | - z-index: 11; | |
937 | + position: fixed; | |
938 | + width: 100%; | |
939 | + height: 100%; | |
940 | + z-index: 999; | |
909 | 941 | } |
910 | 942 | |
911 | 943 | .receive { |
912 | - width: 570rpx; | |
913 | - height: 750rpx; | |
944 | + display: block; | |
945 | + width: 100%; | |
946 | + height: 100%; | |
914 | 947 | } |
915 | -.close{ | |
916 | - width: 70rpx; | |
917 | - height: 70rpx; | |
918 | - margin-top: 30rpx; | |
948 | + | |
949 | +.close { | |
950 | + width: 60rpx; | |
951 | + height: 60rpx; | |
952 | + margin-top: 10rpx; | |
919 | 953 | } |
920 | -.swiper{ | |
921 | - height: 250rpx; | |
922 | - padding-bottom:30rpx; | |
954 | + | |
955 | +.swiper { | |
956 | + height: 220rpx; | |
957 | + box-sizing: border-box; | |
958 | + padding: 10rpx 20rpx; | |
959 | + /* padding-bottom:30rpx; */ | |
923 | 960 | } |
924 | 961 | |
925 | 962 | page { |
926 | - overflow-x: hidden; | |
927 | - padding-bottom: 120rpx; | |
963 | + overflow-x: hidden; | |
964 | + padding-bottom: 120rpx; | |
965 | + /* background-color: #f7f8fa; */ | |
928 | 966 | } |
929 | -.container{ overflow: hidden;} | |
967 | + | |
968 | +.container { | |
969 | + overflow: hidden; | |
970 | + padding-top: 140rpx; | |
971 | +} | |
972 | + | |
973 | +/* page, | |
974 | +.container { | |
975 | + height: 100%; | |
976 | +} */ | |
930 | 977 | |
931 | 978 | |
932 | 979 | .hongbao-container { |
... | ... | @@ -935,7 +982,7 @@ page { |
935 | 982 | height: 100%; |
936 | 983 | top: 0; |
937 | 984 | left: 0; |
938 | - background-color: rgba(0,0,0,.5); | |
985 | + background-color: rgba(0, 0, 0, .5); | |
939 | 986 | z-index: 999; |
940 | 987 | } |
941 | 988 | |
... | ... | @@ -952,9 +999,9 @@ page { |
952 | 999 | } |
953 | 1000 | |
954 | 1001 | .close { |
955 | - position: absolute; | |
1002 | + /* position: absolute; | |
956 | 1003 | top: 0; |
957 | - right: 0; | |
1004 | + right: 0; */ | |
958 | 1005 | } |
959 | 1006 | |
960 | 1007 | .hongbao_sm-img { |
... | ... | @@ -966,20 +1013,48 @@ page { |
966 | 1013 | /* transform: translateY(-50%); */ |
967 | 1014 | z-index: 10000; |
968 | 1015 | } |
969 | -.dis_top{position: fixed; top: 0; left: 0; width: 100%; z-index: 100000;} | |
970 | -.full_screen{ | |
971 | - position: fixed;left: 0;top: 0; | |
1016 | + | |
1017 | +.dis_top { | |
1018 | + position: fixed; | |
1019 | + top: 0; | |
1020 | + left: 0; | |
1021 | + width: 100%; | |
1022 | + z-index: 100000; | |
1023 | +} | |
1024 | + | |
1025 | +.full_screen { | |
1026 | + position: fixed; | |
1027 | + left: 0; | |
1028 | + top: 0; | |
972 | 1029 | z-index: 1000000000000; |
973 | - background-color: rgba(0,0,0,0.4); | |
1030 | + background-color: rgba(0, 0, 0, 0.4); | |
974 | 1031 | width: 100%; |
975 | 1032 | height: 100%; |
976 | 1033 | background-position: center; |
977 | 1034 | background-size: 100% 100%; |
978 | 1035 | background-repeat: no-repeat; |
979 | 1036 | } |
980 | -.skip_box{ | |
981 | - float: right; margin-top: 10rpx; margin-right: 10rpx; | |
982 | - background-color: gainsboro; width: 120rpx; | |
983 | - height: 48rpx; font-size: 28rpx; line-height: 48rpx; | |
984 | - text-align: center; border-radius: 20rpx; | |
985 | - } | |
1037 | + | |
1038 | +.skip_box { | |
1039 | + float: right; | |
1040 | + margin-top: 10rpx; | |
1041 | + margin-right: 10rpx; | |
1042 | + background-color: gainsboro; | |
1043 | + width: 120rpx; | |
1044 | + height: 48rpx; | |
1045 | + font-size: 28rpx; | |
1046 | + line-height: 48rpx; | |
1047 | + text-align: center; | |
1048 | + border-radius: 20rpx; | |
1049 | +} | |
1050 | + | |
1051 | + | |
1052 | +.bdt16 { | |
1053 | + border-top: 16rpx solid #f7f8fa; | |
1054 | +} | |
1055 | + | |
1056 | +.img-box { | |
1057 | + width: 560rpx; | |
1058 | + height: 800rpx; | |
1059 | +} | |
1060 | + | ... | ... |