Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
17c12bdd
提交
17c12bdd
authored
3月 27, 2026
作者:
廖在望
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: app页面效果调整。
上级
b4b30b49
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
180 行增加
和
103 行删除
+180
-103
pages.json
src/pages.json
+2
-0
detail.vue
src/pages/kexinnongzi/detail.vue
+0
-0
yonggongmap.vue
src/pages/linghuoyonggong/components/yonggongmap.vue
+43
-35
linghuoyonggong.vue
src/pages/linghuoyonggong/linghuoyonggong.vue
+0
-0
nongjifuwu.vue
src/pages/nongjifuwu/nongjifuwu.vue
+135
-68
shenqingruzhu.vue
src/pages/nongjifuwu/shenqingruzhu.vue
+0
-0
没有找到文件。
src/pages.json
浏览文件 @
17c12bdd
...
...
@@ -685,6 +685,8 @@
"pageOrientation"
:
"portrait"
,
"app-plus"
:
{
"scrollIndicator"
:
"none"
,
"popGesture"
:
"close"
,
"bounce"
:
"none"
,
"titleNView"
:
{
"titleSize"
:
"18"
}
...
...
src/pages/kexinnongzi/detail.vue
浏览文件 @
17c12bdd
差异被折叠。
点击展开。
src/pages/linghuoyonggong/components/yonggongmap.vue
浏览文件 @
17c12bdd
...
...
@@ -291,7 +291,7 @@
<fui-icon
name=
"search"
color=
"#999"
:size=
"32"
></fui-icon>
<input
class=
"search-input"
v-model=
"model.searchText"
placeholder=
"搜地点、技能..."
placeholder-style=
"color:#ccc"
@
confirm=
"onSearch"
/>
</view>
<scroll-view
scroll-x
class=
"tab-scroll"
v-if=
"model.currentEmploymentId != 2"
>
<scroll-view
scroll-x
class=
"tab-scroll"
>
<view
class=
"tabs-row"
>
<view
v-for=
"tab in model.categoryTabs"
...
...
@@ -310,16 +310,17 @@
<view
class=
"map-container"
>
<Mapbox
@
register=
"registerMap"
/>
<!-- 回到当前位置 -->
<!-- 悬浮控制按钮组 -->
<view
class=
"map-ctrl-group"
>
<view
class=
"map-ctrl location"
@
click=
"backToUserLocation"
>
<fui-icon
name=
"location"
color=
"#5db66f"
:size=
"44"
></fui-icon>
<fui-icon
name=
"location"
color=
"#5db66f"
:size=
"28"
></fui-icon>
<text
class=
"ctrl-text"
>
定位
</text>
</view>
<view
class=
"map-ctrl list-btn"
@
click=
"onListModeClick"
>
<fui-icon
name=
"list"
color=
"#fff"
:size=
"28"
></fui-icon>
<text
class=
"ctrl-text"
>
列表
</text>
</view>
</view>
<!-- 模式切换胶囊 (沉浸式风格) -->
<view
class=
"view-toggle-pill"
@
tap=
"onListModeClick"
>
<fui-icon
name=
"list"
:size=
"32"
color=
"#5db66f"
></fui-icon>
<text
class=
"toggle-text"
>
返回列表
</text>
</view>
<RegisterDialog
ref=
"registerDialogRef"
/>
...
...
@@ -397,43 +398,50 @@
position
:
relative
;
}
.map-ctrl
{
.map-ctrl
-group
{
position
:
absolute
;
right
:
30
rpx
;
bottom
:
200
rpx
;
right
:
24
rpx
;
bottom
:
100
rpx
;
display
:
flex
;
flex-direction
:
column
;
gap
:
16
rpx
;
z-index
:
200
;
.map-ctrl
{
position
:
relative
;
width
:
88
rpx
;
height
:
88
rpx
;
background-color
:
#fff
;
border-radius
:
50%
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
box-shadow
:
0
8
rpx
24
rpx
rgba
(
0
,
0
,
0
,
0.12
);
z-index
:
200
;
&:active
{
transform
:
scale
(
0.92
);
}
box-shadow
:
0
6
rpx
20
rpx
rgba
(
0
,
0
,
0
,
0.15
);
transition
:
all
0.2s
;
&:active
{
transform
:
scale
(
0.92
);
}
.view-toggle-pill
{
position
:
fixed
;
left
:
50%
;
transform
:
translateX
(
-50%
);
bottom
:
60
rpx
;
background-color
:
rgba
(
255
,
255
,
255
,
0.95
);
backdrop-filter
:
blur
(
12px
);
padding
:
20
rpx
48
rpx
;
border-radius
:
100
rpx
;
display
:
flex
;
align-items
:
center
;
box-shadow
:
0
12
rpx
40
rpx
rgba
(
0
,
0
,
0
,
0.15
);
border
:
1
rpx
solid
rgba
(
255
,
255
,
255
,
0.5
);
z-index
:
110
;
transition
:
all
0.3s
;
&:active
{
transform
:
translateX
(
-50%
)
scale
(
0.95
);
}
.toggle-text
{
font-size
:
28
rpx
;
color
:
#1a1a1a
;
font-weight
:
bold
;
margin-left
:
16
rpx
;
.ctrl-text
{
font-size
:
18
rpx
;
color
:
#fff
;
margin-top
:
2
rpx
;
}
&
.location
{
.ctrl-text
{
color
:
#5db66f
;
}
}
&
.list-btn
{
width
:
100
rpx
;
height
:
100
rpx
;
background
:
linear-gradient
(
135deg
,
#1890ff
0%
,
#096dd9
100%
);
box-shadow
:
0
6
rpx
20
rpx
rgba
(
24
,
144
,
255
,
0.4
);
}
}
}
...
...
src/pages/linghuoyonggong/linghuoyonggong.vue
浏览文件 @
17c12bdd
差异被折叠。
点击展开。
src/pages/nongjifuwu/nongjifuwu.vue
浏览文件 @
17c12bdd
...
...
@@ -161,21 +161,27 @@
<!-- 干农活 (具体服务列表) -->
<
template
v-else
>
<view
class=
"service-grid"
>
<view
v-for=
"item in farmMachineList"
:key=
"item.id"
class=
"service-card"
@
click=
"handleItemClick(item)"
>
<view
class=
"card-main
"
>
<view
class=
"card-media
"
>
<image
class=
"thumb"
:src=
"item.picture || '/static/images/nongjifuwu/default-service.png'"
mode=
"aspectFill"
/>
<view
class=
"info"
>
<view
class=
"status-tag"
>
服务中
</view>
</view>
<view
class=
"card-content"
>
<text
class=
"title"
>
{{
item
.
name
}}
</text>
<text
class=
"desc"
>
范围:
{{
getText
(
item
.
scope
,
' / '
)
}}
</text>
<view
class=
"scope-row"
>
<fui-icon
name=
"location"
:size=
"20"
color=
"#999"
></fui-icon>
<text
class=
"scope-text"
>
{{
getText
(
item
.
scope
,
' / '
)
||
'全国'
}}
</text>
</view>
<view
class=
"price-row"
>
<text
class=
"price"
>
{{
item
.
price
}}
</text>
<text
class=
"unit"
>
元/亩
</text>
<view
class=
"price-box"
>
<text
class=
"price-symbol"
>
¥
</text>
<text
class=
"price-value"
>
{{
item
.
price
}}
</text>
<text
class=
"price-unit"
>
/亩
</text>
</view>
<view
class=
"book-btn"
@
click
.
stop=
"handleApply(item)"
>
预约
</view>
</view>
</view>
<view
class=
"card-footer"
>
<view
class=
"status"
>
服务中
</view>
<view
class=
"btn orange"
@
click
.
stop=
"handleApply(item)"
>
立即预约
</view>
</view>
</view>
</
template
>
...
...
@@ -260,42 +266,59 @@
.enterprise-card
{
background-color
:
#fff
;
border-radius
:
20
rpx
;
border-radius
:
16
rpx
;
padding
:
24
rpx
;
margin-bottom
:
24
rpx
;
margin-bottom
:
20
rpx
;
box-shadow
:
0
2
rpx
12
rpx
rgba
(
0
,
0
,
0
,
0.04
);
.card-main
{
display
:
flex
;
align-items
:
center
;
.logo
{
width
:
1
4
0
rpx
;
height
:
1
4
0
rpx
;
width
:
1
2
0
rpx
;
height
:
1
2
0
rpx
;
border-radius
:
12
rpx
;
background-color
:
#f8f8f8
;
flex-shrink
:
0
;
}
.info
{
flex
:
1
;
margin-left
:
20
rpx
;
display
:
flex
;
flex-direction
:
column
;
.name
{
font-size
:
30
rpx
;
font-weight
:
bold
;
font-weight
:
600
;
color
:
#333
;
margin-bottom
:
8
rpx
;
}
.scope
{
font-size
:
24
rpx
;
color
:
#999
;
margin-top
:
10
rpx
;
line-height
:
1.4
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
1
;
overflow
:
hidden
;
}
.tags
{
display
:
flex
;
margin-top
:
12
rpx
;
.tag
{
font-size
:
20
rpx
;
padding
:
2
rpx
12
rpx
;
padding
:
4
rpx
12
rpx
;
background-color
:
#e6f5e8
;
color
:
#5db66f
;
border-radius
:
4
rpx
;
border-radius
:
6
rpx
;
margin-right
:
10
rpx
;
font-weight
:
500
;
&.orange
{
background-color
:
#fff7e6
;
color
:
#fa8c16
;
...
...
@@ -304,93 +327,137 @@
}
}
}
.card-footer
{
margin-top
:
20
rpx
;
padding-top
:
20
rpx
;
margin-top
:
16
rpx
;
padding-top
:
16
rpx
;
border-top
:
1
rpx
solid
#f5f5f5
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.addr
{
display
:
flex
;
align-items
:
center
;
font-size
:
22
rpx
;
color
:
#999
;
}
.btn
{
padding
:
8
rpx
24
rpx
;
background
-color
:
#5db66f
;
padding
:
10
rpx
24
rpx
;
background
:
linear-gradient
(
135deg
,
#5db66f
0%
,
#3da553
100%
)
;
color
:
#fff
;
font-size
:
24
rpx
;
border-radius
:
26
rpx
;
font-weight
:
500
;
border-radius
:
24
rpx
;
}
}
}
.service-grid
{
display
:
flex
;
flex-wrap
:
wrap
;
margin
:
0
-10
rpx
;
}
.service-card
{
width
:
calc
(
50%
-
20
rpx
);
margin
:
10
rpx
;
background-color
:
#fff
;
border-radius
:
20
rpx
;
padding
:
24
rpx
;
margin-bottom
:
24
rpx
;
.card-main
{
display
:
flex
;
border-radius
:
16
rpx
;
overflow
:
hidden
;
box-shadow
:
0
2
rpx
12
rpx
rgba
(
0
,
0
,
0
,
0.04
);
.card-media
{
position
:
relative
;
width
:
100%
;
height
:
260
rpx
;
background-color
:
#f5f5f5
;
.thumb
{
width
:
160
rpx
;
height
:
160
rpx
;
border-radius
:
12
rpx
;
width
:
100%
;
height
:
100%
;
}
.info
{
flex
:
1
;
margin-left
:
20
rpx
;
display
:
flex
;
flex-direction
:
column
;
.title
{
font-size
:
30
rpx
;
font-weight
:
bold
;
color
:
#333
;
.status-tag
{
position
:
absolute
;
top
:
16
rpx
;
left
:
16
rpx
;
font-size
:
20
rpx
;
color
:
#fff
;
background
:
linear-gradient
(
135deg
,
#5db66f
0%
,
#3da553
100%
);
padding
:
4
rpx
14
rpx
;
border-radius
:
6
rpx
;
font-weight
:
500
;
}
.desc
{
font-size
:
24
rpx
;
color
:
#999
;
margin-top
:
10
rpx
;
}
.price-row
{
margin-top
:
auto
;
.price
{
font-size
:
36
rpx
;
color
:
#ff4d4f
;
font-weight
:
bold
;
.card-content
{
padding
:
16
rpx
;
.title
{
font-size
:
28
rpx
;
font-weight
:
600
;
color
:
#333
;
display
:
block
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
margin-bottom
:
8
rpx
;
}
.unit
{
.scope-row
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
12
rpx
;
.scope-text
{
font-size
:
22
rpx
;
color
:
#999
;
margin-left
:
4
rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
max-width
:
240
rpx
;
}
}
}
}
.card-footer
{
margin-top
:
20
rpx
;
padding-top
:
20
rpx
;
border-top
:
1
rpx
dashed
#eee
;
.price-row
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.status
{
justify-content
:
space-between
;
.price-box
{
display
:
flex
;
align-items
:
baseline
;
}
.price-symbol
{
font-size
:
22
rpx
;
color
:
#5db66f
;
background-color
:
#e6f5e8
;
padding
:
4
rpx
16
rpx
;
border-radius
:
4
rpx
;
color
:
#ff4d4f
;
font-weight
:
600
;
}
.btn
{
padding
:
10
rpx
28
rpx
;
background-color
:
#5db66f
;
.price-value
{
font-size
:
34
rpx
;
color
:
#ff4d4f
;
font-weight
:
700
;
margin-left
:
2
rpx
;
}
.price-unit
{
font-size
:
20
rpx
;
color
:
#999
;
margin-left
:
2
rpx
;
}
.book-btn
{
padding
:
8
rpx
20
rpx
;
background
:
linear-gradient
(
135deg
,
#fa8c16
0%
,
#fa541c
100%
);
color
:
#fff
;
font-size
:
24
rpx
;
border-radius
:
30
rpx
;
&.orange
{
background-color
:
#fa8c16
;
font-size
:
22
rpx
;
font-weight
:
500
;
border-radius
:
20
rpx
;
}
}
}
...
...
src/pages/nongjifuwu/shenqingruzhu.vue
浏览文件 @
17c12bdd
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论