Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
12d0533f
提交
12d0533f
authored
6月 11, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/caoyun' into feature/chuck
上级
1f74c021
4c94e718
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
330 行增加
和
220 行删除
+330
-220
index.tsx
pages/home/waterfallFlowBody/components/map/api/index.tsx
+39
-32
index.tsx
pages/home/waterfallFlowBody/components/map/index.tsx
+0
-0
index.page.tsx
...lFlowBody/components/map/moreServicePoints/index.page.tsx
+86
-31
index.tsx
pages/jobServices/api/index.tsx
+27
-21
[id].page.tsx
pages/jobServices/detail/[id].page.tsx
+0
-0
index.tsx
pages/jobServices/detail/api/index.tsx
+53
-29
styled.tsx
pages/jobServices/detail/styled.tsx
+122
-105
index.page.tsx
pages/jobServices/index.page.tsx
+3
-2
没有找到文件。
pages/home/waterfallFlowBody/components/map/api/index.tsx
浏览文件 @
12d0533f
import
request
,
{
Response
}
from
"~/api/request"
;
import
request
,
{
Response
}
from
'~/api/request'
export
interface
PositioningInfoParams
{
lat
?:
number
;
lon
?:
number
;
pageNo
?:
number
,
pageSize
?:
number
lat
:
number
lon
:
number
pageNo
:
number
pageSize
:
number
}
export
interface
Entiy
{
dizhi
:
string
;
jd
:
number
;
wd
:
number
;
range
:
number
;
dizhi
:
string
jd
:
number
wd
:
number
range
:
number
}
export
interface
ListPageJobInfoResp
{
id
:
number
;
adCode
:
string
;
province
:
string
;
locationList
:
Array
<
Entiy
>
;
export
interface
ListPageJobInfoType
{
address
:
string
name
:
string
lon
:
number
lat
:
number
distance
:
number
}
export
interface
FlyerBitmapEntiy
{
flyerName
:
string
,
phoneNum
:
string
,
lon
:
number
,
lat
:
number
,
flyerName
:
string
phoneNum
:
string
lon
:
number
lat
:
number
distance
:
number
}
export
interface
UavBitmapEntiy
{
uavName
:
string
,
online
:
number
,
lon
:
number
,
lat
:
number
,
distance
:
number
,
uavName
:
string
online
:
number
lon
:
number
lat
:
number
distance
:
number
id
:
string
}
export
interface
BitmapInfo
<
T
>
{
pageNo
:
number
,
pageSize
:
number
,
list
:
T
[]
,
totalCount
:
number
,
pageNo
:
number
pageSize
:
number
list
:
T
[]
totalCount
:
number
totalPage
:
number
}
...
...
@@ -48,19 +49,25 @@ export default {
//web-首页-地图-全国点位
listPositioningInfo
:
(
params
:
PositioningInfoParams
):
Promise
<
Response
<
ListPageJobInfoResp
[]
>>
=>
{
return
request
(
"/release/website/getWebsiteList"
,
"get"
,
params
);
):
Promise
<
Response
<
BitmapInfo
<
ListPageJobInfoType
>
>>
=>
{
return
request
(
'/release/website/getWebsiteList'
,
'get'
,
params
)
},
//web-首页-地图-全国飞手
listFlyerBitmap
:
(
params
:
PositioningInfoParams
):
Promise
<
Response
<
BitmapInfo
<
FlyerBitmapEntiy
>>>
=>
{
return
request
(
"/release/website/flyer/bitmap"
,
"get"
,
params
);
return
request
(
'/release/website/flyer/bitmap'
,
'get'
,
params
)
},
//web-首页-地图-全国无人机
listUavBitmap
:
(
params
:
PositioningInfoParams
):
Promise
<
Response
<
BitmapInfo
<
UavBitmapEntiy
>>>
=>
{
return
request
(
"/release/website/uav/bitmap"
,
"get"
,
params
);
return
request
(
'/release/website/uav/bitmap'
,
'get'
,
params
)
},
};
//web-首页-地图-全国维修-海点数据
listMaintainBitmap
:
(
params
:
PositioningInfoParams
):
Promise
<
Response
<
BitmapInfo
<
ListPageJobInfoType
>>>
=>
{
return
request
(
'/release/website/maintain/bitmap'
,
'get'
,
params
)
},
}
pages/home/waterfallFlowBody/components/map/index.tsx
浏览文件 @
12d0533f
差异被折叠。
点击展开。
pages/home/waterfallFlowBody/components/map/moreServicePoints/index.page.tsx
浏览文件 @
12d0533f
...
...
@@ -22,19 +22,21 @@ export default function MoreServicePoints() {
//初始化地图
const
init
=
async
()
=>
{
try
{
const
AMapLoader
=
await
import
(
/* webpackChunkName: "amap" */
'@amap/amap-jsapi-loader'
)
const
AMapLoader
=
await
import
(
/* webpackChunkName: "amap" */
'@amap/amap-jsapi-loader'
)
await
AMapLoader
.
load
({
key
:
'87b424e68754efc3ba9d11ae07475091'
,
// 申请好的Web端开发者Key,首次调用 load 时必填
version
:
'2.0'
,
// 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
plugins
:
[
''
]
// 需要使用的的插件列表,如比例尺'AMap.Scale'等
plugins
:
[
''
]
,
// 需要使用的的插件列表,如比例尺'AMap.Scale'等
})
.
then
(
async
AMap
=>
{
.
then
(
async
(
AMap
)
=>
{
Amap
=
AMap
MAP
=
new
AMap
.
Map
(
'container'
,
{
// 设置地图容器id
viewMode
:
'3D'
,
// 是否为3D地图模式
zoom
:
9
,
// 初始化地图级别
center
:
[
113.93029
,
22.53291
]
// 初始化地图中心点位置
center
:
[
113.93029
,
22.53291
]
,
// 初始化地图中心点位置
})
//用户定位
AMap
.
plugin
(
'AMap.Geolocation'
,
function
()
{
...
...
@@ -43,10 +45,13 @@ export default function MoreServicePoints() {
timeout
:
10000
,
//超过10秒后停止定位,默认:5s
position
:
'RB'
,
//定位按钮的停靠位置
offset
:
[
10
,
20
],
//定位按钮与设置的停靠位置的偏移量,默认:[10, 20]
zoomToAccuracy
:
true
//定位成功后是否自动调整地图视野到定位点
zoomToAccuracy
:
true
,
//定位成功后是否自动调整地图视野到定位点
})
MAP
.
addControl
(
geolocation
)
geolocation
.
getCurrentPosition
(
function
(
status
:
string
,
result
:
any
)
{
geolocation
.
getCurrentPosition
(
function
(
status
:
string
,
result
:
any
)
{
console
.
log
(
result
)
if
(
status
==
'complete'
)
{
...
...
@@ -71,7 +76,7 @@ export default function MoreServicePoints() {
}
await
mapEntiy
(
0
)
})
.
catch
(
e
=>
{
.
catch
(
(
e
)
=>
{
console
.
log
(
e
)
})
}
catch
(
error
)
{
...
...
@@ -81,16 +86,15 @@ export default function MoreServicePoints() {
const
showPositioningInfo
=
async
(
index
:
number
,
data
?:
UserInfoType
)
=>
{
const
res
=
await
api
.
listPositioningInfo
({
lon
:
userPositioning
?.
lon
||
data
?.
lon
||
113.93029
,
lat
:
userPositioning
?.
lat
||
data
?.
lat
||
22.53291
lat
:
userPositioning
?.
lat
||
data
?.
lat
||
22.53291
,
pageNo
:
1
,
pageSize
:
10
,
})
const
list
=
res
.
result
?.
map
(
item
=>
item
.
locationList
)
.
flat
()
.
filter
((
item
:
{
dizhi
:
string
})
=>
item
.
dizhi
.
includes
(
'省'
))
const
list
=
res
.
result
?.
list
const
markerList
:
any
=
[]
if
(
list
?.
length
)
{
list
?.
map
(
item
=>
{
const
EntiyValue
=
addEntiy
(
item
.
jd
,
item
.
wd
,
item
.
dizhi
)
list
?.
map
(
(
item
)
=>
{
const
EntiyValue
=
addEntiy
(
item
.
lon
,
item
.
lat
,
item
.
address
)
markerList
.
push
(
EntiyValue
)
})
setServicePoints
(
list
)
...
...
@@ -100,17 +104,21 @@ export default function MoreServicePoints() {
//自适应显示多个点位
MAP
?.
setFitView
()
}
const
showFlyerBitmap
=
async
(
index
:
number
,
data
?:
UserInfoType
,
pageSize
?:
number
)
=>
{
const
showFlyerBitmap
=
async
(
index
:
number
,
data
?:
UserInfoType
,
pageSize
?:
number
)
=>
{
const
res
=
await
api
.
listFlyerBitmap
({
lon
:
userPositioning
?.
lon
||
data
?.
lon
||
113.93029
,
lat
:
userPositioning
?.
lat
||
data
?.
lat
||
22.53291
,
pageNo
:
1
,
pageSize
:
pageSize
||
40
pageSize
:
pageSize
||
40
,
})
const
list
=
res
.
result
?.
list
const
markerList
:
any
=
[]
if
(
list
?.
length
)
{
list
?.
map
(
item
=>
{
list
?.
map
(
(
item
)
=>
{
const
EntiyValue
=
addEntiy
(
item
.
lon
,
item
.
lat
,
item
.
flyerName
)
markerList
.
push
(
EntiyValue
)
})
...
...
@@ -121,17 +129,42 @@ export default function MoreServicePoints() {
//自适应显示多个点位
MAP
?.
setFitView
()
}
const
showMaintainBitmap
=
async
(
index
:
number
,
data
?:
UserInfoType
,
pageSize
?:
number
)
=>
{
const
res
=
await
api
.
listMaintainBitmap
({
lon
:
userPositioning
?.
lon
||
data
?.
lon
||
113.93029
,
lat
:
userPositioning
?.
lat
||
data
?.
lat
||
22.53291
,
pageNo
:
1
,
pageSize
:
pageSize
||
40
,
})
const
list
=
res
.
result
?.
list
const
markerList
:
any
=
[]
if
(
list
?.
length
)
{
list
?.
map
((
item
)
=>
{
const
EntiyValue
=
addEntiy
(
item
.
lon
,
item
.
lat
,
item
.
address
)
markerList
.
push
(
EntiyValue
)
})
setServicePoints
(
list
)
if
(
markerList
.
length
)
MAP
?.
add
(
markerList
)
setMarkerCol
(
markerList
)
}
//自适应显示多个点位
MAP
?.
setFitView
()
}
const
showUavBitmap
=
async
(
index
:
number
,
data
?:
UserInfoType
)
=>
{
const
res
=
await
api
.
listUavBitmap
({
lon
:
userPositioning
?.
lon
||
data
?.
lon
||
113.93029
,
lat
:
userPositioning
?.
lat
||
data
?.
lat
||
22.53291
,
pageNo
:
1
,
pageSize
:
40
pageSize
:
40
,
})
const
list
=
res
.
result
?.
list
const
markerList
:
any
=
[]
if
(
list
?.
length
)
{
list
?.
map
(
item
=>
{
list
?.
map
(
(
item
)
=>
{
const
EntiyValue
=
addEntiy
(
item
.
lon
,
item
.
lat
,
item
.
uavName
)
markerList
.
push
(
EntiyValue
)
})
...
...
@@ -155,7 +188,7 @@ export default function MoreServicePoints() {
}
else
if
(
index
===
2
)
{
showUavBitmap
(
index
,
data
)
}
else
{
show
Flyer
Bitmap
(
index
,
data
,
30
)
show
Maintain
Bitmap
(
index
,
data
,
30
)
}
setMapItem
(
index
)
}
...
...
@@ -165,14 +198,14 @@ export default function MoreServicePoints() {
const
icons
=
new
Amap
.
Icon
({
size
:
new
Amap
.
Size
(
60
,
60
),
// 图标尺寸
image
:
icon
.
src
,
// Icon的图像
imageSize
:
new
Amap
.
Size
(
60
,
60
)
// 根据所设置的大小拉伸或压缩图片
imageSize
:
new
Amap
.
Size
(
60
,
60
)
,
// 根据所设置的大小拉伸或压缩图片
})
const
marker
=
new
Amap
.
Marker
({
position
:
new
Amap
.
LngLat
(
lon
,
lat
),
offset
:
new
Amap
.
Pixel
(
-
10
,
-
10
),
icon
:
icons
,
// 添加 Icon 实例
title
:
name
,
zoom
:
13
zoom
:
13
,
})
return
marker
}
...
...
@@ -182,12 +215,12 @@ export default function MoreServicePoints() {
var
infoWindow
=
new
Amap
.
InfoWindow
({
position
:
p
,
offset
:
new
Amap
.
Pixel
(
20
,
-
10
),
content
:
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
content
:
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
||
item
.
address
,
})
infoWindow
.
open
(
MAP
)
if
(
item
.
dizhi
)
{
return
MAP
?.
setCenter
([
item
.
jd
,
item
.
wd
])
}
else
if
(
item
.
flyerName
||
item
.
uavName
)
{
}
else
if
(
item
.
flyerName
||
item
.
uavName
||
item
.
address
)
{
return
MAP
?.
setCenter
([
item
.
lon
,
item
.
lat
])
}
return
message
.
warning
(
'暂无位置信息'
)
...
...
@@ -204,26 +237,48 @@ export default function MoreServicePoints() {
<
Layout
>
<
Box
>
<
div
className=
"title"
>
<
div
onClick=
{
()
=>
mapEntiy
(
0
)
}
className=
{
`item ${mapItem === 0 ? 'active' : ''}`
}
>
<
div
onClick=
{
()
=>
mapEntiy
(
0
)
}
className=
{
`item ${mapItem === 0 ? 'active' : ''}`
}
>
服务网点
</
div
>
<
div
onClick=
{
()
=>
mapEntiy
(
1
)
}
className=
{
`item ${mapItem === 1 ? 'active' : ''}`
}
>
<
div
onClick=
{
()
=>
mapEntiy
(
1
)
}
className=
{
`item ${mapItem === 1 ? 'active' : ''}`
}
>
培训网点
</
div
>
<
div
onClick=
{
()
=>
mapEntiy
(
2
)
}
className=
{
`item ${mapItem === 2 ? 'active' : ''}`
}
>
<
div
onClick=
{
()
=>
mapEntiy
(
2
)
}
className=
{
`item ${mapItem === 2 ? 'active' : ''}`
}
>
租赁网点
</
div
>
<
div
onClick=
{
()
=>
mapEntiy
(
3
)
}
className=
{
`item ${mapItem === 3 ? 'active' : ''}`
}
>
<
div
onClick=
{
()
=>
mapEntiy
(
3
)
}
className=
{
`item ${mapItem === 3 ? 'active' : ''}`
}
>
机构网点
</
div
>
</
div
>
<
div
className=
"content"
>
<
div
className=
"left"
>
<
div
className=
"left-title"
>
服务网点
</
div
>
{
mapItem
===
0
&&
<
div
className=
"left-title"
>
服务网点
</
div
>
}
{
mapItem
===
1
&&
<
div
className=
"left-title"
>
培训网点
</
div
>
}
{
mapItem
===
2
&&
<
div
className=
"left-title"
>
租赁网点
</
div
>
}
{
mapItem
===
3
&&
<
div
className=
"left-title"
>
机构网点
</
div
>
}
<
div
className=
"left-content"
>
{
servicePoints
.
map
((
item
:
any
,
index
:
number
)
=>
(
<
div
key=
{
item
.
id
}
onClick=
{
()
=>
moveTo
(
item
,
index
)
}
className=
"left-content-item"
title=
{
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
}
>
{
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
}
<
div
key=
{
item
.
id
}
onClick=
{
()
=>
moveTo
(
item
,
index
)
}
className=
"left-content-item"
title=
{
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
||
item
.
address
}
>
{
item
.
dizhi
||
item
.
flyerName
||
item
.
uavName
||
item
.
address
}
</
div
>
))
}
</
div
>
...
...
pages/jobServices/api/index.tsx
浏览文件 @
12d0533f
import
request
,
{
Response
}
from
'~/api/request'
;
import
request
,
{
Response
}
from
'~/api/request'
export
interface
ListPageJobInfoParams
{
pageNo
:
number
,
pageSize
:
number
,
appTypeId
?:
number
,
industryId
?:
number
,
inspectionName
?:
string
,
string
?:
number
,
regionId
?:
number
,
pageNo
:
number
pageSize
:
number
appTypeId
?:
number
industryId
?:
number
inspectionName
?:
string
string
?:
number
regionId
?:
number
}
export
interface
Job
{
id
:
number
,
serviceName
:
string
,
teamName
:
string
,
price
:
number
,
id
:
number
serviceName
:
string
teamName
:
string
price
:
number
}
export
interface
ListPageJobInfoResp
{
pageNo
:
1
,
pageSize
:
10
,
list
:
Array
<
Job
>
,
totalCount
:
0
,
pageNo
:
1
pageSize
:
10
list
:
Array
<
Job
>
totalCount
:
0
totalPage
:
0
}
export
default
{
//web-作业服务-分页
listPageJobServicesInfo
:
(
params
:
ListPageJobInfoParams
,
option
:{}):
Promise
<
Response
<
ListPageJobInfoResp
>>
=>
{
return
request
(
'/release/work/queryTaskServiceList'
,
'post'
,
params
,
option
)
listPageJobServicesInfo
:
(
params
:
ListPageJobInfoParams
,
option
:
{}
):
Promise
<
Response
<
ListPageJobInfoResp
>>
=>
{
return
request
(
'/pms/backstage/work/queryWorkServiceList'
,
'post'
,
params
,
option
)
},
}
\ No newline at end of file
}
pages/jobServices/detail/[id].page.tsx
浏览文件 @
12d0533f
差异被折叠。
点击展开。
pages/jobServices/detail/api/index.tsx
浏览文件 @
12d0533f
import
request
,
{
Response
}
from
'~/api/request'
;
import
request
,
{
Response
}
from
'~/api/request'
import
{
RegionResp
}
from
'~/components/filter/api'
export
interface
ListPageJobInfoParams
{
pageNo
:
number
,
pageSize
:
number
,
appTypeId
?:
number
,
industryId
?:
number
,
inspectionName
?:
string
,
string
?:
number
,
regionId
?:
number
,
pageNo
:
number
pageSize
:
number
appTypeId
?:
number
industryId
?:
number
inspectionName
?:
string
string
?:
number
regionId
?:
number
}
export
interface
JobDetail
{
id
?:
number
,
content
?:
string
,
contentImgs
?:
string
[]
|
null
,
contentVideo
?:
string
|
null
,
star
?:
number
,
img
?:
string
|
null
,
type
?:
number
,
name
?:
string
,
time
?:
number
|
string
id
?:
number
content
?:
string
contentImgs
?:
string
[]
|
null
contentVideo
?:
string
|
null
star
?:
number
img
?:
string
|
null
type
?:
number
name
?:
string
time
?:
number
|
string
}
export
interface
ListPageJobInfoResp
{
id
:
number
,
serviceName
:
string
,
pictureUrl
:
string
,
videoUrl
:
string
,
teamPoster
:
string
,
evaluateInfo
:
Array
<
JobDetail
>
,
item
:
number
id
:
number
serviceName
:
string
pictureUrl
:
string
videoUrl
:
string
teamPoster
:
string
evaluateInfo
:
Array
<
JobDetail
>
item
:
number
coverPlan
:
string
serviceIntroduction
:
string
inspComtList
:
[]
}
export
interface
GetJobServicesDetailParams
{
id
:
number
}
export
interface
GetOrderTaskParams
{
address
:
string
city
:
string
endTime
:
string
images
?:
[]
inspectionId
:
number
lat
:
number
lon
:
number
province
:
string
startTime
:
string
taskDescription
?:
string
}
export
default
{
//web-作业服务-详情
listDetailJobServicesInfo
:
(
params
:
GetJobServicesDetailParams
):
Promise
<
Response
<
ListPageJobInfoResp
>>
=>
{
return
request
(
'/release/work/selectInspection'
,
'get'
,
params
)
listDetailJobServicesInfo
:
(
params
:
GetJobServicesDetailParams
):
Promise
<
Response
<
ListPageJobInfoResp
>>
=>
{
return
request
(
'/pms/backstage/work/queryWorkService'
,
'get'
,
params
)
},
}
\ No newline at end of file
//web-作业服务-详情-立即预约
insertOrderTask
:
(
params
:
GetOrderTaskParams
):
Promise
<
Response
<
null
>>
=>
{
return
request
(
'/oms/serviceOrderTask/insertOrderTask'
,
'post'
,
params
)
},
//区域
region
:
():
Promise
<
Response
<
Array
<
RegionResp
>>>
=>
{
return
request
(
'/pms/webDevice/getSecondDistrictInfo'
)
},
}
pages/jobServices/detail/styled.tsx
浏览文件 @
12d0533f
import
styled
from
"styled-components"
import
styled
from
'styled-components'
export
default
function
Style
()
{
return
<></>
;
return
<></>
}
export
const
Box
=
styled
.
div
`
box-sizing: border-box;
width: 1200px;
height: 1338px;
margin-top: 18px;
background-color: #FFFFFF;
.top{
display: flex;
height: 300px;
padding: 24px 0 0 24px;
&-image{
width: 300px;
height: 300px;
background-color: #F4F5F7;
border-radius: 6px;
margin-right: 32px;
position: relative;
box-sizing: border-box;
width: 1200px;
height: 1338px;
margin-top: 18px;
background-color: #ffffff;
.top {
display: flex;
height: 300px;
padding: 24px 0 0 24px;
&-image {
width: 300px;
height: 300px;
background-color: #f4f5f7;
border-radius: 6px;
margin-right: 32px;
position: relative;
}
&-right {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 300px;
.right-top {
.title {
height: 26px;
font-size: 28px;
font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
font-weight: bold;
color: #090909;
line-height: 26px;
}
&-right{
display: flex;
flex-direction: column;
justify-content: space-between;
height: 300px;
.right-top{
.title{
height: 26px;
font-size: 28px;
font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
font-weight: bold;
color: #090909;
line-height: 26px;
}
.detail{
display: flex;
margin-top: 27px;
.tab{
width: 64px;
height: 18px;
line-height: 18px;
text-align: center;
background: linear-gradient(270deg, #3E62E5 0%, #3588F7 100%);
border-radius: 9px;
font-size: 12px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #F6FDFE;
margin-right: 5px;
}
.content{
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
line-height: 20px;
}
}
.more{
display: flex;
margin-top: 25px;
.tab{
width: 131px;
height: 23px;
line-height: 23px;
text-align: center;
border-radius: 3px;
font-family: MicrosoftYaHei;
background-color: #F4F4F4;
color: #333333;
margin-right: 8px;
&.filst{
color: #6E411E;
background-color: #F9E3D1;
}
}
}
}
.right-bottom{
.bottom-btn{
.btn-left{
width: 207px;
height: 40px;
background-color: #FFE4D1;
border: 1px solid #EBBAAF;
font-family: MicrosoftYaHei;
color: #FF552D;
letter-spacing: 1px;
margin-right: 12px;
}
.btn-right{
width: 207px;
height: 40px;
background: #FF552D;
font-family: MicrosoftYaHei;
color: #FFFFFF;
letter-spacing: 1px;
}
}
.detail {
display: flex;
margin-top: 27px;
.tab {
width: 64px;
height: 18px;
line-height: 18px;
text-align: center;
background: linear-gradient(270deg, #3e62e5 0%, #3588f7 100%);
border-radius: 9px;
font-size: 12px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #f6fdfe;
margin-right: 5px;
}
.content {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
line-height: 20px;
}
}
.more {
display: flex;
margin-top: 25px;
.tab {
width: 131px;
height: 23px;
line-height: 23px;
text-align: center;
border-radius: 3px;
font-family: MicrosoftYaHei;
background-color: #f4f4f4;
color: #333333;
margin-right: 8px;
&.filst {
color: #6e411e;
background-color: #f9e3d1;
}
}
}
}
.tabs{
padding: 0 24px;
margin-top: 69px;
.teamIntroduction{
width: 100%;
}
.right-bottom {
.bottom-btn {
.btn-left {
width: 207px;
height: 40px;
background-color: #ffe4d1;
border: 1px solid #ebbaaf;
font-family: MicrosoftYaHei;
color: #ff552d;
letter-spacing: 1px;
margin-right: 12px;
}
.btn-right {
width: 207px;
height: 40px;
background: #ff552d;
font-family: MicrosoftYaHei;
color: #ffffff;
letter-spacing: 1px;
}
}
}
}
}
.tabs {
padding: 0 24px;
margin-top: 69px;
.teamIntroduction {
width: 100%;
}
}
.reservation {
.title {
display: flex;
align-items: center;
padding-bottom: 25px;
.left {
width: 58px;
height: 58px;
background: #d8d8d8;
border-radius: 2px;
}
.right {
margin-left: 10px;
font-weight: 700;
font-size: 16px;
}
}
`
\ No newline at end of file
}
`
pages/jobServices/index.page.tsx
浏览文件 @
12d0533f
...
...
@@ -42,8 +42,9 @@ export default function JobServices() {
{
/* <div className="com">{item.teamName}</div> */
}
</
div
>
<
div
className=
"value-right"
>
<
span
className=
"money"
>
¥
{
item
.
price
}
</
span
>
{
' '
}
<
span
className=
"unit"
>
/平
</
span
>
{
/* <span className="money">¥{item.price}</span> */
}
{
/* <span className="unit">/平</span> */
}
<
span
className=
"money"
>
获取报价
</
span
>
</
div
>
</
div
>
</
div
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论