Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5476b78e
authored
Jun 27, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
#000,#222 color: var(--font-black)
#8c939d color: var(--font-black-6) 等其他杂项color
1 parent
3b29c97e
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
349 additions
and
350 deletions
vue3-lw-pc/src/components/ContentCenter/MaterialCenter/index.vue
vue3-lw-pc/src/components/Upload.vue
vue3-lw-pc/src/components/common/BaiduMap.vue
vue3-lw-pc/src/components/common/VerifyCode.vue
vue3-lw-pc/src/layout/components/TagsView/index.vue
vue3-lw-pc/src/layout/components/TopBar/index.vue
vue3-lw-pc/src/styles/element-ui.scss
vue3-lw-pc/src/styles/index.scss
vue3-lw-pc/src/views/application/shortLinkPopularize/components/AppPreview.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/FriendsCircPreview.vue
vue3-lw-pc/src/views/components/icons/index.vue
vue3-lw-pc/src/views/contentCenter/basicMaterial/image.vue
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
vue3-lw-pc/src/views/contentCenter/components/preview.vue
vue3-lw-pc/src/views/customerManage/customer/MaterialCard.vue
vue3-lw-pc/src/views/drainageCode/components/IdentitySelect.vue
vue3-lw-pc/src/views/drainageCode/components/SelectGroup.vue
vue3-lw-pc/src/views/drainageCode/pullNews/baseInfo.vue
vue3-lw-pc/src/views/drainageCode/pullNews/liveCodeInfo.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/RightPanel.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
vue3-lw-pc/src/views/enterpriseManage/roles/index.vue
vue3-lw-pc/src/views/enterpriseWechat/part7.vue
vue3-lw-pc/src/views/error/401.vue
vue3-lw-pc/src/views/error/404.vue
vue3-lw-pc/src/views/groupMessage/detail.vue
vue3-lw-pc/src/views/index/components/dynamics.vue
vue3-lw-pc/src/views/index/index.vue
vue3-lw-pc/src/views/login.vue
vue3-lw-pc/src/views/operateCenter/liveBroadcast/detail.vue
vue3-lw-pc/src/components/ContentCenter/MaterialCenter/index.vue
View file @
5476b78
...
...
@@ -373,7 +373,7 @@ export default {
//
height
:
60px
;
text-align
:
center
;
line-height
:
60px
;
color
:
#909399
;
color
:
var
(
--font-black-6
)
;
font-size
:
13px
;
padding
:
40px
;
padding-left
:
0px
;
...
...
vue3-lw-pc/src/components/Upload.vue
View file @
5476b78
...
...
@@ -693,7 +693,7 @@ export default {
font-size
:
28px
;
align-items
:
center
;
justify-content
:
center
;
color
:
#8c939d
;
color
:
var
(
--font-black-6
)
;
border-radius
:
6px
;
border
:
1px
dashed
#d9d9d9
;
transition
:
all
0.3s
;
...
...
vue3-lw-pc/src/components/common/BaiduMap.vue
View file @
5476b78
...
...
@@ -5,17 +5,16 @@
:disabled=
"isDetail"
@
change=
"setChange"
v-model=
"form.address"
style=
"width: 500px
;
"
style=
"width: 500px"
popper-class=
"autoAddressClass"
:fetch-suggestions=
"querySearchAsync"
:trigger-on-focus=
"false"
placeholder=
"详细地址"
clearable
@
select=
"handleSelect"
>
@
select=
"handleSelect"
>
<template
#
default=
"
{ item }">
<el-icon-search
class=
"el-icon-search fl mgr10"
/>
<div
style=
"overflow: hidden
;
"
>
<div
style=
"overflow: hidden"
>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<span
class=
"address ellipsis"
>
{{
item
.
address
}}
</span>
</div>
...
...
@@ -29,350 +28,350 @@
</template>
<
script
>
/* eslint-disable */
import
loadBMap
from
'@/utils/baiduMap.js'
export
default
{
data
()
{
return
{
form
:
{
province
:
''
,
city
:
''
,
area
:
''
,
address
:
''
,
// 详细地址
addrPoint
:
{
// 详细地址经纬度
lng
:
0
,
lat
:
0
}
/* eslint-disable */
import
loadBMap
from
'@/utils/baiduMap.js'
export
default
{
data
()
{
return
{
form
:
{
province
:
''
,
city
:
''
,
area
:
''
,
address
:
''
,
// 详细地址
addrPoint
:
{
// 详细地址经纬度
lng
:
0
,
lat
:
0
,
},
map
:
''
,
// 地图实例
mk
:
''
,
// Marker实例
locationPoint
:
null
}
},
props
:
{
initData
:
{
type
:
Object
,
default
:
()
=>
({
// area: '', // 省市区
// address: '', // 详细地址
// longitude: '', // 经度
// latitude: '', // 纬度
})
},
mapWidth
:
{
type
:
String
,
default
:
'500px'
},
mapHeight
:
{
type
:
String
,
default
:
'300px'
},
isDetail
:
{
type
:
Boolean
,
default
:
false
},
// 是否只显示地图
isOnlyShowMap
:
{
type
:
Boolean
,
default
:
false
},
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
}
}
map
:
''
,
// 地图实例
mk
:
''
,
// Marker实例
locationPoint
:
null
,
}
},
props
:
{
initData
:
{
type
:
Object
,
default
:
()
=>
({
// area: '', // 省市区
// address: '', // 详细地址
// longitude: '', // 经度
// latitude: '', // 纬度
}),
},
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
()
mapWidth
:
{
type
:
String
,
default
:
'500px'
,
},
mapHeight
:
{
type
:
String
,
default
:
'300px'
,
},
isDetail
:
{
type
:
Boolean
,
default
:
false
,
},
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
)
// 是否只显示地图
isOnlyShowMap
:
{
type
:
Boolean
,
default
:
false
,
},
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
{
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
{
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
(
'市'
)
if
(
index11
==
-
1
)
{
area
.
City
=
str
.
substring
(
index11
+
1
,
index2
+
1
)
let
index2
=
str
.
indexOf
(
'市'
)
if
(
index11
==
-
1
)
{
area
.
City
=
str
.
substring
(
index11
+
1
,
index2
+
1
)
}
else
{
if
(
index11
==
0
)
{
area
.
City
=
str
.
substring
(
index1
+
1
,
index2
+
1
)
}
else
{
if
(
index11
==
0
)
{
area
.
City
=
str
.
substring
(
index1
+
1
,
index2
+
1
)
}
else
{
area
.
City
=
str
.
substring
(
index11
+
3
,
index2
+
1
)
}
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
)
{
index3
=
str
.
indexOf
(
'县'
)
if
(
index3
==
-
1
)
{
index3
=
str
.
indexOf
(
'旗'
)
area
.
Country
=
str
.
substring
(
index2
+
1
,
index3
+
1
)
}
else
{
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
)
}
return
area
.
City
}
else
{
return
''
area
.
Country
=
str
.
substring
(
index2
+
1
,
index3
+
1
)
}
},
getPoint
(
str
)
{
return
area
.
City
}
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
myGeo
=
new
BMap
.
Geocoder
()
myGeo
.
getPoint
(
str
,
function
(
point
)
{
if
(
point
)
{
that
.
form
.
addrPoint
=
point
that
.
$emit
(
'point'
,
point
)
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('您选择的地址没有解析到结果!')
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
// 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
)
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
()
})
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
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
)
}
},
// 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
)
}
}
var
local
=
new
BMap
.
LocalSearch
(
this
.
map
,
options
)
local
.
search
(
str
)
},
splitName
(
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
{
area
.
Province
=
str
.
substring
(
0
,
0
)
}
},
}
var
local
=
new
BMap
.
LocalSearch
(
this
.
map
,
options
)
local
.
search
(
str
)
},
splitName
(
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
{
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
(
'市'
)
if
(
index11
==
-
1
)
{
area
.
City
=
str
.
substring
(
index11
+
1
,
index2
+
1
)
let
index2
=
str
.
indexOf
(
'市'
)
if
(
index11
==
-
1
)
{
area
.
City
=
str
.
substring
(
index11
+
1
,
index2
+
1
)
}
else
{
if
(
index11
==
0
)
{
area
.
City
=
str
.
substring
(
index1
+
1
,
index2
+
1
)
}
else
{
if
(
index11
==
0
)
{
area
.
City
=
str
.
substring
(
index1
+
1
,
index2
+
1
)
}
else
{
area
.
City
=
str
.
substring
(
index11
+
3
,
index2
+
1
)
}
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
)
{
index3
=
str
.
indexOf
(
'县'
)
if
(
index3
==
-
1
)
{
index3
=
str
.
indexOf
(
'旗'
)
area
.
Country
=
str
.
substring
(
index2
+
1
,
index3
+
1
)
}
else
{
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
)
}
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
{
return
''
area
.
Country
=
str
.
substring
(
index2
+
1
,
index3
+
1
)
}
},
// 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
()
let
data
=
area
.
Province
+
area
.
City
+
area
.
Country
if
(
area
.
Province
)
{
this
.
form
.
province
=
area
.
Province
}
},
onSubmit
()
{
this
.
$emit
(
'update'
,
this
.
form
)
if
(
area
.
City
)
{
this
.
form
.
city
=
area
.
City
}
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
>
<
style
lang=
"scss"
scoped
>
.autoAddressClass
{
li
{
i.el-icon-search
{
margin-top
:
11px
;
}
.mgr10
{
margin-right
:
10px
;
}
.title
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
.address
{
line-height
:
1
;
font-size
:
12px
;
color
:
#b4b4b4
;
margin-bottom
:
5px
;
}
.autoAddressClass
{
li
{
i.el-icon-search
{
margin-top
:
11px
;
}
.mgr10
{
margin-right
:
10px
;
}
.title
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
.address
{
line-height
:
1
;
font-size
:
12px
;
color
:
var
(
--font-black-7
);
margin-bottom
:
5px
;
}
}
}
</
style
>
vue3-lw-pc/src/components/common/VerifyCode.vue
View file @
5476b78
...
...
@@ -127,13 +127,13 @@ export default {
.unclickable
{
font-size
:
12px
;
color
:
#b5bbc4
;
color
:
var
(
--font-black-7
)
;
letter-spacing
:
0
;
text-align
:
center
;
}
span
{
color
:
#b5bbc4
;
color
:
var
(
--font-black-7
)
;
margin-right
:
5px
;
}
...
...
vue3-lw-pc/src/layout/components/TagsView/index.vue
View file @
5476b78
...
...
@@ -222,7 +222,7 @@ export default {
height
:
26px
;
line-height
:
26px
;
border
:
1px
solid
#d8dce5
;
color
:
#495060
;
color
:
var
(
--font-black-4
)
;
background
:
var
(
--bg-white
);
padding
:
0
8px
;
font-size
:
12px
;
...
...
vue3-lw-pc/src/layout/components/TopBar/index.vue
View file @
5476b78
...
...
@@ -227,7 +227,7 @@ export default {
.right-menu-item
{
display
:
inline-block
;
padding
:
0
0
0
min
(
2vw
-
20px
,
15px
);
//
color
:
#5a5e66
;
//
color
:
var
(
--font-black-4
)
;
vertical-align
:
middle
;
&.hover-effect
{
...
...
@@ -267,7 +267,7 @@ export default {
.el-icon-arrow-down
{
margin-left
:
3px
;
font-size
:
12px
;
color
:
#000
;
color
:
var
(
--font-black
)
;
}
}
}
...
...
vue3-lw-pc/src/styles/element-ui.scss
View file @
5476b78
...
...
@@ -456,7 +456,7 @@
// right: 25px;
.el-dialog__close
{
font-size
:
22px
;
color
:
#86909c
;
color
:
var
(
--
font-black-5
)
;
}
}
...
...
@@ -493,7 +493,7 @@
}
}
.el-step__title.is-process
{
color
:
#86909c
;
// 标题颜色
color
:
var
(
--
font-black-5
)
;
// 标题颜色
}
.el-step__head.is-process
{
color
:
var
(
--
font-white
,
#fff
);
// 数字颜色
...
...
@@ -502,7 +502,7 @@
}
}
.el-step__head.is-wait
{
color
:
#86909c
;
color
:
var
(
--
font-black-5
)
;
.el-step__icon.is-text
{
background
:
#e8e9ed
;
}
...
...
vue3-lw-pc/src/styles/index.scss
View file @
5476b78
...
...
@@ -115,7 +115,7 @@ div:focus {
font-weight
:
400
;
margin
:
0
5px
;
font-size
:
12px
;
color
:
#86909c
;
color
:
var
(
--
font-black-5
)
;
}
// .total {
// background-color: rgba(65, 133, 244, 0.1);
...
...
@@ -125,7 +125,7 @@ div:focus {
// min-height: 32px;
// line-height: 32px;
// padding: 0 12px;
// color:
#606266
;
// color:
var(--font-black-6)
;
// }
// .num {
// color: #00f;
...
...
@@ -194,7 +194,7 @@ div:focus {
font-weight
:
400
;
margin
:
0
5px
;
font-size
:
12px
;
color
:
#86909c
;
color
:
var
(
--
font-black-5
)
;
}
}
}
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/AppPreview.vue
View file @
5476b78
...
...
@@ -84,7 +84,7 @@ export default {
border-radius
:
4px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#191919
;
color
:
var
(
--font-black
)
;
}
.preview
{
margin
:
0
auto
;
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/FriendsCircPreview.vue
View file @
5476b78
...
...
@@ -126,7 +126,7 @@ export default {
.word
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#191919
;
color
:
var
(
--font-black
)
;
}
.code_img
{
height
:
140px
;
...
...
vue3-lw-pc/src/views/components/icons/index.vue
View file @
5476b78
...
...
@@ -73,7 +73,7 @@ export default {
width
:
100px
;
float
:
left
;
font-size
:
30px
;
color
:
#24292e
;
color
:
var
(
--font-black
)
;
cursor
:
pointer
;
}
...
...
vue3-lw-pc/src/views/contentCenter/basicMaterial/image.vue
View file @
5476b78
...
...
@@ -153,7 +153,7 @@ export default {
height
:
60px
;
text-align
:
center
;
line-height
:
60px
;
color
:
#909399
;
color
:
var
(
--font-black-6
)
;
font-size
:
13px
;
}
//
.img-wrap
{
...
...
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
View file @
5476b78
...
...
@@ -1087,7 +1087,7 @@ export default {
padding
:
0
;
margin-bottom
:
5px
;
text-align
:
center
;
color
:
#544b61
;
color
:
var
(
--font-black-4
)
;
font-weight
:
400
;
list-style-type
:
none
;
user-select
:
none
;
...
...
@@ -1113,7 +1113,7 @@ export default {
}
.menu-item.disabled
{
cursor
:
default
;
color
:
#bfbebe
;
color
:
var
(
--font-black-7
)
;
}
.sub-menu-container
{
font-size
:
14px
;
...
...
@@ -1130,6 +1130,6 @@ export default {
}
.disableClass
{
cursor
:
default
;
color
:
#b0b7bf
;
color
:
var
(
--font-black-7
)
;
}
</
style
>
vue3-lw-pc/src/views/contentCenter/components/preview.vue
View file @
5476b78
...
...
@@ -32,7 +32,7 @@ export default {
.title
{
width
:
100%
;
text-align
:
center
;
color
:
#000
;
color
:
var
(
--font-black
)
;
font-size
:
16px
;
margin-bottom
:
20px
;
}
...
...
vue3-lw-pc/src/views/customerManage/customer/MaterialCard.vue
View file @
5476b78
...
...
@@ -114,9 +114,9 @@ export default {
height
:
20px
;
font-size
:
12px
;
background
:
var
(
--bg-white
);
border
:
1px
solid
#0079de
;
border
:
1px
solid
var
(
--color
)
;
border-radius
:
10px
;
color
:
#0079de
;
color
:
var
(
--color
)
;
line-height
:
20px
;
text-align
:
center
;
margin-right
:
6px
;
...
...
vue3-lw-pc/src/views/drainageCode/components/IdentitySelect.vue
View file @
5476b78
...
...
@@ -169,7 +169,7 @@ export default {
//
height
:
60px
;
text-align
:
center
;
line-height
:
60px
;
color
:
#909399
;
color
:
var
(
--font-black-6
)
;
font-size
:
13px
;
padding
:
40px
;
padding-left
:
0px
;
...
...
vue3-lw-pc/src/views/drainageCode/components/SelectGroup.vue
View file @
5476b78
...
...
@@ -233,7 +233,7 @@ export default {
::v-deep
.el-dialog__body
{
margin
:
30px
20px
;
padding
:
0
;
color
:
#606266
;
color
:
var
(
--font-black-4
)
;
font-size
:
14px
;
word-break
:
break-all
;
}
...
...
vue3-lw-pc/src/views/drainageCode/pullNews/baseInfo.vue
View file @
5476b78
...
...
@@ -382,7 +382,7 @@ export default {
}
.tips
,
.el-icon-QuestionFilled
{
color
:
#d7d7d7
;
color
:
var
(
--font-black-8
)
;
font-size
:
12px
;
margin-top
:
20px
;
}
...
...
vue3-lw-pc/src/views/drainageCode/pullNews/liveCodeInfo.vue
View file @
5476b78
...
...
@@ -316,7 +316,7 @@ export default {
text-align
:
right
;
width
:
140px
;
line-height
:
32px
;
color
:
#606266
;
color
:
var
(
--font-black-4
)
;
//
margin-right
:
12px
;
}
}
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/RightPanel.vue
View file @
5476b78
...
...
@@ -960,6 +960,6 @@ export default {
font-size
:
14px
;
}
.node-icon
{
color
:
#bebfc3
;
color
:
var
(
--font-black-7
)
;
}
</
style
>
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
View file @
5476b78
...
...
@@ -30,7 +30,7 @@
</div>
</
template
>
</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>
</el-scrollbar>
</div>
...
...
@@ -569,7 +569,7 @@ export default {
.el-tabs__item
{
height
:
32px
;
line-height
:
32px
;
color
:
#888a8e
;
color
:
var
(
--font-black-5
)
;
border-left
:
1px
solid
#121315
!important
;
background
:
#363636
;
margin-right
:
5px
;
...
...
@@ -705,7 +705,7 @@ $selectedColor: #f6f7ff;
}
.components-title
{
font-size
:
14px
;
color
:
#222
;
color
:
var
(
--font-black
)
;
margin
:
6px
2px
;
.svg-icon
{
color
:
var
(
--font-black-4
);
...
...
vue3-lw-pc/src/views/enterpriseManage/roles/index.vue
View file @
5476b78
...
...
@@ -289,7 +289,7 @@ export default {
//
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
12px
;
color
:
#000
;
color
:
var
(
--font-black
)
;
height
:
40px
;
line-height
:
40px
;
width
:
100%
;
...
...
vue3-lw-pc/src/views/enterpriseWechat/part7.vue
View file @
5476b78
...
...
@@ -230,7 +230,7 @@ div#driver-popover-item {
.driver-btn-group
{
button.driver-disabled
{
//
display
:
none
!important
;
color
:
#2d2d2d
;
color
:
var
(
--font-black
)
;
border
:
1px
solid
#d4d4d4
;
cursor
:
pointer
!important
;
pointer-events
:
auto
!important
;
...
...
vue3-lw-pc/src/views/error/401.vue
View file @
5476b78
...
...
@@ -72,7 +72,7 @@ export default {
.text-jumbo
{
font-size
:
60px
;
font-weight
:
700
;
color
:
#484848
;
color
:
var
(
--font-black-3
)
;
}
.list-unstyled
{
font-size
:
14px
;
...
...
vue3-lw-pc/src/views/error/404.vue
View file @
5476b78
...
...
@@ -175,7 +175,7 @@ export default {
&
__headline
{
font-size
:
20px
;
line-height
:
24px
;
color
:
#222
;
color
:
var
(
--font-black
)
;
font-weight
:
bold
;
opacity
:
0
;
margin-bottom
:
10px
;
...
...
vue3-lw-pc/src/views/groupMessage/detail.vue
View file @
5476b78
...
...
@@ -13,25 +13,25 @@
<div
class=
"total_list fxbw"
>
<div
class=
"item"
>
<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
}}
</div>
</div>
<div
class=
"item"
>
<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
}}
</div>
</div>
<div
class=
"item"
>
<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
}}
</div>
</div>
<div
class=
"item"
>
<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
}}
</div>
</div>
...
...
vue3-lw-pc/src/views/index/components/dynamics.vue
View file @
5476b78
...
...
@@ -146,7 +146,7 @@ export default {
span
:nth-child
(
2
)
{
font-size
:
14px
;
font-family
:
'PingFang SC-粗体'
,
'PingFang SC'
;
color
:
#222222
;
color
:
var
(
--font-black
)
;
line-height
:
20px
;
font-weight
:
600
;
}
...
...
vue3-lw-pc/src/views/index/index.vue
View file @
5476b78
...
...
@@ -470,7 +470,7 @@ export default {
}
.view-item-title
{
color
:
#4e5969
;
color
:
var
(
--font-black-4
)
;
margin-bottom
:
10px
;
}
.view-item-num
{
...
...
@@ -498,7 +498,7 @@ export default {
.info
{
line-height
:
24px
;
margin-top
:
10px
;
color
:
#4e5969
;
color
:
var
(
--font-black-4
)
;
.fr
{
color
:
var
(
--font-black
);
font-weight
:
bold
;
...
...
@@ -560,14 +560,14 @@ export default {
}
.operatorName
{
font-size
:
16px
;
color
:
#222222
;
color
:
var
(
--font-black
)
;
font-weight
:
600
;
}
}
.operator
{
font-size
:
12px
;
color
:
#4e5969
;
color
:
var
(
--font-black-4
)
;
margin-top
:
10px
;
.nomal
{
color
:
var
(
--color
);
...
...
vue3-lw-pc/src/views/login.vue
View file @
5476b78
...
...
@@ -200,7 +200,7 @@ export default {
}
.login-title
{
font-size
:
16px
;
color
:
#4e5969
;
color
:
var
(
--font-black-4
)
;
}
.login-text
{
font-size
:
32px
;
...
...
vue3-lw-pc/src/views/operateCenter/liveBroadcast/detail.vue
View file @
5476b78
...
...
@@ -505,7 +505,7 @@ export default {
}
.my-content
{
font-size
:
14px
;
color
:
#000
;
color
:
var
(
--font-black
)
;
}
.el-icon-s-custom
{
font-size
:
16px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment