xiaowen 3 years ago
commit 107d71edbb

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

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

Loading…
Cancel
Save