Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TripFriend
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
viitto
TripFriend
Commits
9f0a9203
Commit
9f0a9203
authored
Mar 06, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6417f421
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
5 deletions
+15
-5
Clockin.js
pages/Clockin/Clockin.js
+4
-2
Clockin.wxml
pages/Clockin/Clockin.wxml
+5
-3
comments.wxml
pages/comments/comments.wxml
+1
-0
hotelDetails.wxml
pages/index/hotelDetails/hotelDetails.wxml
+1
-0
mealDetail.wxml
pages/index/mealDetail/mealDetail.wxml
+1
-0
sceneDetail.wxml
pages/index/sceneDetail/sceneDetail.wxml
+2
-0
strateDateil.wxml
pages/index/strateDateil/strateDateil.wxml
+1
-0
No files found.
pages/Clockin/Clockin.js
View file @
9f0a9203
...
...
@@ -70,12 +70,14 @@ Page({
},
bindPreviewVideo
(
e
)
{
let
playVideoSrc
=
this
.
data
.
msg
.
VideoAddress
;
this
.
videoContext
=
wx
.
createVideoContext
(
'prew_video'
);
this
.
videoContext
.
play
();
this
.
setData
({
videoState
:
true
,
playVideoSrc
:
playVideoSrc
})
this
.
videoContext
=
wx
.
createVideoContext
(
'prew_video'
);
this
.
videoContext
.
play
();
},
bindVideoScreenChange
:
function
(
e
)
{
...
...
pages/Clockin/Clockin.wxml
View file @
9f0a9203
<view class="clock">
<view
hidden="{{videoState}}"
class="clock">
<view style="padding:30rpx;position:relative">
<image style="width:70rpx;height:70rpx;position: absolute;" src="../../images/index/adress.png"></image>
<view class="title">
...
...
@@ -30,11 +30,11 @@
</view>
</view>
<view bindtap="upload" class="picItem upload">
<view
wx:if="{{msg.VideoAddress==''}}"
bindtap="upload" class="picItem upload">
<image src="../../images/index/pic.png"></image>
<view style="margin-top:15rpx" class="c99 f24">添加图片</view>
</view>
<view bindtap="upvideo" class="picItem upload">
<view
wx:if="{{msg.VideoAddress==''}}"
bindtap="upvideo" class="picItem upload">
<image src="../../images/index/pic.png"></image>
<view style="margin-top:15rpx" class="c99 f24">上传视频</view>
</view>
...
...
@@ -47,6 +47,8 @@
</view>
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
autoplay="true"
bindfullscreenchange="fullScreen"
show-fullscreen-btn="fasle"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../images/index/close.png"></image>
...
...
pages/comments/comments.wxml
View file @
9f0a9203
...
...
@@ -28,6 +28,7 @@
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
show-fullscreen-btn="fasle"
bindfullscreenchange="fullScreen"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../images/index/close.png"></image>
</view>
\ No newline at end of file
pages/index/hotelDetails/hotelDetails.wxml
View file @
9f0a9203
...
...
@@ -51,6 +51,7 @@
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
show-fullscreen-btn="fasle"
bindfullscreenchange="fullScreen"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../../images/index/close.png"></image>
</view>
\ No newline at end of file
pages/index/mealDetail/mealDetail.wxml
View file @
9f0a9203
...
...
@@ -53,6 +53,7 @@
</view>
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
bindfullscreenchange="fullScreen"
show-fullscreen-btn="fasle"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../../images/index/close.png"></image>
...
...
pages/index/sceneDetail/sceneDetail.wxml
View file @
9f0a9203
...
...
@@ -52,6 +52,8 @@
</view>
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
autoplay="true"
bindfullscreenchange="fullScreen"
show-fullscreen-btn="fasle"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../../images/index/close.png"></image>
...
...
pages/index/strateDateil/strateDateil.wxml
View file @
9f0a9203
...
...
@@ -53,6 +53,7 @@
<view hidden="{{!videoState}}" class="video_box">
<video id="prew_video"
show-fullscreen-btn="fasle"
bindfullscreenchange="fullScreen"
src="{{playVideoSrc}}"></video>
<image bindtap="closeVideo" class="closeImg" src="../../../images/index/close.png"></image>
</view>
\ No newline at end of file
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