Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
honghuiliu
qsh-wc
Commits
35ecca54
Commit
35ecca54
authored
Sep 07, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
f1a05e3b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
14 deletions
+26
-14
home.vue
pc/src/views/home.vue
+3
-3
site-detail.vue
pc/src/views/site-detail.vue
+14
-2
index.vue
web/src/view/layout/index.vue
+3
-3
index.vue
web/src/view/login/index.vue
+6
-6
No files found.
pc/src/views/home.vue
View file @
35ecca54
...
...
@@ -82,10 +82,12 @@
}
function
mapShow
(
coordinate
,
item
,
callBack
)
{
const
now
=
Date
.
now
();
let
str
=
`<img src="
${
item
.
showImage
}
" />`
;
let
str
=
`<div style="width:230px;margin-left: 10px;margin-bottom: 5px">`
;
str
+=
`<div style="width:220px;height: 100px;background: url('
${
item
.
showImage
}
') no-repeat 100% center/cover"></div>`
;
str
+=
`<p style="font-weight: 700">
${
item
.
name
}${
typeChange
(
item
.
type
)}
</p>`
;
str
+=
`<p>位置:
${
item
.
address
}
</p>`
;
str
+=
`<p id="
${
now
}
" style="color: #3396fb;cursor: pointer" onclick="">查看详情<span class="icon-4"></span></p>`
;
str
+=
`</div>`
;
const
url
=
require
(
`@/assets/img/type-
${
item
.
type
}
.png`
);
let
myIcon
=
new
BMapGL
.
Icon
(
url
,
new
BMapGL
.
Size
(
51
,
76
),
{
// 指定定位位置。
...
...
@@ -101,8 +103,6 @@
let
marker
=
new
BMapGL
.
Marker
(
coordinate
,
{
icon
:
myIcon
});
state
.
map
.
addOverlay
(
marker
);
// 将标注添加到地图中
const
infoOpts
=
{
width
:
235
,
// 信息窗口宽度
height
:
210
,
// 信息窗口高度
title
:
''
,
// 信息窗口标题
message
:
""
,
offset
:
new
BMapGL
.
Size
(
0
,
-
50
)
...
...
pc/src/views/site-detail.vue
View file @
35ecca54
...
...
@@ -12,7 +12,7 @@
<div
class=
"body-one base"
v-if=
"tab=='base'"
>
<div
class=
"poster"
>
<div
class=
"blur-mask"
:style=
"`background-image:url('$
{detail.showImage}')`">
</div>
<div
class=
"banner"
>
<div
class=
"banner"
v-if=
"showBanner"
>
<el-carousel
:interval=
"5000"
arrow=
"never"
style=
"height: 480px;"
@
change=
"(val)=>
{detail.index=val}">
<el-carousel-item
style=
"height: 480px;"
v-for=
"item in detail.poster"
:key=
"item"
>
...
...
@@ -249,6 +249,7 @@
</div>
</div>
</div>
<div
class=
"logo"
>
@浙江丹靓环境工程有限公司
</div>
<transition
name=
"el-zoom-in-bottom"
>
<order-detail
v-model=
"show"
v-if=
"show"
:order_id=
"order_id"
></order-detail>
</transition>
...
...
@@ -284,6 +285,7 @@
yewei
:
0.7
,
type
:
1
},
showBanner
:
false
,
tabs
:
[
{
name
:
'点位基本信息'
,
...
...
@@ -415,6 +417,9 @@
if
(
res
.
data
.
image
){
state
.
detail
.
poster
=
res
.
data
.
image
.
split
(
','
)
}
nextTick
(()
=>
{
state
.
showBanner
=
true
;
})
Object
.
assign
(
state
.
detail
,{...
res
.
data
});
if
(
state
.
detail
.
type
==
1
){
state
.
tabs
.
find
(
one
=>
one
.
value
==
'process'
).
show
=
true
;
...
...
@@ -700,7 +705,7 @@
flex-direction: column;
overflow: hidden;
background-color: #ebedef;
padding: 20px;
padding: 20px
20px 0 20px
;
.body-one {
flex: 1;
...
...
@@ -1031,6 +1036,13 @@
}
}
}
.logo{
padding: 10px 20px;
background-color: #ebedef;
font-size: 12px;
text-align: right;
color: #777;
}
}
</
style
>
web/src/view/layout/index.vue
View file @
35ecca54
...
...
@@ -4,8 +4,8 @@
<el-row
:class=
"[isShadowBg?'shadowBg':'']"
@
click=
"changeShadow()"
/>
<el-aside
class=
"main-cont main-left"
>
<div
class=
"tilte"
:style=
"
{background: backgroundColor}">
<
img
alt
class=
"logoimg"
:src=
"$GIN_VUE_ADMIN.appLogo"
>
<div
v-if=
"isSider"
class=
"tit-text"
:style=
"
{color:textColor}">
{{
$GIN_VUE_ADMIN
.
appName
}}
</div>
<
!--
<img
alt
class=
"logoimg"
:src=
"$GIN_VUE_ADMIN.appLogo"
>
--
>
<div
v-if=
"isSider"
class=
"tit-text"
:style=
"
{color:textColor}">
公厕监管后台
</div>
</div>
<Aside
class=
"aside"
/>
</el-aside>
...
...
@@ -35,7 +35,7 @@
</el-col>
<el-col
:xs=
"12"
:lg=
"9"
:md=
"9"
:sm=
"14"
:xl=
"9"
>
<div
class=
"right-box"
>
<
Search
/
>
<
!--
<Search
/>
--
>
<el-dropdown>
<div
class=
"dp-flex justify-content-center align-items height-full width-full"
>
<span
class=
"header-avatar"
style=
"cursor: pointer"
>
...
...
web/src/view/login/index.vue
View file @
35ecca54
...
...
@@ -3,12 +3,12 @@
<div
class=
"login_panel"
>
<div
class=
"login_panel_form"
>
<div
class=
"login_panel_form_title"
>
<
img
class=
"login_panel_form_title_logo"
:src=
"$GIN_VUE_ADMIN.appLogo"
alt
>
<p
class=
"login_panel_form_title_p"
>
{{
$GIN_VUE_ADMIN
.
appName
}}
</p>
<
!--
<img-->
<!--class="login_panel_form_title_logo"-->
<!--:src="$GIN_VUE_ADMIN.appLogo"-->
<!--alt-->
<!-->--
>
<p
class=
"login_panel_form_title_p"
>
公厕监管后台
</p>
</div>
<el-form
ref=
"loginForm"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment