Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
e3a33888
Commit
e3a33888
authored
Apr 01, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-photo-v2' of
https://git.banshouhui.com/heyinchen/take_order
into dev-photo-v2
parents
dee29850
fec8c43f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
13 deletions
+19
-13
list.vue
take-order/pages/photo/list.vue
+12
-11
setting.vue
take-order/pages/photo/setting.vue
+7
-2
arrow.png
take-order/static/photo/arrow.png
+0
-0
No files found.
take-order/pages/photo/list.vue
View file @
e3a33888
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
<view
class=
"right-view-title"
>
拍照项有:
</view>
<view
class=
"right-view-title"
>
拍照项有:
</view>
<template
v-for=
"(item,ikey) in rightList"
>
<template
v-for=
"(item,ikey) in rightList"
>
<view
class=
"rightItemView"
@
click=
"rightItemClick(item,ikey)"
:key=
"ikey"
>
<view
class=
"rightItemView"
@
click=
"rightItemClick(item,ikey)"
:key=
"ikey"
>
<view
:class=
"['rightContentView',
{'active':item.imageList.length > 0
|| item.images.length > 0
}]">
<view
:class=
"['rightContentView',
{'active':item.imageList.length > 0}]">
<text
class=
"ph-lst-item-index"
>
{{
ikey
+
1
}}
</text>
<text
class=
"ph-lst-item-index"
>
{{
ikey
+
1
}}
</text>
<text
class=
""
>
{{
item
.
name
}}
</text>
<text
class=
""
>
{{
item
.
name
}}
</text>
<image
class=
"ph-list-item-arrow"
src=
"/static/photo/arrow.png"
></image>
<image
class=
"ph-list-item-arrow"
src=
"/static/photo/arrow.png"
></image>
<!--
<text
class=
"rightContent u-m-t-14 u-m-l-30 u-p-b-30"
>
{{
item
.
describe
}}
</text>
-->
<!--
<text
class=
"rightContent u-m-t-14 u-m-l-30 u-p-b-30"
>
{{
item
.
describe
}}
</text>
-->
</view>
</view>
<view
class=
"rightImageView"
v-if=
"item.imageList.length > 0
|| item.images.length > 0
"
>
<view
class=
"rightImageView"
v-if=
"item.imageList.length > 0"
>
<image
class=
"rightImage"
v-for=
"(image, index) in
(item.imageList.length > 0 ? item.imageList : item.images)
"
:src=
"image"
:key=
"image"
<image
class=
"rightImage"
v-for=
"(image, index) in
item.imageList
"
:src=
"image"
:key=
"image"
@
click
.
stop=
"handleClickImage(item, index)"
mode=
"aspectFill"
></image>
@
click
.
stop=
"handleClickImage(item, index)"
mode=
"aspectFill"
></image>
</view>
</view>
</view>
</view>
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
// 点击图片
// 点击图片
handleClickImage
(
item
,
index
)
{
handleClickImage
(
item
,
index
)
{
uni
.
previewImage
({
uni
.
previewImage
({
urls
:
item
.
imageList
.
length
>
0
?
item
.
imageList
:
item
.
images
,
urls
:
item
.
imageList
,
current
:
index
current
:
index
})
})
},
},
...
@@ -199,7 +199,8 @@
...
@@ -199,7 +199,8 @@
margin
:
0
rpx
30
rpx
20
rpx
30
rpx
;
margin
:
0
rpx
30
rpx
20
rpx
30
rpx
;
padding
:
36
rpx
30
rpx
18
rpx
30
rpx
;
padding
:
36
rpx
30
rpx
18
rpx
30
rpx
;
border-radius
:
12
rpx
;
border-radius
:
12
rpx
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
min-height
:
108
rpx
;
}
}
.ph-lst-item-index
{
.ph-lst-item-index
{
...
@@ -212,12 +213,13 @@
...
@@ -212,12 +213,13 @@
text-align
:
center
;
text-align
:
center
;
border-width
:
1px
;
border-width
:
1px
;
border-style
:
solid
;
border-style
:
solid
;
margin-right
:
10
rpx
;
margin-right
:
10
rpx
;
margin-top
:
4
rpx
;
}
}
.rightContentView
{
.rightContentView
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
flex-start
;
width
:
100%
;
width
:
100%
;
font-size
:
30
rpx
;
font-size
:
30
rpx
;
color
:
#2272FF
;
color
:
#2272FF
;
...
@@ -231,9 +233,9 @@
...
@@ -231,9 +233,9 @@
.ph-list-item-arrow
{
.ph-list-item-arrow
{
position
:
absolute
;
position
:
absolute
;
width
:
56
rpx
;
width
:
40
rpx
;
height
:
56
rpx
;
height
:
40
rpx
;
right
:
3
0
rpx
;
right
:
3
8
rpx
;
}
}
.rightContent
{
.rightContent
{
...
@@ -280,7 +282,6 @@
...
@@ -280,7 +282,6 @@
flex
:
1
;
flex
:
1
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
color
:
#999999
;
color
:
#999999
;
}
}
.topItemView.active
{
.topItemView.active
{
color
:
#2272FF
;
color
:
#2272FF
;
...
...
take-order/pages/photo/setting.vue
View file @
e3a33888
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<switch
class=
"itemSwitch"
:checked=
"item['enable']"
@
change=
"itemChange(item, ikey)"
color=
"#007AFF"
/>
<switch
class=
"itemSwitch"
:checked=
"item['enable']"
@
change=
"itemChange(item, ikey)"
color=
"#007AFF"
/>
</view>
</view>
<u-popup
border-radius=
"10"
v-model=
"isPopShow"
safe-area-inset-bottom
:mask-close-able=
"false"
mode=
"center"
<u-popup
border-radius=
"10"
v-model=
"isPopShow"
safe-area-inset-bottom
:mask-close-able=
"false"
mode=
"center"
width=
"690rpx"
height=
"600rpx"
>
width=
"690rpx"
height=
"600rpx"
@
close=
"handlePopClose"
>
<view
class=
"popCenterView"
>
<view
class=
"popCenterView"
>
<text
class=
"popTitle"
>
设置自定义项
</text>
<text
class=
"popTitle"
>
设置自定义项
</text>
<view
class=
"inputBackView"
>
<view
class=
"inputBackView"
>
...
@@ -220,7 +220,12 @@
...
@@ -220,7 +220,12 @@
this
.
currenItem
=
{
this
.
currenItem
=
{
'watemark_text'
:
''
,
'watemark_text'
:
''
,
'watemark_value'
:
''
'watemark_value'
:
''
}
}
},
handlePopClose
()
{
this
.
showTipLeft
=
false
,
this
.
showTipRight
=
false
},
},
//自定义弹窗 保存
//自定义弹窗 保存
...
...
take-order/static/photo/arrow.png
View replaced file @
dee29850
View file @
e3a33888
4.86 KB
|
W:
|
H:
3.61 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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