更新组件演示页面,方便用户直接使用组件,去除tn-button的默认背景色,tn-avatar修改参数默认值,修复tn-avatar-group最开始头像进行了偏移、修复无法使用标签的bug,tn-badge修改参数默认值,tn-collapse-item修复背景颜色失效问题,滚动通知移除默认背景颜色和字体大小,tn-count-down修复时间单位不正确问题,列表组件修复背景颜色问题,tn-nav-bar返回按钮修改为可进行修改的图标,tn-step添加点击步骤进行跳转,tn-loading修复默认激活颜色出错问题,tn-tag移除默认背景颜色,优化阴影大小css

This commit is contained in:
JaylenTech
2022-02-08 19:55:15 +08:00
parent 043ee3f585
commit 946bb52c03
94 changed files with 6296 additions and 4727 deletions
+8 -3
View File
@@ -128,7 +128,7 @@
break
}
style.width = this.width || '100%'
style.width = this.width || '120rpx'
style.height = this.height || style.height
style.padding = this.padding || style.padding
@@ -144,9 +144,14 @@
}
if (!this.backgroundColorClass) {
style.backgroundColor = !this.plain ? (this.backgroundColorStyle || '#01BEFF') : ''
style.backgroundColor = !this.plain ? (this.backgroundColorStyle || '#FFFFFF') : ''
if (this.plain) {
style.borderColor = (this.backgroundColorStyle || '#080808')
}
}
return style
},
},
@@ -179,7 +184,7 @@
box-sizing: border-box;
font-family: Helvetica Neue, Helvetica, sans-serif;
white-space: nowrap;
color: #FFFFFF;
// color: #FFFFFF;
&--fillet-left {
border-radius: 50rpx 0 0 50rpx;