File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " stackprism" ,
33 "private" : true ,
4- "version" : " 1.3.65 " ,
4+ "version" : " 1.3.66 " ,
55 "type" : " module" ,
66 "description" : " StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。" ,
77 "scripts" : {
Original file line number Diff line number Diff line change 11<template >
2- <span :class =" ['tech-chip', chipClass]" aria-hidden =" true" >
2+ <span :class =" ['tech-chip', chipClass, { 'tech-chip-loaded': iconState === 'loaded' } ]" aria-hidden =" true" >
33 <img v-show =" iconState === 'loaded'" class =" tech-chip-img" :src =" iconUrl" alt =" " @load =" onLoad" @error =" onError" />
44 <span v-show =" iconState !== 'loaded'" class =" tech-chip-initial" >{{ initial }}</span >
55 </span >
136136 & .tech-chip-slate {
137137 --tech-chip-bg : #6b7280 ;
138138 }
139+
140+ // 拿到 simpleicons 的 SVG 后:SVG 本身透明,色块底色会从镂空处透出来很丑;
141+ // 这时候撤掉色块底色和圆角,让品牌图标原样显示
142+ & .tech-chip-loaded {
143+ background : transparent ;
144+ border-radius : 0 ;
145+ }
139146 }
140147
141148 .tech-chip-large {
You can’t perform that action at this time.
0 commit comments