Browse Source

添加提示

ssvfdn 3 tháng trước cách đây
mục cha
commit
2bb135ac34

+ 30 - 8
apps/web-antd/src/views/game_control/auto_rtp/config/index.vue

@@ -44,13 +44,13 @@ const gridOptions = {
 	rowConfig: {
 		isHover: true,
 	},
-	toolbarConfig: {
-		custom: true,
-		export: true,
-		// import: true,
-		refresh: true,
-		zoom: true,
-	},
+	// toolbarConfig: {
+	// 	custom: true,
+	// 	export: true,
+	// 	// import: true,
+	// 	refresh: true,
+	// 	zoom: true,
+	// },
 };
 
 const [Grid, gridApi] = useVbenVxeGrid({
@@ -112,11 +112,33 @@ const openInfo = (row, is_edit = false) => {
 			<template #rtp_float="{ row }">
 				{{row.rtp_float}}%
 			</template>
+			<template #toolbar-actions>
+				<div class="ant-alert-warning">
+					玩家RTP自动降低功能:玩家在游戏内RTP超过游戏默认设定的RTP一定程度时,系统将自动进入判断,玩家将有概率触发控制,通过功能控制逻辑将玩家在游戏内的RTP降低一定程度,点击“降低配置”按钮进行相关配置。
+				</div>
+			</template>
 		</Grid>
 		<Modal />
 	</Page>
 </template>
 
 <style scoped>
-
+.ant-alert-warning {
+	background-color: #fffdf0;
+	border: 1px solid #fff4c7;
+	box-sizing: border-box;
+	margin: 0;
+	padding: 8px 12px;
+	color: rgba(50, 54, 57, 0.88);
+	font-size: 14px;
+	line-height: 1.5714285714285714;
+	list-style: none;
+	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
+	position: relative;
+	display: flex;
+	align-items: center;
+	word-wrap: break-word;
+	border-radius: 10px;
+	color: #ff3860;
+}
 </style>