删除不需要的文件及提交移动端的代码
This commit is contained in:
1 parent
86f65df783
commit
134f711349
751 files changed
+3888
-115501
No files matched your search
@@ -7,8 +7,9 @@
|
||||
tabindex="0"
|
||||
>
|
||||
<view class="service-icon">
|
||||
<text class="icon" v-if="icon">{{ icon }}</text>
|
||||
<slot v-else name="icon"></slot>
|
||||
<slot name="icon">
|
||||
<text class="icon" v-if="icon">{{ icon }}</text>
|
||||
</slot>
|
||||
</view>
|
||||
<text class="service-title">{{ title }}</text>
|
||||
<view v-if="badge" class="service-badge">
|
||||
@@ -82,12 +83,33 @@ export default {
|
||||
.icon {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
// 支持u-icon组件
|
||||
:deep(.u-icon) {
|
||||
font-size: 24px !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
// 支持iconfont图标
|
||||
.iconfont {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 24px;
|
||||
color: inherit;
|
||||
filter: brightness(0) saturate(100%) invert(49%) sepia(98%) saturate(3332%)
|
||||
hue-rotate(196deg) brightness(104%) contrast(101%);
|
||||
}
|
||||
}
|
||||
|
||||
.service-item:hover .service-icon {
|
||||
background: $uni-color-primary;
|
||||
color: $uni-text-color-inverse;
|
||||
transform: scale(1.1);
|
||||
|
||||
.iconfont {
|
||||
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg)
|
||||
brightness(100%) contrast(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.service-title {
|
||||
@@ -160,6 +182,18 @@ export default {
|
||||
.icon {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
// 响应式u-icon支持
|
||||
:deep(.u-icon) {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
// 响应式iconfont支持
|
||||
.iconfont {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.service-title {
|
||||
|
||||
Reference in new issue
Block a user