fix: 修改样式
This commit is contained in:
parent
928c145f03
commit
489fa0e8a3
6
libs.js
6
libs.js
|
@ -62,8 +62,12 @@ const pageOutTime = (timestamp) => {
|
||||||
diff -= minutes * (1000 * 60);
|
diff -= minutes * (1000 * 60);
|
||||||
const seconds = Math.floor(diff / 1000);
|
const seconds = Math.floor(diff / 1000);
|
||||||
|
|
||||||
|
const hoursPadded = String(hours).padStart(2, "0");
|
||||||
|
const minutesPadded = String(minutes).padStart(2, "0");
|
||||||
|
const secondsPadded = String(seconds).padStart(2, "0");
|
||||||
|
|
||||||
// 返回结果数组
|
// 返回结果数组
|
||||||
return [hours, minutes, seconds];
|
return [hoursPadded, minutesPadded, secondsPadded];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -76,14 +76,14 @@
|
||||||
|
|
||||||
<!-- 立减金 2-->
|
<!-- 立减金 2-->
|
||||||
<div v-if="state.type === 2">
|
<div v-if="state.type === 2">
|
||||||
|
|
||||||
|
<!-- 支付宝 -> 账号领取 -->
|
||||||
|
<div class="bm-red-ljj-bg" v-if="state.channel === 1 && state.receive_mode === 2">
|
||||||
<div class="countdown" v-if="state.outTime.length > 0">
|
<div class="countdown" v-if="state.outTime.length > 0">
|
||||||
<p style="color:#1e6ff8">{{state.outTime[0]}}</p>时
|
<p style="color:#1e6ff8">{{state.outTime[0]}}</p>时
|
||||||
<p style="color:#1e6ff8">{{state.outTime[1]}}</p>分
|
<p style="color:#1e6ff8">{{state.outTime[1]}}</p>分
|
||||||
<p style="color:#1e6ff8">{{state.outTime[2]}}</p>秒
|
<p style="color:#1e6ff8">{{state.outTime[2]}}</p>秒
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 支付宝 -> 账号领取 -->
|
|
||||||
<div class="bm-red-ljj-bg" v-if="state.channel === 1 && state.receive_mode === 2">
|
|
||||||
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/zfbljj-bg.png" alt=""
|
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/zfbljj-bg.png" alt=""
|
||||||
class="ref-bg-img">
|
class="ref-bg-img">
|
||||||
<div class="ljj-btn-img-box">
|
<div class="ljj-btn-img-box">
|
||||||
|
@ -94,7 +94,12 @@
|
||||||
|
|
||||||
<!-- 云闪付 账号领取 -->
|
<!-- 云闪付 账号领取 -->
|
||||||
<div class="bm-red-ljj-bg" v-if="state.channel === 3">
|
<div class="bm-red-ljj-bg" v-if="state.channel === 3">
|
||||||
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/ysfljj-bg.png" alt=""
|
<div class="countdown" v-if="state.outTime.length > 0">
|
||||||
|
<p style="color:#F42E31">{{state.outTime[0]}}</p>时
|
||||||
|
<p style="color:#F42E31">{{state.outTime[1]}}</p>分
|
||||||
|
<p style="color:#F42E31">{{state.outTime[2]}}</p>秒
|
||||||
|
</div>
|
||||||
|
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/ysfljj-bg1.png" alt=""
|
||||||
class="ref-bg-img">
|
class="ref-bg-img">
|
||||||
<div class="ljj-btn-img-box">
|
<div class="ljj-btn-img-box">
|
||||||
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/ysf-btn.png" alt=""
|
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/bm-img/ysf-btn.png" alt=""
|
||||||
|
|
Loading…
Reference in New Issue