/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .tabtip { display: flex; align-items: center; justify-content: space-between; } .tabtip > view { width: 50%; display: flex; align-items: center; justify-content: center; background-color: #ffffff; font-size: 32rpx; font-weight: 400; color: #90A0AF; } .tabtip > view > view { height: 80rpx; border-bottom: 8rpx solid #ffffff; display: flex; align-items: center; justify-content: center; } .tabtip .xz { color: #D3832A; border-bottom: 8rpx solid #D3832A; } .scve { width: 100%; height: 62.2vh; margin-top: 20rpx; } .scve .mabx { display: flex; flex-direction: column; align-items: center; } .scve .mabx > .itec { width: 686rpx; background: #FFFFFF; border-radius: 8rpx; padding: 36rpx 24rpx; box-sizing: border-box; position: relative; margin-bottom: 20rpx; } .scve .mabx > .itec:nth-last-child(1) { margin-bottom: 0; } .scve .mabx > .itec > .contenbx1 { display: flex; align-items: center; justify-content: space-between; font-size: 28rpx; color: #092C4D; margin-bottom: 20rpx; } .scve .mabx > .itec > .contenbx1:nth-last-child(1) { margin-bottom: 0; } .scve .mabx > .itec > .contenbx1 > view { flex: 1; } .scve .mabx > .itec .tip { position: absolute; right: 0; top: 0; width: 96rpx; height: 48rpx; border-radius: 0 8rpx 0 8rpx; display: flex; align-items: center; justify-content: center; font-size: 24rpx; } .scve .mabx > .itec .tp1 { background-color: #0086F120; color: #0086F1; } .scve .mabx > .itec .tp2 { background-color: #F8544B20; color: #F8544B; } .scve .mabx > .itec .tp3 { background-color: #FA8C1620; color: #FA8C16; } .hdstop { width: 100%; padding: 34rpx 32rpx; background-color: #fff; box-sizing: border-box; font-size: 28rpx; font-weight: 400; color: #092C4D; } .hdstop > .khxb { display: flex; align-items: center; margin-bottom: 40rpx; } .hdstop > .tps { display: flex; align-items: center; justify-content: space-around; } .hdstop > .tps > view { display: flex; align-items: center; flex-direction: column; } .hdstop > .tps > view:nth-of-type(1) > view:nth-of-type(2) { color: #092C4D; } .hdstop > .tps > view:nth-of-type(2) > view:nth-of-type(2) { color: #0086F1; } .hdstop > .tps > view:nth-of-type(3) > view:nth-of-type(2) { color: #3AD8BC; } .hdstop > .tps > view:nth-of-type(4) > view:nth-of-type(2) { color: #FA8C16; } .hdstop > .tps > view > view:nth-of-type(2) { font-size: 36rpx; font-weight: 400; margin-top: 20rpx; } .scinp { display: flex; align-items: center; justify-content: space-between; padding: 12rpx 32rpx; box-sizing: border-box; background-color: #ffffff; border-top: 3rpx solid #EEEEEE; } .scinp > view:nth-of-type(1) { font-size: 28rpx; font-weight: 400; color: #092C4D; } .scinp .inputs { width: 276rpx; height: 64rpx; background: #F5F5F6; border-radius: 8rpx; opacity: 1; border: 2rpx solid #EEEEEE; padding: 10rpx; box-sizing: border-box; font-size: 24rpx; font-weight: 400; color: #AFB4BA; } .scinp .inputs > input { flex: 1; font-size: 24rpx; color: #092C4D; } .scinp .btscan { width: 128rpx; height: 64rpx; background: #D3832A; border-radius: 8rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; font-weight: 400; color: #FFFFFF; }