|
@@ -262,8 +262,11 @@ function mygift() {
|
|
|
|
|
|
function playVideo() {
|
|
|
let url = "https://cxzx.smcic.net/topic/tool/media/ad.mp4";
|
|
|
- if (Math.random() >= 0.5)
|
|
|
+ const random = Math.random();
|
|
|
+ if (random >= 0.3 && random < 0.6)
|
|
|
url = "https://cxzx.smcic.net/topic/tool/media/changanhua.M4V";
|
|
|
+ else if (random >= 0.3)
|
|
|
+ url = "https://cxzx.smcic.net/topic/tool/media/qinnongbank.mp4";
|
|
|
emits("showVideo", url);
|
|
|
}
|
|
|
|
|
@@ -366,14 +369,14 @@ defineExpose({
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
-.van-card__title{
|
|
|
- font-size: 14px;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
+.van-card__title {
|
|
|
+ font-size: 14px;
|
|
|
+ height: 50px;
|
|
|
+ line-height: 50px;
|
|
|
}
|
|
|
-.van-card__bottom{
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
+.van-card__bottom {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
}
|
|
|
.eight {
|
|
|
.van-col {
|