Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
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
cfld-frontend
liyeyun
Commits
69d7cadb
Commit
69d7cadb
authored
Dec 11, 2023
by
shilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: lint
parent
cd7e56e6
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
21 additions
and
20 deletions
+21
-20
.env.test
.env.test
+4
-0
package.json
package.json
+1
-1
loading.png
src/assets/images/loading.png
+0
-0
no-data.png
src/assets/images/no-data.png
+0
-0
no-search-data.png
src/assets/images/no-search-data.png
+0
-0
placeholder-load.png
src/assets/images/placeholder-load.png
+0
-0
placeholder-park.png
src/assets/images/placeholder-park.png
+0
-0
CommonHeader.vue
src/components/common/CommonHeader.vue
+2
-2
FormModal.vue
src/components/form-modal/FormModal.vue
+5
-5
HomeView.vue
src/views/home/HomeView.vue
+6
-6
IndustryCategory.vue
src/views/industry/IndustryCategory.vue
+1
-1
LandDetail.vue
src/views/land/LandDetail.vue
+2
-5
No files found.
.env.test
0 → 100644
View file @
69d7cadb
NODE_ENV
=
production
VITE_BASE_URL
=
http
://
test
.
api
.
liyeyun
.
com
# VITE_BASE_URL=/API
VITE_BASE_USER_URL
=
http
://
test
.
user
.
liyeyun
.
com
package.json
View file @
69d7cadb
...
...
@@ -5,7 +5,7 @@
"scripts"
:
{
"dev"
:
"vite"
,
"build:prod"
:
"npm run build-only"
,
"build:test"
:
"npm run build-only
-- -m development
"
,
"build:test"
:
"npm run build-only"
,
"preview"
:
"vite preview"
,
"test:unit"
:
"vitest"
,
"build-only"
:
"vite build"
,
...
...
src/assets/images/loading.png
0 → 100644
View file @
69d7cadb
71.5 KB
src/assets/images/no-data.png
0 → 100644
View file @
69d7cadb
44.2 KB
src/assets/images/no-search-data.png
0 → 100644
View file @
69d7cadb
70.7 KB
src/assets/images/placeholder-load.png
0 → 100644
View file @
69d7cadb
59.1 KB
src/assets/images/placeholder-park.png
0 → 100644
View file @
69d7cadb
67.9 KB
src/components/common/CommonHeader.vue
View file @
69d7cadb
...
...
@@ -28,7 +28,7 @@
</template>
</ElMenu>
</div>
<div
class=
"flex items-center pr-[56px] text-base
text-[#333333] font-medium
"
>
<div
class=
"flex items-center pr-[56px] text-base
font-medium text-[#333333]
"
>
<div
class=
"cursor-pointer"
>
<span
v-if=
"userInfo"
@
click=
"toUserCenter"
>
{{ userInfo.phone }}
</span>
<div
v-else
>
...
...
@@ -37,7 +37,7 @@
<span
@
click=
"handleLogin('register')"
>
注册
</span>
</div>
</div>
<div
class=
"ml-4 flex items-center text-
[#C0322B] text-base font-medium
"
>
<div
class=
"ml-4 flex items-center text-
base font-medium text-[#C0322B]
"
>
<img
src=
"@/assets/images/icon-phone_call.png"
/>
<span>
400-900-1786
</span>
</div>
...
...
src/components/form-modal/FormModal.vue
View file @
69d7cadb
<
template
>
<div
class=
"
w-[258px] h-[318px] pt-[30px] px-[29px] content
"
>
<p
class=
"
text-base text-[#1A1A1A] font-bold mb-5
"
>
选址需求
</p>
<div
class=
"
content h-[318px] w-[258px] px-[29px] pt-[30px]
"
>
<p
class=
"
mb-5 text-base font-bold text-[#1A1A1A]
"
>
选址需求
</p>
<ElInput
v-model=
"formData.address"
class=
"w-[200px]"
placeholder=
"*输入选址区域"
></ElInput>
<ElSelect
v-model=
"formData.needType"
class=
"
w-[200px] mt-3
"
placeholder=
"*请选择您的需求类型"
>
<ElSelect
v-model=
"formData.needType"
class=
"
mt-3 w-[200px]
"
placeholder=
"*请选择您的需求类型"
>
<ElOption
v-for=
"item in options"
:key=
"item.label"
:label=
"item.label"
:value=
"item.value"
/>
</ElSelect>
<ElInput
v-model=
"formData.phone"
class=
"
w-[200px] mt-3
"
class=
"
mt-3 w-[200px]
"
placeholder=
"*请填写您的联系方式"
></ElInput>
<ElInput
v-model=
"formData.remark"
class=
"
w-[200px] mt-3
"
placeholder=
"具体描述"
></ElInput>
<ElInput
v-model=
"formData.remark"
class=
"
mt-3 w-[200px]
"
placeholder=
"具体描述"
></ElInput>
<div
class=
"btn-default mt-5"
@
click=
"commit"
>
提交
</div>
</div>
</
template
>
...
...
src/views/home/HomeView.vue
View file @
69d7cadb
...
...
@@ -24,34 +24,34 @@
<!-- 搜索分类 -->
<div
class=
"menu relative mt-3.5 flex text-sm text-[#808080]"
>
<span
@
click=
"changeSearchType('develop', '21px', '开发区')"
:class=
"
{ active: searchType === 'develop' }"
@click="changeSearchType('develop', '21px', '开发区')"
>
找开发区
</span>
<span
@
click=
"changeSearchType('industrial', '84px', '产业园')"
:class=
"
{ active: searchType === 'industrial' }"
@click="changeSearchType('industrial', '84px', '产业园')"
>
找产业园
</span>
<span
@
click=
"changeSearchType('land', '149px', '土地')"
:class=
"
{ active: searchType === 'land' }"
@click="changeSearchType('land', '149px', '土地')"
>
找土地
</span>
<span
style=
"margin-right: 14px"
@
click=
"changeSearchType('carrier', '202px', '载体')"
:class=
"
{ active: searchType === 'carrier' }"
@click="changeSearchType('carrier', '202px', '载体')"
>
找载体
</span>
<span
style=
"margin-right: 14px"
@
click=
"changeSearchType('category', '272px', '产业分类')"
:class=
"
{ active: searchType === 'category' }"
@click="changeSearchType('category', '272px', '产业分类')"
>
找产业分类
</span>
...
...
@@ -150,7 +150,7 @@
</div>
</div>
<!-- 资源列表展示 -->
<div
class=
"
flex flex-wrap justify-between home-media
"
>
<div
class=
"
home-media flex flex-wrap justify-between
"
>
<div
v-for=
"item in activeDataList"
:key=
"item.id"
...
...
src/views/industry/IndustryCategory.vue
View file @
69d7cadb
...
...
@@ -16,8 +16,8 @@
<p
v-for=
"item in directionList"
:key=
"item"
@
click=
"handleDirectionClick(item)"
:class=
"
{ 'active-direction': currentDirection === item }"
@click="handleDirectionClick(item)"
v-html="heightLight(item, keyWords)"
>
</p>
</div>
...
...
src/views/land/LandDetail.vue
View file @
69d7cadb
...
...
@@ -22,10 +22,7 @@
<DetailInfo
:infos=
"joinRequired"
></DetailInfo>
</DetailInfoCell>
<DetailInfoCell
title=
"周边配套"
title-center
>
<MapView
:lat=
"detail.development.latitude"
:lng=
"detail.development.longitude"
></MapView>
<MapView
:lat=
"detail.development.latitude"
:lng=
"detail.development.longitude"
></MapView>
</DetailInfoCell>
<DetailInfoCell
title-center
title=
"所属开发区"
>
<ParkItem
...
...
@@ -42,7 +39,7 @@
import
DetailInfoCell
from
'@/components/detail/DetailInfoCell.vue'
;
import
DetailInfo
from
'@/components/detail/DetailInfo.vue'
;
import
DetailMain
from
'@/components/detail/DetailMain.vue'
;
import
MapView
from
'@/components/map/MapView.vue'
import
MapView
from
'@/components/map/MapView.vue'
;
import
{
useDetail
}
from
'@/composable/useDetail.ts'
;
import
{
useJoinRequired
,
type
JoinRequiredParams
}
from
'@/composable/useJoinRequired.ts'
;
import
{
RequestUrl
}
from
'@/types/api.ts'
;
...
...
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