Compare commits
25 Commits
master
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
![]() |
98e98b8d0a | ||
![]() |
6674cd5d19 | ||
![]() |
3d755e72c2 | ||
![]() |
9872bbde1e | ||
![]() |
63dfd178b8 | ||
![]() |
1d5a2afcb1 | ||
![]() |
d61d352a6b | ||
![]() |
b7848b6b46 | ||
![]() |
260a862cd0 | ||
![]() |
db4564f660 | ||
![]() |
e43bb067f4 | ||
![]() |
303c1a8d9c | ||
![]() |
8b32164c0d | ||
![]() |
34a9af2269 | ||
![]() |
fd8bde036a | ||
![]() |
68a7047088 | ||
![]() |
c968a1474c | ||
![]() |
6488013cdb | ||
![]() |
2f6504eb6c | ||
![]() |
8f2f7844c6 | ||
![]() |
abc10de889 | ||
![]() |
e15b444529 | ||
![]() |
abfd45dff3 | ||
![]() |
7ac90ab207 | ||
![]() |
adb0d95b02 |
1387
view/peko/activity/2024-aprilFoolsDay/css/index.css
Normal file
1421
view/peko/activity/2024-aprilFoolsDay/css/index.scss
Normal file
BIN
view/peko/activity/2024-aprilFoolsDay/images/MagicBoxRule1.png
Normal file
After Width: | Height: | Size: 232 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/MagicBoxRule1Bg.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/MagicBoxRule2.png
Normal file
After Width: | Height: | Size: 252 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/MagicBoxRule2Bg.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/day.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/dayAct.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/diamond.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/go.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/header.png
Normal file
After Width: | Height: | Size: 455 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/limitedGift.png
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/limitedGift_in.png
Normal file
After Width: | Height: | Size: 299 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/notGo.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pag2bg.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Box1timeBg.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Box2.png
Normal file
After Width: | Height: | Size: 202 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Box2My.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Box2TopBg.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1LiBg.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Top1.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Top2.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page1Top3.png
Normal file
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 23 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page2RoomTop.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page2TabAct1.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page2TabAct2.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page2ToRoomBut.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page2ToRoomBut2.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page3.png
Normal file
After Width: | Height: | Size: 234 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page4Bg1.png
Normal file
After Width: | Height: | Size: 341 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/page4Bg2.png
Normal file
After Width: | Height: | Size: 356 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1.png
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift1.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift2.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift3.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift4.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift5.png
Normal file
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 2.7 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1qp.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/pageBox1qpAct.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.3 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/rule.png
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/rule_icon.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/rule_in.png
Normal file
After Width: | Height: | Size: 414 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tab1.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tab2.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tab3.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tab4.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tabAct1.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tabAct2.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tabAct3.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/tabAct4.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/timeTab.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/timeTabAct.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/travel/back.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/upDate.png
Normal file
After Width: | Height: | Size: 945 B |
269
view/peko/activity/2024-aprilFoolsDay/index.html
Normal file
@@ -0,0 +1,269 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>愚樂派對</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 頂部返回 -->
|
||||
<div class="back">
|
||||
<img src="./images/travel/back.png" alt="">
|
||||
</div>
|
||||
|
||||
<!-- 頭部 -->
|
||||
<div class="header">
|
||||
<!-- 限定禮物 -->
|
||||
<img src="./images/qualifyGift_icon.png" alt="" class="qualifyGift_icon">
|
||||
<!-- 活動規則 -->
|
||||
<img src="./images/rule_icon.png" alt="" class="rule_icon">
|
||||
</div>
|
||||
|
||||
<!-- tab切換 -->
|
||||
<div class="tabs">
|
||||
<div class="tab1 act1"></div>
|
||||
<div class="tab2"></div>
|
||||
<div class="tab3"></div>
|
||||
<div class="tab4"></div>
|
||||
</div>
|
||||
|
||||
<!-- 頁面1 -->
|
||||
<div class="page1">
|
||||
<!-- 奇幻魔盒 -->
|
||||
<div class="box1">
|
||||
<img src="./images/pageBox1Rule_icon.png" alt="" class="pageBox1Rule_icon">
|
||||
<div class="time">3分鐘倒計時: <span class="sp1">03</span> 分 <span class="sp2">00</span> 秒</div>
|
||||
<div class="text">用戶在送出第一個奇幻魔盒後開啓3分鐘倒計時,<br>在此期間內點亮所有禮物,可獲得<b>【愚人慶典】</b>禮物*1</div>
|
||||
<div class="giftBoxs">
|
||||
<!-- <div class="">
|
||||
<img src="./images/pageBox1Gift1.png" alt="">
|
||||
撲克士兵
|
||||
</div>
|
||||
<div>
|
||||
<img src="./images/pageBox1Gift2.png" alt="">
|
||||
咬咬鯊
|
||||
</div>
|
||||
<div>
|
||||
<img src="./images/pageBox1Gift3.png" alt="">
|
||||
兔子先生
|
||||
</div>
|
||||
<div>
|
||||
<img src="./images/pageBox1Gift4.png" alt="">
|
||||
甜心魔法
|
||||
</div>
|
||||
<div>
|
||||
<img src="./images/pageBox1Gift5.png" alt="">
|
||||
奇趣雜技
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 奇幻榜 -->
|
||||
<div class="box2">
|
||||
<!-- 前三 -->
|
||||
<div class="top3">
|
||||
<div class="no1">
|
||||
<img src="./images/page1Top1.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
<div class="no2">
|
||||
<img src="./images/page1Top2.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/page1Top3.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 非前三 -->
|
||||
<ul>
|
||||
<!-- <li>
|
||||
<div class="num">1.</div>
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值: 20</div>
|
||||
</li> -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 自己榜單 -->
|
||||
<div class="my">
|
||||
<div class="num">1.</div>
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值: 20</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 頁面2 -->
|
||||
<div class="page2">
|
||||
<!-- 更新 -->
|
||||
<img src="./images/upDate.png" alt="" class="upDate">
|
||||
<!-- 切換 -->
|
||||
<div class="tab">
|
||||
<div class="act1">牌照房間</div>
|
||||
<div class="">個播房間</div>
|
||||
</div>
|
||||
<!-- 第一名房間 -->
|
||||
<div class="topRoom">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="roomName">房間昵稱</div>
|
||||
<div class="score">房間進度值: <b>00.0%</b></div>
|
||||
</div>
|
||||
<!-- 第一名進度 -->
|
||||
<div class="topLine">
|
||||
<div></div>
|
||||
<span>0/0</span>
|
||||
</div>
|
||||
<!-- 文案介紹 -->
|
||||
<div class="text">房間進度值達到100%,即可開啓紅包雨</div>
|
||||
<!-- 第一名房間跳轉 -->
|
||||
<img src="./images/page2ToRoomBut.png" alt="" class="page2ToRoomBut">
|
||||
<div class="page2NotTopTitle">其他房間推薦</div>
|
||||
<!-- 其他房間 -->
|
||||
<ul>
|
||||
<li>
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="live">直播中</div>
|
||||
<div class="roomName">房間昵稱</div>
|
||||
<div class="score">房間進度值: <b>00.0%</b></div>
|
||||
<div class="line_in">
|
||||
<div></div>
|
||||
<span>0/0</span>
|
||||
</div>
|
||||
<img src="./images/go.png" alt="" class="go">
|
||||
<img src="./images/notGo.png" alt="" class="notGo">
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 頁面3 -->
|
||||
<div class="page3"></div>
|
||||
|
||||
<!-- 頁面4 -->
|
||||
<div class="page4 page41">
|
||||
<!-- 切換 -->
|
||||
<div class="page4_tab">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<!-- 日榜總榜切換 -->
|
||||
<div class="dayTab">
|
||||
<div class="act">日榜</div>
|
||||
<div>總榜</div>
|
||||
</div>
|
||||
<!-- 日期切換 -->
|
||||
<div class="timeTab">
|
||||
<div class="act">3.27</div>
|
||||
<div>3.27</div>
|
||||
<div>3.27</div>
|
||||
<div>3.27</div>
|
||||
<div>3.27</div>
|
||||
<div>3.27</div>
|
||||
</div>
|
||||
<!-- 前三 -->
|
||||
<div class="top3">
|
||||
<div class="no1">
|
||||
<img src="./images/page1Top1.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
<div class="no2">
|
||||
<img src="./images/page1Top2.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/page1Top3.png" alt="" class="ts">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值:0</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 非前三 -->
|
||||
<ul>
|
||||
<li>
|
||||
<div class="num">1.</div>
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值: 20</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- 自己榜單 -->
|
||||
<div class="my">
|
||||
<div class="num">1.</div>
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick">用戶昵稱</div>
|
||||
<div class="score">奇幻值: 20</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 魔盒說明 -->
|
||||
<div class="MagicBoxRule">
|
||||
<div class="MagicBoxRule_in MagicBoxRule1">
|
||||
<!-- 切換 -->
|
||||
<div class="tab">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<!-- 切換頁面1 -->
|
||||
<img src="./images/MagicBoxRule1Bg.png" alt="" class="MagicBoxRulePage1">
|
||||
<!-- 切換頁面2 -->
|
||||
<div class="MagicBoxRulePage2">
|
||||
<ul>
|
||||
<li>
|
||||
<div>
|
||||
<p>2024/3/19</p>
|
||||
<b>14:07:07</b>
|
||||
</div>
|
||||
<div class="centen">用戶昵稱</div>
|
||||
<div class="right">
|
||||
<p>獲得:禮物名稱</p>
|
||||
<b>0 <img src="./images/diamond.png" alt=""></b>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 活動規則 -->
|
||||
<div class="rule">
|
||||
<div class="rule_in">
|
||||
<div class="box">
|
||||
<img src="./images/rule_in.png" alt="" srcset="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 限定禮物規則 -->
|
||||
<div class="limitedGift">
|
||||
<div class="limitedGift_in">
|
||||
<div class="box">
|
||||
<img src="./images/limitedGift_in.png" alt="" srcset="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
</html>
|
||||
<script src="../../common/js/flexible.js"></script>
|
||||
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../../common/js/common2.js"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="./js/index.js"></script>
|
566
view/peko/activity/2024-aprilFoolsDay/js/index.js
Normal file
@@ -0,0 +1,566 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
type: 2,
|
||||
shadeClose: false,
|
||||
content,
|
||||
success (e) {
|
||||
layerIndex = $(e).attr('index')
|
||||
}
|
||||
})
|
||||
}
|
||||
const hideLoading = (index) => {
|
||||
layer.close(index)
|
||||
}
|
||||
const toastMsg = (content = '操作完成', time = 2) => {
|
||||
layer.open({
|
||||
content,
|
||||
time,
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
var page = 1;
|
||||
var isLock = true;
|
||||
var timeOut = null;
|
||||
var countupTime = 0;
|
||||
var XIAO_CHOU_ROOM = 'XIAO_CHOU_ROOM_1';
|
||||
var rankType = 1; //排行榜類型(1=送禮日榜,2=送禮總榜,3=收禮日榜,4=收禮總榜);
|
||||
var data = null;//默認日榜;
|
||||
var type = 'a';//a:送禮b:收禮;
|
||||
var type2 = 'a';//a:日榜b:總榜;
|
||||
var curDate; //當天日期;
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
getInfoFromClient()
|
||||
setTimeout(function () {
|
||||
// 頁面全屏
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.initShowNav(false)
|
||||
} else {
|
||||
window.webkit.messageHandlers.initShowNav.postMessage(0)
|
||||
}
|
||||
};
|
||||
// 頂部返回事件
|
||||
$('.back').click(() => {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.closeWebView()
|
||||
} else {
|
||||
window.webkit.messageHandlers.closeWebView.postMessage(null)
|
||||
}
|
||||
})
|
||||
getTime();
|
||||
getRank();
|
||||
}, 100)
|
||||
})
|
||||
|
||||
// 獲取任務接口
|
||||
function getTaskUser () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/activity/task/user',
|
||||
data: { componentCode: "QI_HUAN_MO_HE" },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
// 渲染愚人盛典禮物
|
||||
$('.page1 .box1 .giftBoxs div').remove();
|
||||
var str = '';
|
||||
res.data[0].children.forEach((res, i) => {
|
||||
var img = res.taskIcon.split("|");
|
||||
str += `
|
||||
<div class="${res.completed ? 'act' : ''}">
|
||||
<img src = "${res.completed ? img[1] : img[0]}" alt = "" >
|
||||
${res.taskName}
|
||||
</div >
|
||||
`
|
||||
});
|
||||
$('.page1 .box1 .giftBoxs').append(str);
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 獲取倒計時接口
|
||||
function getTime () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/act/2024AprilFoolsDay/getTime',
|
||||
data: { activityCode: "ACT_2024_APRIL_FOOLS_DAY", taskCode: "QI_HUAN_GIFT" },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
if (res.data) {
|
||||
countupTime = res.data - res.timestamp;
|
||||
countup();
|
||||
}
|
||||
getTaskUser();
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 倒計時
|
||||
function countup () {
|
||||
clearTimeout(timeOut)
|
||||
//獲取當前時間
|
||||
var d = 0;
|
||||
var h = 0;
|
||||
var m = 0;
|
||||
var s = 0;
|
||||
//定義變量 d,h,m,s保存倒計時的時間
|
||||
var d, h, m, s;
|
||||
if (countupTime >= 0) {
|
||||
d = getzf(Math.floor(countupTime / 1000 / 60 / 60 / 24));
|
||||
h = getzf(Math.floor(countupTime / 1000 / 60 / 60 % 24));
|
||||
m = getzf(Math.floor(countupTime / 1000 / 60 % 60));
|
||||
s = getzf(Math.floor(countupTime / 1000 % 60));
|
||||
//將倒計時賦值到div中
|
||||
$('.page1 .box1 .time .sp1').text(m);
|
||||
$('.page1 .box1 .time .sp2').text(s);
|
||||
countupTime = countupTime - 1000;
|
||||
//遞歸每秒調⽤countTime⽅法,顯⽰動態時間效果
|
||||
} else {
|
||||
getTime();
|
||||
return
|
||||
}
|
||||
timeOut = setTimeout(countup, 1000);
|
||||
}
|
||||
//補0操作
|
||||
function getzf (num) {
|
||||
if (parseInt(num) < 10) {
|
||||
num = '0' + num;
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// tab切換
|
||||
$('.tabs div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.tabs div').removeClass('act1').removeClass('act2').removeClass('act3').removeClass('act4');
|
||||
$(this).addClass(`act${i}`);
|
||||
$('.page1,.page2,.page3,.page4').hide();
|
||||
$(`.page${i}`).show();
|
||||
if (i == 1) {
|
||||
getRank();
|
||||
} else if (i == 2) {
|
||||
getRooms();
|
||||
} else if (i == 4) {
|
||||
giftGetRank(rankType, data);
|
||||
}
|
||||
})
|
||||
|
||||
// 更新房間接口按鈕
|
||||
$('.page2 .upDate').click(function () {
|
||||
getRooms();
|
||||
})
|
||||
|
||||
// 獲取奇幻榜接口
|
||||
function getRank () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/act/2023Halloween/rank/getRank',
|
||||
data: { rankType: 4, pageSize: 15, },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
// 處理前三
|
||||
var top3 = res.data.rankList.slice(0, 3);
|
||||
var notTop3 = res.data.rankList.slice(3);
|
||||
if (top3.length < 3) {
|
||||
let arr = new Array(3 - top3.length).fill({
|
||||
avatar: './images/logo.png',
|
||||
nick: '虛位以待',
|
||||
score: "0"
|
||||
})
|
||||
top3.push(...arr)
|
||||
}
|
||||
top3.forEach((res, i) => {
|
||||
$(`.page1 .box2 .top3 .no${i + 1} .tx`).attr('src', res.avatar);
|
||||
$(`.page1 .box2 .top3 .no${i + 1} .nick`).text(res.nick);
|
||||
$(`.page1 .box2 .top3 .no${i + 1} .score`).html('奇幻值<br>' + unitProcessing(res.score, 10000, 1, 'w'))
|
||||
})
|
||||
// 非前三
|
||||
var str = '';
|
||||
$('.page1 .box2 ul li').remove();
|
||||
notTop3.forEach((res, i) => {
|
||||
str += `
|
||||
<li>
|
||||
<div class="num">${res.ranking}.</div>
|
||||
<img src="${res.avatar}" alt="" class="tx">
|
||||
<div class="nick">${res.nick}</div>
|
||||
<div class="score">奇幻值: ${unitProcessing(res.score, 10000, 1, 'w')}</div>
|
||||
</li>
|
||||
`
|
||||
})
|
||||
$('.page1 .box2 ul').append(str);
|
||||
// 處理自己榜單
|
||||
$('.page1 .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
|
||||
$('.page1 .my .tx').attr('src', res.data.meRank.avatar);
|
||||
$('.page1 .my .nick').text(res.data.meRank.nick);
|
||||
$('.page1 .my .score').text('奇幻值' + unitProcessing(res.data.meRank.score, 10000, 1, 'w'));
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 頁面2切換
|
||||
$('.page2 .tab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.page2 .tab div').removeClass('act1').removeClass('act2');
|
||||
$(this).addClass(`act${i}`);
|
||||
XIAO_CHOU_ROOM = i == 1 ? 'XIAO_CHOU_ROOM_1' : 'XIAO_CHOU_ROOM_4';
|
||||
getRooms();
|
||||
})
|
||||
|
||||
// 獲取房間榜接口
|
||||
function getRooms () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/act/2024AprilFoolsDay/getRooms',
|
||||
data: { activityCode: "ACT_2024_APRIL_FOOLS_DAY", taskCode: XIAO_CHOU_ROOM },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
var top = res.data.slice(0, 1);
|
||||
if (top.length < 3) {
|
||||
let arr = new Array(1 - top.length).fill({
|
||||
roomAvatar: './images/logo.png',
|
||||
roomTitle: '虛位以待',
|
||||
percentage: 0,
|
||||
activityValue: 0,
|
||||
conditionValue: 0,
|
||||
})
|
||||
top.push(...arr)
|
||||
}
|
||||
console.log(top);
|
||||
var notTop = res.data.slice(1);
|
||||
// 第一房間
|
||||
$('.page2 .topRoom .tx').attr('src', top[0].roomAvatar);
|
||||
$('.page2 .topRoom .roomName').text(top[0].roomTitle);
|
||||
$('.page2 .topRoom .score b').text(top[0].percentage + '%');
|
||||
$('.page2 .topLine div').css('width', top[0].percentage + '%');
|
||||
$('.page2 .topLine span').text(`${top[0].activityValue}/${top[0].conditionValue}`);
|
||||
$('.page2 .page2ToRoomBut').attr("uid", top[0].roomUid);
|
||||
$('.page2 .page2ToRoomBut').attr("src", top[0].isUnderway ? './images/page2ToRoomBut.png' : './images/page2ToRoomBut2.png');
|
||||
$('.page2 .page2ToRoomBut').attr("isUnderway", top[0].isUnderway);
|
||||
// 其他房間
|
||||
$('.page2 ul li').remove();
|
||||
var str = '';
|
||||
notTop.forEach(res => {
|
||||
str += `
|
||||
<li>
|
||||
<img src="${res.roomAvatar}" alt="" class="tx">
|
||||
<div class="live" style="display:${res.isLive ? 'block' : 'none'}">直播中</div>
|
||||
<div class="roomName">${res.roomTitle}</div>
|
||||
<div class="score">房間進度值: <b>${res.percentage}%</b></div>
|
||||
<div class="line_in">
|
||||
<div style="width:${res.percentage}%"></div>
|
||||
<span>${res.activityValue}/${res.conditionValue}</span>
|
||||
</div>
|
||||
<img style="display:${res.isUnderway ? 'block' : 'none'}" src="./images/go.png" alt="" class="go" uid=${res.roomUid}>
|
||||
<img style="display:${!res.isUnderway ? 'block' : 'none'}" src="./images/notGo.png" alt="" class="notGo" uid=${res.roomUid}>
|
||||
</li>
|
||||
`
|
||||
})
|
||||
$('.page2 ul').append(str);
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 房間最前面的跳轉按鈕
|
||||
$('.page2 .page2ToRoomBut').click(function () {
|
||||
var uid = $(this).attr('uid');
|
||||
var isUnderway = $(this).attr('isUnderway');
|
||||
if (isUnderway) {
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openRoom.postMessage(uid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openRoom(uid);
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
// 其他房間跳轉房間按鈕
|
||||
$('.page2 ul').on('click', ' li .go', function () {
|
||||
var uid = $(this).attr('uid');
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openRoom.postMessage(uid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openRoom(uid);
|
||||
}
|
||||
}
|
||||
})
|
||||
// 其他房間跳轉房間按鈕
|
||||
$('.page2 ul').on('click', ' li .notGo', function () {
|
||||
var uid = $(this).attr('uid');
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openRoom.postMessage(uid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openRoom(uid);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// 頁面4切換
|
||||
$('.page4 .page4_tab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.page4').removeClass('page41').removeClass('page42');
|
||||
$('.page4').addClass(`page4${i}`);
|
||||
if (i == 1) {
|
||||
type = 'a';
|
||||
rankType = type2 == "a" ? 1 : 2;
|
||||
} else {
|
||||
type = 'b';
|
||||
rankType = type2 == "a" ? 3 : 4;
|
||||
}
|
||||
giftGetRank(rankType, data);
|
||||
})
|
||||
|
||||
// 頁面4 日榜/總榜切換
|
||||
$('.page4 .dayTab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$(this).addClass('act').siblings().removeClass('act')
|
||||
if (i == 1) {
|
||||
type2 = 'a';
|
||||
rankType = type == "a" ? 1 : 3;
|
||||
$('.page4 .timeTab').show();
|
||||
} else {
|
||||
type2 = 'b';
|
||||
rankType = type == "a" ? 2 : 4;
|
||||
$('.page4 .timeTab').hide();
|
||||
}
|
||||
giftGetRank(rankType, data);
|
||||
})
|
||||
|
||||
// 頁面4 日期切換
|
||||
$('.page4 .timeTab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
var datas = $(this).attr('data');
|
||||
$(this).addClass('act').siblings().removeClass('act')
|
||||
rankType = type == "a" ? 1 : 3;//排行榜類型(1=甜蜜日榜,2=甜蜜總榜,3=愛意日榜,4=愛意總榜)
|
||||
data = datas;
|
||||
giftGetRank(rankType, data);
|
||||
})
|
||||
|
||||
// 獲取愚人榜單接口
|
||||
function giftGetRank (rankType, date) {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/act/special/gift/getRank',
|
||||
data: { rankType, date, pageSize: 30 },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
// 設置當天日期
|
||||
curDate = res.data.curDate;
|
||||
// 處理日期
|
||||
if (res.data.dateList) {
|
||||
res.data.dateList.forEach((res, i) => {
|
||||
$('.page4 .timeTab div').eq(i).text(`${res[5]}${res[6]}.${res[8]}${res[9]}`);
|
||||
$('.page4 .timeTab div').eq(i).attr('data', res);
|
||||
if (res == curDate && date == null) {
|
||||
$('.page4 .timeTab div').removeClass('act')
|
||||
$('.page4 .timeTab div').eq(i).addClass('act');
|
||||
}
|
||||
})
|
||||
}
|
||||
// 處理前三
|
||||
var top3 = res.data.rankList.slice(0, 3);
|
||||
var notTop3 = res.data.rankList.slice(3);
|
||||
if (top3.length < 3) {
|
||||
let arr = new Array(3 - top3.length).fill({
|
||||
avatar: './images/logo.png',
|
||||
nick: '虛位以待',
|
||||
score: "0"
|
||||
})
|
||||
top3.push(...arr)
|
||||
}
|
||||
top3.forEach((res, i) => {
|
||||
$(`.page4 .top3 .no${i + 1} .tx`).attr('src', res.avatar);
|
||||
$(`.page4 .top3 .no${i + 1} .nick`).text(res.nick);
|
||||
$(`.page4 .top3 .no${i + 1} .score`).html(`${rankType == 1 || rankType == 2 ? '愚樂值' : '娛樂值'}<br>` + unitProcessing(res.score, 10000, 1, 'w'))
|
||||
})
|
||||
// 非前三
|
||||
var str = '';
|
||||
$('.page4 ul li').remove();
|
||||
notTop3.forEach((res, i) => {
|
||||
str += `
|
||||
<li>
|
||||
<div class="num">${res.ranking}.</div>
|
||||
<img src="${res.avatar}" alt="" class="tx">
|
||||
<div class="nick">${res.nick}</div>
|
||||
<div class="score">${rankType == 1 || rankType == 2 ? '愚樂值' : '娛樂值'}: ${unitProcessing(res.score, 10000, 1, 'w')}</div>
|
||||
</li>
|
||||
`
|
||||
})
|
||||
$('.page4 ul').append(str);
|
||||
// 處理自己榜單
|
||||
$('.page4 .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
|
||||
$('.page4 .my .tx').attr('src', res.data.meRank.avatar);
|
||||
$('.page4 .my .nick').text(res.data.meRank.nick);
|
||||
$('.page4 .my .score').text(`${rankType == 1 || rankType == 2 ? '愚樂值' : '娛樂值'}` + unitProcessing(res.data.meRank.score, 10000, 1, 'w'));
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 魔盒切換
|
||||
$('.MagicBoxRule .MagicBoxRule_in .tab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.MagicBoxRule .MagicBoxRule_in').removeClass('MagicBoxRule1').removeClass('MagicBoxRule2');
|
||||
$('.MagicBoxRule .MagicBoxRule_in').addClass(`MagicBoxRule${i}`);
|
||||
$('.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage1,.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage2').hide();
|
||||
$(`.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage${i}`).show();
|
||||
return false;
|
||||
})
|
||||
|
||||
// 獲取魔盒接口
|
||||
function getRecordPage () {
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'get',
|
||||
url: urlPrefix + '/activity/task/user/record/page',
|
||||
data: {
|
||||
componentCode: "QI_HUAN_MO_HE",
|
||||
activityCode: 'ACT_2024_APRIL_FOOLS_DAY',
|
||||
pageNum: page,
|
||||
pageSize: 20,
|
||||
},
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
var str = ''
|
||||
if (res.data.records.length == 0) {
|
||||
str = `
|
||||
<li class="not">暫無記錄</li>
|
||||
`
|
||||
isLock = false;
|
||||
} else {
|
||||
res.data.records.forEach(res => {
|
||||
str += `
|
||||
<li>
|
||||
<div>
|
||||
<p>${dateFormat(res.createTime, 'yyyy/MM/dd')}</p>
|
||||
<b>${dateFormat(res.createTime, 'hh:mm:ss')}</b>
|
||||
</div>
|
||||
<div class="centen">${res.nick}</div>
|
||||
<div class="right">
|
||||
<p>獲得:${res.rewardName}</p>
|
||||
<b>${res.showValue} <img src="./images/diamond.png" alt=""></b>
|
||||
</div>
|
||||
</li>
|
||||
`
|
||||
})
|
||||
isLock = true;
|
||||
}
|
||||
$('.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage2 ul').append(str);
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
isLock = true;
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網路錯誤,請退出重進')
|
||||
isLock = true;
|
||||
}
|
||||
})
|
||||
}
|
||||
// 滾動
|
||||
$('.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage2 ul').scroll(function () {
|
||||
let scrollTop = $(this).scrollTop()
|
||||
let scrollHeight = $('.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage2 ul')[0].scrollHeight
|
||||
let ulHeight = $(this).innerHeight()
|
||||
if (scrollTop + ulHeight + 100 >= scrollHeight) {
|
||||
if (isLock) {
|
||||
// 請求下一頁
|
||||
page = page + 1;
|
||||
getRecordPage();
|
||||
isLock = false;
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// 打開魔盒規則
|
||||
$('.page1 .box1 .pageBox1Rule_icon').click(function () {
|
||||
$('.MagicBoxRule .MagicBoxRule_in .MagicBoxRulePage2 ul li').remove();
|
||||
getRecordPage();
|
||||
$('.MagicBoxRule').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
|
||||
// 關閉魔盒規則
|
||||
$('.MagicBoxRule').click(function () {
|
||||
$('.MagicBoxRule').hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
||||
|
||||
// 打開規則
|
||||
$('.header .rule_icon').click(function () {
|
||||
$('.rule').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
|
||||
// 關閉規則
|
||||
$('.rule').click(function () {
|
||||
$('.rule').hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
||||
|
||||
// 打開限定禮物規則
|
||||
$('.header .qualifyGift_icon').click(function () {
|
||||
$('.limitedGift').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
|
||||
// 關閉限定禮物規則
|
||||
$('.limitedGift').click(function () {
|
||||
$('.limitedGift').hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
901
view/peko/activity/2024-invitationFission/css/index.css
Normal file
@@ -0,0 +1,901 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #FFE1C5;
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
top: 0.93333rem;
|
||||
left: 0.45333rem;
|
||||
z-index: 99;
|
||||
width: 0.82667rem;
|
||||
height: 0.82667rem;
|
||||
}
|
||||
|
||||
.back img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.back p {
|
||||
color: #fff;
|
||||
font-size: 0.42667rem;
|
||||
position: absolute;
|
||||
width: 9rem;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: 0.82667rem;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 10rem;
|
||||
height: 8.69333rem;
|
||||
background: url(../images/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: 0 auto 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.header .h3 {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.25333rem;
|
||||
height: 1.36rem;
|
||||
width: 8.6rem;
|
||||
}
|
||||
|
||||
.header .rule_rule {
|
||||
width: 0.77333rem;
|
||||
height: 0.77333rem;
|
||||
position: absolute;
|
||||
top: 4.77333rem;
|
||||
right: 0.4rem;
|
||||
}
|
||||
|
||||
.header .text {
|
||||
width: 5.33333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 5.06667rem;
|
||||
background: url(../images/header_text.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
text-align: center;
|
||||
color: #FFF6E5;
|
||||
font-size: 0.37333rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.header .text b {
|
||||
font-size: 0.56rem;
|
||||
font-weight: 600;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.header .text img {
|
||||
display: inline-block;
|
||||
width: 0.58667rem;
|
||||
height: 0.58667rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bg {
|
||||
width: 100%;
|
||||
height: 48.10667rem;
|
||||
background: url(../images/bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: -0.56rem auto 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.bg .myInfo {
|
||||
width: 9.2rem;
|
||||
height: 4.06667rem;
|
||||
background: url(../images/myInfo.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: 1.12rem auto 0.26667rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bg .myInfo .tx {
|
||||
width: 1.6rem;
|
||||
height: 1.6rem;
|
||||
border: 0.02667rem solid #F55E3E;
|
||||
position: absolute;
|
||||
left: 0.53333rem;
|
||||
top: 0.73333rem;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.bg .myInfo p {
|
||||
color: #FE3312;
|
||||
font-size: 0.37333rem;
|
||||
position: absolute;
|
||||
top: 1.34667rem;
|
||||
left: 2.37333rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .myInfo .invitationCode {
|
||||
position: absolute;
|
||||
right: 1.45333rem;
|
||||
top: 1.18667rem;
|
||||
font-size: 0.64rem;
|
||||
font-weight: normal;
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.bg .myInfo .skip {
|
||||
position: absolute;
|
||||
left: 0.53333rem;
|
||||
bottom: 0.66667rem;
|
||||
width: 3.92rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
text-align: center;
|
||||
color: #FE3312;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
background: url(../images/myInfoBut.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .myInfo .skip img {
|
||||
display: inline-block;
|
||||
width: 0.37333rem;
|
||||
height: 0.37333rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bg .myInfo .copy {
|
||||
position: absolute;
|
||||
right: 0.53333rem;
|
||||
bottom: 0.66667rem;
|
||||
width: 3.92rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
text-align: center;
|
||||
color: #FE3312;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
background: url(../images/myInfoBut.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .myInfo .copy img {
|
||||
display: inline-block;
|
||||
width: 0.37333rem;
|
||||
height: 0.37333rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bg .myIncome {
|
||||
width: 9.2rem;
|
||||
height: 1.33333rem;
|
||||
position: relative;
|
||||
margin: 0 auto 0.26667rem;
|
||||
background: url(../images/myIncomeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .myIncome img {
|
||||
position: absolute;
|
||||
width: 0.58667rem;
|
||||
height: 0.58667rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 0.37333rem;
|
||||
}
|
||||
|
||||
.bg .myIncome p {
|
||||
color: #FFFFFF;
|
||||
font-size: 0.48rem;
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: 0.26667rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.bg .myIncome b {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 1.2rem;
|
||||
color: #FE3312;
|
||||
font-size: 0.48rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox {
|
||||
width: 9.2rem;
|
||||
height: 10.66667rem;
|
||||
background: #fff;
|
||||
border-radius: 0.26667rem;
|
||||
border: 0.05333rem solid #FE7835;
|
||||
margin: 0 auto 0.26667rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab {
|
||||
width: 8.66667rem;
|
||||
height: 1.92rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0.18667rem auto 0.26667rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab div {
|
||||
width: 4.21333rem;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
background: url(../images/tab.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab div p {
|
||||
color: #FFFFFF;
|
||||
font-size: 0.32rem;
|
||||
font-weight: 500;
|
||||
margin-top: 0.46667rem;
|
||||
margin-bottom: 0.24rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab div span {
|
||||
color: #fff;
|
||||
font-size: 0.37333rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab div span img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 0.58667rem;
|
||||
height: 0.58667rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab .act {
|
||||
background: url(../images/tabAct.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tab .act p {
|
||||
margin-top: 0.36rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox .sTab {
|
||||
width: 100%;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto 0rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox .sTab div {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .incomeBox .sTab .tab1 {
|
||||
background: url(../images/sTab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.bg .incomeBox .sTab .tab2 {
|
||||
background: url(../images/sTab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tableTitle {
|
||||
width: 99.9%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
top: 3.17rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 2;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.bg .incomeBox .tableTitle div {
|
||||
width: 25%;
|
||||
height: 0.66667rem;
|
||||
line-height: 0.66667rem;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul {
|
||||
width: 100%;
|
||||
height: 7.4rem;
|
||||
margin: 0 auto 0;
|
||||
overflow-y: scroll;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul .top {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.bg .incomeBox ul .top div {
|
||||
width: 25%;
|
||||
height: 0.66667rem;
|
||||
line-height: 0.66667rem;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li {
|
||||
width: 100%;
|
||||
height: 0.66667rem;
|
||||
margin-bottom: 0.24rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li:nth-child(1) {
|
||||
margin-top: 0.66667rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li div {
|
||||
overflow: hidden;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
line-height: 0.66667rem;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li div img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 0.42667rem;
|
||||
height: 0.42667rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li .act {
|
||||
line-height: 0rem;
|
||||
}
|
||||
|
||||
.bg .incomeBox ul li .act p {
|
||||
margin-top: 0.2rem;
|
||||
margin-bottom: 0.30667rem;
|
||||
}
|
||||
|
||||
.bg .rule {
|
||||
width: 9.2rem;
|
||||
height: 18.90667rem;
|
||||
border-radius: 0.26667rem;
|
||||
border: 0.05333rem solid #FE7835;
|
||||
margin: 0 auto 0.53333rem;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.bg .rule .title {
|
||||
width: 4.26667rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.48rem;
|
||||
font-weight: 500;
|
||||
background: url(../images/titleBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
top: 0.4rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-bottom: 0.53333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 {
|
||||
position: relative;
|
||||
width: 8.66667rem;
|
||||
height: 4.29333rem;
|
||||
margin: 0 auto 0.26667rem;
|
||||
background: url(../images/rule1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 h3 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0.26667rem;
|
||||
color: #fff;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .text1 {
|
||||
position: absolute;
|
||||
left: 1.97333rem;
|
||||
top: 1.13333rem;
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .text2 {
|
||||
position: absolute;
|
||||
left: 5.38667rem;
|
||||
top: 1.13333rem;
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .rule1_in {
|
||||
width: 5.13333rem;
|
||||
height: 1.6rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 1.73333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .sp1 {
|
||||
position: absolute;
|
||||
left: 1.98667rem;
|
||||
height: 0.42667rem;
|
||||
line-height: 0.42667rem;
|
||||
bottom: 0.4rem;
|
||||
color: #FE3312;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .sp1 img {
|
||||
display: inline-block;
|
||||
width: 0.42667rem;
|
||||
height: 0.42667rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .sp2 {
|
||||
position: absolute;
|
||||
right: 1.98667rem;
|
||||
height: 0.42667rem;
|
||||
line-height: 0.42667rem;
|
||||
bottom: 0.4rem;
|
||||
color: #FE3312;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule1 .sp2 img {
|
||||
display: inline-block;
|
||||
width: 0.42667rem;
|
||||
height: 0.42667rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 {
|
||||
width: 8.66667rem;
|
||||
height: 11.74667rem;
|
||||
position: relative;
|
||||
margin: 0 auto 0.4rem;
|
||||
background: url(../images/rule2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 h3 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0.26667rem;
|
||||
color: #fff;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .text1 {
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 5.33333rem;
|
||||
position: absolute;
|
||||
left: 0.45333rem;
|
||||
top: 1.13333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .text2 {
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 5.33333rem;
|
||||
position: absolute;
|
||||
left: 3.6rem;
|
||||
top: 1.13333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .text3 {
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 5.33333rem;
|
||||
position: absolute;
|
||||
left: 6.86667rem;
|
||||
top: 1.13333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .rule_2in {
|
||||
width: 8.13333rem;
|
||||
height: 1.6rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 1.73333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .p1 {
|
||||
width: 100%;
|
||||
color: #FE3312;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.86667rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .p2 {
|
||||
width: 100%;
|
||||
color: #FE3312;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 8.28rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1 {
|
||||
width: 8.13333rem;
|
||||
height: 3.24rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 4.50667rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2 {
|
||||
width: 8.13333rem;
|
||||
height: 2.49333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 8.85333rem;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_1 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 4.56rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_1 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_2 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 5.4rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_2 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_3 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 6.2rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_3 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_4 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 6.95rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table1_4 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_1 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 8.9rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_1 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_2 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 9.8rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_2 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_3 {
|
||||
width: 8.13333rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 10.6rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bg .rule .rule2 .table2_3 div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg .rule .wishingStar {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 300;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.bg .rule .wishingStar b {
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.bg .otherNotes {
|
||||
width: 4.26667rem;
|
||||
height: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
background: url(../images/titleBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: 0 auto 0.53333rem;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.48rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.bg ul {
|
||||
width: 9.2rem;
|
||||
margin: 0 auto 0.70667rem;
|
||||
}
|
||||
|
||||
.bg ul li {
|
||||
width: 100%;
|
||||
color: #666666;
|
||||
font-size: 0.24rem;
|
||||
font-weight: 400;
|
||||
line-height: 0.34rem;
|
||||
}
|
||||
|
||||
.bg ul .title {
|
||||
color: #333333;
|
||||
font-size: 0.26667rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: 0.24rem;
|
||||
margin-top: 0.26667rem;
|
||||
}
|
||||
|
||||
.openShare {
|
||||
position: fixed;
|
||||
left: 0rem;
|
||||
bottom: 6.2rem;
|
||||
width: 1.6rem;
|
||||
height: 0.45333rem;
|
||||
line-height: 0.45333rem;
|
||||
background: linear-gradient(180deg, #FFAD50 0%, #FE3111 100%);
|
||||
border-radius: 0px 0.22667rem 0.22667rem 0px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.21333rem;
|
||||
display: none;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.code {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 4.85rem;
|
||||
background: url(../images/codeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 2.34667rem;
|
||||
height: 3.16rem;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.code .rule_icon {
|
||||
width: 0.32rem;
|
||||
height: 0.32rem;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.code .p1 {
|
||||
position: absolute;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.21333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-47%);
|
||||
top: 0.24rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code .p2 {
|
||||
position: absolute;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.21333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-47%);
|
||||
top: 0.66667rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code .p2 .diamond {
|
||||
width: 0.32rem;
|
||||
height: 0.32rem;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.code .p2 b {
|
||||
font-size: 0.24rem;
|
||||
font-weight: 500;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.code .codeImg {
|
||||
width: 1.17333rem;
|
||||
height: 1.17333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-43%);
|
||||
top: 1.16rem;
|
||||
}
|
||||
|
||||
.code .but {
|
||||
width: 1.52rem;
|
||||
height: 0.34667rem;
|
||||
line-height: 0.37333rem;
|
||||
border-radius: 0.34667rem;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
left: 0.50667rem;
|
||||
bottom: 0.24rem;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
font-size: 0.24rem;
|
||||
}
|
908
view/peko/activity/2024-invitationFission/css/index.scss
Normal file
@@ -0,0 +1,908 @@
|
||||
@function px2rem($px) {
|
||||
@return $px / 75+rem;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #FFE1C5;
|
||||
// background: linear-gradient(0deg, #DE3B4F 0%, #FFE4C9 99%);
|
||||
}
|
||||
|
||||
// 返回按钮
|
||||
.back {
|
||||
position: fixed;
|
||||
top: px2rem(70);
|
||||
left: px2rem(34);
|
||||
z-index: 99;
|
||||
width: px2rem(62);
|
||||
height: px2rem(62);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
font-size: px2rem(32);
|
||||
position: absolute;
|
||||
width: 9rem;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: px2rem(62);
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: px2rem(750);
|
||||
height: px2rem(652);
|
||||
background: url(../images/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: 0 auto 0;
|
||||
position: relative;
|
||||
|
||||
.h3 {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(244);
|
||||
height: px2rem(102);
|
||||
width: px2rem(645);
|
||||
}
|
||||
|
||||
.rule_rule {
|
||||
width: px2rem(58);
|
||||
height: px2rem(58);
|
||||
position: absolute;
|
||||
top: px2rem(358);
|
||||
right: px2rem(30);
|
||||
}
|
||||
|
||||
.text {
|
||||
width: px2rem(400);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(380);
|
||||
background: url(../images/header_text.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
text-align: center;
|
||||
color: #FFF6E5;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 400;
|
||||
|
||||
b {
|
||||
font-size: px2rem(42);
|
||||
font-weight: 600;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(44);
|
||||
height: px2rem(44);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bg {
|
||||
width: 100%;
|
||||
height: px2rem(3608);
|
||||
background: url(../images/bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: px2rem(-42) auto 0;
|
||||
overflow: hidden;
|
||||
|
||||
.myInfo {
|
||||
width: px2rem(690);
|
||||
height: px2rem(305);
|
||||
background: url(../images/myInfo.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: px2rem(84) auto px2rem(20);
|
||||
position: relative;
|
||||
|
||||
.tx {
|
||||
width: px2rem(120);
|
||||
height: px2rem(120);
|
||||
border: px2rem(2) solid #F55E3E;
|
||||
position: absolute;
|
||||
left: px2rem(40);
|
||||
top: px2rem(55);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #FE3312;
|
||||
font-size: px2rem(28);
|
||||
position: absolute;
|
||||
top: px2rem(101);
|
||||
left: px2rem(178);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.invitationCode {
|
||||
position: absolute;
|
||||
right: px2rem(109);
|
||||
top: px2rem(89);
|
||||
font-size: px2rem(48);
|
||||
font-weight: normal;
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.skip {
|
||||
position: absolute;
|
||||
left: px2rem(40);
|
||||
bottom: px2rem(50);
|
||||
width: px2rem(294);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
text-align: center;
|
||||
color: #FE3312;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
background: url(../images/myInfoBut.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(28);
|
||||
height: px2rem(28);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.copy {
|
||||
position: absolute;
|
||||
right: px2rem(40);
|
||||
bottom: px2rem(50);
|
||||
width: px2rem(294);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
text-align: center;
|
||||
color: #FE3312;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
background: url(../images/myInfoBut.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(28);
|
||||
height: px2rem(28);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.myIncome {
|
||||
width: px2rem(690);
|
||||
height: px2rem(100);
|
||||
position: relative;
|
||||
margin: 0 auto px2rem(20);
|
||||
background: url(../images/myIncomeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
width: px2rem(44);
|
||||
height: px2rem(44);
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: px2rem(28);
|
||||
}
|
||||
|
||||
p {
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(36);
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: px2rem(20);
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
b {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: px2rem(90);
|
||||
color: #FE3312;
|
||||
font-size: px2rem(36);
|
||||
}
|
||||
}
|
||||
|
||||
.incomeBox {
|
||||
width: px2rem(690);
|
||||
height: px2rem(800);
|
||||
background: #fff;
|
||||
border-radius: px2rem(20);
|
||||
border: px2rem(4) solid #FE7835;
|
||||
margin: 0 auto px2rem(20);
|
||||
position: relative;
|
||||
|
||||
.tab {
|
||||
width: px2rem(650);
|
||||
height: px2rem(144);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: px2rem(14) auto px2rem(20);
|
||||
|
||||
div {
|
||||
width: px2rem(316);
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
background: url(../images/tab.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
p {
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(24);
|
||||
font-weight: 500;
|
||||
margin-top: px2rem(35);
|
||||
margin-bottom: px2rem(18);
|
||||
}
|
||||
|
||||
span {
|
||||
color: #fff;
|
||||
font-size: px2rem(28);
|
||||
font-weight: 400;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: px2rem(44);
|
||||
height: px2rem(44);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.act {
|
||||
background: url(../images/tabAct.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
p {
|
||||
margin-top: px2rem(27);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sTab {
|
||||
width: 100%;
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto px2rem(0);
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.tab1 {
|
||||
background: url(../images/sTab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FE3312;
|
||||
}
|
||||
|
||||
.tab2 {
|
||||
background: url(../images/sTab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
color: #FE3312;
|
||||
}
|
||||
}
|
||||
|
||||
.tableTitle {
|
||||
width: 99.9%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
top: 3.17rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 2;
|
||||
background: #fff;
|
||||
|
||||
div {
|
||||
width: 25%;
|
||||
height: px2rem(50);
|
||||
line-height: px2rem(50);
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
width: 100%;
|
||||
height: 7.4rem;
|
||||
margin: 0 auto 0;
|
||||
overflow-y: scroll;
|
||||
position: relative;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
|
||||
div {
|
||||
width: 25%;
|
||||
height: px2rem(50);
|
||||
line-height: px2rem(50);
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
width: 100%;
|
||||
height: px2rem(50);
|
||||
margin-bottom: px2rem(18);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
&:nth-child(1) {
|
||||
margin-top: px2rem(50);
|
||||
}
|
||||
|
||||
div {
|
||||
overflow: hidden;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
line-height: px2rem(50);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: px2rem(32);
|
||||
height: px2rem(32);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.act {
|
||||
line-height: px2rem(0);
|
||||
|
||||
p {
|
||||
margin-top: px2rem(15);
|
||||
margin-bottom: px2rem(23);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rule {
|
||||
width: px2rem(690);
|
||||
height: px2rem(1418);
|
||||
border-radius: px2rem(20);
|
||||
border: px2rem(4) solid #FE7835;
|
||||
margin: 0 auto px2rem(40);
|
||||
position: relative;
|
||||
background: #fff;
|
||||
|
||||
.title {
|
||||
width: px2rem(320);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(36);
|
||||
font-weight: 500;
|
||||
background: url(../images/titleBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
top: px2rem(30);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-bottom: px2rem(40);
|
||||
}
|
||||
|
||||
.rule1 {
|
||||
position: relative;
|
||||
width: px2rem(650);
|
||||
height: px2rem(322);
|
||||
margin: 0 auto px2rem(20);
|
||||
background: url(../images/rule1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(20);
|
||||
color: #fff;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.text1 {
|
||||
position: absolute;
|
||||
left: px2rem(148);
|
||||
top: px2rem(85);
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.text2 {
|
||||
position: absolute;
|
||||
left: px2rem(404);
|
||||
top: px2rem(85);
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.rule1_in {
|
||||
width: px2rem(385);
|
||||
height: px2rem(120);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(130);
|
||||
}
|
||||
|
||||
.sp1 {
|
||||
position: absolute;
|
||||
left: px2rem(149);
|
||||
height: px2rem(32);
|
||||
line-height: px2rem(32);
|
||||
bottom: px2rem(30);
|
||||
color: #FE3312;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 500;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(32);
|
||||
height: px2rem(32);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.sp2 {
|
||||
position: absolute;
|
||||
right: px2rem(149);
|
||||
height: px2rem(32);
|
||||
line-height: px2rem(32);
|
||||
bottom: px2rem(30);
|
||||
color: #FE3312;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 500;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(32);
|
||||
height: px2rem(32);
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rule2 {
|
||||
width: px2rem(650);
|
||||
height: px2rem(881);
|
||||
position: relative;
|
||||
margin: 0 auto px2rem(30);
|
||||
background: url(../images/rule2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(20);
|
||||
color: #fff;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.text1 {
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: px2rem(400);
|
||||
position: absolute;
|
||||
left: px2rem(34);
|
||||
top: px2rem(85);
|
||||
}
|
||||
|
||||
.text2 {
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: px2rem(400);
|
||||
position: absolute;
|
||||
left: px2rem(270);
|
||||
top: px2rem(85);
|
||||
}
|
||||
|
||||
.text3 {
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: px2rem(400);
|
||||
position: absolute;
|
||||
left: px2rem(515);
|
||||
top: px2rem(85);
|
||||
}
|
||||
|
||||
.rule_2in {
|
||||
width: px2rem(610);
|
||||
height: px2rem(120);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(130);
|
||||
}
|
||||
|
||||
.p1 {
|
||||
width: 100%;
|
||||
color: #FE3312;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(290);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.p2 {
|
||||
width: 100%;
|
||||
color: #FE3312;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 500;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(621);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.table1 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(243);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(338);
|
||||
}
|
||||
|
||||
.table2 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(187);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(664);
|
||||
}
|
||||
|
||||
.table1_1 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(342);
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.table1_2 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(405);
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.table1_3 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 6.2rem;
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.table1_4 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 6.95rem;
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.table2_1 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 8.9rem;
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.table2_2 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 9.8rem;
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.table2_3 {
|
||||
width: px2rem(610);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 10.6rem;
|
||||
z-index: 2;
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
color: #FF4627;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wishingStar {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #333333;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 300;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: px2rem(30);
|
||||
|
||||
b {
|
||||
color: #FE3312;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.otherNotes {
|
||||
width: px2rem(320);
|
||||
height: px2rem(60);
|
||||
line-height: px2rem(60);
|
||||
background: url(../images/titleBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: 0 auto px2rem(40);
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(36);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
ul {
|
||||
width: px2rem(690);
|
||||
margin: 0 auto px2rem(53);
|
||||
|
||||
li {
|
||||
width: 100%;
|
||||
color: #666666;
|
||||
font-size: px2rem(18);
|
||||
font-weight: 400;
|
||||
line-height: 0.34rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #333333;
|
||||
font-size: px2rem(20);
|
||||
font-weight: 500;
|
||||
margin-bottom: px2rem(18);
|
||||
margin-top: px2rem(20);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.openShare {
|
||||
position: fixed;
|
||||
left: px2rem(0);
|
||||
bottom: 6.2rem;
|
||||
width: px2rem(120);
|
||||
height: px2rem(34);
|
||||
line-height: px2rem(34);
|
||||
background: linear-gradient(180deg, #FFAD50 0%, #FE3111 100%);
|
||||
border-radius: 0px px2rem(17) px2rem(17) 0px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(16);
|
||||
display: none;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.code {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 4.85rem;
|
||||
background: url(../images/codeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: px2rem(176);
|
||||
height: px2rem(237);
|
||||
z-index: 3;
|
||||
|
||||
.rule_icon {
|
||||
width: px2rem(24);
|
||||
height: px2rem(24);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.p1 {
|
||||
position: absolute;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(16);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-47%);
|
||||
top: px2rem(18);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.p2 {
|
||||
position: absolute;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(16);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-47%);
|
||||
top: px2rem(50);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
.diamond {
|
||||
width: px2rem(24);
|
||||
height: px2rem(24);
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
b {
|
||||
font-size: px2rem(18);
|
||||
font-weight: 500;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.codeImg {
|
||||
width: px2rem(88);
|
||||
height: px2rem(88);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-43%);
|
||||
top: px2rem(87);
|
||||
}
|
||||
|
||||
.but {
|
||||
width: px2rem(114);
|
||||
height: px2rem(26);
|
||||
line-height: px2rem(28);
|
||||
border-radius: px2rem(26);
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
left: px2rem(38);
|
||||
bottom: px2rem(18);
|
||||
text-align: center;
|
||||
color: #000;
|
||||
font-size: px2rem(18);
|
||||
}
|
||||
}
|
93
view/peko/activity/2024-invitationFission/css/share.css
Normal file
@@ -0,0 +1,93 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #FE614B;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 10rem;
|
||||
height: 16.61333rem;
|
||||
position: relative;
|
||||
margin: 0 auto 0;
|
||||
background: url(../images/share/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.header .swiper {
|
||||
width: 9.26667rem;
|
||||
height: 9.64rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-53%);
|
||||
top: 6.72rem;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 10rem;
|
||||
height: 6.10667rem;
|
||||
background: url(../images/share/box.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: -1rem auto 0rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.box .xz {
|
||||
width: 6.42667rem;
|
||||
height: 1.22667rem;
|
||||
line-height: 1.22667rem;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.42667rem;
|
||||
background: url(../images/share/xzBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: 1.33333rem auto 0.4rem;
|
||||
}
|
||||
|
||||
.box .codeBg {
|
||||
width: 6.42667rem;
|
||||
height: 1.22667rem;
|
||||
line-height: 1.22667rem;
|
||||
margin: 0 auto 0rem;
|
||||
background: url(../images/share/codeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.box .codeBg .copy {
|
||||
width: 2.13333rem;
|
||||
height: 0.8rem;
|
||||
position: absolute;
|
||||
top: 0.21333rem;
|
||||
right: 0.21333rem;
|
||||
}
|
||||
|
||||
.box .codeBg .num {
|
||||
width: 2rem;
|
||||
height: 1.22667rem;
|
||||
position: absolute;
|
||||
left: 2rem;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: 0.37333rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: url(../images/share/bottom.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 10rem;
|
||||
height: 1.33333rem;
|
||||
line-height: 1.33333rem;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.4rem;
|
||||
font-weight: 400;
|
||||
z-index: 3;
|
||||
}
|
93
view/peko/activity/2024-invitationFission/css/share.scss
Normal file
@@ -0,0 +1,93 @@
|
||||
@function px2rem($px) {
|
||||
@return $px / 75+rem;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #FE614B;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: px2rem(750);
|
||||
height: px2rem(1246);
|
||||
position: relative;
|
||||
margin: 0 auto 0;
|
||||
background: url(../images/share/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
.swiper {
|
||||
width: px2rem(695);
|
||||
height: px2rem(723);
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-53%);
|
||||
top: px2rem(504);
|
||||
}
|
||||
}
|
||||
|
||||
.box {
|
||||
width: px2rem(750);
|
||||
height: px2rem(458);
|
||||
background: url(../images/share/box.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: -1rem auto px2rem(0);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
|
||||
.xz {
|
||||
width: px2rem(482);
|
||||
height: px2rem(92);
|
||||
line-height: px2rem(92);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(32);
|
||||
background: url(../images/share/xzBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: px2rem(100) auto px2rem(30);
|
||||
}
|
||||
.codeBg{
|
||||
width: px2rem(482);
|
||||
height: px2rem(92);
|
||||
line-height: px2rem(92);
|
||||
margin: 0 auto px2rem(0);
|
||||
background: url(../images/share/codeBg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
.copy{
|
||||
width: px2rem(160);
|
||||
height: px2rem(60);
|
||||
position: absolute;
|
||||
top: px2rem(16);
|
||||
right: px2rem(16);
|
||||
}
|
||||
.num{
|
||||
width: 2rem;
|
||||
height: px2rem(92);
|
||||
position: absolute;
|
||||
left: 2rem;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: px2rem(28);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: url(../images/share/bottom.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: px2rem(750);
|
||||
height: px2rem(100);
|
||||
line-height: px2rem(100);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(30);
|
||||
font-weight: 400;
|
||||
z-index: 3;
|
||||
}
|
13
view/peko/activity/2024-invitationFission/css/swiper-bundle.min.css
vendored
Normal file
BIN
view/peko/activity/2024-invitationFission/images/bg.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
view/peko/activity/2024-invitationFission/images/codeBg.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
view/peko/activity/2024-invitationFission/images/copy.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
view/peko/activity/2024-invitationFission/images/diamond.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
view/peko/activity/2024-invitationFission/images/header.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
view/peko/activity/2024-invitationFission/images/header_h3.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
view/peko/activity/2024-invitationFission/images/header_text.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
view/peko/activity/2024-invitationFission/images/logo.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
view/peko/activity/2024-invitationFission/images/magicStick.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
view/peko/activity/2024-invitationFission/images/myIncomeBg.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
view/peko/activity/2024-invitationFission/images/myInfo.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/activity/2024-invitationFission/images/myInfoBut.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
view/peko/activity/2024-invitationFission/images/rule1.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
view/peko/activity/2024-invitationFission/images/rule1_in.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
view/peko/activity/2024-invitationFission/images/rule2.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
view/peko/activity/2024-invitationFission/images/rule_2in.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
view/peko/activity/2024-invitationFission/images/rule_rule.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
view/peko/activity/2024-invitationFission/images/sTab1.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
view/peko/activity/2024-invitationFission/images/sTab2.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
view/peko/activity/2024-invitationFission/images/share/box.png
Normal file
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 250 KiB |
BIN
view/peko/activity/2024-invitationFission/images/share/page1.png
Normal file
After Width: | Height: | Size: 334 KiB |
BIN
view/peko/activity/2024-invitationFission/images/share/page2.png
Normal file
After Width: | Height: | Size: 296 KiB |
BIN
view/peko/activity/2024-invitationFission/images/share/page3.png
Normal file
After Width: | Height: | Size: 197 KiB |
BIN
view/peko/activity/2024-invitationFission/images/share/xzBg.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
view/peko/activity/2024-invitationFission/images/skip.png
Normal file
After Width: | Height: | Size: 515 B |
BIN
view/peko/activity/2024-invitationFission/images/tab.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
view/peko/activity/2024-invitationFission/images/tabAct.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
view/peko/activity/2024-invitationFission/images/table1.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
view/peko/activity/2024-invitationFission/images/table2.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
view/peko/activity/2024-invitationFission/images/titleBg.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
view/peko/activity/2024-invitationFission/images/travel/back.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
179
view/peko/activity/2024-invitationFission/index.html
Normal file
@@ -0,0 +1,179 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>邀請得鉆石</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 頂部返回 -->
|
||||
<div class="back">
|
||||
<img src="./images/travel/back.png" alt="">
|
||||
</div>
|
||||
<!-- 頭部 -->
|
||||
<div class="header">
|
||||
<img src="./images/header_h3.png" alt="" class="h3">
|
||||
<a href="#rule"><img src="./images/rule_rule.png" alt="" class="rule_rule"></a>
|
||||
<div class="text">每邀請一人得 <b>1000</b> <img src="./images/diamond.png" alt=""></div>
|
||||
</div>
|
||||
<!-- 容器 -->
|
||||
<div class="bg">
|
||||
<!-- 自己信息 -->
|
||||
<div class="myInfo">
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<p>我的邀請碼</p>
|
||||
<b class="invitationCode"></b>
|
||||
<div class="skip"><img src="./images/skip.png" alt=""> 分享邀請好友</div>
|
||||
<div class="copy" id="copy"><img src="./images/copy.png" alt=""> 複製邀請碼</div>
|
||||
</div>
|
||||
<!-- 我的收益 -->
|
||||
<div class="myIncome">
|
||||
<img src="./images/diamond.png" alt="">
|
||||
<p>我的收益</p>
|
||||
<b>0</b>
|
||||
</div>
|
||||
<!-- 收益tab -->
|
||||
<div class="incomeBox">
|
||||
<!-- 大tab切換 -->
|
||||
<div class="tab">
|
||||
<div class="act directProfit">
|
||||
<p>直接邀請收益</p>
|
||||
<span><img src="./images/diamond.png" alt=""> 0</span>
|
||||
</div>
|
||||
<div class="indirectProfit">
|
||||
<p>間接邀請收益</p>
|
||||
<span><img src="./images/diamond.png" alt=""> 0</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 小tab切換 -->
|
||||
<div class="sTab">
|
||||
<div class="tab1">直接邀請收益記錄</div>
|
||||
<div class="">直接邀請用戶記錄</div>
|
||||
</div>
|
||||
<!-- 記錄標題 -->
|
||||
<div class="tableTitle">
|
||||
<div>時間</div>
|
||||
<div>收益</div>
|
||||
<div>收益類型</div>
|
||||
<div>邀請對象</div>
|
||||
</div>
|
||||
<!-- 記錄 -->
|
||||
<ul>
|
||||
<!-- <li class="top">
|
||||
<div>時間</div>
|
||||
<div>收益</div>
|
||||
<div>收益類型</div>
|
||||
<div>邀請對象</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="act">
|
||||
<p>2023-03-04</p>
|
||||
<b>
|
||||
12:23:23</b>
|
||||
</div>
|
||||
<div>+0 <img src="./images/diamond.png" alt=""></div>
|
||||
<div>邀請好友註冊</div>
|
||||
<div class="act">
|
||||
<p>用戶昵稱</p>
|
||||
<b>ID:0</b>
|
||||
</div>
|
||||
</li> -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 活動規則 -->
|
||||
<div class="rule" id="rule">
|
||||
<div class="title">活動規則</div>
|
||||
<div class="rule1">
|
||||
<h3>成功邀請一位好友註冊,雙方各得1000鑽,無上限!</h3>
|
||||
<div class="text1">邀請人:妳</div>
|
||||
<div class="text2">直接邀請對象</div>
|
||||
<img src="./images/rule1_in.png" alt="" class="rule1_in">
|
||||
<span class="sp1">+1000 <img src="./images/diamond.png" alt="" class="diamond"></span>
|
||||
<span class="sp2">+1000 <img src="./images/diamond.png" alt="" class="diamond"></span>
|
||||
</div>
|
||||
<div class="rule2">
|
||||
<h3>邀請好友儲值返現,纍計高達10%,持續30天!</h3>
|
||||
<div class="text1">邀請人:妳</div>
|
||||
<div class="text2">直接邀請對象</div>
|
||||
<div class="text3">間接邀請對象</div>
|
||||
<img src="./images/rule_2in.png" alt="" class="rule_2in">
|
||||
<p class="p1">直接邀請對象:通過填寫妳的邀請碼註冊的人</p>
|
||||
<p class="p2">間接邀請對象:妳邀請註冊的好友繼續邀請的人</p>
|
||||
<img src="./images/table1.png" alt="" class="table1">
|
||||
<img src="./images/table2.png" alt="" class="table2">
|
||||
<div class="table1_1">
|
||||
<div>儲值數額</div>
|
||||
<div>獲得收益</div>
|
||||
</div>
|
||||
<div class="table1_2">
|
||||
<div> 0鑽<30天內儲值<10000鑽 </div>
|
||||
<div>直接邀請對象+2魔法棒,妳+1魔法棒</div>
|
||||
</div>
|
||||
<div class="table1_3">
|
||||
<div>10000鉆<=30天內儲值<50000鉆 </div>
|
||||
<div>每儲值1000鉆,妳+30鉆(3%)</div>
|
||||
</div>
|
||||
<div class="table1_4">
|
||||
<div>50000鉆<=30天內儲值 </div>
|
||||
<div>每儲值1000鉆,妳+50鉆(8%)</div>
|
||||
</div>
|
||||
<div class="table2_1">
|
||||
<div>儲值數額 </div>
|
||||
<div>獲得收益</div>
|
||||
</div>
|
||||
<div class="table2_2">
|
||||
<div>10000鉆<=30天內儲值<50000鉆 </div>
|
||||
<div>每儲值1000鉆,妳+10鉆(1%)</div>
|
||||
</div>
|
||||
<div class="table2_3">
|
||||
<div>50000鉆<=30天內儲值 </div>
|
||||
<div>每儲值1000鉆,妳+20鉆(2%)</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wishingStar">*魔法棒用於參與<a href="../../modules/act-wishingStar/index.html"><b>許願之星活動>></b></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 其他說明 -->
|
||||
<div class="otherNotes">其他說明</div>
|
||||
<ul>
|
||||
<li class="title">關於邀請獎勵結算</li>
|
||||
<li>1.被邀用戶收益:新用戶填寫邀請碼後繫統自動發放權益至所屬賬號</li>
|
||||
<li>2.邀請用戶收益:被邀新用戶填寫邀請碼後繫統自動發放權益至所屬賬號</li>
|
||||
<li>3.充值獎勵:新用戶自填寫邀請碼30日內完成首次儲值,可獲得魔法棒獎勵,魔法棒可用於參與許願之星玩法,獲取珍稀禮物獎勵;完成指定數額儲值後,邀請人可獲得額外收益,收益實時到賬;</li>
|
||||
<li class="title">關於無效的邀請</li>
|
||||
<li>1.使用同一設備,同一手機號碼,同一身份信息註冊的用戶視為同一用戶,不能重復獲得獎勵;若邀請人與被邀請人使用同一設備,同一身份信息,同一手機號碼,邀請人無法獲取獎勵</li>
|
||||
<li>2.每位新用戶僅能填寫一次邀請碼,填寫後不支持修改,註意註意!邀請碼不支持補填,還請邀請新用戶時告知新用戶註冊時及時填寫邀請碼,否則本次邀請無效;</li>
|
||||
<li>3.如有作弊行為,官方有權清除作弊者所得的所有獎勵,併封禁賬號;</li>
|
||||
<li>4.虛擬手機號、封禁用戶無法參加活動;</li>
|
||||
<li class="title">其他</li>
|
||||
<li>1.有任何疑問請聯繫客服(LINE:pekoyuyin、app內搜索ID:10001、WeChat:sd245376);</li>
|
||||
<li>2.本活動最終解釋權歸官方所有,並與Apple inc/Google公司無關;</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 展開分享 -->
|
||||
<div class="openShare">分享二維碼 ></div>
|
||||
<!-- 保存二維碼 -->
|
||||
<div class="code">
|
||||
<div class="rule_icon"></div>
|
||||
<div class="p1">好友掃碼下載註冊</div>
|
||||
<div class="p2">得<b>1000</b><img src="./images/diamond.png" alt="" class="diamond"></div>
|
||||
<img src="" alt="" class="codeImg">
|
||||
<div class="but">保存本地</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</script>
|
||||
|
||||
</html>
|
||||
<script src="../../common/js/flexible.js"></script>
|
||||
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../../common/js/common2.js"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="../../common/js/jquery.copy.min.js"></script>
|
||||
<script src="./js/index.js"></script>
|