Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
82e4515c
Commit
82e4515c
authored
May 10, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照规范错误
parent
abb25e5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
standard.vue
src/components/photo/standard.vue
+2
-2
list.vue
src/pages/photo/list.vue
+5
-3
No files found.
src/components/photo/standard.vue
View file @
82e4515c
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
<view
class=
"wrap"
>
<view
class=
"wrap"
>
<swiper
class=
"swiper-box"
:current=
"swiperCurrent"
@
transition=
"transition"
<swiper
class=
"swiper-box"
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
>
@
animationfinish=
"animationfinish"
>
<swiper-item
class=
"swiper-item"
v-if=
"currentItem.main
_point && currentItem.main_p
oint.length > 0"
>
<swiper-item
class=
"swiper-item"
v-if=
"currentItem.main
Point && currentItem.mainP
oint.length > 0"
>
<view
class=
"inner txt-inner"
:style=
"
{'background-image':'url(/static/photo/shadow-bg.png)'}">
<view
class=
"inner txt-inner"
:style=
"
{'background-image':'url(/static/photo/shadow-bg.png)'}">
<view
class=
"title"
>
<view
class=
"title"
>
拍照要求
拍照要求
</view>
</view>
<view
class=
"txt-box"
>
<view
class=
"txt-box"
>
<view
class=
"txt"
v-for=
"(txt,index) in currentItem.main
_p
oint"
:key=
"index"
>
<view
class=
"txt"
v-for=
"(txt,index) in currentItem.main
P
oint"
:key=
"index"
>
{{
index
+
1
}}
.
{{
txt
}}
{{
index
+
1
}}
.
{{
txt
}}
</view>
</view>
<view
class=
"txt tips"
v-if=
"currentItem.note"
>
<view
class=
"txt tips"
v-if=
"currentItem.note"
>
...
...
src/pages/photo/list.vue
View file @
82e4515c
...
@@ -271,15 +271,17 @@
...
@@ -271,15 +271,17 @@
photo
.
itemIndex
=
ikey
photo
.
itemIndex
=
ikey
const
len
=
item
.
orderImages
?
item
.
orderImages
.
length
:
0
const
len
=
item
.
orderImages
?
item
.
orderImages
.
length
:
0
photo
.
currentItemLength
=
len
>
9
?
10
:
len
photo
.
currentItemLength
=
len
>
9
?
10
:
len
uni
.
hideTabBar
()
uni
.
hideTabBar
()
this
.
takeStatus
=
true
this
.
takeStatus
=
true
},
},
closeTake
(
img
)
{
closeTake
(
img
)
{
console
.
log
(
img
)
if
(
img
!==
undefined
){
if
(
img
!==
undefined
){
if
(
!
this
.
currentItemDate
.
orderImages
)
this
.
currentItemDate
.
orderImages
=
[]
// step1 添加图片
// step1 添加图片
this
.
currentItemDate
.
orderImages
.
push
(
img
[
img
.
length
-
1
].
key
)
img
.
forEach
(
v
=>
{
this
.
currentItemDate
.
orderImages
.
push
(
v
.
key
)
})
// step2 保存图片
// step2 保存图片
var
data
=
{
var
data
=
{
type
:
this
.
currentItemDate
.
type
,
type
:
this
.
currentItemDate
.
type
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment