|
@@ -194,11 +194,14 @@
|
|
<view class="top-up-title oldTextjp" oldstyle="font-size:20px;"><text class="line"></text>最新活动</view>
|
|
<view class="top-up-title oldTextjp" oldstyle="font-size:20px;"><text class="line"></text>最新活动</view>
|
|
<view class="img-box2">
|
|
<view class="img-box2">
|
|
<view class="left-image">
|
|
<view class="left-image">
|
|
- <img src="../../assets/img/topup1.png" alt="">
|
|
|
|
|
|
+ <p>充电免服务费包月卡</p>
|
|
|
|
+ <view class="time-activities">
|
|
|
|
+ 限时活动 <text class="time">127:59:59</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="right-image" v-if="activityList.length > 0">
|
|
<view class="right-image" v-if="activityList.length > 0">
|
|
|
|
|
|
- <img v-for="(item,index) in activityList" :key="item.id"
|
|
|
|
|
|
+ <img class="margin-bottom" v-for="(item,index) in activityList" :key="item.id"
|
|
@click="rechargeActivity(index)" :src="item.picUrl" alt="">
|
|
@click="rechargeActivity(index)" :src="item.picUrl" alt="">
|
|
<!-- <img class="margin-top" src="../../assets/img/topup3.png" alt=""> -->
|
|
<!-- <img class="margin-top" src="../../assets/img/topup3.png" alt=""> -->
|
|
</view>
|
|
</view>
|
|
@@ -1106,13 +1109,39 @@
|
|
}
|
|
}
|
|
.left-image{
|
|
.left-image{
|
|
width: 48.3%;
|
|
width: 48.3%;
|
|
|
|
+ height: 166px;
|
|
|
|
+ padding: 8px 0 0 12px;
|
|
|
|
+ background: url(@/assets/img/topup1.png);
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: 30% 10%;
|
|
|
|
+ background-size: cover;
|
|
|
|
+ p{
|
|
|
|
+ color: rgba(56, 47, 33, 100);
|
|
|
|
+ font-size: 24px;
|
|
|
|
+ line-height: 28px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ .time-activities{
|
|
|
|
+ color: rgba(56, 39, 14, 100);
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ line-height: 22px;
|
|
|
|
+ margin-top: 4px;
|
|
|
|
+ .time{
|
|
|
|
+ margin-left: 4px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.right-image{
|
|
.right-image{
|
|
width: 48.3%;
|
|
width: 48.3%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
.margin-top{
|
|
.margin-top{
|
|
margin-top: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
|
|
+
|
|
img{
|
|
img{
|
|
height: 77px;
|
|
height: 77px;
|
|
|
|
|