Browse Source

2023-10-20

zhang 1 year ago
parent
commit
963ac4fb9b

+ 7 - 1
libs/i18n/lang/cn.json

@@ -50,7 +50,13 @@
 		"m16": "加入金额(元)",
 		"m17": "余额",
 		"m18": "当前可用",
-		"m19": "立即加入"
+		"m19": "立即加入",
+		"b1": "押注金额",
+		"b2": "请输入购买金额",
+		"b3": "确定",
+		"b4": "取消",
+		"b5": "请输入数字",
+		"b6": "质押成功"
 	},
 	"user":{
 		"c1": "余额",

+ 7 - 1
libs/i18n/lang/en.json

@@ -38,7 +38,13 @@
 		"m16": "Amount added(yuan)",
 		"m17": "Balance",
 		"m18": "Total",
-		"m19": "Join Now"
+		"m19": "Join Now",
+		"b1": "Bet amount",
+		"b2": "Please enter the amount",
+		"b3": "确定",
+		"b4": "取消",
+		"b5": "请输入数字",
+		"b6": "质押成功"
 	},
 	"homeinformation":{
 		"m1":"Game Introduction",

+ 7 - 1
libs/i18n/lang/tw.json

@@ -49,7 +49,13 @@
 		"m16": "買入金額(元)",
 		"m17": "餘額",
 		"m18": "當前可用",
-		"m19": "立即加入"
+		"m19": "立即加入",
+		"b1": "押注金额",
+		"b2": "请输入购买金额",
+		"b3": "确定",
+		"b4": "取消",
+		"b5": "请输入数字",
+		"b6": "质押成功"
 	},
 	"user":{
 		"c1": "餘額",

+ 47 - 17
pages.json

@@ -100,22 +100,26 @@
 			"style": {
 				"navigationBarTitleText": "我的质押",
 				"enablePullDownRefresh": false,
-				// "navigationBarTextStyle": "white",
-				"backgroundColor": "#000000"
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 
 		}, {
 			"path": "pages/introduce/introduce",
 			"style": {
 				"navigationBarTitleText": "玩法介绍",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 
 		}, {
 			"path": "pages/introduce/promotion",
 			"style": {
 				"navigationBarTitleText": "推广计划",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 
 		},
@@ -123,21 +127,27 @@
 			"path": "pages/introduce/game",
 			"style": {
 				"navigationBarTitleText": "游戏举例",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 
 		}, {
 			"path": "pages/myPledge/zyXingqing",
 			"style": {
 				"navigationBarTitleText": "",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 
 		}, {
 			"path": "pages/game/history",
 			"style": {
 				"navigationBarTitleText": "历史列表",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#000000",
+				"navigationBarTextStyle": "white"
 			}
 		}
 
@@ -149,13 +159,17 @@
 				"path": "money/recharge",
 				"style": {
 					"navigationBarTitleText": "充值",
-					"enablePullDownRefresh": false
+					"enablePullDownRefresh": false,
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "money/withdrawal",
 				"style": {
-					"navigationBarTitleText": "奖励提现"
+					"navigationBarTitleText": "奖励提现",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
@@ -168,52 +182,68 @@
 			{
 				"path": "set/set",
 				"style": {
-					"navigationBarTitleText": "设置"
+					"navigationBarTitleText": "设置",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			}, {
 				"path": "set/transaction",
 				"style": {
 					"navigationBarTitleText": "交易密码",
-					"enablePullDownRefresh": false
+					"enablePullDownRefresh": false,
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 
 			},
 			{
 				"path": "set/password",
 				"style": {
-					"navigationBarTitleText": "修改密码"
+					"navigationBarTitleText": "修改密码",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "set/userinfo",
 				"style": {
-					"navigationBarTitleText": "修改资料"
+					"navigationBarTitleText": "修改资料",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "vip/tabulation",
 				"style": {
 					"navigationBarTitleText": "会员列表",
-					"enablePullDownRefresh": false
+					"enablePullDownRefresh": false,
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "vip/details",
 				"style": {
 					"navigationBarTitleText": "他的粉絲",
-					"enablePullDownRefresh": false
+					"enablePullDownRefresh": false,
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "shareQrCode",
 				"style": {
-					"navigationBarTitleText": "互娛記錄"
+					"navigationBarTitleText": "互娛記錄",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			},
 			{
 				"path": "favorites",
 				"style": {
-					"navigationBarTitleText": "推廣海報"
+					"navigationBarTitleText": "推廣海報",
+					"navigationBarBackgroundColor": "#000000",
+					"navigationBarTextStyle": "white"
 				}
 			}
 		]

+ 0 - 4
pages/game/history.vue

@@ -37,10 +37,6 @@
 		onLoad(option) {
 			this.id = option.id;
 			this.gameBetList()
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a2"),
 			});

+ 0 - 4
pages/introduce/game.vue

@@ -37,10 +37,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a6"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 		}
 	}
 </script>

+ 0 - 4
pages/introduce/introduce.vue

@@ -39,10 +39,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a4"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			})
 		}
 	};
 </script>

+ 0 - 4
pages/introduce/promotion.vue

@@ -87,10 +87,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a5"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 		}
 	};
 </script>

+ 0 - 4
pages/myPledge/myPledge.vue

@@ -190,10 +190,6 @@
 				title: this.$t("tab.a1"),
 				 
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			})
 		},
 		onShow() {
 			this.getUserInfo();

+ 0 - 4
pages/user/favorites.vue

@@ -21,10 +21,6 @@ export default {
 		uni.setNavigationBarTitle({
 			title: this.$t("tab.b2"),
 		});
-		uni.setNavigationBarColor({
-		    frontColor: '#ffffff',
-		    backgroundColor: '#000000',
-		});
 	},
 	computed: {
 		cpSize() {

+ 0 - 4
pages/user/money/recharge.vue

@@ -75,10 +75,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a3"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 			this.qianBao()
 		},
 		methods: {

+ 0 - 4
pages/user/money/withdrawal.vue

@@ -49,10 +49,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a8"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 		}
 	}
 </script>

+ 0 - 4
pages/user/set/userinfo.vue

@@ -61,10 +61,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.b4"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
 			console.log(this.baseURL)
 		},
 		computed: {

+ 0 - 4
pages/user/shareQrCode.vue

@@ -38,10 +38,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.a9"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			})
 		},
 		//下拉刷新
 		onPullDownRefresh() {

+ 0 - 5
pages/user/vip/tabulation.vue

@@ -63,11 +63,6 @@
 			uni.setNavigationBarTitle({
 				title: this.$t("tab.b1"),
 			});
-			uni.setNavigationBarColor({
-			    frontColor: '#ffffff',
-			    backgroundColor: '#000000',
-			});
-			
 		},
 		methods: {
 			async spread() {