Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4d829fec
authored
Oct 13, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 样式修改
1 parent
f69ddaa0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
14 deletions
pages/evaluationForm/components/TypeTabComponent.vue
pages/evaluationForm/components/uploadMedia.vue
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
pages/evaluationForm/components/TypeTabComponent.vue
View file @
4d829fe
...
...
@@ -8,7 +8,7 @@
<view
v-if=
"tabIndex == index && index != 0"
class=
"sprite-icon tab-second-left icon-second-left"
></view>
<view
class=
"text flex justify-center align-center"
:class=
"[tabIndex == index ? `active` : '']"
>
<view>
{{
i
[
nameKey
]
}}
</view>
<view
v-if=
"isShowCount"
class=
"count ml-8"
>
{{
i
.
count
}}
</view>
<view
v-if=
"isShowCount"
class=
"count ml-8"
:class=
"i.count > 99 ? 'count-red' : ''"
>
{{
i
.
count
>
99
?
'99+'
:
i
.
count
}}
</view>
</view>
</view>
</view>
...
...
@@ -80,7 +80,7 @@ export default {
.tab-item
{
text-align
:
center
;
font-weight
:
400
;
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
28
);
color
:
#1f2133
;
position
:
relative
;
.text
{
...
...
@@ -91,6 +91,9 @@ export default {
.count
{
font-size
:
toRpx
(
24
);
}
.count-red
{
font-size
:
toRpx
(
22
);
}
}
.text.active
{
position
:
relative
;
...
...
pages/evaluationForm/components/uploadMedia.vue
View file @
4d829fe
...
...
@@ -135,6 +135,7 @@ export default {
sizeType
:
[
'original'
],
sourceType
:
[
'camera'
],
success
:
async
res
=>
{
console
.
log
(
'选择图片成功'
,
res
)
try
{
const
MAX_IMAGE_SIZE
=
10
*
1024
*
1024
// 10MB
for
(
const
file
of
res
.
tempFiles
)
{
...
...
@@ -145,8 +146,8 @@ export default {
}
uni
.
showLoading
({
title
:
'上传中...'
})
// 上传所有选择的图片
for
(
const
tempFilePath
of
res
.
tempFilePaths
)
{
const
url
=
await
uploadFile
(
tempFilePath
)
for
(
let
i
=
0
;
i
<
res
.
tempFilePaths
.
length
;
i
++
)
{
const
url
=
await
uploadFile
(
res
.
tempFiles
[
i
],
res
.
tempFilePaths
[
i
]
)
uni
.
hideLoading
()
...
...
pages/evaluationForm/confirmCar.vue
View file @
4d829fe
...
...
@@ -117,7 +117,8 @@
</view>
</template>
<
script
>
import
{
uploadFile
}
from
'@/utils/ossUploadFile/uploadFile.js'
// import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import
{
uploadFile
}
from
'@/utils/ossUpload.js'
import
FormCell
from
'./components/FormCell.vue'
import
GeneralPopup
from
'./components/GeneralPopup.vue'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
...
...
@@ -481,8 +482,8 @@ export default {
}
}
// 上传所有选择的图片
for
(
const
tempFilePath
of
res
.
tempFilePaths
)
{
const
url
=
await
uploadFile
(
tempFilePath
)
for
(
let
i
=
0
;
i
<
res
.
tempFilePaths
.
length
;
i
++
)
{
const
url
=
await
uploadFile
(
res
.
tempFiles
[
i
],
res
.
tempFilePaths
[
i
]
)
console
.
log
(
'上传图片成功'
,
url
)
this
.
addImage
(
field
,
url
)
}
...
...
@@ -514,8 +515,8 @@ export default {
}
}
// 上传所有选择的图片
for
(
const
tempFilePath
of
res
.
tempFilePaths
)
{
const
url
=
await
uploadFile
(
tempFilePath
)
for
(
let
i
=
0
;
i
<
res
.
tempFilePaths
.
length
;
i
++
)
{
const
url
=
await
uploadFile
(
res
.
tempFiles
[
i
],
res
.
tempFilePaths
[
i
]
)
console
.
log
(
'上传图片成功'
,
url
)
this
.
addImage
(
field
,
url
)
}
...
...
@@ -550,10 +551,10 @@ export default {
uni
.
showLoading
({
title
:
'上传中...'
})
let
url
=
''
// #ifdef H5
url
=
await
uploadFile
(
res
.
tempFilePath
)
url
=
await
uploadFile
(
res
.
tempFile
,
res
.
tempFile
Path
)
// #endif
// #ifdef APP-PLUS
url
=
await
uploadFile
(
res
.
tempFilePath
)
url
=
await
uploadFile
(
null
,
res
.
tempFilePath
)
// #endif
url
=
url
+
this
.
videoProcess
console
.
log
(
'上传视频成功'
,
url
)
...
...
@@ -593,10 +594,10 @@ export default {
let
url
=
''
uni
.
showLoading
({
title
:
'上传中...'
})
// #ifdef H5
url
=
await
uploadFile
(
res
.
tempFilePath
)
url
=
await
uploadFile
(
res
.
tempFile
,
res
.
tempFile
Path
)
// #endif
// #ifdef APP-PLUS
url
=
await
uploadFile
(
res
.
tempFilePath
)
url
=
await
uploadFile
(
null
,
res
.
tempFilePath
)
// #endif
url
=
url
+
this
.
videoProcess
console
.
log
(
'上传视频成功'
,
url
)
...
...
pages/evaluationForm/index.vue
View file @
4d829fe
...
...
@@ -683,6 +683,7 @@ export default {
})
},
onConfirm
(
e
)
{
this
.
custodyAgreementObj
=
e
.
chooseContent
this
.
signAgreementObj
=
{
custodianName
:
e
.
chooseContent
.
name
,
custodianIdentityCode
:
e
.
chooseContent
.
idCard
,
custodianPhone
:
e
.
chooseContent
.
phone
,
custodianAddress
:
e
.
chooseContent
.
address
}
console
.
log
(
'this.signAgreementObj:'
,
this
.
signAgreementObj
)
}
...
...
pages/evaluationForm/signInfo.vue
View file @
4d829fe
...
...
@@ -202,7 +202,7 @@
</view>
<view
class=
"flex align-center"
>
<view
class=
"title-label-see mr-16"
>
地址
</view>
<view>
{{ formData.address }}
</view>
<view
class=
"flex-1"
>
{{ formData.address }}
</view>
</view>
<view
class=
"flex align-start"
v-if=
"formData.idCardFrontUrl"
>
<view
class=
"title-label-see mr-16"
>
身份证正面
</view>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment