Commit 484ec2fe by luyt

feat:添加字体icon公共样式

1 parent 8fd774fe
This diff could not be displayed because it is too large.
......@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="https://img02.glsx.com.cn/gl-iconfont/iconfont.css">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
......
......@@ -210,6 +210,12 @@
<GLDialog :mode="mode" title="提示" :hasFooter="hasFooter" :type="'error'" :content="'hello HelloWorld'" @onOk="handleOk" @onCancel="handleCancel" :visible.sync="dialogShow2"></GLDialog>
<GLDialog title="提示123" :mode="mode" :hasFooter="hasFooter" :type="'info'" :content="'hello HelloWorld'" @onOk="handleOk" @onCancel="handleCancel" :visible.sync="dialogShow1"></GLDialog>
<hr />
<!-- 测试iconfont字体 -->
<h3>广联iconfont字体调整</h3>
<i class="gl-icon-a-bianzu5 colorred"></i>
<i class="gl-icon-pause"></i>
<i class="gl-icon-icon-full-screen"></i>
<hr />
</div>
</template>
<script>
......@@ -1123,4 +1129,7 @@ export default {
height: 2000px;
font-size: 14px;
}
.colorred{
color: red;
}
</style>
......@@ -21,3 +21,4 @@ $color-primary-light02: var(--primaryLightColor02, rgba(88,80,255,0.2));
$color-primary-light01: var(--primaryLightColor01, rgba(88,80,255,0.1));
......@@ -6,4 +6,13 @@
}
.gl-margin0{
margin: 0 !important;
}
\ No newline at end of file
}
// 字体样式
*[class^="gl-icon-"]{
font-family: "gl-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!