File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 249
249
.verify-btn .yellow : hover {
250
250
background-color : # e0a800 ;
251
251
}
252
+ .verify-btn ::after {
253
+ content : attr (data-tooltip); /* 获取 data-tooltip 属性的值作为提示文本 */
254
+ visibility : hidden;
255
+ opacity : 0 ;
256
+ position : absolute;
257
+ background-color : # 333 ;
258
+ color : # fff ;
259
+ padding : 5px 10px ;
260
+ border-radius : 3px ;
261
+ transition : opacity 0.3s ;
262
+ }
263
+ .verify-btn : hover ::after {
264
+ visibility : visible;
265
+ opacity : 1 ;
266
+ }
252
267
253
268
.model-filter-container {
254
269
display : flex;
@@ -830,13 +845,13 @@ <h3>(适配 oneapi/newapi 等中转格式)</h3>
830
845
if ( r . model . startsWith ( 'gpt-' ) || r . model . startsWith ( 'claude-' ) ) {
831
846
let officialButtonClass = results . awaitOfficialVerification . some ( item => item . model === r . model ) ? "green" : "yellow" ;
832
847
verifyButtons =
833
- '<button class="verify-btn blue" onclick="verifyTemperature(\'' +
848
+ '<button class="verify-btn blue" data-tooltip="低温度参数下预测序列下一个值,将发起4次请求" onclick="verifyTemperature(\'' +
834
849
r . model +
835
850
"')\">温度验证</button>" +
836
851
( r . model . startsWith ( 'gpt-' ) ?
837
852
'<button class="verify-btn ' +
838
853
officialButtonClass +
839
- '" onclick="verifyOfficial(\'' +
854
+ '" data-tooltip="相同种子参数下校验回复相似性和系统指纹,将发起4次请求" onclick="verifyOfficial(\'' +
840
855
r . model +
841
856
"')\">官转验证</button>" : '' ) ;
842
857
}
You can’t perform that action at this time.
0 commit comments