Files
peko-h5/view/peko/modules/rule_shenghai/red-packet-rule.html

71 lines
1.8 KiB
HTML
Raw Normal View History

2023-02-15 14:50:47 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>红包规则</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<style>
body {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 15px;
}
.title {
font-weight: bold;
}
.title,
p {
line-height: 22px;
margin-bottom: 16px;
}
.noBottom {
margin-bottom: 0;
}
.tit {
width: 100%;
text-align: center;
line-height: 40px;
font-weight: bold;
font-size: 16px;
}
</style>
</head>
<body>
<!-- <p class="tit">红包规则</p> -->
<p>1、发红包收取<span></span>%的手续费不足1鉆石则取整到1鉆石</p>
<p>2、厅内发红包会发送到直播间增加直播间的活跃</p>
<p>3、抢到红包的用户会自动关注房主发红包直播间和发红包的用户</p>
<p>4、每个用户抢到的鉆石数将随机分配</p>
<!-- <p>5、抢到礼物红包的用户会在礼物面板背包中使用时与正常送出的礼物完全相同</p> -->
<p>5、未领取的红包会在30分钟之后发起退款</p>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script>
let urlPrefix = getUrlPrefix()
getInfoFromClient()
setTimeout(() => {
networkRequest({
type: 'GET',
url: urlPrefix + '/client/init',
success(res) {
if (res.code === 200) {
let num = 100 - res.data.redEnvelopeConfig.exchangeDiamondsRate * 100
$('span').html(num)
}
}
})
}, 50)
</script>
</body>
</html>