Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
Details
Activity
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
张冬
web-site
Commits
97dcec37
Commit
97dcec37
authored
Sep 28, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
1551bfcf
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
60 additions
and
25 deletions
+60
-25
citySelect.vue
components/citySelect.vue
+4
-4
homeinput.vue
components/homeinput.vue
+14
-3
nav.vue
components/nav.vue
+12
-4
index.vue
pages/index/index.vue
+12
-2
notice.vue
pages/index/notice.vue
+1
-1
abortive.vue
pages/index/notice/abortive.vue
+2
-2
all.vue
pages/index/notice/all.vue
+2
-1
bid.vue
pages/index/notice/bid.vue
+3
-2
biding.vue
pages/index/notice/biding.vue
+2
-1
cadidate.vue
pages/index/notice/cadidate.vue
+2
-1
change.vue
pages/index/notice/change.vue
+2
-1
clarifies.vue
pages/index/notice/clarifies.vue
+2
-1
inquiry.vue
pages/index/notice/inquiry.vue
+2
-2
No files found.
components/citySelect.vue
View file @
97dcec37
<
template
>
<
template
>
<div>
<div
class=
"flex-between"
>
<el-select
v-model=
"provinceId"
style=
"width:1
67px;margin-right: 25
px;"
@
change=
"getProvince"
>
<el-select
v-model=
"provinceId"
style=
"width:1
00px;margin-right: 10
px;"
@
change=
"getProvince"
>
<el-option
v-for=
"item in provinceArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
<el-option
v-for=
"item in provinceArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"cityId"
style=
"width:1
67px;margin-right: 25
px;"
@
change=
"getCity"
>
<el-select
v-model=
"cityId"
style=
"width:1
00px;margin-right: 10
px;"
@
change=
"getCity"
>
<el-option
v-for=
"item in cityArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
<el-option
v-for=
"item in cityArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"districtId"
style=
"width:1
67px;margin-right: 25
px;"
@
change=
"getDistrict"
>
<el-select
v-model=
"districtId"
style=
"width:1
00px;margin-right: 10
px;"
@
change=
"getDistrict"
>
<el-option
v-for=
"item in districtArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
<el-option
v-for=
"item in districtArr"
:value=
"item.id"
:key=
"item.id"
:label=
"item.name"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
...
components/homeinput.vue
View file @
97dcec37
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"head-input flex-center"
>
<div
class=
"head-input flex-center"
>
<div
class=
" content flex-between"
>
<div
class=
" content flex-between"
>
<div
class=
" images"
>
<div
class=
" images"
>
<img
src=
"~/assets/css/logo.jpg"
>
<img
src=
"~/assets/css/logo.jpg"
>
</div>
</div>
<div
class=
"head-input-title"
>
捷安彩
</div>
<div
class=
"head-input-title"
>
捷安彩
</div>
...
@@ -28,16 +28,27 @@
...
@@ -28,16 +28,27 @@
<
script
>
<
script
>
import
{
getAllList
}
from
'@/common/list.js'
import
{
getAllList
}
from
'@/common/list.js'
import
inDex
from
'@/pages/index.vue'
export
default
{
export
default
{
methods
:{
methods
:{
async
toSearch
(){
toSearch
(){
this
.
$router
.
push
(
'notice/all'
)
this
.
$router
.
push
(
'notice/all'
)
window
.
sessionStorage
.
setItem
(
"content"
,
this
.
input
)
window
.
sessionStorage
.
setItem
(
"content"
,
this
.
input
)
window
.
sessionStorage
.
setItem
(
"text"
,
this
.
active
)
/* inDex.$emit("send",this.active) */
}
}
},
},
/* mounted(){
let tokenStr = window.sessionStorage.getItem("token")
if(tokenStr){
this.showdefault = false
}
}, */
data
()
{
data
()
{
return
{
return
{
input
:
""
showdefault
:
false
,
input
:
""
,
active
:
4
}
}
},
},
}
}
...
...
components/nav.vue
View file @
97dcec37
...
@@ -8,10 +8,12 @@
...
@@ -8,10 +8,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
inDex
from
'@/pages/index.vue'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
nav
:
""
,
ccc
:
''
,
nav
:
"0"
,
linklist
:
[{
linklist
:
[{
to
:
"/"
,
to
:
"/"
,
name
:
"首页"
name
:
"首页"
...
@@ -43,9 +45,15 @@
...
@@ -43,9 +45,15 @@
this
.
getindex
();
this
.
getindex
();
}
}
},
},
created
(){
mounted
(){
/* inDex.$on("send",(message)=>{
},
this.nav = message
}) */
if
(
window
.
location
.
href
===
"/notice/all"
){
console
.
log
(
window
.
location
.
href
+
'+++++++++++++-----------------'
)
this
.
nav
=
window
.
sessionStorage
.
getItem
(
"text"
)
}
},
methods
:
{
methods
:
{
change
(
index
,
path
)
{
change
(
index
,
path
)
{
this
.
$router
.
push
(
path
);
this
.
$router
.
push
(
path
);
...
...
pages/index/index.vue
View file @
97dcec37
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
</el-carousel>
</el-carousel>
</div>
</div>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"author"
>
<div
class=
"author"
>
<img
src=
"~/assets/css/7.png"
>
<img
src=
"~/assets/css/7.png"
v-show=
"!showDefault"
>
</div>
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
...
@@ -91,6 +91,10 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
...
@@ -91,6 +91,10 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
this
.
getListSite
()
this
.
getListSite
()
this
.
getListSite1
()
this
.
getListSite1
()
this
.
getListSite2
()
this
.
getListSite2
()
/* let tokenStr = window.sessionStorage.getItem("token")
if(tokenStr){
this.showdefault = false
} */
},
},
methods
:{
methods
:{
latformDynamics
(){
latformDynamics
(){
...
@@ -257,6 +261,12 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
...
@@ -257,6 +261,12 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
border-radius
:
50%
;
border-radius
:
50%
;
}
}
.login
>
.author
{
margin-top
:
0.6rem
;
width
:
.60rem
;
height
:
.60rem
;
border-radius
:
50%
;
}
.login
>
.login-title
{
.login
>
.login-title
{
font-size
:
.16rem
;
font-size
:
.16rem
;
font-weight
:
300
;
font-weight
:
300
;
...
...
pages/index/notice.vue
View file @
97dcec37
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
Nav
,
Nav
,
Footer
,
Footer
,
Aside
,
Aside
,
Bread
Bread
,
},
},
mounted
(){
mounted
(){
console
.
log
(
this
.
$router
,
this
.
$route
,
'---s'
)
console
.
log
(
this
.
$router
,
this
.
$route
,
'---s'
)
...
...
pages/index/notice/abortive.vue
View file @
97dcec37
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<div>
<div>
<div
class=
"flex-item"
style=
"margin-bottom: 0.1rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.1rem;"
>
<span
class=
"t1 left"
>
行业类型
</span>
<span
class=
"t1 left"
>
行业类型
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
style=
"width:150px"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
所在地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
...
pages/index/notice/all.vue
View file @
97dcec37
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
所在地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -192,6 +192,7 @@ import {getAllList,getNoticeType} from '@/common/list.js'
...
@@ -192,6 +192,7 @@ import {getAllList,getNoticeType} from '@/common/list.js'
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
;
}
}
.reset
{
.reset
{
...
...
pages/index/notice/bid.vue
View file @
97dcec37
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<div
class=
"flex-item"
style=
"margin-bottom: 0.1rem;"
>
<div
class=
"flex-item"
style=
"margin-bottom: 0.1rem;"
>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
行业类别
</span>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-select
v-model=
"getData.industryId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in industryoptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryoptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
style=
"width:242px"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
所
属
地区
</span>
<span
class=
"t1 left"
>
所
在
地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -198,6 +198,7 @@ import citySelect from "@/components/citySelect.vue";
...
@@ -198,6 +198,7 @@ import citySelect from "@/components/citySelect.vue";
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
;
}
}
.reset
{
.reset
{
...
...
pages/index/notice/biding.vue
View file @
97dcec37
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
:value=
"item.id"
:value=
"item.id"
></el-option>
></el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
所
属
地区
</span>
<span
class=
"t1 left"
>
所
在
地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -249,6 +249,7 @@ export default {
...
@@ -249,6 +249,7 @@ export default {
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
}
}
.reset
{
.reset
{
...
...
pages/index/notice/cadidate.vue
View file @
97dcec37
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
所在地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -185,6 +185,7 @@ import {getCadidateList} from '@/common/list.js'
...
@@ -185,6 +185,7 @@ import {getCadidateList} from '@/common/list.js'
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
}
}
.reset
{
.reset
{
...
...
pages/index/notice/change.vue
View file @
97dcec37
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
所在地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -185,6 +185,7 @@ import {getChangeList} from '@/common/list.js'
...
@@ -185,6 +185,7 @@ import {getChangeList} from '@/common/list.js'
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
}
}
.reset
{
.reset
{
...
...
pages/index/notice/clarifies.vue
View file @
97dcec37
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
<el-option
v-for=
"item in industryOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"t1 left"
>
行业类别
</span>
<span
class=
"t1 left"
>
所在地区
</span>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
<citySelect
@
sendprovinceId=
"receiveP"
@
sendcityId=
"receiveC"
@
senddistrictId=
"receiveS"
ref=
"mychild"
></citySelect>
</div>
</div>
<div
class=
"flex-item t1"
>
<div
class=
"flex-item t1"
>
...
@@ -183,6 +183,7 @@ import {getClerList} from '@/common/list.js'
...
@@ -183,6 +183,7 @@ import {getClerList} from '@/common/list.js'
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
;
}
}
.reset
{
.reset
{
...
...
pages/index/notice/inquiry.vue
View file @
97dcec37
...
@@ -27,10 +27,9 @@
...
@@ -27,10 +27,9 @@
@
change=
"testChange"
@
change=
"testChange"
:beginDate=
"getData.beginDate"
:beginDate=
"getData.beginDate"
:endDate=
"getData.endDate"
:endDate=
"getData.endDate"
size=
"mini"
></el-date-picker>
></el-date-picker>
<span
class=
"left"
></span>
<span
class=
"left"
></span>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
<el-input
v-model=
"getData.title"
placeholder=
"请输入内容"
style=
"width: 2.3rem;"
></el-input>
</div>
</div>
</div>
</div>
<div
style=
"width:0.6rem;"
>
<div
style=
"width:0.6rem;"
>
...
@@ -243,6 +242,7 @@ export default {
...
@@ -243,6 +242,7 @@ export default {
.left
{
.left
{
margin-left
:
0.3rem
;
margin-left
:
0.3rem
;
margin-right
:
0.15rem
;
margin-right
:
0.15rem
;
width
:
50px
;
}
}
.reset
{
.reset
{
...
...
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