Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
csssp-xcx-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
劳广强
csssp-xcx-h5
Commits
7aa038e5
提交
7aa038e5
authored
12月 30, 2022
作者:
劳广强
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修复 填写上报内容 照片验证和照片提示文案
上级
7eba1cac
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
6 行删除
+13
-6
index.scss
pages/record-content/index.scss
+5
-2
index.vue
pages/record-content/index.vue
+8
-4
没有找到文件。
pages/record-content/index.scss
浏览文件 @
7aa038e5
...
@@ -82,14 +82,17 @@
...
@@ -82,14 +82,17 @@
margin-top
:
5rpx
;
margin-top
:
5rpx
;
}
}
.photo_wrapper
{
padding-bottom
:
40rpx
;
border-bottom
:
2rpx
solid
#e4e4e4
;
}
.photo_list
{
.photo_list
{
display
:
flex
;
display
:
flex
;
justify-content
:
start
;
justify-content
:
start
;
align-items
:
center
;
align-items
:
center
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
margin-top
:
15px
;
margin-top
:
15px
;
padding-bottom
:
40rpx
;
border-bottom
:
2rpx
solid
#e4e4e4
;
}
}
.photo_list2
{
.photo_list2
{
...
...
pages/record-content/index.vue
浏览文件 @
7aa038e5
...
@@ -129,8 +129,8 @@
...
@@ -129,8 +129,8 @@
<view
class=
"tep_one"
>
<view
class=
"tep_one"
>
<image
mode=
"aspectFill"
class=
"tep_icon"
src=
"/static/icon/ic_rw_zp@2x.png"
/>
<image
mode=
"aspectFill"
class=
"tep_icon"
src=
"/static/icon/ic_rw_zp@2x.png"
/>
<view
class=
"one"
>
{{ !showActive ? null : '上传照片/视频' }}
</view>
<view
class=
"one"
>
{{ !showActive ? null : '上传照片/视频' }}
</view>
<view
class=
"tip"
>
{{ !showActive ? null : '照片至少上传1张/视频20M以下' }}
</view>
</view>
</view>
<view
class=
"photo_wrapper"
>
<view
class=
"photo_list"
>
<view
class=
"photo_list"
>
<view
class=
"photo_item"
bindtap=
"preview"
v-for=
"(item, index) in photoList"
:key=
"item.id"
>
<view
class=
"photo_item"
bindtap=
"preview"
v-for=
"(item, index) in photoList"
:key=
"item.id"
>
<view
v-if=
"item.status === 'loading'"
class=
"photo_item--loading"
>
</view>
<view
v-if=
"item.status === 'loading'"
class=
"photo_item--loading"
>
</view>
...
@@ -152,6 +152,8 @@
...
@@ -152,6 +152,8 @@
<image
mode=
"aspectFill"
class=
"upload_icon"
src=
"/static/icon/upload_icon@2x.png"
/>
<image
mode=
"aspectFill"
class=
"upload_icon"
src=
"/static/icon/upload_icon@2x.png"
/>
</view>
</view>
</view>
</view>
<view
class=
"tip"
>
{{ '需反应车型、停车位置和环境参照物' }}
</view>
</view>
</view>
</view>
<!-- 实名上报-->
<!-- 实名上报-->
...
@@ -229,8 +231,8 @@
...
@@ -229,8 +231,8 @@
<view
class=
"tep_one"
>
<view
class=
"tep_one"
>
<image
mode=
"aspectFill"
class=
"tep_icon"
src=
"/static/icon/ic_rw_zp@2x.png"
/>
<image
mode=
"aspectFill"
class=
"tep_icon"
src=
"/static/icon/ic_rw_zp@2x.png"
/>
<view
class=
"one"
>
{{ !showActive ? null : '上传照片/视频' }}
</view>
<view
class=
"one"
>
{{ !showActive ? null : '上传照片/视频' }}
</view>
<view
class=
"tip"
>
{{ !showActive ? null : '照片至少上传1张/视频20M以下' }}
</view>
</view>
</view>
<view
class=
"photo_wrapper"
>
<view
class=
"photo_list"
>
<view
class=
"photo_list"
>
<view
class=
"photo_item"
bindtap=
"preview"
v-for=
"(item, index) in photoList"
:key=
"item.id"
>
<view
class=
"photo_item"
bindtap=
"preview"
v-for=
"(item, index) in photoList"
:key=
"item.id"
>
<view
v-if=
"item.status === 'loading'"
class=
"photo_item--loading"
></view>
<view
v-if=
"item.status === 'loading'"
class=
"photo_item--loading"
></view>
...
@@ -252,6 +254,8 @@
...
@@ -252,6 +254,8 @@
<image
mode=
"aspectFill"
class=
"upload_icon"
src=
"/static/icon/upload_icon@2x.png"
/>
<image
mode=
"aspectFill"
class=
"upload_icon"
src=
"/static/icon/upload_icon@2x.png"
/>
</view>
</view>
</view>
</view>
<view
class=
"tip"
>
{{ '实例照片(带车牌照、有倾倒行为过程)实地照片、视频' }}
</view>
</view>
</view>
</view>
<view
class=
"step_box"
>
<view
class=
"step_box"
>
...
@@ -565,7 +569,7 @@ export default {
...
@@ -565,7 +569,7 @@ export default {
if
(
!
this
.
IllegalForm
.
content
)
return
t
(
'请输入行为描述'
);
if
(
!
this
.
IllegalForm
.
content
)
return
t
(
'请输入行为描述'
);
if
(
!
this
.
IllegalForm
.
number_plate
)
return
t
(
'请输入号牌种类'
);
if
(
!
this
.
IllegalForm
.
number_plate
)
return
t
(
'请输入号牌种类'
);
if
(
!
this
.
IllegalForm
.
license_plate
)
return
t
(
'请输入车牌号码'
);
if
(
!
this
.
IllegalForm
.
license_plate
)
return
t
(
'请输入车牌号码'
);
if
(
!
this
.
photoList
.
filter
(({
type
})
=>
type
===
'image'
).
length
)
return
t
(
'请上传图片
'
);
if
(
!
this
.
photoList
.
length
)
return
t
(
'请上传图片/视频
'
);
if
(
!
this
.
realForm
.
name
)
return
t
(
'请输入真实姓名'
);
if
(
!
this
.
realForm
.
name
)
return
t
(
'请输入真实姓名'
);
if
(
!
this
.
realForm
.
phone
)
return
t
(
'请输入电话号码'
);
if
(
!
this
.
realForm
.
phone
)
return
t
(
'请输入电话号码'
);
if
(
!
this
.
realForm
.
certificateType
)
return
t
(
'请选择证件类型'
);
if
(
!
this
.
realForm
.
certificateType
)
return
t
(
'请选择证件类型'
);
...
@@ -573,7 +577,7 @@ export default {
...
@@ -573,7 +577,7 @@ export default {
}
else
{
}
else
{
if
(
!
this
.
id
)
return
t
(
'请选择上报类型'
);
if
(
!
this
.
id
)
return
t
(
'请选择上报类型'
);
if
(
!
this
.
longitude
)
return
t
(
'请选择位置'
);
if
(
!
this
.
longitude
)
return
t
(
'请选择位置'
);
if
(
!
this
.
photoList
.
filter
(({
type
})
=>
type
===
'image'
).
length
)
return
t
(
'请上传图片
'
);
if
(
!
this
.
photoList
.
length
)
return
t
(
'请上传图片/视频
'
);
if
(
!
this
.
title
)
return
t
(
'请输入标题'
);
if
(
!
this
.
title
)
return
t
(
'请输入标题'
);
if
(
!
this
.
content
)
return
t
(
'请输入内容'
);
if
(
!
this
.
content
)
return
t
(
'请输入内容'
);
if
(
this
.
checked
)
{
if
(
this
.
checked
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论