Commit 5476b78e by xinla

#000,#222 color: var(--font-black)

#8c939d   color: var(--font-black-6)
等其他杂项color
1 parent 3b29c97e
Showing 30 changed files with 349 additions and 350 deletions
...@@ -373,7 +373,7 @@ export default { ...@@ -373,7 +373,7 @@ export default {
// height: 60px; // height: 60px;
text-align: center; text-align: center;
line-height: 60px; line-height: 60px;
color: #909399; color: var(--font-black-6);
font-size: 13px; font-size: 13px;
padding: 40px; padding: 40px;
padding-left: 0px; padding-left: 0px;
......
...@@ -693,7 +693,7 @@ export default { ...@@ -693,7 +693,7 @@ export default {
font-size: 28px; font-size: 28px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #8c939d; color: var(--font-black-6);
border-radius: 6px; border-radius: 6px;
border: 1px dashed #d9d9d9; border: 1px dashed #d9d9d9;
transition: all 0.3s; transition: all 0.3s;
......
...@@ -5,17 +5,16 @@ ...@@ -5,17 +5,16 @@
:disabled="isDetail" :disabled="isDetail"
@change="setChange" @change="setChange"
v-model="form.address" v-model="form.address"
style="width: 500px;" style="width: 500px"
popper-class="autoAddressClass" popper-class="autoAddressClass"
:fetch-suggestions="querySearchAsync" :fetch-suggestions="querySearchAsync"
:trigger-on-focus="false" :trigger-on-focus="false"
placeholder="详细地址" placeholder="详细地址"
clearable clearable
@select="handleSelect" @select="handleSelect">
>
<template #default="{ item }"> <template #default="{ item }">
<el-icon-search class="el-icon-search fl mgr10" /> <el-icon-search class="el-icon-search fl mgr10" />
<div style="overflow: hidden;"> <div style="overflow: hidden">
<div class="title">{{ item.title }}</div> <div class="title">{{ item.title }}</div>
<span class="address ellipsis">{{ item.address }}</span> <span class="address ellipsis">{{ item.address }}</span>
</div> </div>
...@@ -29,350 +28,350 @@ ...@@ -29,350 +28,350 @@
</template> </template>
<script> <script>
/* eslint-disable */ /* eslint-disable */
import loadBMap from '@/utils/baiduMap.js' import loadBMap from '@/utils/baiduMap.js'
export default { export default {
data() { data() {
return { return {
form: { form: {
province: '', province: '',
city: '', city: '',
area: '', area: '',
address: '', // 详细地址 address: '', // 详细地址
addrPoint: { addrPoint: {
// 详细地址经纬度 // 详细地址经纬度
lng: 0, lng: 0,
lat: 0 lat: 0,
}
}, },
map: '', // 地图实例
mk: '', // Marker实例
locationPoint: null
}
},
props: {
initData: {
type: Object,
default: () => ({
// area: '', // 省市区
// address: '', // 详细地址
// longitude: '', // 经度
// latitude: '', // 纬度
})
},
mapWidth: {
type: String,
default: '500px'
}, },
mapHeight: { map: '', // 地图实例
type: String, mk: '', // Marker实例
default: '300px' locationPoint: null,
}, }
isDetail: { },
type: Boolean, props: {
default: false initData: {
}, type: Object,
// 是否只显示地图 default: () => ({
isOnlyShowMap: { // area: '', // 省市区
type: Boolean, // address: '', // 详细地址
default: false // longitude: '', // 经度
}, // latitude: '', // 纬度
watch: { }),
initData: {
handler(value) {
if (this.initData.area && !this.initData.address) {
this.form.address = ''
this.getPoint(this.initData.area)
this.initMap()
}
if (this.initData.address) {
this.form.address = this.initData.address
if (this.initData.longitude && this.initData.latitude) {
this.form.addrPoint.lng = this.initData.longitude
this.form.addrPoint.lat = this.initData.latitude
} else {
let detailAddress = this.initData.area + this.initData.address
this.getPoint(detailAddress)
}
this.initMap()
}
},
deep: true
}
}
}, },
async mounted() { mapWidth: {
// 百度地图AK: GeDsF2XGs01U0bUSpFIUCmvyNoYuGC3P type: String,
await loadBMap() // 加载引入BMap default: '500px',
if (this.initData.address) { },
this.form.address = this.initData.address mapHeight: {
if (this.initData.longitude && this.initData.latitude) { type: String,
this.form.addrPoint.lng = this.initData.longitude default: '300px',
this.form.addrPoint.lat = this.initData.latitude },
} else { isDetail: {
let detailAddress = this.initData.area + this.initData.address type: Boolean,
this.getPoint(detailAddress) default: false,
}
}
this.initMap()
}, },
methods: { // 是否只显示地图
getCity(str) { isOnlyShowMap: {
if (str) { type: Boolean,
let area = {} default: false,
let index11 = 0 },
let index1 = str.indexOf('省') watch: {
if (index1 == -1) { initData: {
index11 = str.indexOf('自治区') handler(value) {
if (index11 != -1) { if (this.initData.area && !this.initData.address) {
area.Province = str.substring(0, index11 + 3) this.form.address = ''
this.getPoint(this.initData.area)
this.initMap()
}
if (this.initData.address) {
this.form.address = this.initData.address
if (this.initData.longitude && this.initData.latitude) {
this.form.addrPoint.lng = this.initData.longitude
this.form.addrPoint.lat = this.initData.latitude
} else { } else {
area.Province = str.substring(0, 0) let detailAddress = this.initData.area + this.initData.address
this.getPoint(detailAddress)
} }
this.initMap()
}
},
deep: true,
},
},
},
async mounted() {
// 百度地图AK: GeDsF2XGs01U0bUSpFIUCmvyNoYuGC3P
await loadBMap() // 加载引入BMap
if (this.initData.address) {
this.form.address = this.initData.address
if (this.initData.longitude && this.initData.latitude) {
this.form.addrPoint.lng = this.initData.longitude
this.form.addrPoint.lat = this.initData.latitude
} else {
let detailAddress = this.initData.area + this.initData.address
this.getPoint(detailAddress)
}
}
this.initMap()
},
methods: {
getCity(str) {
if (str) {
let area = {}
let index11 = 0
let index1 = str.indexOf('省')
if (index1 == -1) {
index11 = str.indexOf('自治区')
if (index11 != -1) {
area.Province = str.substring(0, index11 + 3)
} else { } else {
area.Province = str.substring(0, index1 + 1) area.Province = str.substring(0, 0)
} }
} else {
area.Province = str.substring(0, index1 + 1)
}
let index2 = str.indexOf('市') let index2 = str.indexOf('市')
if (index11 == -1) { if (index11 == -1) {
area.City = str.substring(index11 + 1, index2 + 1) area.City = str.substring(index11 + 1, index2 + 1)
} else {
if (index11 == 0) {
area.City = str.substring(index1 + 1, index2 + 1)
} else { } else {
if (index11 == 0) { area.City = str.substring(index11 + 3, index2 + 1)
area.City = str.substring(index1 + 1, index2 + 1)
} else {
area.City = str.substring(index11 + 3, index2 + 1)
}
} }
}
let index3 = str.indexOf('区') let index3 = str.indexOf('区')
if (index3 == -1) {
index3 = str.indexOf('县')
if (index3 == -1) { if (index3 == -1) {
index3 = str.indexOf('县') index3 = str.indexOf('旗')
if (index3 == -1) { area.Country = str.substring(index2 + 1, index3 + 1)
index3 = str.indexOf('旗')
area.Country = str.substring(index2 + 1, index3 + 1)
} else {
area.Country = str.substring(index2 + 1, index3 + 1)
}
} else { } else {
area.Country = str.substring(index2 + 1, index3 + 1) area.Country = str.substring(index2 + 1, index3 + 1)
} }
return area.City
} else { } else {
return '' area.Country = str.substring(index2 + 1, index3 + 1)
} }
}, return area.City
getPoint(str) { } else {
return ''
}
},
getPoint(str) {
var that = this
var myGeo = new BMap.Geocoder()
myGeo.getPoint(
str,
function (point) {
if (point) {
that.form.addrPoint = point
that.$emit('point', point)
} else {
// alert('您选择的地址没有解析到结果!')
}
},
that.getCity(str),
)
},
// 初始化地图
initMap() {
var that = this
// 1、挂载地图
this.map = new BMap.Map(this.$refs.bMap, { enableMapClick: false })
var point = new BMap.Point(
this.form.addrPoint.lng || 117.2334414073489,
this.form.addrPoint.lat || 31.826578293886,
)
this.map.centerAndZoom(point, 19)
// 3、设置图像标注并绑定拖拽标注结束后事件
this.mk = new BMap.Marker(point, { enableDragging: true })
this.map.addOverlay(this.mk)
this.mk.addEventListener('dragend', function (e) {
that.getAddrByPoint(e.point)
})
// 4、添加(右上角)平移缩放控件
this.map.addControl(
new BMap.NavigationControl({ anchor: BMAP_ANCHOR_TOP_RIGHT, type: BMAP_NAVIGATION_CONTROL_SMALL }),
)
// 5、添加(左下角)定位控件
var geolocationControl = new BMap.GeolocationControl({ anchor: BMAP_ANCHOR_BOTTOM_LEFT })
geolocationControl.addEventListener('locationSuccess', function (e) {
that.getAddrByPoint(e.point)
})
geolocationControl.addEventListener('locationError', function (e) {
alert(e.message)
})
this.map.addControl(geolocationControl)
// 6、浏览器定位
// this.geolocation()
// 7、绑定点击地图任意点事件
this.map.addEventListener('click', function (e) {
that.getAddrByPoint(e.point)
})
},
// 获取两点间的距离
getDistancs(pointA, pointB) {
return this.map.getDistance(pointA, pointB).toFixed(2)
},
// 浏览器定位函数
geolocation() {
if (!this.isDetail) {
var that = this var that = this
var myGeo = new BMap.Geocoder() var geolocation = new BMap.Geolocation()
myGeo.getPoint( geolocation.getCurrentPosition(
str, function (res) {
function (point) { if (this.getStatus() == BMAP_STATUS_SUCCESS) {
if (point) { that.getAddrByPoint(res.point)
that.form.addrPoint = point that.locationPoint = res.point
that.$emit('point', point)
} else { } else {
// alert('您选择的地址没有解析到结果!') alert('failed' + this.getStatus())
that.locationPoint = new BMap.Point(117.2334414073489, 31.826578293886)
} }
}, },
that.getCity(str) { enableHighAccuracy: true },
) )
}, }
// 初始化地图 },
initMap() { // 2、逆地址解析函数
getAddrByPoint(point) {
if (!this.isDetail) {
var that = this var that = this
// 1、挂载地图 var geco = new BMap.Geocoder()
this.map = new BMap.Map(this.$refs.bMap, { enableMapClick: false }) geco.getLocation(point, function (res) {
var point = new BMap.Point( that.mk.setPosition(point)
this.form.addrPoint.lng || 117.2334414073489, that.map.panTo(point)
this.form.addrPoint.lat || 31.826578293886 that.form.address = res.addressComponents.street + res.addressComponents.streetNumber
) that.form.province = res.addressComponents.province
this.map.centerAndZoom(point, 19) that.form.city = res.addressComponents.city
// 3、设置图像标注并绑定拖拽标注结束后事件 that.form.area = res.addressComponents.district
this.mk = new BMap.Marker(point, { enableDragging: true }) that.form.addrPoint = point
this.map.addOverlay(this.mk) that.onSubmit()
this.mk.addEventListener('dragend', function (e) {
that.getAddrByPoint(e.point)
})
// 4、添加(右上角)平移缩放控件
this.map.addControl(
new BMap.NavigationControl({ anchor: BMAP_ANCHOR_TOP_RIGHT, type: BMAP_NAVIGATION_CONTROL_SMALL })
)
// 5、添加(左下角)定位控件
var geolocationControl = new BMap.GeolocationControl({ anchor: BMAP_ANCHOR_BOTTOM_LEFT })
geolocationControl.addEventListener('locationSuccess', function (e) {
that.getAddrByPoint(e.point)
})
geolocationControl.addEventListener('locationError', function (e) {
alert(e.message)
}) })
this.map.addControl(geolocationControl) }
// 6、浏览器定位 },
// this.geolocation() // 8-1、地址搜索
// 7、绑定点击地图任意点事件 querySearchAsync(str, cb) {
this.map.addEventListener('click', function (e) { var options = {
that.getAddrByPoint(e.point) onSearchComplete: function (res) {
}) var s = []
}, if (local.getStatus() == BMAP_STATUS_SUCCESS) {
// 获取两点间的距离 for (var i = 0; i < res.getCurrentNumPois(); i++) {
getDistancs(pointA, pointB) { s.push(res.getPoi(i))
return this.map.getDistance(pointA, pointB).toFixed(2)
},
// 浏览器定位函数
geolocation() {
if (!this.isDetail) {
var that = this
var geolocation = new BMap.Geolocation()
geolocation.getCurrentPosition(
function (res) {
if (this.getStatus() == BMAP_STATUS_SUCCESS) {
that.getAddrByPoint(res.point)
that.locationPoint = res.point
} else {
alert('failed' + this.getStatus())
that.locationPoint = new BMap.Point(117.2334414073489, 31.826578293886)
}
},
{ enableHighAccuracy: true }
)
}
},
// 2、逆地址解析函数
getAddrByPoint(point) {
if (!this.isDetail) {
var that = this
var geco = new BMap.Geocoder()
geco.getLocation(point, function (res) {
that.mk.setPosition(point)
that.map.panTo(point)
that.form.address = res.addressComponents.street + res.addressComponents.streetNumber
that.form.province = res.addressComponents.province
that.form.city = res.addressComponents.city
that.form.area = res.addressComponents.district
that.form.addrPoint = point
that.onSubmit()
})
}
},
// 8-1、地址搜索
querySearchAsync(str, cb) {
var options = {
onSearchComplete: function (res) {
var s = []
if (local.getStatus() == BMAP_STATUS_SUCCESS) {
for (var i = 0; i < res.getCurrentNumPois(); i++) {
s.push(res.getPoi(i))
}
cb(s)
} else {
cb(s)
} }
cb(s)
} else {
cb(s)
} }
} },
var local = new BMap.LocalSearch(this.map, options) }
local.search(str) var local = new BMap.LocalSearch(this.map, options)
}, local.search(str)
splitName(str) { },
if (str) { splitName(str) {
let area = {} if (str) {
let index11 = 0 let area = {}
let index1 = str.indexOf('省') let index11 = 0
if (index1 == -1) { let index1 = str.indexOf('省')
index11 = str.indexOf('自治区') if (index1 == -1) {
if (index11 != -1) { index11 = str.indexOf('自治区')
area.Province = str.substring(0, index11 + 3) if (index11 != -1) {
} else { area.Province = str.substring(0, index11 + 3)
area.Province = str.substring(0, 0)
}
} else { } else {
area.Province = str.substring(0, index1 + 1) area.Province = str.substring(0, 0)
} }
} else {
area.Province = str.substring(0, index1 + 1)
}
let index2 = str.indexOf('市') let index2 = str.indexOf('市')
if (index11 == -1) { if (index11 == -1) {
area.City = str.substring(index11 + 1, index2 + 1) area.City = str.substring(index11 + 1, index2 + 1)
} else {
if (index11 == 0) {
area.City = str.substring(index1 + 1, index2 + 1)
} else { } else {
if (index11 == 0) { area.City = str.substring(index11 + 3, index2 + 1)
area.City = str.substring(index1 + 1, index2 + 1)
} else {
area.City = str.substring(index11 + 3, index2 + 1)
}
} }
}
let index3 = str.indexOf('区') let index3 = str.indexOf('区')
if (index3 == -1) {
index3 = str.indexOf('县')
if (index3 == -1) { if (index3 == -1) {
index3 = str.indexOf('县') index3 = str.indexOf('旗')
if (index3 == -1) { area.Country = str.substring(index2 + 1, index3 + 1)
index3 = str.indexOf('旗')
area.Country = str.substring(index2 + 1, index3 + 1)
} else {
area.Country = str.substring(index2 + 1, index3 + 1)
}
} else { } else {
area.Country = str.substring(index2 + 1, index3 + 1) area.Country = str.substring(index2 + 1, index3 + 1)
} }
let data = area.Province + area.City + area.Country
if (area.Province) {
this.form.province = area.Province
}
if (area.City) {
this.form.city = area.City
}
this.form.area = area.Country
return str.substring(data.length)
} else { } else {
return '' area.Country = str.substring(index2 + 1, index3 + 1)
} }
}, let data = area.Province + area.City + area.Country
// 8-2、选择地址 if (area.Province) {
handleSelect(item) { this.form.province = area.Province
this.form.province = item.province
this.form.city = item.city
this.form.address = this.splitName(item.address) + item.title
this.form.addrPoint = item.point
this.map.clearOverlays()
this.mk = new BMap.Marker(item.point)
this.map.addOverlay(this.mk)
this.map.panTo(item.point)
this.onSubmit()
},
setChange(data) {
if (!data) {
this.form = {
address: '',
addrPoint: {
lng: 0,
lat: 0
}
}
this.onSubmit()
} }
}, if (area.City) {
onSubmit() { this.form.city = area.City
this.$emit('update', this.form) }
this.form.area = area.Country
return str.substring(data.length)
} else {
return ''
} }
} },
} // 8-2、选择地址
handleSelect(item) {
this.form.province = item.province
this.form.city = item.city
this.form.address = this.splitName(item.address) + item.title
this.form.addrPoint = item.point
this.map.clearOverlays()
this.mk = new BMap.Marker(item.point)
this.map.addOverlay(this.mk)
this.map.panTo(item.point)
this.onSubmit()
},
setChange(data) {
if (!data) {
this.form = {
address: '',
addrPoint: {
lng: 0,
lat: 0,
},
}
this.onSubmit()
}
},
onSubmit() {
this.$emit('update', this.form)
},
},
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.autoAddressClass { .autoAddressClass {
li { li {
i.el-icon-search { i.el-icon-search {
margin-top: 11px; margin-top: 11px;
} }
.mgr10 { .mgr10 {
margin-right: 10px; margin-right: 10px;
} }
.title { .title {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
.address { .address {
line-height: 1; line-height: 1;
font-size: 12px; font-size: 12px;
color: #b4b4b4; color: var(--font-black-7);
margin-bottom: 5px; margin-bottom: 5px;
}
} }
} }
}
</style> </style>
...@@ -127,13 +127,13 @@ export default { ...@@ -127,13 +127,13 @@ export default {
.unclickable { .unclickable {
font-size: 12px; font-size: 12px;
color: #b5bbc4; color: var(--font-black-7);
letter-spacing: 0; letter-spacing: 0;
text-align: center; text-align: center;
} }
span { span {
color: #b5bbc4; color: var(--font-black-7);
margin-right: 5px; margin-right: 5px;
} }
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
border: 1px solid #d8dce5; border: 1px solid #d8dce5;
color: #495060; color: var(--font-black-4);
background: var(--bg-white); background: var(--bg-white);
padding: 0 8px; padding: 0 8px;
font-size: 12px; font-size: 12px;
......
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
.right-menu-item { .right-menu-item {
display: inline-block; display: inline-block;
padding: 0 0 0 min(2vw - 20px, 15px); padding: 0 0 0 min(2vw - 20px, 15px);
// color: #5a5e66; // color: var(--font-black-4);
vertical-align: middle; vertical-align: middle;
&.hover-effect { &.hover-effect {
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
.el-icon-arrow-down { .el-icon-arrow-down {
margin-left: 3px; margin-left: 3px;
font-size: 12px; font-size: 12px;
color: #000; color: var(--font-black);
} }
} }
} }
......
...@@ -456,7 +456,7 @@ ...@@ -456,7 +456,7 @@
// right: 25px; // right: 25px;
.el-dialog__close { .el-dialog__close {
font-size: 22px; font-size: 22px;
color: #86909c; color: var(--font-black-5);
} }
} }
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
} }
} }
.el-step__title.is-process { .el-step__title.is-process {
color: #86909c; // 标题颜色 color: var(--font-black-5); // 标题颜色
} }
.el-step__head.is-process { .el-step__head.is-process {
color: var(--font-white, #fff); // 数字颜色 color: var(--font-white, #fff); // 数字颜色
...@@ -502,7 +502,7 @@ ...@@ -502,7 +502,7 @@
} }
} }
.el-step__head.is-wait { .el-step__head.is-wait {
color: #86909c; color: var(--font-black-5);
.el-step__icon.is-text { .el-step__icon.is-text {
background: #e8e9ed; background: #e8e9ed;
} }
......
...@@ -115,7 +115,7 @@ div:focus { ...@@ -115,7 +115,7 @@ div:focus {
font-weight: 400; font-weight: 400;
margin: 0 5px; margin: 0 5px;
font-size: 12px; font-size: 12px;
color: #86909c; color: var(--font-black-5);
} }
// .total { // .total {
// background-color: rgba(65, 133, 244, 0.1); // background-color: rgba(65, 133, 244, 0.1);
...@@ -125,7 +125,7 @@ div:focus { ...@@ -125,7 +125,7 @@ div:focus {
// min-height: 32px; // min-height: 32px;
// line-height: 32px; // line-height: 32px;
// padding: 0 12px; // padding: 0 12px;
// color: #606266; // color: var(--font-black-6);
// } // }
// .num { // .num {
// color: #00f; // color: #00f;
...@@ -194,7 +194,7 @@ div:focus { ...@@ -194,7 +194,7 @@ div:focus {
font-weight: 400; font-weight: 400;
margin: 0 5px; margin: 0 5px;
font-size: 12px; font-size: 12px;
color: #86909c; color: var(--font-black-5);
} }
} }
} }
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
border-radius: 4px; border-radius: 4px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #191919; color: var(--font-black);
} }
.preview { .preview {
margin: 0 auto; margin: 0 auto;
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
.word { .word {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #191919; color: var(--font-black);
} }
.code_img { .code_img {
height: 140px; height: 140px;
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
width: 100px; width: 100px;
float: left; float: left;
font-size: 30px; font-size: 30px;
color: #24292e; color: var(--font-black);
cursor: pointer; cursor: pointer;
} }
......
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
height: 60px; height: 60px;
text-align: center; text-align: center;
line-height: 60px; line-height: 60px;
color: #909399; color: var(--font-black-6);
font-size: 13px; font-size: 13px;
} }
// .img-wrap { // .img-wrap {
......
...@@ -1087,7 +1087,7 @@ export default { ...@@ -1087,7 +1087,7 @@ export default {
padding: 0; padding: 0;
margin-bottom: 5px; margin-bottom: 5px;
text-align: center; text-align: center;
color: #544b61; color: var(--font-black-4);
font-weight: 400; font-weight: 400;
list-style-type: none; list-style-type: none;
user-select: none; user-select: none;
...@@ -1113,7 +1113,7 @@ export default { ...@@ -1113,7 +1113,7 @@ export default {
} }
.menu-item.disabled { .menu-item.disabled {
cursor: default; cursor: default;
color: #bfbebe; color: var(--font-black-7);
} }
.sub-menu-container { .sub-menu-container {
font-size: 14px; font-size: 14px;
...@@ -1130,6 +1130,6 @@ export default { ...@@ -1130,6 +1130,6 @@ export default {
} }
.disableClass { .disableClass {
cursor: default; cursor: default;
color: #b0b7bf; color: var(--font-black-7);
} }
</style> </style>
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
.title { .title {
width: 100%; width: 100%;
text-align: center; text-align: center;
color: #000; color: var(--font-black);
font-size: 16px; font-size: 16px;
margin-bottom: 20px; margin-bottom: 20px;
} }
......
...@@ -114,9 +114,9 @@ export default { ...@@ -114,9 +114,9 @@ export default {
height: 20px; height: 20px;
font-size: 12px; font-size: 12px;
background: var(--bg-white); background: var(--bg-white);
border: 1px solid #0079de; border: 1px solid var(--color);
border-radius: 10px; border-radius: 10px;
color: #0079de; color: var(--color);
line-height: 20px; line-height: 20px;
text-align: center; text-align: center;
margin-right: 6px; margin-right: 6px;
......
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
// height: 60px; // height: 60px;
text-align: center; text-align: center;
line-height: 60px; line-height: 60px;
color: #909399; color: var(--font-black-6);
font-size: 13px; font-size: 13px;
padding: 40px; padding: 40px;
padding-left: 0px; padding-left: 0px;
......
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
::v-deep .el-dialog__body { ::v-deep .el-dialog__body {
margin: 30px 20px; margin: 30px 20px;
padding: 0; padding: 0;
color: #606266; color: var(--font-black-4);
font-size: 14px; font-size: 14px;
word-break: break-all; word-break: break-all;
} }
......
...@@ -382,7 +382,7 @@ export default { ...@@ -382,7 +382,7 @@ export default {
} }
.tips, .tips,
.el-icon-QuestionFilled { .el-icon-QuestionFilled {
color: #d7d7d7; color: var(--font-black-8);
font-size: 12px; font-size: 12px;
margin-top: 20px; margin-top: 20px;
} }
......
...@@ -316,7 +316,7 @@ export default { ...@@ -316,7 +316,7 @@ export default {
text-align: right; text-align: right;
width: 140px; width: 140px;
line-height: 32px; line-height: 32px;
color: #606266; color: var(--font-black-4);
// margin-right: 12px; // margin-right: 12px;
} }
} }
......
...@@ -960,6 +960,6 @@ export default { ...@@ -960,6 +960,6 @@ export default {
font-size: 14px; font-size: 14px;
} }
.node-icon { .node-icon {
color: #bebfc3; color: var(--font-black-7);
} }
</style> </style>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</div> </div>
</template> </template>
</draggable> </draggable>
<div style="display: flex; justify-content: center; color: #b6b6b6">更多控件持续上线中...</div> <div style="display: flex; justify-content: center; color: var(--font-black-7)">更多控件持续上线中...</div>
</div> </div>
</el-scrollbar> </el-scrollbar>
</div> </div>
...@@ -569,7 +569,7 @@ export default { ...@@ -569,7 +569,7 @@ export default {
.el-tabs__item { .el-tabs__item {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
color: #888a8e; color: var(--font-black-5);
border-left: 1px solid #121315 !important; border-left: 1px solid #121315 !important;
background: #363636; background: #363636;
margin-right: 5px; margin-right: 5px;
...@@ -705,7 +705,7 @@ $selectedColor: #f6f7ff; ...@@ -705,7 +705,7 @@ $selectedColor: #f6f7ff;
} }
.components-title { .components-title {
font-size: 14px; font-size: 14px;
color: #222; color: var(--font-black);
margin: 6px 2px; margin: 6px 2px;
.svg-icon { .svg-icon {
color: var(--font-black-4); color: var(--font-black-4);
......
...@@ -289,7 +289,7 @@ export default { ...@@ -289,7 +289,7 @@ export default {
// justify-content: space-between; // justify-content: space-between;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #000; color: var(--font-black);
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
width: 100%; width: 100%;
......
...@@ -230,7 +230,7 @@ div#driver-popover-item { ...@@ -230,7 +230,7 @@ div#driver-popover-item {
.driver-btn-group { .driver-btn-group {
button.driver-disabled { button.driver-disabled {
// display: none !important; // display: none !important;
color: #2d2d2d; color: var(--font-black);
border: 1px solid #d4d4d4; border: 1px solid #d4d4d4;
cursor: pointer !important; cursor: pointer !important;
pointer-events: auto !important; pointer-events: auto !important;
......
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
.text-jumbo { .text-jumbo {
font-size: 60px; font-size: 60px;
font-weight: 700; font-weight: 700;
color: #484848; color: var(--font-black-3);
} }
.list-unstyled { .list-unstyled {
font-size: 14px; font-size: 14px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
&__headline { &__headline {
font-size: 20px; font-size: 20px;
line-height: 24px; line-height: 24px;
color: #222; color: var(--font-black);
font-weight: bold; font-weight: bold;
opacity: 0; opacity: 0;
margin-bottom: 10px; margin-bottom: 10px;
......
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
<div class="total_list fxbw"> <div class="total_list fxbw">
<div class="item"> <div class="item">
<div>已发送{{ data.chatType === 1 ? '员工' : '群主' }}</div> <div>已发送{{ data.chatType === 1 ? '员工' : '群主' }}</div>
<div style="font-size: 18px; color: #000"> <div style="font-size: 18px; color: var(--font-black)">
{{ data.alreadySendNum ? data.alreadySendNum : 0 }} {{ data.alreadySendNum ? data.alreadySendNum : 0 }}
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div>未发送{{ data.chatType === 1 ? '员工' : '群主' }}</div> <div>未发送{{ data.chatType === 1 ? '员工' : '群主' }}</div>
<div style="font-size: 18px; color: #000"> <div style="font-size: 18px; color: var(--font-black)">
{{ data.toBeSendNum ? data.toBeSendNum : 0 }} {{ data.toBeSendNum ? data.toBeSendNum : 0 }}
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div>已送达{{ data.chatType === 1 ? '客户' : '客户群' }}</div> <div>已送达{{ data.chatType === 1 ? '客户' : '客户群' }}</div>
<div style="font-size: 18px; color: #000"> <div style="font-size: 18px; color: var(--font-black)">
{{ data.alreadySendCustomerNum ? data.alreadySendCustomerNum : 0 }} {{ data.alreadySendCustomerNum ? data.alreadySendCustomerNum : 0 }}
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div>未送达{{ data.chatType === 1 ? '客户' : '客户群' }}</div> <div>未送达{{ data.chatType === 1 ? '客户' : '客户群' }}</div>
<div style="font-size: 18px; color: #000"> <div style="font-size: 18px; color: var(--font-black)">
{{ data.toBeSendCustomerNum ? data.toBeSendCustomerNum : 0 }} {{ data.toBeSendCustomerNum ? data.toBeSendCustomerNum : 0 }}
</div> </div>
</div> </div>
......
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
span:nth-child(2) { span:nth-child(2) {
font-size: 14px; font-size: 14px;
font-family: 'PingFang SC-粗体', 'PingFang SC'; font-family: 'PingFang SC-粗体', 'PingFang SC';
color: #222222; color: var(--font-black);
line-height: 20px; line-height: 20px;
font-weight: 600; font-weight: 600;
} }
......
...@@ -470,7 +470,7 @@ export default { ...@@ -470,7 +470,7 @@ export default {
} }
.view-item-title { .view-item-title {
color: #4e5969; color: var(--font-black-4);
margin-bottom: 10px; margin-bottom: 10px;
} }
.view-item-num { .view-item-num {
...@@ -498,7 +498,7 @@ export default { ...@@ -498,7 +498,7 @@ export default {
.info { .info {
line-height: 24px; line-height: 24px;
margin-top: 10px; margin-top: 10px;
color: #4e5969; color: var(--font-black-4);
.fr { .fr {
color: var(--font-black); color: var(--font-black);
font-weight: bold; font-weight: bold;
...@@ -560,14 +560,14 @@ export default { ...@@ -560,14 +560,14 @@ export default {
} }
.operatorName { .operatorName {
font-size: 16px; font-size: 16px;
color: #222222; color: var(--font-black);
font-weight: 600; font-weight: 600;
} }
} }
.operator { .operator {
font-size: 12px; font-size: 12px;
color: #4e5969; color: var(--font-black-4);
margin-top: 10px; margin-top: 10px;
.nomal { .nomal {
color: var(--color); color: var(--color);
......
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
} }
.login-title { .login-title {
font-size: 16px; font-size: 16px;
color: #4e5969; color: var(--font-black-4);
} }
.login-text { .login-text {
font-size: 32px; font-size: 32px;
......
...@@ -505,7 +505,7 @@ export default { ...@@ -505,7 +505,7 @@ export default {
} }
.my-content { .my-content {
font-size: 14px; font-size: 14px;
color: #000; color: var(--font-black);
} }
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!