Files
zyt/TongjiUniApp/dist/build/mp-weixin/tongji/endless-game/index.wxml
T
2026-08-11 17:41:36 +08:00

1 line
13 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="eg-page data-v-87c9ce4c" capture-bind:touchstart="{{aW}}" capture-bind:mousedown="{{aX}}"><view wx:if="{{a}}" class="eg-confetti-layer data-v-87c9ce4c" aria-hidden="true"><text wx:for="{{b}}" wx:for-item="piece" wx:key="b" class="{{['eg-confetti-piece', 'data-v-87c9ce4c', piece.c && 'is-emoji']}}" style="{{piece.d}}">{{piece.a}}</text></view><view class="eg-nav data-v-87c9ce4c" style="{{k}}"><view class="eg-nav-leading data-v-87c9ce4c"><view class="eg-nav-btn data-v-87c9ce4c" bindtap="{{d}}"><tongji-icon wx:if="{{c}}" class="data-v-87c9ce4c" u-i="87c9ce4c-0" bind:__l="__l" u-p="{{c}}"/></view></view><view class="eg-title-wrap data-v-87c9ce4c"><text class="eg-title data-v-87c9ce4c">识糖小课堂</text><text class="eg-subtitle data-v-87c9ce4c">第{{e}}站 · {{f}}</text></view><view class="eg-nav-actions data-v-87c9ce4c"><view class="eg-nav-btn eg-nav-btn--small data-v-87c9ce4c" bindtap="{{h}}"><tongji-icon wx:if="{{g}}" class="data-v-87c9ce4c" u-i="87c9ce4c-1" bind:__l="__l" u-p="{{g}}"/></view><view class="eg-nav-btn eg-nav-btn--small data-v-87c9ce4c" bindtap="{{j}}"><tongji-icon wx:if="{{i}}" class="data-v-87c9ce4c" u-i="87c9ce4c-2" bind:__l="__l" u-p="{{i}}"/></view></view></view><view class="eg-content data-v-87c9ce4c"><view class="eg-score-card data-v-87c9ce4c"><view class="eg-stat data-v-87c9ce4c"><text class="eg-stat-label data-v-87c9ce4c">本局认糖</text><text class="eg-stat-value data-v-87c9ce4c">{{l}}</text></view><view class="eg-stat eg-stat--main data-v-87c9ce4c"><text class="eg-stat-label data-v-87c9ce4c">得分</text><text class="eg-stat-score data-v-87c9ce4c">{{m}}</text></view><view class="{{['eg-stat', 'eg-stat--rank', 'data-v-87c9ce4c', o && 'is-locked']}}" bindtap="{{p}}"><text class="eg-stat-label data-v-87c9ce4c">本周同行</text><text class="eg-stat-rank-value data-v-87c9ce4c">第{{n}}名</text><text class="eg-stat-rank-hint data-v-87c9ce4c">点击查看</text></view></view><view class="eg-task-card data-v-87c9ce4c"><view class="eg-task-head data-v-87c9ce4c"><view class="eg-task-name data-v-87c9ce4c"><tongji-icon wx:if="{{q}}" class="data-v-87c9ce4c" u-i="87c9ce4c-3" bind:__l="__l" u-p="{{q}}"/><text class="data-v-87c9ce4c">小目标:{{r}}</text></view><text class="eg-task-count data-v-87c9ce4c">{{s}}/{{t}}</text></view><view class="eg-progress data-v-87c9ce4c"><view class="eg-progress-fill data-v-87c9ce4c" style="{{'width:' + v}}"/></view><view wx:if="{{w}}" key="{{y}}" class="eg-task-reward-flight data-v-87c9ce4c"><view class="eg-task-reward-glow data-v-87c9ce4c"/><image class="data-v-87c9ce4c" src="{{x}}" mode="aspectFit"/><text class="data-v-87c9ce4c">+1</text></view></view><view class="eg-board-shell data-v-87c9ce4c"><view class="eg-board-top data-v-87c9ce4c"><view class="eg-board-bonuses data-v-87c9ce4c"><view class="{{['eg-combo', 'data-v-87c9ce4c', A && 'is-hot']}}">连消 ×{{z}}</view><view wx:if="{{B}}" class="eg-double-state data-v-87c9ce4c">双倍得分 ×{{C}}</view></view><view class="eg-risk data-v-87c9ce4c"><text class="data-v-87c9ce4c">高糖食物 {{D}}/3</text><view class="eg-risk-dots data-v-87c9ce4c"><view wx:for="{{E}}" wx:for-item="n" wx:key="a" class="{{['eg-risk-dot', 'data-v-87c9ce4c', n.b && 'on']}}"/></view></view></view><view class="{{['eg-board', 'data-v-87c9ce4c', G && 'is-busy']}}"><view wx:for="{{F}}" wx:for-item="row" wx:key="b" class="eg-row data-v-87c9ce4c"><view wx:for="{{row.a}}" wx:for-item="tile" wx:key="k" class="{{['eg-cell', 'data-v-87c9ce4c', tile.l]}}" style="{{tile.m}}" bindtap="{{tile.n}}" bindtouchstart="{{tile.o}}" catchtouchmove="{{tile.p}}" bindtouchend="{{tile.q}}"><view wx:if="{{tile.a}}" class="{{['eg-special-mark', 'data-v-87c9ce4c', tile.d]}}"><view wx:if="{{tile.b}}" class="eg-mini-flame data-v-87c9ce4c"><view class="eg-mini-flame-core data-v-87c9ce4c"/></view><view wx:elif="{{tile.c}}" class="eg-l-special data-v-87c9ce4c" aria-label="L形范围消除"><view class="eg-l-arm is-vertical data-v-87c9ce4c"/><view class="eg-l-arm is-horizontal data-v-87c9ce4c"/><view class="eg-l-core data-v-87c9ce4c"/></view><text wx:else class="data-v-87c9ce4c">✦</text></view><view wx:if="{{tile.e}}" class="eg-fire-clear data-v-87c9ce4c" aria-hidden="true"><view class="eg-fire-glow data-v-87c9ce4c"/><view class="eg-fire-sweep data-v-87c9ce4c"/><view class="eg-fire-flame is-left data-v-87c9ce4c"><view class="data-v-87c9ce4c"/></view><view class="eg-fire-flame is-center data-v-87c9ce4c"><view class="data-v-87c9ce4c"/></view><view class="eg-fire-flame is-right data-v-87c9ce4c"><view class="data-v-87c9ce4c"/></view><view class="eg-fire-spark is-one data-v-87c9ce4c"/><view class="eg-fire-spark is-two data-v-87c9ce4c"/><view class="eg-fire-spark is-three data-v-87c9ce4c"/></view><image class="eg-food-image data-v-87c9ce4c" src="{{tile.f}}" mode="aspectFit"/><text class="eg-food-name data-v-87c9ce4c">{{tile.g}}</text><view class="{{['eg-sugar-tag', 'data-v-87c9ce4c', tile.i]}}">{{tile.h}}</view><view wx:if="{{tile.j}}" class="eg-replace-target data-v-87c9ce4c">可替换</view></view></view></view><view wx:if="{{H}}" class="{{['eg-impact-text', 'data-v-87c9ce4c', J]}}">{{I}}</view><view wx:if="{{K}}" class="{{['eg-jackpot', 'data-v-87c9ce4c', X]}}"><view class="eg-jackpot-lights data-v-87c9ce4c"/><text class="eg-jackpot-kicker data-v-87c9ce4c">{{L}}</text><view wx:if="{{M}}" class="eg-triple-cans data-v-87c9ce4c"><view wx:for="{{N}}" wx:for-item="n" wx:key="a" class="eg-triple-can data-v-87c9ce4c"><image class="data-v-87c9ce4c" src="{{O}}" mode="aspectFit"/></view></view><view wx:elif="{{P}}" class="eg-four-teaser data-v-87c9ce4c"><view class="eg-four-cans data-v-87c9ce4c"><view wx:for="{{Q}}" wx:for-item="n" wx:key="c" class="{{['eg-four-can', 'data-v-87c9ce4c', n.d && 'is-locked']}}"><image wx:if="{{n.a}}" class="data-v-87c9ce4c" src="{{n.b}}" mode="aspectFit"/><text wx:else class="data-v-87c9ce4c">?</text></view></view><text class="eg-four-promise data-v-87c9ce4c">还差 1 罐,777 大奖即将开启</text></view><view wx:else class="eg-five-celebration data-v-87c9ce4c"><view class="eg-five-cans data-v-87c9ce4c"><view wx:for="{{R}}" wx:for-item="n" wx:key="a" class="eg-five-can data-v-87c9ce4c"><image class="data-v-87c9ce4c" src="{{S}}" mode="aspectFit"/></view></view><view class="eg-five-sevens data-v-87c9ce4c"><text wx:for="{{T}}" wx:for-item="n" wx:key="a" class="data-v-87c9ce4c">7</text></view></view><text class="eg-jackpot-title data-v-87c9ce4c">{{U}}</text><text wx:if="{{V}}" class="eg-jackpot-points data-v-87c9ce4c">777 ×2</text><text class="eg-jackpot-reward data-v-87c9ce4c">{{W}}</text><text class="eg-jackpot-note data-v-87c9ce4c">仅为游戏内娱乐奖励</text></view><view class="eg-board-tip data-v-87c9ce4c"><tongji-icon wx:if="{{Y}}" class="data-v-87c9ce4c" u-i="87c9ce4c-4" bind:__l="__l" u-p="{{Y}}"/><text class="data-v-87c9ce4c">{{Z}}</text></view></view><view class="eg-tools data-v-87c9ce4c"><view class="{{['eg-tool', 'data-v-87c9ce4c', ae && 'active', af && 'disabled']}}" bindtap="{{ag}}"><view class="eg-tool-icon eg-tool-icon--milk data-v-87c9ce4c"><image class="eg-tool-food-image data-v-87c9ce4c" src="{{aa}}" mode="aspectFit"/><view class="eg-replace-badge data-v-87c9ce4c"><tongji-icon wx:if="{{ab}}" class="data-v-87c9ce4c" u-i="87c9ce4c-5" bind:__l="__l" u-p="{{ab}}"/><text class="data-v-87c9ce4c">替换</text></view></view><view class="eg-tool-copy data-v-87c9ce4c"><text class="eg-tool-name data-v-87c9ce4c">新疆纯驼乳粉</text><text class="eg-tool-desc data-v-87c9ce4c">替换{{ac}} · 三杯连消换主题</text></view><view class="eg-tool-count data-v-87c9ce4c">×{{ad}}</view></view></view><view class="eg-legend data-v-87c9ce4c"><text class="data-v-87c9ce4c"><text class="eg-dot eg-dot--safe data-v-87c9ce4c">●</text> 低糖</text><text class="data-v-87c9ce4c"><text class="eg-dot eg-dot--mid data-v-87c9ce4c">●</text> 中糖</text><text class="data-v-87c9ce4c"><text class="eg-dot eg-dot--high data-v-87c9ce4c">●</text> 主动三消高糖会结束</text></view></view><view wx:if="{{ah}}" class="eg-weekly-overlay data-v-87c9ce4c" catchtap="{{aD}}"><view class="eg-weekly-card data-v-87c9ce4c"><view class="eg-weekly-head data-v-87c9ce4c"><view class="data-v-87c9ce4c"><view class="eg-weekly-title-line data-v-87c9ce4c"><text class="eg-weekly-title data-v-87c9ce4c">本周7人同行榜</text><text class="{{['eg-weekly-preview', 'data-v-87c9ce4c', aj && 'is-offline']}}">{{ai}}</text></view><text class="eg-weekly-sub data-v-87c9ce4c">{{ak}} · {{al}} · {{am}}/7人</text></view><view class="eg-weekly-medal data-v-87c9ce4c">{{an}}</view></view><view class="eg-weekly-progress-card data-v-87c9ce4c"><view class="data-v-87c9ce4c"><text class="eg-weekly-progress-label data-v-87c9ce4c">我的本周认糖</text><text class="eg-weekly-progress-value data-v-87c9ce4c">{{ao}}</text></view><view class="eg-weekly-progress-copy data-v-87c9ce4c"><text wx:if="{{ap}}" class="data-v-87c9ce4c">当前第 {{aq}} 名 · 本周上升 {{ar}} 名</text><text wx:else class="data-v-87c9ce4c">当前第 {{as}} 名 · 继续积累认糖</text><text wx:if="{{at}}" class="data-v-87c9ce4c">太棒了,本周暂列第一!</text><text wx:else class="data-v-87c9ce4c">再认 {{av}} 个超过上一名</text></view></view><view class="eg-weekly-list data-v-87c9ce4c"><view wx:for="{{aw}}" wx:for-item="player" wx:key="i" class="{{['eg-weekly-row', 'data-v-87c9ce4c', player.j && 'is-me']}}"><text class="eg-weekly-place data-v-87c9ce4c">{{player.a}}</text><view class="{{['eg-weekly-avatar', 'data-v-87c9ce4c', player.e]}}"><image wx:if="{{player.b}}" class="eg-weekly-avatar-image data-v-87c9ce4c" src="{{player.c}}" mode="aspectFill"/><text wx:else class="data-v-87c9ce4c">{{player.d}}</text></view><text class="eg-weekly-name data-v-87c9ce4c">{{player.f}}</text><text wx:if="{{player.g}}" class="eg-weekly-me data-v-87c9ce4c">我</text><text class="eg-weekly-count data-v-87c9ce4c">{{player.h}}</text></view></view><view class="{{['eg-cheer-card', 'data-v-87c9ce4c', aB]}}"><view class="eg-cheer-top data-v-87c9ce4c"><text class="eg-cheer-source data-v-87c9ce4c">{{ax}}</text><text class="eg-cheer-change data-v-87c9ce4c" catchtap="{{ay}}">换一句</text></view><text class="eg-cheer-copy data-v-87c9ce4c">“{{az}}”</text><text wx:if="{{aA}}" class="eg-cheer-note data-v-87c9ce4c">亲友自定义内容,不作为医学判断</text></view><view class="eg-weekly-start data-v-87c9ce4c" bindtap="{{aC}}">开始消除</view><button class="eg-weekly-share data-v-87c9ce4c" open-type="share">邀请亲友一起认糖</button><text class="eg-weekly-footnote data-v-87c9ce4c">使用平台昵称参加真实周榜,每周一重新分组;分享不会自动绑定家庭关系</text></view></view><view wx:if="{{aE}}" class="eg-reshuffle-overlay data-v-87c9ce4c" catchtap="{{aI}}"><view class="eg-reshuffle-card data-v-87c9ce4c"><view class="eg-reshuffle-icon data-v-87c9ce4c"><tongji-icon wx:if="{{aF}}" class="data-v-87c9ce4c" u-i="87c9ce4c-6" bind:__l="__l" u-p="{{aF}}"/></view><text class="eg-reshuffle-title data-v-87c9ce4c">{{aG}}</text><text class="eg-reshuffle-desc data-v-87c9ce4c">{{aH}}</text></view></view><view wx:if="{{aJ}}" class="eg-stage-overlay data-v-87c9ce4c" catchtap="{{aN}}"><view class="eg-stage-card data-v-87c9ce4c"><text class="eg-stage-kicker data-v-87c9ce4c">新菜单已解锁</text><text class="eg-stage-number data-v-87c9ce4c">第 {{aK}} 站</text><text class="eg-stage-title data-v-87c9ce4c">{{aL}}</text><view class="eg-stage-foods data-v-87c9ce4c"><view wx:for="{{aM}}" wx:for-item="food" wx:key="c" class="{{['eg-stage-food', 'data-v-87c9ce4c', food.d && 'is-danger']}}"><image class="data-v-87c9ce4c" src="{{food.a}}" mode="aspectFit"/><text class="data-v-87c9ce4c">{{food.b}}</text></view></view><text class="eg-stage-tip data-v-87c9ce4c">本组橙框食物可用驼乳粉替换</text></view></view><view wx:if="{{aO}}" class="eg-overlay data-v-87c9ce4c" catchtap="{{aV}}"><view class="eg-modal eg-result-modal data-v-87c9ce4c"><view class="eg-result-warning data-v-87c9ce4c">!</view><text class="eg-modal-title data-v-87c9ce4c">本局结束</text><text class="eg-result-food data-v-87c9ce4c">你消除了:{{aP}}</text><view class="eg-knowledge-card data-v-87c9ce4c"><text class="eg-knowledge-title data-v-87c9ce4c">为什么要注意?</text><text class="eg-knowledge-copy data-v-87c9ce4c">{{aQ}}</text><text class="eg-knowledge-review data-v-87c9ce4c">科普内容上线前由甄养堂医生审核</text></view><view class="eg-result-score data-v-87c9ce4c"><text class="data-v-87c9ce4c">本局得分</text><text class="data-v-87c9ce4c">{{aR}}</text></view><view class="eg-result-best data-v-87c9ce4c"><text class="data-v-87c9ce4c">历史最高</text><text class="data-v-87c9ce4c">{{aS}}</text></view><view class="eg-primary-btn data-v-87c9ce4c" bindtap="{{aT}}">再玩一局</view><button class="eg-share-btn data-v-87c9ce4c" open-type="share">分享本局认糖成绩</button><view class="eg-secondary-btn data-v-87c9ce4c" bindtap="{{aU}}">返回血糖周报</view></view></view></view>