Merge pull request 'gdpaon' (#226) from gyh into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/226
This commit was merged in pull request #226.
This commit is contained in:
gyh
2020-08-17 19:34:48 +08:00
2 changed files with 8 additions and 14 deletions

View File

@@ -177,6 +177,9 @@
onReady() {
this.videoBox = uni.createVideoContext("videoId", this);
},
onHide() {
this.videoBox.pause();
},
onBackPress() {
if (this.cart_type) {
this.cart_type = !this.cart_type;