新增视频资源
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
|
||||
<!-- 快速提示 -->
|
||||
<div class="quick-tips" v-if="!hasSearched && !searchKeyword">
|
||||
<div class="tips-title">搜索建议</div>
|
||||
<div class="tips-title">搜索历史</div>
|
||||
<div class="tips-grid">
|
||||
<div
|
||||
v-for="tip in searchTips"
|
||||
|
||||
@@ -40,6 +40,13 @@ export class ResourcesList {
|
||||
*/
|
||||
this["dom"] = [];
|
||||
}
|
||||
if (!("video" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {string[]}
|
||||
*/
|
||||
this["video"] = [];
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
@@ -54,6 +61,7 @@ export class ResourcesList {
|
||||
const $$createField1_0 = $$createType0;
|
||||
const $$createField2_0 = $$createType0;
|
||||
const $$createField3_0 = $$createType0;
|
||||
const $$createField4_0 = $$createType0;
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("script" in $$parsedSource) {
|
||||
$$parsedSource["script"] = $$createField0_0($$parsedSource["script"]);
|
||||
@@ -67,6 +75,9 @@ export class ResourcesList {
|
||||
if ("dom" in $$parsedSource) {
|
||||
$$parsedSource["dom"] = $$createField3_0($$parsedSource["dom"]);
|
||||
}
|
||||
if ("video" in $$parsedSource) {
|
||||
$$parsedSource["video"] = $$createField4_0($$parsedSource["video"]);
|
||||
}
|
||||
return new ResourcesList(/** @type {Partial<ResourcesList>} */($$parsedSource));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user