diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss
index 42023fa..188b857 100644
--- a/src/assets/scss/style.scss
+++ b/src/assets/scss/style.scss
@@ -170,6 +170,9 @@
&.note{
width: 10%;
}
+ &.info{
+ width: 10%;
+ }
&.operate{
.btn{
width: 40px;
diff --git a/src/components/Film.vue b/src/components/Film.vue
index 3ea7ca8..fb6d787 100644
--- a/src/components/Film.vue
+++ b/src/components/Film.vue
@@ -87,11 +87,13 @@
-
{{i.name}}
- {{i.site.name}}
- {{i.type}}
- {{i.year}}
- {{i.note}}
- {{i.last}}
+ {{i.site.name}}
+ {{i.director}}
+ {{i.type}}
+ {{i.area}}
+ {{i.lang}}
+ {{i.year}}
+ {{i.note}}
播放
收藏
@@ -431,13 +433,17 @@ export default {
const type = Object.prototype.toString.call(res)
if (type === '[object Array]') {
res.forEach(element => {
- element.site = site
- this.searchContents.push(element)
+ zy.detail(site.key, element.id).then(detailRes => {
+ detailRes.site = site
+ this.searchContents.push(detailRes)
+ })
})
}
if (type === '[object Object]') {
- res.site = site
- this.searchContents.push(res)
+ zy.detail(site.key, res.id).then(detailRes => {
+ detailRes.site = site
+ this.searchContents.push(detailRes)
+ })
}
})
})