mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: coin pic
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -173,7 +173,7 @@ class BangumiIntroController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_coinNum.value >= 2) {
|
if (_coinNum.value >= 2) {
|
||||||
SmartDialog.showToast('超过投币上限啦~');
|
SmartDialog.showToast('达到投币上限啦~');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ class VideoIntroController extends GetxController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_coinNum.value >= 2) {
|
if (_coinNum.value >= 2) {
|
||||||
SmartDialog.showToast('超过投币上限啦~');
|
SmartDialog.showToast('达到投币上限啦~');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,16 +84,16 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
|||||||
|
|
||||||
Color _getColorFilter(int index) {
|
Color _getColorFilter(int index) {
|
||||||
if (index == 1 && widget.hasCoin) {
|
if (index == 1 && widget.hasCoin) {
|
||||||
return Colors.black45;
|
return Colors.black.withOpacity(0.4);
|
||||||
}
|
}
|
||||||
if (_coins == null) {
|
if (_coins == null) {
|
||||||
return Colors.transparent;
|
return Colors.transparent;
|
||||||
}
|
}
|
||||||
if (index == 0 && _coins == 0) {
|
if (index == 0 && _coins == 0) {
|
||||||
return Colors.black45;
|
return Colors.black.withOpacity(0.4);
|
||||||
}
|
}
|
||||||
if (index == 1 && _coins! < 2) {
|
if (index == 1 && _coins! < 2) {
|
||||||
return Colors.black45;
|
return Colors.black.withOpacity(0.4);
|
||||||
}
|
}
|
||||||
return Colors.transparent;
|
return Colors.transparent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user