Commit dd34161956ebf4d8da4ac947dcaa28ba5492fbe1
1 parent
5799a03f
首页页面调整
Showing
3 changed files
with
16 additions
and
8 deletions
app.wxss
pages/index/index/index.wxml
@@ -132,11 +132,11 @@ | @@ -132,11 +132,11 @@ | ||
132 | </navigator> | 132 | </navigator> |
133 | <view class="seckill-list"> | 133 | <view class="seckill-list"> |
134 | <swiper class="s_prom" indicator-dots="{{false}}" bindchange="flashSwiperChange"> | 134 | <swiper class="s_prom" indicator-dots="{{false}}" bindchange="flashSwiperChange"> |
135 | - <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper flex-center-around" wx:key="saleGoods"> | ||
136 | - <navigator url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" | 135 | + <swiper-item wx:for="{{saleGoods}}" wx:key="{{index}}" class="p_swiper " wx:key="saleGoods"> |
136 | + <navigator class="ib m-left" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{aitem.goods_id}}" | ||
137 | wx:for="{{item}}" wx:key="item" wx:for-item="aitem" wx:for-index="aind" | 137 | wx:for="{{item}}" wx:key="item" wx:for-item="aitem" wx:for-index="aind" |
138 | > | 138 | > |
139 | - <view class="imgview"> | 139 | + <view class="imgview "> |
140 | <image src="{{url+aitem.original_img}}" lazy-load="true" data-errorimg="saleGoods[{{index}}][{{aind}}].original_img" | 140 | <image src="{{url+aitem.original_img}}" lazy-load="true" data-errorimg="saleGoods[{{index}}][{{aind}}].original_img" |
141 | binderror="bind_bnerr3" data-img="{{aitem.original_img}}"></image> | 141 | binderror="bind_bnerr3" data-img="{{aitem.original_img}}"></image> |
142 | 142 |
pages/index/index/index.wxss
@@ -267,7 +267,9 @@ left: 10%; | @@ -267,7 +267,9 @@ left: 10%; | ||
267 | width: 203rpx; | 267 | width: 203rpx; |
268 | height: 226rpx; | 268 | height: 226rpx; |
269 | position: relative; | 269 | position: relative; |
270 | - overflow: hidden | 270 | + overflow: hidden; |
271 | + | ||
272 | + | ||
271 | } | 273 | } |
272 | .imgview image{ | 274 | .imgview image{ |
273 | width: 203rpx; | 275 | width: 203rpx; |
@@ -660,7 +662,7 @@ margin-top: 10rpx; | @@ -660,7 +662,7 @@ margin-top: 10rpx; | ||
660 | margin-top: 6rpx; | 662 | margin-top: 6rpx; |
661 | } | 663 | } |
662 | .seckill-list view.translation{ | 664 | .seckill-list view.translation{ |
663 | - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;margin: auto;line-height: 20rpx; | 665 | + width:108rpx;height:20rpx; border-radius: 20rpx;background:#dfdfdf;margin: auto;line-height: 20rpx; |
664 | } | 666 | } |
665 | .seckill-list view.spot{ | 667 | .seckill-list view.spot{ |
666 | width:10rpx; | 668 | width:10rpx; |
@@ -683,12 +685,12 @@ left: 43%; | @@ -683,12 +685,12 @@ left: 43%; | ||
683 | } | 685 | } |
684 | 686 | ||
685 | .translation{ | 687 | .translation{ |
686 | - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;line-height: 20rpx; | ||
687 | - bottom: 45rpx; | 688 | + width:108rpx;height:20rpx; border-radius: 20rpx;background:#b8d1d6;line-height: 20rpx; |
689 | + bottom: 12rpx; | ||
688 | left: 43%; | 690 | left: 43%; |
689 | } | 691 | } |
690 | .translations{ | 692 | .translations{ |
691 | - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;line-height: 20rpx; | 693 | + width:108rpx;height:20rpx; border-radius: 20rpx;background:#dfdfdf;line-height: 20rpx; |
692 | bottom: 25rpx; | 694 | bottom: 25rpx; |
693 | left: 43%; | 695 | left: 43%; |
694 | } | 696 | } |
@@ -703,4 +705,7 @@ left: 43%; | @@ -703,4 +705,7 @@ left: 43%; | ||
703 | @keyframes sport { | 705 | @keyframes sport { |
704 | 0% {transform: translateY(80rpx);opacity: 0;} | 706 | 0% {transform: translateY(80rpx);opacity: 0;} |
705 | 100% {transform: translateY(0rpx);opacity: 1} | 707 | 100% {transform: translateY(0rpx);opacity: 1} |
708 | +} | ||
709 | +.m-left{ | ||
710 | + margin-left: 18rpx; | ||
706 | } | 711 | } |
707 | \ No newline at end of file | 712 | \ No newline at end of file |