fix sr gachaAllLog css层级获取不到字体 (#232)

This commit is contained in:
story-x 2023-08-23 01:34:27 +08:00 committed by GitHub
parent 142e3a18d9
commit cebae48eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -3,9 +3,9 @@
<head> <head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link rel="shortcut icon" href="#"/> <link rel="shortcut icon" href="#"/>
<link rel="stylesheet" type="text/css" href="{{pluResPath}}/html/gachaAllLog/gachaAllLog.css"/> <link rel="stylesheet" type="text/css" href="{{pluResPath}}html/gachaAllLog/gachaAllLog.css"/>
<link rel="preload" href="{{resPath}}font/tttgbnumber.ttf" as="font"> <link rel="preload" href="{{resPath}}font/tttgbnumber.ttf" as="font">
<link rel="preload" href="{{pluResPath}}/img/worldcard/星穹列车.png" as="image"> <link rel="preload" href="{{pluResPath}}img/worldcard/星穹列车.png" as="image">
{{@headStyle}} {{@headStyle}}
</head> </head>
<body id="container" class="body_box"> <body id="container" class="body_box">
@ -20,7 +20,7 @@
{{log.allNum}}抽 {{log.allNum}}抽
<span class="label label_{{type}}">{{log.typeName}}池</span> <span class="label label_{{type}}">{{log.typeName}}池</span>
</h2> </h2>
<img class="starrail_logo" src="{{pluResPath}}/img/other/logo.png"/> <img class="starrail_logo" src="{{pluResPath}}img/other/logo.png"/>
</div> </div>
<div class="data_box"> <div class="data_box">
<div class="tab_lable">数据总览</div> <div class="tab_lable">数据总览</div>
@ -51,7 +51,7 @@
{{/if}} {{/if}}
{{ if !val.isNull }} {{ if !val.isNull }}
<img class="role" <img class="role"
src="{{pluResPath}}/img/{{val.item_type=='角色'?'role':'weapon'}}/{{val.name}}.webp" src="{{pluResPath}}img/{{val.item_type=='角色'?'role':'weapon'}}/{{val.name}}.webp"
onerror="whenError(this,'{{val.item_type=='角色'?'role':'weapon'}}')"/> onerror="whenError(this,'{{val.item_type=='角色'?'role':'weapon'}}')"/>
<!-- <div class="num">{{val.num}}</div>--> <!-- <div class="num">{{val.num}}</div>-->
<div class="num_name {{val.num<=10?'gold': (val.num<log.max*0.5 ? 'good' : (val.num<log.max*0.83) ? 'normal': 'bad')}}" >{{val.num}}</div> <div class="num_name {{val.num<=10?'gold': (val.num<log.max*0.5 ? 'good' : (val.num<log.max*0.83) ? 'normal': 'bad')}}" >{{val.num}}</div>