Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
ab9c9a7a
提交
ab9c9a7a
authored
12月 28, 2025
作者:
e
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 优化一些小问题
上级
d85bbbd0
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
47 行增加
和
39 行删除
+47
-39
dailijizhang.vue
src/pages/fuwu/dailijizhang/dailijizhang.vue
+5
-5
detail.vue
src/pages/kexinnongzi/detail.vue
+18
-16
shenqingruzhu.vue
src/pages/kexinnongzi/shenqingruzhu.vue
+1
-1
publishEmployment.vue
src/pages/linghuoyonggong/publishEmployment.vue
+1
-1
nongjifuwu.vue
src/pages/nongjifuwu/nongjifuwu.vue
+3
-3
shenqingruzhu.vue
src/pages/nongjifuwu/shenqingruzhu.vue
+1
-1
zhunongjinrong.vue
src/pages/zhunongjinrong/zhunongjinrong.vue
+18
-10
components.d.ts
types/components.d.ts
+0
-2
没有找到文件。
src/pages/fuwu/dailijizhang/dailijizhang.vue
浏览文件 @
ab9c9a7a
...
@@ -25,14 +25,14 @@
...
@@ -25,14 +25,14 @@
function
onApplyClick
()
{
function
onApplyClick
()
{
consultRecord
.
consultTime
=
getCurrentDateTime
();
consultRecord
.
consultTime
=
getCurrentDateTime
();
HomeAPI
.
postConsultRecordAdd
(
consultRecord
).
then
((
res
)
=>
{
HomeAPI
.
postConsultRecordAdd
(
consultRecord
).
then
((
res
)
=>
{
if
(
res
.
success
){
if
(
res
.
code
==
200
){
pageData
.
showLogoutDialog
=
true
;
pageData
.
showLogoutDialog
=
true
;
}
else
{
}
/*
else{
Message.alert(res.message, '温馨提示');
Message.alert(res.message, '温馨提示');
}
}
*/
}).
catch
(
error
=>
{
})
/*
.catch(error => {
Message.alert(error.message, '温馨提示');
Message.alert(error.message, '温馨提示');
});
});
*/
}
}
// 提交申请
// 提交申请
function
handleConfirmLogout
(){
function
handleConfirmLogout
(){
...
...
src/pages/kexinnongzi/detail.vue
浏览文件 @
ab9c9a7a
...
@@ -50,11 +50,13 @@
...
@@ -50,11 +50,13 @@
name
:
'name'
,
name
:
'name'
,
rule
:
[
'required'
],
rule
:
[
'required'
],
msg
:
[
'请输入商品名称'
],
msg
:
[
'请输入商品名称'
],
},{
},
/* {
name: "mobile",
name: "mobile",
rule: ["required", "isMobile"],
rule: ["required", "isMobile"],
msg: ["请输入联系电话", "请输入正确的联系电话"]
msg: ["请输入联系电话", "请输入正确的联系电话"]
},{
}, */
{
name
:
'category'
,
name
:
'category'
,
rule
:
[
'required'
],
rule
:
[
'required'
],
msg
:
[
'请选择商品分类'
],
msg
:
[
'请选择商品分类'
],
...
@@ -82,7 +84,7 @@
...
@@ -82,7 +84,7 @@
let
productInfo
=
reactive
({
let
productInfo
=
reactive
({
id
:
""
,
id
:
""
,
name
:
""
,
// 商品名称
name
:
""
,
// 商品名称
mobile
:
""
,
// 联系方式
//
mobile:"", // 联系方式
category
:
""
,
// 分类
category
:
""
,
// 分类
minSellPrice
:
""
,
// 最小销售价
minSellPrice
:
""
,
// 最小销售价
maxSellPrice
:
""
,
// 最大销售价
maxSellPrice
:
""
,
// 最大销售价
...
@@ -230,7 +232,7 @@
...
@@ -230,7 +232,7 @@
function
handlePublish
()
{
function
handlePublish
()
{
productInfo
.
id
=
""
;
productInfo
.
id
=
""
;
productInfo
.
name
=
""
;
productInfo
.
name
=
""
;
productInfo
.
mobile
=
""
;
//
productInfo.mobile = "";
productInfo
.
category
=
""
;
productInfo
.
category
=
""
;
productInfo
.
minSellPrice
=
""
;
productInfo
.
minSellPrice
=
""
;
productInfo
.
maxSellPrice
=
""
;
productInfo
.
maxSellPrice
=
""
;
...
@@ -300,23 +302,23 @@
...
@@ -300,23 +302,23 @@
<view
class=
"fui-custom__wrap yr_person_popup"
>
<view
class=
"fui-custom__wrap yr_person_popup"
>
<view
class=
"popup_top"
>
<view
class=
"popup_top"
>
<uni-icons
type=
"left"
size=
"24"
color=
"#333333"
@
click=
"pageData.isPopupShow = false"
></uni-icons>
<uni-icons
type=
"left"
size=
"24"
color=
"#333333"
@
click=
"pageData.isPopupShow = false"
></uni-icons>
<view
class=
"add_person_text"
>
产品信息
</view>
<view
class=
"add_person_text"
style=
"font-size:36rpx;"
>
产品信息
</view>
<view
class=
"del_person_btn"
></view>
<view
class=
"del_person_btn"
></view>
</view>
</view>
<view
class=
"popup_content"
>
<view
class=
"popup_content"
>
<fui-form
label-weight=
"auto"
ref=
"formRef"
top=
"0"
>
<fui-form
label-weight=
"auto"
ref=
"formRef"
top=
"
1
0"
>
<fui-input
required
label=
"商品名称"
borderTop
placeholder=
"请输入商品名称"
v-model=
"productInfo.name"
label-width=
"180
"
size=
"28"
></fui-input>
<fui-input
required
label=
"商品名称"
placeholder=
"请输入商品名称"
v-model=
"productInfo.name"
label-width=
"212
"
size=
"28"
></fui-input>
<fui-input
@
click=
"handleSelectCategory"
required
label=
"商品分类"
placeholder=
"请选择商品分类"
disabled
:value=
"productInfo.category"
label-width=
"
180
"
size=
"28"
></fui-input>
<fui-input
@
click=
"handleSelectCategory"
required
label=
"商品分类"
placeholder=
"请选择商品分类"
disabled
:value=
"productInfo.category"
label-width=
"
212
"
size=
"28"
></fui-input>
<
fui-input
required
maxlength=
"11"
label=
"联系电话"
placeholder=
"请输入联系方式"
v-model=
"productInfo.mobile"
label-width=
"180"
size=
"28"
></fui-input
>
<
!--
<fui-input
required
maxlength=
"11"
label=
"联系电话"
placeholder=
"请输入联系电话"
v-model=
"productInfo.mobile"
label-width=
"212"
size=
"28"
></fui-input>
--
>
<fui-form-item
asterisk
label=
"价格(元)"
label
Size=
"28"
label-width=
"180
"
size=
"28"
>
<fui-form-item
asterisk
label=
"价格(元)"
label
-width=
"212
"
size=
"28"
>
<fui-input
v-model=
"productInfo.minSellPrice"
style=
"width: 120rpx !important"
:borderBottom=
"false"
:padding=
"[0]"
placeholder=
"最低价
"
></fui-input>
<fui-input
type=
"number"
v-model=
"productInfo.minSellPrice"
style=
"width: 120rpx !important"
:borderBottom=
"false"
:padding=
"[0]"
placeholder=
"最低价"
size=
"28
"
></fui-input>
<template
v-slot:right
>
<template
v-slot:right
>
<view
style=
"color: #CCCCCC;margin-right: 40rpx;"
>
—
</view>
<view
style=
"color: #CCCCCC;margin-right: 40rpx;"
>
—
</view>
<fui-input
v-model=
"productInfo.maxSellPrice"
style=
"width: 120rpx !important;"
:borderBottom=
"false"
:padding=
"[0]"
placeholder=
"最高价
"
></fui-input>
<fui-input
v-model=
"productInfo.maxSellPrice"
type=
"number"
style=
"width: 120rpx !important;"
:borderBottom=
"false"
:padding=
"[0]"
placeholder=
"最高价"
size=
"28
"
></fui-input>
<fui-text
v-if=
"productInfo.unit==''"
text=
"单位"
color=
"#cccccc"
@
click=
"handleSelectUnit()"
></fui-text>
<fui-text
v-if=
"productInfo.unit==''"
size=
"28"
text=
"单位"
color=
"#cccccc"
@
click=
"handleSelectUnit()"
></fui-text>
<fui-text
v-else
:text=
"productInfo.unit"
@
click=
"handleSelectUnit()"
></fui-text>
<fui-text
v-else
:text=
"productInfo.unit"
size=
"28"
@
click=
"handleSelectUnit()"
></fui-text>
</
template
>
</
template
>
</fui-form-item>
</fui-form-item>
...
@@ -327,7 +329,7 @@
...
@@ -327,7 +329,7 @@
</fui-form-item>
</fui-form-item>
</fui-form>
</fui-form>
</view>
</view>
<fui-button
text=
"保存"
bold
radius=
"96rpx"
@
click=
"addData"
height=
"80rpx"
/>
<fui-button
style=
"margin-top:36rpx;"
text=
"保存"
bold
radius=
"96rpx"
@
click=
"addData"
height=
"80rpx"
/>
</view>
</view>
</fui-bottom-popup>
</fui-bottom-popup>
...
@@ -341,7 +343,7 @@
...
@@ -341,7 +343,7 @@
</view>
</view>
</fui-bottom-popup>
</fui-bottom-popup>
<fui-picker
:options=
"pageData.categoryText"
layer=
"1"
:show=
"pageData.categoryPopup"
@
change=
"changeCategory"
@
cancel=
"pageData.categoryPopup = false"
></fui-picker>
<fui-picker
:options=
"pageData.categoryText"
layer=
"1"
:show=
"pageData.categoryPopup"
@
change=
"changeCategory"
@
cancel=
"pageData.categoryPopup = false"
zIndex=
"9999"
></fui-picker>
<fui-toast
ref=
"toastRef"
/>
<fui-toast
ref=
"toastRef"
/>
...
...
src/pages/kexinnongzi/shenqingruzhu.vue
浏览文件 @
ab9c9a7a
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
<fui-input
required
label=
"地区"
placeholder=
"请选择地区"
v-model=
"form.areaText"
labelSize=
"28"
label-width=
"180"
@
click=
"show.area = true"
size=
"28"
disabled
/>
<fui-input
required
label=
"地区"
placeholder=
"请选择地区"
v-model=
"form.areaText"
labelSize=
"28"
label-width=
"180"
@
click=
"show.area = true"
size=
"28"
disabled
/>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
v-model=
"form.addr"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
v-model=
"form.addr"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系人"
placeholder=
"请输入联系人"
v-model=
"form.contactPerson"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系人"
placeholder=
"请输入联系人"
v-model=
"form.contactPerson"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系电话"
placeholder=
"请输入联系电话"
v-model=
"form.contactMobile"
labelSize=
"28"
label-width=
"180"
size=
"28"
></fui-input>
<fui-input
type=
"tel"
required
label=
"联系电话"
placeholder=
"请输入联系电话"
v-model=
"form.contactMobile"
labelSize=
"28"
label-width=
"180"
size=
"28"
></fui-input>
</view>
</view>
<view
class=
"bg-white mt20"
style=
"padding: 0.875rem 1rem"
>
<view
class=
"bg-white mt20"
style=
"padding: 0.875rem 1rem"
>
<view
class=
"mb-1 flex justify-start"
style=
"font-size: 28rpx;"
><span
style=
"color: red;"
>
*
</span>
公司logo
</view>
<view
class=
"mb-1 flex justify-start"
style=
"font-size: 28rpx;"
><span
style=
"color: red;"
>
*
</span>
公司logo
</view>
...
...
src/pages/linghuoyonggong/publishEmployment.vue
浏览文件 @
ab9c9a7a
...
@@ -808,7 +808,7 @@
...
@@ -808,7 +808,7 @@
<fui-input
:borderBottom=
"false"
v-model=
"tempWorkersParam.name"
:padding=
"[0]"
placeholder=
"请输入姓名"
></fui-input>
<fui-input
:borderBottom=
"false"
v-model=
"tempWorkersParam.name"
:padding=
"[0]"
placeholder=
"请输入姓名"
></fui-input>
</fui-form-item>
</fui-form-item>
<fui-form-item
label=
"手机号"
>
<fui-form-item
label=
"手机号"
>
<fui-input
:borderBottom=
"false"
v-model=
"tempWorkersParam.mobile"
:padding=
"[0]"
placeholder=
"请输入手机号"
></fui-input>
<fui-input
type=
"tel"
:borderBottom=
"false"
v-model=
"tempWorkersParam.mobile"
:padding=
"[0]"
placeholder=
"请输入手机号"
></fui-input>
</fui-form-item>
</fui-form-item>
<fui-form-item
label=
"性别"
>
<fui-form-item
label=
"性别"
>
<fui-radio-group
v-model=
"tempWorkersParam.genderZh"
>
<fui-radio-group
v-model=
"tempWorkersParam.genderZh"
>
...
...
src/pages/nongjifuwu/nongjifuwu.vue
浏览文件 @
ab9c9a7a
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
const
{
records
,
total
}
=
res
const
{
records
,
total
}
=
res
pageData
.
farmMachineList
=
[...
pageData
.
farmMachineList
,
...
records
]
pageData
.
farmMachineList
=
[...
pageData
.
farmMachineList
,
...
records
]
pageData
.
total
=
total
pageData
.
total
=
total
;
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
pageData
.
loading
=
false
pageData
.
loading
=
false
...
@@ -172,13 +172,13 @@
...
@@ -172,13 +172,13 @@
}}
</text>
}}
</text>
</view>
</view>
</view>
</view>
<
!--
<
view
<view
v-if=
"!pageData.farmMachineList || pageData.farmMachineList.length == 0"
v-if=
"!pageData.farmMachineList || pageData.farmMachineList.length == 0"
class=
"codefun-flex-col codefun-relative section_4"
class=
"codefun-flex-col codefun-relative section_4"
style=
"height: 700rpx"
style=
"height: 700rpx"
>
>
<fui-empty
marginTop=
"100"
src=
"/static/images/no-data.png"
title=
"暂无数据"
/>
<fui-empty
marginTop=
"100"
src=
"/static/images/no-data.png"
title=
"暂无数据"
/>
</view>
-->
</view>
<view
class=
"codefun-flex-col codefun-relative section_4"
>
<view
class=
"codefun-flex-col codefun-relative section_4"
>
<template
v-if=
" pageData.search.serviceType == 1"
>
<template
v-if=
" pageData.search.serviceType == 1"
>
<view
class=
"yr-item"
v-for=
"item in pageData.farmMachineList"
:key=
"item.id"
>
<view
class=
"yr-item"
v-for=
"item in pageData.farmMachineList"
:key=
"item.id"
>
...
...
src/pages/nongjifuwu/shenqingruzhu.vue
浏览文件 @
ab9c9a7a
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
<fui-input
required
label=
"地区"
placeholder=
"请选择地区"
v-model=
"form.areaText"
labelSize=
"28"
label-width=
"180"
@
click=
"show.area = true"
size=
"28"
disabled
/>
<fui-input
required
label=
"地区"
placeholder=
"请选择地区"
v-model=
"form.areaText"
labelSize=
"28"
label-width=
"180"
@
click=
"show.area = true"
size=
"28"
disabled
/>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
v-model=
"form.addr"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
v-model=
"form.addr"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系人"
placeholder=
"请输入联系人"
v-model=
"form.contactPerson"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系人"
placeholder=
"请输入联系人"
v-model=
"form.contactPerson"
labelSize=
"28"
label-width=
"180"
size=
"28"
/>
<fui-input
required
label=
"联系电话"
placeholder=
"请输入联系电话"
v-model=
"form.contactMobile"
labelSize=
"28"
label-width=
"180"
size=
"28"
></fui-input>
<fui-input
type=
"tel"
required
label=
"联系电话"
placeholder=
"请输入联系电话"
v-model=
"form.contactMobile"
labelSize=
"28"
label-width=
"180"
size=
"28"
></fui-input>
</view>
</view>
<view
class=
"bg-white mt20"
style=
"padding: 0.875rem 1rem"
>
<view
class=
"bg-white mt20"
style=
"padding: 0.875rem 1rem"
>
<view
class=
"mb-1 flex justify-start"
style=
"font-size: 28rpx;"
><span
style=
"color: red;"
>
*
</span>
公司logo
</view>
<view
class=
"mb-1 flex justify-start"
style=
"font-size: 28rpx;"
><span
style=
"color: red;"
>
*
</span>
公司logo
</view>
...
...
src/pages/zhunongjinrong/zhunongjinrong.vue
浏览文件 @
ab9c9a7a
...
@@ -178,20 +178,28 @@
...
@@ -178,20 +178,28 @@
})
})
const
pageData
=
reactive
({
const
pageData
=
reactive
({
showLogoutDialog
:
false
,
showLogoutDialog
:
false
,
allpyMessageTitle
:
""
,
applyMessageText
:
""
,
})
})
// 立即申请
// 立即申请
function
onApplyClick
()
{
function
onApplyClick
()
{
consultRecord
.
consultTime
=
getCurrentDateTime
();
consultRecord
.
consultTime
=
getCurrentDateTime
();
HomeAPI
.
postConsultRecordAdd
(
consultRecord
).
then
((
res
)
=>
{
HomeAPI
.
postConsultRecordAdd
(
consultRecord
).
then
((
res
)
=>
{
if
(
res
.
success
){
if
(
res
.
code
==
200
){
pageData
.
showLogoutDialog
=
true
;
pageData
.
allpyMessageTitle
=
"申请成功"
;
}
else
{
pageData
.
applyMessageText
=
"平台已收到申请,将尽快与您取得联系!"
;
Message
.
alert
(
res
.
message
,
'温馨提示'
);
pageData
.
showLogoutDialog
=
true
;
}
}
/* else{
}).
catch
(
error
=>
{
pageData.allpyMessageTitle = "温馨提示";
Message
.
alert
(
error
.
message
,
'温馨提示'
);
pageData.applyMessageText = res.message;
});
} */
})
/* .catch(error => {
pageData.allpyMessageTitle = "温馨提示";
pageData.applyMessageText = error.message;
pageData.showLogoutDialog = true;
}); */
}
}
// 提交申请
// 提交申请
function
handleConfirmLogout
(){
function
handleConfirmLogout
(){
...
@@ -363,8 +371,8 @@
...
@@ -363,8 +371,8 @@
</view>
</view>
<successfulDialog
<successfulDialog
v-model:show=
"pageData.showLogoutDialog"
v-model:show=
"pageData.showLogoutDialog"
title=
"申请成功
"
:title=
"pageData.allpyMessageTitle
"
content=
"平台已收到申请,将尽快与您取得联系!
"
:content=
"pageData.applyMessageText
"
confirmText=
"我知道了"
confirmText=
"我知道了"
@
confirm=
"handleConfirmLogout"
@
confirm=
"handleConfirmLogout"
/>
/>
...
...
types/components.d.ts
浏览文件 @
ab9c9a7a
...
@@ -150,8 +150,6 @@ declare module 'vue' {
...
@@ -150,8 +150,6 @@ declare module 'vue' {
IframeVideo
:
typeof
import
(
'./../src/components/IframeVideo/index.vue'
)[
'default'
]
IframeVideo
:
typeof
import
(
'./../src/components/IframeVideo/index.vue'
)[
'default'
]
Legend
:
typeof
import
(
'./../src/components/Map/Widgets/Legend/src/Legend.vue'
)[
'default'
]
Legend
:
typeof
import
(
'./../src/components/Map/Widgets/Legend/src/Legend.vue'
)[
'default'
]
Mapbox
:
typeof
import
(
'./../src/components/Map/Mapbox/index.vue'
)[
'default'
]
Mapbox
:
typeof
import
(
'./../src/components/Map/Mapbox/index.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
Src
:
typeof
import
(
'./../src/components/Echarts/src/index.vue'
)[
'default'
]
Src
:
typeof
import
(
'./../src/components/Echarts/src/index.vue'
)[
'default'
]
SuccessfulDialog
:
typeof
import
(
'./../src/components/ConfirmDialog/successfulDialog.vue'
)[
'default'
]
SuccessfulDialog
:
typeof
import
(
'./../src/components/ConfirmDialog/successfulDialog.vue'
)[
'default'
]
Switch
:
typeof
import
(
'./../src/components/Map/Widgets/Switch/src/Switch.vue'
)[
'default'
]
Switch
:
typeof
import
(
'./../src/components/Map/Widgets/Switch/src/Switch.vue'
)[
'default'
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论