Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp_snapshot
Overview
Overview
Details
Activity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄秀兰
mp_snapshot
Commits
f6be89ef
Commit
f6be89ef
authored
Jul 19, 2017
by
黄秀兰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
297fb407
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
components/slider/slider.js
+1
-0
components/slider/slider.wxml
+2
-1
No files found.
components/slider/slider.js
View file @
f6be89ef
...
...
@@ -48,6 +48,7 @@ function renderSliderData ( res, root_images ) {
// create_time
var
create_time
;
create_time
=
exif
.
create_time
;
if
(
exif
.
create_time
.
search
(
/
\/
/g
)
==
-
1
)
{
var
create_time_arr
=
exif
.
create_time
.
split
(
' '
);
var
create_time_date
=
create_time_arr
[
0
].
split
(
':'
).
join
(
'-'
);
...
...
components/slider/slider.wxml
View file @
f6be89ef
...
...
@@ -52,7 +52,8 @@
</view>
<view>
<text>拍摄日期</text>
<text>{{ slider.photos[slider.current-1].exif.create_time }}</text>
<text wx:if="{{ slider.photos[slider.current-1].exif.exposure === '' }}"></text>
<text wx:else>{{ slider.photos[slider.current-1].exif.create_time }}</text>
</view>
</view>
</view>
...
...
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