|
@@ -19,14 +19,17 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="rightView">
|
|
|
- <view class="cardName">{{item.ActName}}</view>
|
|
|
+ <view class="firstView">
|
|
|
+ <view class="cardName">{{item.ActName}}</view>
|
|
|
+ <view class="rightBtn" v-if="item.pickNum<=0" @click="lingqu(item, index)">立即领取</view>
|
|
|
+ </view>
|
|
|
<!-- 时间截取 -->
|
|
|
<view class="valid" v-if="item.EndOffsetDays == -1">
|
|
|
{{item.StartTime.slice(0,item.StartTime.length-8)}}至
|
|
|
{{item.EndTime.slice(0,item.EndTime.length-8)}}</view>
|
|
|
<view class="valid" v-else>领取后 {{item.EndOffsetDays}} 天有效</view>
|
|
|
</view>
|
|
|
- <view class="rightBtn" v-if="item.pickNum<=0" @click="lingqu(item, index)">立即领取</view>
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -190,13 +193,14 @@
|
|
|
.content {
|
|
|
background: #F4F5F7;
|
|
|
min-height: 100vh;
|
|
|
- margin-bottom: 120rpx;
|
|
|
+ padding-bottom: 120rpx;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itemContent {
|
|
|
- padding: 20rpx 24rpx;
|
|
|
+ padding: 20rpx 24rpx;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.item {
|
|
@@ -224,13 +228,16 @@
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
- .leftView,
|
|
|
- .rightView {
|
|
|
+ .leftView {
|
|
|
margin-right: 40rpx;
|
|
|
|
|
|
}
|
|
|
.rightView{
|
|
|
flex-grow: 1;
|
|
|
+ }
|
|
|
+ .firstView{
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
}
|
|
|
.moneyView {
|
|
|
display: flex;
|
|
@@ -253,7 +260,10 @@
|
|
|
font-weight: bold;
|
|
|
color: #333333;
|
|
|
margin-top: 10rpx;
|
|
|
- margin-bottom: 15rpx;
|
|
|
+ margin-bottom: 15rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
.valid {
|