Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mini-program-wepy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mini-program-wepy
Commits
a12dac7c
Commit
a12dac7c
authored
May 22, 2020
by
ziyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement: 修改样式
parent
b4332915
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
videolist.wpy
src/components/custom/videolist.wpy
+0
-3
index.wpy
src/pages/index.wpy
+4
-1
No files found.
src/components/custom/videolist.wpy
View file @
a12dac7c
...
@@ -158,12 +158,10 @@
...
@@ -158,12 +158,10 @@
if (!this.curQueue.length) {
if (!this.curQueue.length) {
this.curQueue = this.nextQueue.splice(0, 3);
this.curQueue = this.nextQueue.splice(0, 3);
this.playCurrent(1);
this.playCurrent(1);
console.log('newVal', this.nextQueue, this.curQueue);
}
}
},
},
animationfinish(e) {
animationfinish(e) {
const current = e.$wx.detail.current;
const current = e.$wx.detail.current;
console.log(current);
const diff = current - this._last;
const diff = current - this._last;
if (diff === 0) return;
if (diff === 0) return;
this._last = current;
this._last = current;
...
@@ -221,7 +219,6 @@
...
@@ -221,7 +219,6 @@
// }
// }
})
})
console.log(this.prevQueue, this.curQueue, this.nextQueue)
},
},
onWaiting (e) {
onWaiting (e) {
this.trigger(e, 'wait');
this.trigger(e, 'wait');
...
...
src/pages/index.wpy
View file @
a12dac7c
...
@@ -136,6 +136,8 @@
...
@@ -136,6 +136,8 @@
.text {
.text {
color:#333;
color:#333;
text-align: center;
text-align: center;
padding-top:30rpx;
padding-bottom: 60rpx;
}
}
button {
button {
width:80%;
width:80%;
...
@@ -224,7 +226,7 @@
...
@@ -224,7 +226,7 @@
</view>
</view>
<view class="authmodal" v-show="authmodal">
<view class="authmodal" v-show="authmodal">
<view class="wrap">
<view class="wrap">
<view class="text">来到lukii,再平凡的人,也有幸运的权利!</view>
<view class="text">来到lukii,再平凡的人,
<br>
也有幸运的权利!</view>
<button open-type="getUserInfo" bindgetuserinfo="getUserInfo">授权并进入</button>
<button open-type="getUserInfo" bindgetuserinfo="getUserInfo">授权并进入</button>
</view>
</view>
</view>
</view>
...
@@ -240,6 +242,7 @@
...
@@ -240,6 +242,7 @@
import store from '../store';
import store from '../store';
import { mapState, mapActions } from '@wepy/x';
import { mapState, mapActions } from '@wepy/x';
import wepy from '@wepy/core';
import wepy from '@wepy/core';
import Dialog from '../components/vant/dialog/dialog';
wepy.page({
wepy.page({
store,
store,
hooks: {
hooks: {
...
...
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