Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
2d4361fc
提交
2d4361fc
authored
11月 12, 2025
作者:
方治民
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'main' of
https://gitlab.yiring.com/digital-agri/agri-app
上级
c10f4b12
374f27ef
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
146 行增加
和
21 行删除
+146
-21
package.json
package.json
+1
-1
manifest.json
src/manifest.json
+2
-2
supplyXuQiu.vue
src/pages/chanxiao/supplyXuQiu.vue
+143
-18
没有找到文件。
package.json
浏览文件 @
2d4361fc
{
{
"name"
:
"
数字农服
"
,
"name"
:
"
数字农服
"
,
"version"
:
"1.0.1
7
"
,
"version"
:
"1.0.1
8
"
,
"description"
:
"数字农服"
,
"description"
:
"数字农服"
,
"keywords"
:
[
"keywords"
:
[
"app"
,
"app"
,
...
...
src/manifest.json
浏览文件 @
2d4361fc
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"数字农服"
,
"name"
:
"数字农服"
,
"appid"
:
"__UNI__FD09823"
,
"appid"
:
"__UNI__FD09823"
,
"description"
:
"数字农服 APP"
,
"description"
:
"数字农服 APP"
,
"versionName"
:
"1.0.1
7
"
,
"versionName"
:
"1.0.1
8
"
,
"versionCode"
:
1001
7
,
"versionCode"
:
1001
8
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"locale"
:
"zh-Hans"
,
"locale"
:
"zh-Hans"
,
"vueVersion"
:
"3"
,
"vueVersion"
:
"3"
,
...
...
src/pages/chanxiao/supplyXuQiu.vue
浏览文件 @
2d4361fc
...
@@ -289,8 +289,23 @@
...
@@ -289,8 +289,23 @@
<view
class=
"formBox"
>
<view
class=
"formBox"
>
<fui-form
ref=
"formRef"
label-weight=
"auto"
top=
"60"
>
<fui-form
ref=
"formRef"
label-weight=
"auto"
top=
"60"
>
<view
class=
"mt20"
>
<view
class=
"mt20"
>
<fui-input
label=
"供应标题"
placeholder=
"请输入供应标题"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.title"
labelSize=
"28"
label-width=
"180"
required
/>
<fui-input
<fui-input
label=
"规格说明"
placeholder=
"请输入规格说明"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.productSpecs"
labelSize=
"28"
label-width=
"180"
/>
label=
"供应标题"
placeholder=
"请输入供应标题"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.title"
labelSize=
"28"
label-width=
"180"
required
/>
<fui-input
label=
"规格说明"
placeholder=
"请输入规格说明"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.productSpecs"
labelSize=
"28"
label-width=
"180"
/>
</view>
</view>
<view
class=
"mt20"
>
<view
class=
"mt20"
>
<!-- 价格区间 -->
<!-- 价格区间 -->
...
@@ -298,16 +313,64 @@
...
@@ -298,16 +313,64 @@
<view
class=
"form-item required flex align-center"
>
<view
class=
"form-item required flex align-center"
>
<text
class=
"label"
style=
"font-size: 28rpx"
>
价格区间
</text>
<text
class=
"label"
style=
"font-size: 28rpx"
>
价格区间
</text>
<view
class=
"price-range"
>
<view
class=
"price-range"
>
<input
type=
"number"
class=
"price-input"
v-model=
"form.minPrice"
placeholder=
"最低价"
placeholderStyle=
"font-size: 26rpx"
:min=
"0"
/>
<input
type=
"number"
class=
"price-input"
v-model=
"form.minPrice"
placeholder=
"最低价"
placeholderStyle=
"font-size: 26rpx"
:min=
"0"
/>
<text
class=
"price-separator"
>
-
</text>
<text
class=
"price-separator"
>
-
</text>
<input
type=
"number"
class=
"price-input"
v-model=
"form.maxPrice"
placeholder=
"最高价"
placeholderStyle=
"font-size: 26rpx"
:min=
"0"
/>
<input
type=
"number"
class=
"price-input"
v-model=
"form.maxPrice"
placeholder=
"最高价"
placeholderStyle=
"font-size: 26rpx"
:min=
"0"
/>
</view>
</view>
</view>
</view>
</view>
</view>
<fui-input
required
label=
"计量单位"
placeholder=
"请输入计量单位"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.unit"
labelSize=
"28"
label-width=
"180"
/>
<fui-input
<fui-input
required
label=
"币种"
placeholder=
"请输入币种"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.currency"
labelSize=
"28"
label-width=
"180"
/>
required
<fui-input
required
label=
"供应数量"
placeholder=
"请输入供应数量"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.supplyQuantity"
labelSize=
"28"
label-width=
"180"
type=
"number"
/>
label=
"计量单位"
<fui-input
required
label=
"最小起订量"
placeholder=
"请输入最小起订量"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.minOrderQuantity"
labelSize=
"28"
label-width=
"180"
type=
"number"
/>
placeholder=
"请输入计量单位"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.unit"
labelSize=
"28"
label-width=
"180"
/>
<fui-input
required
label=
"币种"
placeholder=
"请输入币种"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.currency"
labelSize=
"28"
label-width=
"180"
/>
<fui-input
required
label=
"供应数量"
placeholder=
"请输入供应数量"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.supplyQuantity"
labelSize=
"28"
label-width=
"180"
type=
"number"
/>
<fui-input
required
label=
"最小起订量"
placeholder=
"请输入最小起订量"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.minOrderQuantity"
labelSize=
"28"
label-width=
"180"
type=
"number"
/>
</view>
</view>
<view
class=
"mt20"
>
<view
class=
"mt20"
>
<view
class=
"form-item required flex align-center"
style=
"padding: 20rpx 10rpx"
>
<view
class=
"form-item required flex align-center"
style=
"padding: 20rpx 10rpx"
>
...
@@ -318,7 +381,15 @@
...
@@ -318,7 +381,15 @@
</text>
</text>
</view>
</view>
</view>
</view>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.detailedAddress"
labelSize=
"28"
label-width=
"180"
/>
<fui-input
required
label=
"详细地址"
placeholder=
"请输入详细地址"
placeholderStyle=
"font-size: 26rpx"
v-model=
"form.detailedAddress"
labelSize=
"28"
label-width=
"180"
/>
<!-- 供应时间 -->
<!-- 供应时间 -->
<view
class=
"form-section"
style=
"padding: 0 30rpx"
>
<view
class=
"form-section"
style=
"padding: 0 30rpx"
>
...
@@ -328,7 +399,12 @@
...
@@ -328,7 +399,12 @@
<view
class=
"time-input"
@
click=
"show.time1 = true"
>
<view
class=
"time-input"
@
click=
"show.time1 = true"
>
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyStartDate }">
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyStartDate }">
{{
form
.
supplyStartDate
||
'开始时间'
}}
{{
form
.
supplyStartDate
||
'开始时间'
}}
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyStartDate }" style="font-size: 26rpx">
</text>
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyStartDate }"
style="font-size: 26rpx"
>
{{
form
.
supplyStartDate
||
'开始时间'
}}
{{
form
.
supplyStartDate
||
'开始时间'
}}
</text>
</text>
</view>
</view>
...
@@ -336,7 +412,12 @@
...
@@ -336,7 +412,12 @@
<view
class=
"time-input"
@
click=
"show.time2 = true"
>
<view
class=
"time-input"
@
click=
"show.time2 = true"
>
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyEndDate }">
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyEndDate }">
{{
form
.
supplyEndDate
||
'结束时间'
}}
{{
form
.
supplyEndDate
||
'结束时间'
}}
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyEndDate }" style="font-size: 26rpx">
</text>
<text
class=
"time-text"
:class=
"
{ placeholder: !form.supplyEndDate }"
style="font-size: 26rpx"
>
{{
form
.
supplyEndDate
||
'结束时间'
}}
{{
form
.
supplyEndDate
||
'结束时间'
}}
</text>
</text>
</view>
</view>
...
@@ -347,7 +428,11 @@
...
@@ -347,7 +428,11 @@
<view
class=
"form-item required flex align-center"
>
<view
class=
"form-item required flex align-center"
>
<text
class=
"label"
style=
"font-size: 28rpx"
>
分类
</text>
<text
class=
"label"
style=
"font-size: 28rpx"
>
分类
</text>
<view
class=
"time-input"
@
click=
"show.classify = true"
>
<view
class=
"time-input"
@
click=
"show.classify = true"
>
<text
class=
"select-text"
:class=
"
{ placeholder: !form.classifyText }" style="font-size: 26rpx" >
<text
class=
"select-text"
:class=
"
{ placeholder: !form.classifyText }"
style="font-size: 26rpx"
>
{{
form
.
classifyText
||
'请选择分类'
}}
{{
form
.
classifyText
||
'请选择分类'
}}
</text>
</text>
</view>
</view>
...
@@ -357,18 +442,58 @@
...
@@ -357,18 +442,58 @@
<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"
>
上传图片
</view>
<view
class=
"mb-1 flex justify-start"
>
上传图片
</view>
<uni-file-picker
:value=
"form.imageObj"
ref=
"uploadRef"
limit=
"1"
:auto-upload=
"false"
@
select=
"handleUpload"
@
delete=
"handleDelete"
/>
<uni-file-picker
:value=
"form.imageObj"
ref=
"uploadRef"
limit=
"1"
:auto-upload=
"false"
@
select=
"handleUpload"
@
delete=
"handleDelete"
/>
</view>
</view>
<view
class=
"fui-btn__box"
v-if=
"!form.id"
style=
"margin-top: 30rpx"
>
<view
class=
"fui-btn__box"
v-if=
"!form.id"
style=
"margin-top: 30rpx"
>
<fui-button
text=
"发布需求"
bold
radius=
"96rpx"
@
click=
"submit"
/>
<fui-button
text=
"发布需求"
bold
radius=
"96rpx"
@
click=
"submit"
/>
</view>
</view>
</fui-form>
</fui-form>
<fui-date-picker
:show=
"show.time1"
type=
"3"
@
change=
"handleChangeTime1"
@
cancel=
"show.time1 = false"
:minDate=
"getCurrentDate()"
/>
<fui-date-picker
<fui-date-picker
:show=
"show.time2"
type=
"3"
@
change=
"handleChangeTime2"
@
cancel=
"show.time2 = false"
:minDate=
"getCurrentDate()"
/>
:show=
"show.time1"
<fui-picker
:show=
"show.status"
:layer=
"1"
:linkage=
"true"
:options=
"options.status"
@
change=
"handleChangeStatus"
@
cancel=
"show.status = false"
/>
type=
"3"
<fui-picker
:show=
"show.classify"
:layer=
"1"
:linkage=
"true"
:options=
"options.classify"
@
change=
"handleChangeClassify"
@
cancel=
"show.classify = false"
/>
@
change=
"handleChangeTime1"
<fui-picker
:show=
"show.address"
:options=
"options.address"
:linkage=
"true"
:layer=
"3"
@
change=
"handleChangeAddress"
@
cancel=
"show.address = false"
/>
@
cancel=
"show.time1 = false"
:minDate=
"getCurrentDate()"
/>
<fui-date-picker
:show=
"show.time2"
type=
"3"
@
change=
"handleChangeTime2"
@
cancel=
"show.time2 = false"
:minDate=
"getCurrentDate()"
/>
<fui-picker
:show=
"show.status"
:layer=
"1"
:linkage=
"true"
:options=
"options.status"
@
change=
"handleChangeStatus"
@
cancel=
"show.status = false"
/>
<fui-picker
:show=
"show.classify"
:layer=
"1"
:linkage=
"true"
:options=
"options.classify"
@
change=
"handleChangeClassify"
@
cancel=
"show.classify = false"
/>
<fui-picker
:show=
"show.address"
:options=
"options.address"
:linkage=
"true"
:layer=
"3"
@
change=
"handleChangeAddress"
@
cancel=
"show.address = false"
/>
<fui-toast
ref=
"toastRef"
/>
<fui-toast
ref=
"toastRef"
/>
</view>
</view>
</view>
</view>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论