Commit b2f40fe8 by chenwq

样式

1 parent 3d9a0a35
...@@ -132,15 +132,15 @@ ...@@ -132,15 +132,15 @@
background: #F7F8FC; background: #F7F8FC;
border-radius: 20rpx; border-radius: 20rpx;
margin-top: 16rpx; margin-top: 16rpx;
padding: 0 12rpx;
.rank-title { .rank-title {
position: relative; position: relative;
height: 52rpx; height: 72rpx;
line-height: 52rpx; line-height: 72rpx;
text-align: center; text-align: center;
font-size: 20rpx; font-size: 20rpx;
color: #5A6066; color: #5A6066;
margin-bottom: 20rpx;
border-bottom: 1rpx solid rgba(204, 206, 209, 0.50); border-bottom: 1rpx solid rgba(204, 206, 209, 0.50);
// .activity-status { // .activity-status {
...@@ -154,21 +154,79 @@ ...@@ -154,21 +154,79 @@
.rank-table { .rank-table {
color: #5A6066; color: #5A6066;
font-size: 20rpx; font-size: 20rpx;
padding-left: 20rpx;
.rank { .rank {
display: flex; display: flex;
justify-content: space-between;
height: 64rpx; height: 64rpx;
padding-bottom: 16rpx; padding: 20rpx 16rpx;
border-bottom: 1rpx dotted rgba(204, 206, 209, 0.50);
.rank-left {
display: flex;
}
&-num { &-num {
width: 40rpx; width: 40rpx;
line-height: 64rpx; line-height: 64rpx;
text-align: center;
} }
.rank-head { .rank-head {
width: 64rpx; width: 64rpx;
height: 64rpx; height: 64rpx;
margin-right: 12rpx;
}
.rank-content {
font-size: 20rpx;
.rank-row {
display: flex;
height: 32rpx;
line-height: 32rpx;
margin-bottom: 8rpx;
&-name {
font-size: 24rpx;
color: #3666FE;
margin-right: 12rpx;
}
&-dept {
color: #8A8C90;
}
&-txt {
color: rgba(90, 96, 102, 1);
padding: 0 10rpx 0 0;
}
&-txt::after {
display: inline-block;
content: '';
background-color: #CCCED1;
width: 1.2rpx;
height: 54%;
margin-left: 10rpx;
}
&-txt:last-child::after {
background-color: transparent;
}
}
.rank-row:last-child {
margin-bottom: 0;
}
}
.rank-price {
text-align: right;
font-size: 26rpx;
color: #F35251;
height: 64rpx;
line-height: 64rpx;
} }
// .th, // .th,
...@@ -184,6 +242,10 @@ ...@@ -184,6 +242,10 @@
// } // }
} }
.rank:last-child {
border: none;
}
.tr-no-data { .tr-no-data {
text-align: center; text-align: center;
height: 32rpx; height: 32rpx;
...@@ -194,11 +256,16 @@ ...@@ -194,11 +256,16 @@
.btn-more { .btn-more {
height: 56rpx; height: 56rpx;
line-height: 56rpx; line-height: 56rpx;
color: #5A6066; // color: #5A6066;
border: 2rpx solid #EEEEEE; // border: 2rpx solid #EEEEEE;
border-radius: 28rpx; // border-radius: 28rpx;
text-align: center; text-align: center;
margin: 0 20rpx 16rpx; margin: 0 20rpx;
.icon-more {
width: 92rpx;
height: 36rpx;
}
} }
} }
} }
......
...@@ -68,30 +68,32 @@ ...@@ -68,30 +68,32 @@
</view> </view>
</view> --> </view> -->
<view class="rank-table"> <view class="rank-table">
<block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx"> <view wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="rank"> <view class="rank">
<view class="rank-num">{{idx + 1}}</view> <view class="rank-left">
<glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image> <view class="rank-num">{{idx + 1}}</view>
<view> <glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image>
<view> <view class="rank-content">
<text>{{subItem.shareName}}</text> <view class="rank-row">
<text>运营部</text> <text class="rank-row-name">{{subItem.shareName}}</text>
</view> <text class="rank-row-dept">运营部</text>
<view> </view>
<text>访客</text> <view class="rank-row">
<text>成交</text> <text class="rank-row-txt">访客136人</text>
<text class="rank-row-txt">成交</text>
</view>
</view> </view>
</view> </view>
<view>¥{{subItem.totalAmount}}</view> <view class="rank-price">¥ {{subItem.totalAmount}}</view>
<!-- <view class="td text-hide" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j"> <!-- <view class="td text-hide" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j">
<view wx:if="{{j == 0}}">{{idx + 1}}</view> <view wx:if="{{j == 0}}">{{idx + 1}}</view>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text> <text wx:if="{{i.prefix}}">{{i.prefix}}</text>
{{subItem[i.name]}} {{subItem[i.name]}}
</view> --> </view> -->
</view> </view>
</block> </view>
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}"> <view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">
查看更多 <glsx-image class="icon-more" src="output/icon-more.webp"></glsx-image>
</view> </view>
</view> </view>
</view> </view>
...@@ -112,5 +114,4 @@ ...@@ -112,5 +114,4 @@
</view> </view>
</view> </view>
</view> </view>
<crowdfund-poster item="{{posterItem}}" id="poster" bindlongtouch="longtouch" /> <crowdfund-poster item="{{posterItem}}" id="poster" bindlongtouch="longtouch" />
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!