New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

veplayer-mp-wechat

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veplayer-mp-wechat - npm Package Compare versions

Comparing version

to
1.2.2-alpha.12

1

dist/enums/index.js

@@ -24,2 +24,3 @@ "use strict";

PlayerModes["PORTRAIT"] = "portrait";
PlayerModes["FULLSCREEN"] = "fullscreen";
})(PlayerModes = exports.PlayerModes || (exports.PlayerModes = {}));

@@ -26,0 +27,0 @@ /**

@@ -11,5 +11,24 @@ "use strict";

value: true
},
// 不同的模式需要确定是否需要添加底部边距
mode: {
type: String,
value: "portrait" /* PlayerModes.PORTRAIT */,
observer(newVal, oldVal, _changedPath) {
if (newVal === "portrait" /* PlayerModes.PORTRAIT */ || newVal === "fullscreen" /* PlayerModes.FULLSCREEN */) {
this.setData({
modeClass: 'xgplayer-controls-portrait'
});
}
else {
this.setData({
modeClass: ''
});
}
}
}
},
data: {},
data: {
modeClass: 'xgplayer-controls-portrait'
},
lifetimes: {

@@ -16,0 +35,0 @@ // 生命周期函数,可以为函数,或一个在methods段中定义的方法名

2

package.json
{
"name": "veplayer-mp-wechat",
"version": "1.2.2-alpha.11",
"version": "1.2.2-alpha.12",
"license": "MIT",

@@ -5,0 +5,0 @@ "miniprogram": "dist",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet