style: 替换经纬度的位置图标

This commit is contained in:
zhangyu
2021-08-24 09:30:01 +08:00
parent d46b8eaaf5
commit f861f13513
6 changed files with 32 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('iconfont.woff2?t=1629166963964') format('woff2'),
url('iconfont.woff?t=1629166963964') format('woff'),
url('iconfont.ttf?t=1629166963964') format('truetype');
src: url('iconfont.woff2?t=1629768382494') format('woff2'),
url('iconfont.woff?t=1629768382494') format('woff'),
url('iconfont.ttf?t=1629768382494') format('truetype');
}
.nz-icon {
@@ -13,6 +13,18 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-Metrics:before {
content: "\e73d";
}
.nz-icon-logs:before {
content: "\e73e";
}
.nz-icon-weizhi:before {
content: "\e737";
}
.nz-icon-mobile:before {
content: "\e738";
}
@@ -33,10 +45,6 @@
content: "\e73c";
}
.nz-icon-zhongzhi2FA:before {
content: "\e737";
}
.nz-icon-reset:before {
content: "\e618";
}

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('./font/iconfont.woff2?t=1629339873183') format('woff2'),
url('./font/iconfont.woff?t=1629339873183') format('woff'),
url('./font/iconfont.ttf?t=1629339873183') format('truetype');
src: url('./font/iconfont.woff2?t=1629768382494') format('woff2'),
url('./font/iconfont.woff?t=1629768382494') format('woff'),
url('./font/iconfont.ttf?t=1629768382494') format('truetype');
}
.nz-icon {
@@ -13,6 +13,18 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-Metrics:before {
content: "\e73d";
}
.nz-icon-logs:before {
content: "\e73e";
}
.nz-icon-weizhi:before {
content: "\e737";
}
.nz-icon-mobile:before {
content: "\e738";
}
@@ -33,10 +45,6 @@
content: "\e73c";
}
.nz-icon-zhongzhi2FA:before {
content: "\e737";
}
.nz-icon-reset:before {
content: "\e618";
}

View File

@@ -11,7 +11,7 @@
<template slot="prepend">{{$t('config.system.basic.zoom')}}</template>
</el-input>
</div>
<div class="input-box-item" style="margin-right: unset !important;width: 30px !important;flex:unset;" @click="mapConfigVisible = true"><i class="nz-icon nz-icon-shuidi" style="color:rgb(238, 157, 63)"></i></div>
<div class="input-box-item" style="margin-right: unset !important;width: 30px !important;flex:unset;" @click="mapConfigVisible = true"><i class="nz-icon nz-icon-weizhi" style="color:rgb(238, 157, 63)"></i></div>
</div>
<el-dialog :visible.sync="mapConfigVisible" :title="$t('config.system.basic.mapTitle')" width="calc(50% - 10px)" @close="mapClose" @opened="initMap" class=" nz-dialog map-config-dialog" :modal-append-to-body="appendToBody">
<div id="map" style="height: 100%; width: 100%"></div>
@@ -28,7 +28,7 @@ import iconShadow from 'leaflet/dist/images/marker-shadow.png'
export default {
name: 'latlngPicker',
props: {
initData: { type: Object },
initData: { },
appendToBody: { type: Boolean, default: true },
showZoom: { type: Boolean, default: true }
},