fix(settings): 更新品牌 Banner 尺寸提示信息
- 将品牌 Banner 最佳显示尺寸从 1200*736 更新为 20*64 - 调整图片预览区域以适配新尺寸比例 --- test(api): 修改商标查询测试用例参数 - 更改测试品牌名称从 SummitFlare 为 MADCKDEDRT- 简化测试输出内容,仅显示注册状态结果
This commit is contained in:
@@ -791,8 +791,7 @@ onMounted(() => {
|
||||
<div class="section-title">品牌 Banner</div>
|
||||
<img src="/icon/vipExclusive.png" alt="VIP专享" class="vip-exclusive-logo" />
|
||||
</div>
|
||||
<div class="section-subtitle-text"> 支持 JPG、PNG 格式,最佳显示尺寸/比例 1200*736</div>
|
||||
|
||||
<div class="section-subtitle-text"> 支持 JPG、PNG 格式,最佳显示尺寸/比例 200*64</div>
|
||||
<div class="setting-item">
|
||||
<div class="image-preview-wrapper" v-if="brandLogoUrl">
|
||||
<img :src="brandLogoUrl" alt="品牌 Banner" class="preview-image" />
|
||||
|
||||
@@ -34,7 +34,7 @@ public class UsptoApiTest {
|
||||
TrademarkCheckUtil trademarkUtil = context.getBean(TrademarkCheckUtil.class);
|
||||
|
||||
// 测试单品牌查询(获取详细结果)
|
||||
testSingleBrandWithDetailedResults("SummitFlare");
|
||||
testSingleBrandWithDetailedResults("MADCKDEDRT");
|
||||
|
||||
} catch (Exception e) {
|
||||
System.err.println("测试失败: " + e.getMessage());
|
||||
@@ -104,7 +104,6 @@ public class UsptoApiTest {
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
// 构建JavaScript脚本 - 获取所有结果
|
||||
String script = "const brands = ['" + brandName.replace("'", "\\'") + "'];\n" +
|
||||
"const callback = arguments[arguments.length - 1];\n" +
|
||||
"Promise.all(brands.map(b => \n" +
|
||||
@@ -209,7 +208,7 @@ public class UsptoApiTest {
|
||||
}
|
||||
|
||||
// 极简输出 - 只显示最终结果
|
||||
System.out.println(results);
|
||||
System.out.println(isRegistered);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.err.println("=== 测试失败 ===");
|
||||
|
||||
Reference in New Issue
Block a user