PR

ショップページボタン修正 #4433

wada opened this at 2025-12-19T15:43:13; closed

Description

opened by wada at 2025-12-19T15:43:13; updated 2025-12-22T16:54:57

概要

ショップページのボタンを分割して、同ボタンを押した際にリスト非更新
20%ボーナス表示の期限対応

TODO

  • [x] js圧縮

Comment

#43597 by wada at 2025-12-19T15:43:21; updated 2025-12-19T15:43:21

@kouho
レビューお願いします。

Comment

#43608 by kouho at 2025-12-22T14:00:10; updated 2025-12-22T14:00:10

@wada
有償への切り替えボタンの判定を治していただけませんか?

20%増量中の表示がある場合、/img/shop/tip_set_purchase_bonus.pngの領域を押した場合は切り替わらないため不便そうです。
以下のように吹き出しに;pointer-events:none;を入れることで吹き出しとボタンが被っても押せるようになりそうでした。

$_parts['tip_bonus_image'] = '<img src="/img/shop/tip_set_purchase_bonus.png" style="width:30%;position:absolute;right:5%;top:0.3em;pointer-events:none;">';
kouho add_label at 2025-12-22T14:00:13: コメントあり

Comment

#43611 by wada at 2025-12-22T14:14:27; updated 2025-12-22T14:14:27

@kouho
修正しました。

> 有償への切り替えボタンの判定を治していただけませんか?

kouho add_label at 2025-12-22T14:19:10: 皇甫 LGTM
kouho delete_label at 2025-12-22T14:19:12: コメントあり

Comment

#43614 by kouho at 2025-12-22T14:19:27; updated 2025-12-22T14:19:27

@wada
対応ありがとうございます。確認OKです。

wada merge at 2025-12-22T16:54:50: ショップページボタン修正
wada close at 2025-12-22T16:54:50: Close
wada delete_branch at 2025-12-22T16:54:57: update_shop_page

Commit range

base6f5b86fc5ba2b30501d197cee6375e5572405ef2
head986d91e851afe37778bf7af878fed7b260ebe0a3
base branchjolly/jr-web:master
head branchjolly/jr-web:update_shop_page

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed10 filesView patch
statusfile
addedpublic_html/img/shop/freeCoin_btn_1.png
addedpublic_html/img/shop/freeCoin_btn_2.png
addedpublic_html/img/shop/payCoin_btn_1.png
addedpublic_html/img/shop/payCoin_btn_2.png
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/jr_main.min.js
modifiedpublic_html/template/Shop.tpl
modifiedpublic_html/template/header_sp.tpl
modifiedpublic_html/template/parts_shop_event_lineup_list.tpl
modifiedpublic_html/template/parts_shop_event_weekday_lineup_list.tpl
Patch body is stored as a separate file to keep this page lightweight.