xiaowen 3 years ago
commit 107d71edbb

@ -5,10 +5,11 @@
</scroll-view>
<view class="top">
<view wx:for="{{toplist}}" wx:key="url" class="top_box">
<view class="box_image">
<!-- <view class="box_image">
<image style="width: 100%;height: 100%;" src="{{item.url}}"></image>
</view>
</view> -->
<view class="box_bot">
<image style="width: 100%;height: 100%;" src="{{item.url}}"></image>
<view class="box_title">{{item.title}}</view>
<view class="box_num">{{item.num}}</view>
</view>

@ -28,10 +28,10 @@ background: #F0F5FF;
height: 556rpx;
width: 100%;
border-bottom-left-radius: 56rpx;
display: flex;
/* display: flex; */
/* overflow: scroll; */
padding-left: 1rem;
padding-right: 1rem;
/* padding-left: 1rem;
padding-right: 1rem; */
/* position: sticky; */
top: 0rpx;
z-index: 5;
@ -42,18 +42,16 @@ background: #F0F5FF;
}
.top_box {
background-color: white;
padding-top: 0.4rem;
/* padding-top: 0.4rem; */
flex-shrink: 0;
width: 160rpx;
height: 228rpx;
width: 350rpx;
height: 350rpx;
border-radius: 10%;
margin-top: 266rpx;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-around;
justify-content: center;
padding-left: 36rpx;
margin-right: 1rem;
z-index: 10;
}
.box_image {

Loading…
Cancel
Save