efront 3.34.0 → 3.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/kugou/icons/qqjt.ico +0 -0
- package/apps/kugou/icons/yyyy.ico +0 -0
- package/apps/kugou/index.html +1 -0
- package/apps/kugou/search/search.js +27 -9
- package/coms/basic/parseURL.js +2 -2
- package/coms/basic/parseURL_test.js +1 -0
- package/coms/basic/seek.js +42 -4
- package/coms/kugou/api.js +17 -3
- package/coms/kugou/krc.js +75 -33
- package/coms/kugou/musicList.js +1 -1
- package/coms/kugou/player.html +3 -3
- package/coms/kugou/player.js +35 -1
- package/coms/kugou/qqjc.js +172 -0
- package/coms/kugou/song.js +3 -4
- package/coms/kugou/song.less +6 -0
- package/coms/kugou/yyyc.js +535 -0
- package/coms/third-party/crypto.js +6166 -0
- package/coms/third-party//344/273/243/347/240/201/346/235/245/346/272/220.txt +1 -0
- package/coms/zimoli/data.js +7 -4
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/data.js
CHANGED
|
@@ -128,6 +128,7 @@ var transpileMap = null;
|
|
|
128
128
|
|
|
129
129
|
function transpile(src, trans, apiMap, delTransMap) {
|
|
130
130
|
if (!trans) return src;
|
|
131
|
+
|
|
131
132
|
if (src instanceof Array) {
|
|
132
133
|
if (!transpileMap) transpileMap = [];
|
|
133
134
|
var res = src.map(a => transpile(a, trans, apiMap, false));
|
|
@@ -145,8 +146,8 @@ function transpile(src, trans, apiMap, delTransMap) {
|
|
|
145
146
|
value = data[v];
|
|
146
147
|
delete data[v];
|
|
147
148
|
} else {
|
|
148
|
-
value = seekResponse(
|
|
149
|
-
if (isEmpty(value)) value = seekResponse(
|
|
149
|
+
value = seekResponse(src, v, apiMap);
|
|
150
|
+
if (isEmpty(value)) value = seekResponse(data, v);
|
|
150
151
|
}
|
|
151
152
|
if (!k) {
|
|
152
153
|
if (value instanceof Array) {
|
|
@@ -213,7 +214,9 @@ function seekResponse(data, seeker, apiMap = {}) {
|
|
|
213
214
|
}
|
|
214
215
|
var reg = /[\|\?\!\/]/, selector, prop;
|
|
215
216
|
if (reg.test(seeker)) {
|
|
216
|
-
|
|
217
|
+
var m = reg.exec(seeker);
|
|
218
|
+
selector = seeker.slice(0, m.index);
|
|
219
|
+
prop = seeker.slice(m.index + m[0].length);
|
|
217
220
|
} else {
|
|
218
221
|
selector = seeker;
|
|
219
222
|
}
|
|
@@ -909,7 +912,7 @@ var data = {
|
|
|
909
912
|
parse = arg;
|
|
910
913
|
break;
|
|
911
914
|
default:
|
|
912
|
-
params1 = arg;
|
|
915
|
+
if (!isEmpty(arg)) params1 = arg;
|
|
913
916
|
}
|
|
914
917
|
});
|
|
915
918
|
var id = "." + sid;
|