Browse Source

优化 服务团 服务对样式

release
zhaoyongnian 3 years ago
parent
commit
ca9c7231a9
  1. 37
      pages/heartNew/heartNew.wxml
  2. 18
      pages/heartNew/heartNew.wxss

37
pages/heartNew/heartNew.wxml

@ -116,7 +116,7 @@
</view>
</view>
</view>
<view class="container">
<!-- <view class="container">
<view class="tab-container">
<view
class="default {{volunteerlistType=='expend'? 'expend-active': ''}}"
@ -129,8 +129,11 @@
data-type="earning"
>服务队</view>
</view>
</view>
<block wx:if="{{volunteerlistType=='expend'}}">
</view> -->
<!-- <block wx:if="{{volunteerlistType=='expend'}}"> -->
<view class="new-add">
<view class="new-title">服务团 :</view>
<view class="new-content">
<scroll-view scroll-x="{{true}}" class="scroll-tag">
<view class="volunteer-tag">
<view class="tag {{volunteerTagId == item.id ? 'sel' : ''}}" wx:for="{{tagGroupList}}" wx:key="index" data-id="{{item.id}}" bindtap="changeTag">
@ -138,8 +141,19 @@
</view>
</view>
</scroll-view>
</block>
<block wx:if="{{volunteerlistType=='earning'}}">
</view>
<!-- <scroll-view scroll-x="{{true}}" class="scroll-tag">
<view class="volunteer-tag">
<view class="tag {{volunteerTagId == item.id ? 'sel' : ''}}" wx:for="{{tagGroupList}}" wx:key="index" data-id="{{item.id}}" bindtap="changeTag">
{{item.tagName}}
</view>
</view>
</scroll-view> -->
</view>
<view class="new-add">
<view class="new-title">服务队 :</view>
<view class="new-content">
<scroll-view scroll-x="{{true}}" class="scroll-tag">
<view class="volunteer-tag">
<view class="tag {{volunteerTagId == item.id ? 'sel' : ''}}" wx:for="{{tagTeamList}}" wx:key="index" data-id="{{item.id}}" bindtap="changeTag">
@ -147,7 +161,18 @@
</view>
</view>
</scroll-view>
</block>
</view>
</view>
<!-- </block> -->
<!-- <block wx:if="{{volunteerlistType=='earning'}}"> -->
<!-- <scroll-view scroll-x="{{true}}" class="scroll-tag">
<view class="volunteer-tag">
<view class="tag {{volunteerTagId == item.id ? 'sel' : ''}}" wx:for="{{tagTeamList}}" wx:key="index" data-id="{{item.id}}" bindtap="changeTag">
{{item.tagName}}
</view>
</view>
</scroll-view> -->
<!-- </block> -->
</view>
<view class="volunteer-box">
<volunteer-list bind:clickImage="clickImage" wx:for="{{volunteerlist}}" volunteerItemObj="{{item}}" wx:for-index="index" wx:for-item="item" wx:key="index"></volunteer-list>

18
pages/heartNew/heartNew.wxss

@ -627,3 +627,21 @@ button:last-child {
text-align: center;
background-color: rgba(229, 15, 0, 1);
}
.new-add {
width: 100%;
height: auto;
display: flex;
align-items: center;
/* justify-content: center; */
}
.new-add .new-title {
text-align: left;
width: 120rpx;
font-size: 30rpx;
color: #333333;
font-weight: 900;
}
.new-add .new-content{
width: calc(100% - 120rpx);
}
Loading…
Cancel
Save