|
@@ -23,7 +23,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="tv-desc">
|
|
|
- 温以凡回到家乡工作,意外遇到了高中同学桑延。久别重逢,两人彼此装不认识,却又一次次巧遇。温以凡遭到隔壁男人骚扰,无奈决定搬家。桑延的公寓被邻居家失火殃及,也需要
|
|
|
+ <DescComp :val="testDesc"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -99,10 +99,13 @@
|
|
|
}
|
|
|
</style>
|
|
|
<script>
|
|
|
-import TvRate from "@/components/TvRate.vue"
|
|
|
+import TvRate from "@/components/TvRate.vue";
|
|
|
+import DescComp from "@/components/DescComp.vue";
|
|
|
+import axios from "axios";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ testDesc:"温以凡回到家乡工作,意外遇到了高中同学桑延。久别重逢,两人彼此装不认识,却又一次次巧遇。温以凡遭到隔壁男人骚扰,无奈决定搬家。桑延的公寓被邻居家失火殃及,也需要搬家。桑延和温以凡因此再次相遇,两人决定合租。桑延的毒舌和温以凡的温柔,让彼此的生活都发生了变化。",
|
|
|
rateObj:{
|
|
|
star_count:2.5,
|
|
|
value: 0
|
|
@@ -112,8 +115,16 @@ export default {
|
|
|
beforeMount() {
|
|
|
this.$emit('changePage','1001')
|
|
|
},
|
|
|
+ created() {
|
|
|
+ axios.get("/api/subject_collection/tv_domestic/items?start=0&count=18").then((res)=>{
|
|
|
+ console.log(res)
|
|
|
+ }).catch((err)=>{
|
|
|
+ console.log(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
components:{
|
|
|
- TvRate
|
|
|
+ TvRate,
|
|
|
+ DescComp
|
|
|
}
|
|
|
}
|
|
|
</script>
|