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
d72448f5
Commit
d72448f5
authored
Jan 04, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照后左右滑动下标+1
parent
cf477d5d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
launch.json
take-order/.hbuilderx/launch.json
+11
-0
detail.vue
take-order/pages/photo/detail.vue
+1
-0
list.vue
take-order/pages/photo/list.vue
+2
-1
try.vue
take-order/pages/photo/try.vue
+7
-2
No files found.
take-order/.hbuilderx/launch.json
0 → 100644
View file @
d72448f5
{
//
launch.json
配置了启动调试时相关设置,configurations下节点名称可为
app-plus/h
5
/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp
-360
/
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
"version"
:
"0.0"
,
"configurations"
:
[{
"type"
:
"uniCloud"
,
"default"
:
{
"launchtype"
:
"remote"
}
}
]
}
take-order/pages/photo/detail.vue
View file @
d72448f5
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
:autoplay=
"false"
:autoplay=
"false"
:circular=
'false'
:circular=
'false'
mode=
"dot"
mode=
"dot"
:current=
"done_count"
></u-swiper>
></u-swiper>
</view>
</view>
<view
class=
"bottomView"
>
<view
class=
"bottomView"
>
...
...
take-order/pages/photo/list.vue
View file @
d72448f5
...
@@ -138,7 +138,8 @@
...
@@ -138,7 +138,8 @@
+
'?current_image='
+
current_image
+
'?current_image='
+
current_image
+
'&image_count='
+
item
.
image_count
+
'&image_count='
+
item
.
image_count
+
'¤t_count='
+
current_count
+
'¤t_count='
+
current_count
+
'&images='
+
JSON
.
stringify
(
item
.
images
)
,
+
'&images='
+
JSON
.
stringify
(
item
.
images
)
+
'&title='
+
item
.
name
,
})
})
},
},
...
...
take-order/pages/photo/try.vue
View file @
d72448f5
<
template
>
<
template
>
<view
class=
""
>
<view
class=
"
blackBackColor
"
>
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;'
>
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;'
>
<cover-view
class=
"locationView"
>
<cover-view
class=
"locationView"
>
<cover-view
class=
"locationText u-m-l-20 u-m-t-30"
>
{{
longitude
}}
</cover-view>
<cover-view
class=
"locationText u-m-l-20 u-m-t-30"
>
{{
longitude
}}
</cover-view>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
})
})
let
timer
=
setTimeout
(()
=>
{
let
timer
=
setTimeout
(()
=>
{
that
.
goBack
()
that
.
goBack
()
},
0
)
},
200
0
)
},
},
fail
()
{
fail
()
{
...
@@ -279,6 +279,11 @@
...
@@ -279,6 +279,11 @@
</
script
>
</
script
>
<
style
>
<
style
>
.blackBackColor
{
background-color
:
#000000
;
}
.bottomView
{
.bottomView
{
background-color
:
#000000
;
background-color
:
#000000
;
z-index
:
5
;
z-index
:
5
;
...
...
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