diff --git a/components/MatchingGame.vue b/components/MatchingGame.vue new file mode 100644 index 0000000..82d23e8 --- /dev/null +++ b/components/MatchingGame.vue @@ -0,0 +1,248 @@ + + + + + diff --git a/pages.json b/pages.json index 2cc619d..048a7e5 100644 --- a/pages.json +++ b/pages.json @@ -114,6 +114,14 @@ "navigationBarTitleText": "爬塔" } }, + { + "path": "pages/game/webview", + "style": { + "navigationBarTitleText": "游戏挑战", + "navigationBarBackgroundColor": "#000000", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/register/register", "style": { diff --git a/pages/activity/pata/index.vue b/pages/activity/pata/index.vue index 2084ac2..7f25c2f 100644 --- a/pages/activity/pata/index.vue +++ b/pages/activity/pata/index.vue @@ -9,8 +9,8 @@ - {{ detail.name || detail.title || '爬塔挑战' }} - 层层突围 赢取大奖 + 扫雷挑战 + 福利放送 智勇通关 规则 @@ -20,225 +20,101 @@ 当前挑战 - {{ currentIssueTitle || '第1层' }} + 扫雷福利局 进行中 - - - - - - {{ r.title }} - 概率 {{ r.percent }}% - - + + + 剩余挑战次数 + {{ remainingTimes }} - - ¥ - {{ (Number(detail.price_draw || 0) / 100).toFixed(2) }} - /次 - - - - - - - - - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue index df7f20f..2b2440c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -77,10 +77,10 @@ - - 爬塔 - 层层挑战 - + + 扫雷 + 福利挑战 + diff --git a/pages/login/index.vue b/pages/login/index.vue index 32626e2..3530895 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -58,6 +58,11 @@ + + + 没有账号?立即注册 @@ -389,6 +394,14 @@ function onGetPhoneNumber(e) { margin-bottom: $spacing-xl; border: none; } + +.test-login-btn { + background: #555; + color: #fff; + margin-bottom: $spacing-xl; + border: none; + font-size: 28rpx; +} .btn-shine { position: absolute; top: 0; left: -100%; diff --git a/pages/orders/detail.vue b/pages/orders/detail.vue index 84efc1c..8f65b4a 100644 --- a/pages/orders/detail.vue +++ b/pages/orders/detail.vue @@ -118,6 +118,54 @@ + + + + + 抽奖凭证 + ? + + + + 算法版本 + {{ receipt.algo_version }} + + + 服务端种子哈希 + + {{ receipt.server_seed_hash }} + 复制 + + + + 子种子 + + {{ receipt.server_sub_seed }} + 复制 + + + + 客户端种子 + {{ receipt.client_seed }} + + + 抽奖ID + {{ receipt.draw_id }} + + + 时间戳 + {{ receipt.timestamp }} + + + 期次ID + {{ receipt.round_id }} + + + + 🔒 + 以上数据可用于验证抽奖结果的公正性 + + @@ -295,6 +343,14 @@ function getSourceTypeText(type) { if (type === 3) return '发奖记录' return '其他' } + +function showProofHelp() { + uni.showModal({ + title: '抽奖凭证说明', + content: '该凭证包含本次抽奖的随机种子和参数,可用于验证抽奖的公平性。您可以复制相关数据,自行进行核验。', + showCancel: false + }) +} diff --git a/utils/request.js b/utils/request.js index c19f415..0475d30 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,4 +1,4 @@ -const BASE_URL = 'https://mini-chat.1024tool.vip' +const BASE_URL = 'http://localhost:9991' let authModalShown = false