zhuxinbo 5 anni fa
parent
commit
abacec7058

+ 41 - 1
src/api/actor.js

@@ -7,4 +7,44 @@ export function actorList(parameter) {
       method: 'get',
       params: parameter
     })
-  }
+}
+export function actorPhotoList(parameter) {
+    return axios({
+      url: "/ctop/actor/photo/list",
+      method: 'get',
+      params: parameter
+    })
+}
+
+export function actorDetail(parameter) {
+    return axios({
+        url: "/ctop/actor/detail",
+        method: 'get',
+        params: parameter
+    })
+}
+
+
+export function actorCommentList(parameter) {
+    return axios({
+        url: "/ctop/actor/comment/list",
+        method: 'get',
+        params: parameter
+    })
+}
+
+export function actorCommentAdd(parameter) {
+    return axios({
+        url: "/ctop/actor/comment/add",
+        method: 'post',
+        params: parameter
+    })
+}
+
+export function actorCommentDetele(parameter) {
+    return axios({
+        url: "/ctop/actor/comment/delete",
+        method: 'delete',
+        params: parameter
+    })
+}

BIN
src/assets/img/noImg.png


BIN
src/components/ctop/noImg.png


+ 259 - 40
src/components/ctop/vm-card.vue

@@ -1,67 +1,286 @@
+<style>
+.ping .ant-modal-content .ant-modal-footer {
+  display: none !important;
+}
+.ping .ant-list-item-content {
+  justify-content: space-between;
+  cursor: pointer;
+}
+.ping-list .detele {
+  display: none;
+}
+/* .ping-list:hover span {
+  display: block;
+} */
+.ant-modal-body {
+  padding-top: 0px;
+}
+li {
+  list-style-type: none;
+}
+</style>
+<style lang="scss" scoped>
+.actor-photo-list {
+  display: flex;
+  padding-left: 0;
+  li {
+    width: 25%;
+    margin: 10px;
+    position: relative;
+    height: 250px;
+    img {
+      width: 100%;
+      margin-top: auto;
+      margin-bottom: auto;
+      top: 0;
+      bottom: 0;
+      position: absolute;
+    }
+  }
+}
+</style>
 <template>
   <div :class="[type === 'horizantal' ? 'vm-card-horizantal' : 'vm-card-vertical' , 'vm-panel']">
-    <div class="card-img" style="height: 250px" :style="{backgroundImage: 'url(' +img+')', backgroundSize:'contain', backgroundRepeat: 'no-repeat',backgroundPosition:'center center'}">
-      <!-- <img :src="img" alt="" height="250"> -->
+    <div
+      class="card-img"
+      style="height:250px"
+      :style="{backgroundImage: img?'url(' +img+')':'url('+noImgUrl+')', backgroundSize:'contain', backgroundRepeat: 'no-repeat',backgroundPosition:'center center'}"
+    >
+      <!-- <img src="./image/noImg.jpeg" alt="" height="250"> -->
       <div v-if="editable && type == 'vertical'" class="control">
         <span class="edit">
           <a :href="editUrl">
             <a-icon type="edit"></a-icon>
-          </a>     
+          </a>
         </span>
         <span class="delete">
-            <a-icon type="message"></a-icon>
+          <a-icon type="message" @click="getComment"></a-icon>
         </span>
       </div>
     </div>
     <div class="card-desc panel-body">
       <h2>{{ title }}</h2>
       <p>{{ desc }}</p>
-      <a :href="detailUrl">
-        详情 >
-      </a>
+      <a :href="detailUrl" @click="getDetail">详情 ></a>
     </div>
+    <a-modal title="评论" v-model="visible" class="ping">
+      <div>
+        <div style="height:300px;overflow:auto">
+          <a-list
+            v-if="comments.length"
+            :dataSource="comments"
+            :header="`${comments.length} ${comments.length > 1 ? 'replies' : 'reply'}`"
+            itemLayout="horizontal"
+          >
+            <a-list-item slot="renderItem" slot-scope="item, index" class="ping-list">
+              <a-comment
+                :author="item.createBy"
+                :avatar="item.avatar"
+                :content="item.comment"
+                :datetime="item.createTime"
+              ></a-comment>
+              <span class="detele" style="margin:20px;color:red;" @click="detele(item,index)">删除</span>
+            </a-list-item>
+          </a-list>
+          <div v-else style="height:300px;text-align:center;line-height:300px">暂无评论</div>
+        </div>
+        <a-comment>
+          <!-- <a-avatar
+            slot="avatar"
+            :src="loginInfo.value.avatar"
+            alt="Han Solo"
+          />-->
+          <img :src="loginInfo.value.avatar" alt slot="avatar" />
+          <div slot="content">
+            <a-form-item>
+              <a-textarea :rows="4" @change="handleChange" :value="value"></a-textarea>
+            </a-form-item>
+            <a-form-item>
+              <a-button
+                htmlType="submit"
+                :loading="submitting"
+                @click="handleSubmit"
+                type="primary"
+              >添加</a-button>
+            </a-form-item>
+          </div>
+        </a-comment>
+      </div>
+    </a-modal>
+
+    <a-modal title="详情" v-model="detail" class="ping" :width="800">
+      <a-tabs defaultActiveKey="1" @change="callback">
+        <a-tab-pane tab="演员信息" key="1">
+          <div style="display:flex;flex-direction:row;height:200px;">
+            <div
+              style="height:200px;width:30%;border:1px solid #f2f2f2;"
+              :style="{backgroundImage: img?'url(' +img+')':'url('+noImgUrl+')', backgroundSize:'contain', backgroundRepeat: 'no-repeat',backgroundPosition:'center center'}"
+            ></div>
+            <div style="flex:1;margin:15px">
+              <a-form :form="form">
+                <a-form-item label="姓名" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }">
+                  <span>{{form.name}}</span>
+                </a-form-item>
+                <a-form-item label="性别" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }">
+                  <span>{{form.sex==1?"女":"男"}}</span>
+                </a-form-item>
+                <a-form-item label="出生年月" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }">
+                  <span>{{form.birthday}}</span>
+                </a-form-item>
+              </a-form>
+            </div>
+          </div>
+          <div style="margin-top:20px">
+            <a-collapse accordion>
+              <a-collapse-panel header="个人信息" key="1">
+                <p>{{form.speciality}}</p>
+              </a-collapse-panel>
+            </a-collapse>
+          </div>
+        </a-tab-pane>
+        <a-tab-pane tab="演员图集" key="2" forceRender>
+          <div>
+            <ul class="actor-photo-list">
+              <li v-for="(item,index) of photoList" :key="index">
+                <img :src="item.photoUrl" alt />
+              </li>
+            </ul>
+          </div>
+          <div style="text-align:right">
+            <a-pagination :total="total" :pageSize.sync="pageSize"/>
+          </div>
+        </a-tab-pane>
+        <a-tab-pane tab="演员作品" key="3">Content of Tab Pane 3</a-tab-pane>
+      </a-tabs>
+    </a-modal>
   </div>
 </template>
 <script>
-  export default {
-    name: 'VmCard',
-    props: {
-      type: {
-        type: String,
-        default: 'vertical'
-      },
-      editable: {
-        type: Boolean,
-        default: false
-      },
-      title: {
-        type: String,
-        default: 'Title'
-      },
-      img: {
-        type: String,
-        default: require('@/assets/img/img-1.jpg')
-      },
-      desc: {
-        type: String,
-        default: 'Lorem Ipsum is simply dummy text of the printing and typesetting industry,Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s'
-      },
-      detailUrl: {
-        type: String,
-        default: '#'
+import moment from 'moment'
+import { actorDetail, actorCommentList, actorCommentAdd, actorCommentDetele, actorPhotoList } from '@/api/actor'
+export default {
+  name: 'VmCard',
+  props: {
+    type: {
+      type: String,
+      default: 'vertical'
+    },
+    editable: {
+      type: Boolean,
+      default: false
+    },
+    title: {
+      type: String,
+      default: 'Title'
+    },
+    img: {
+      type: String,
+      default: require('@/assets/img/noImg.png')
+    },
+    desc: {
+      type: String,
+      default:
+        "Lorem Ipsum is simply dummy text of the printing and typesetting industry,Lorem Ipsum has been the industry's standard dummy text ever since the 1500s"
+    },
+    detailUrl: {
+      type: String,
+      default: '#'
+    },
+    editUrl: {
+      type: String,
+      default: '#'
+    },
+    id: {
+      default() {
+        return 0
+      }
+    }
+  },
+  data: function() {
+    return {
+      to: null,
+      comments: [],
+      submitting: false,
+      value: '',
+      moment,
+      visible: false,
+      detail: true,
+      form: {
+        name: '',
+        birthday: '',
+        sex: null,
+        speciality: ''
       },
-      editUrl: {
-        type: String,
-        default: '#'
+      noImgUrl: require('@/assets/img/noImg.png'),
+      loginInfo: JSON.parse(localStorage.getItem('pro__Login_Userinfo')),
+      photoList: [],
+      total: 1,
+      pageSize:4
+    }
+  },
+  methods: {
+    handleSubmit() {
+      if (!this.value) {
+        return
       }
+
+      this.submitting = true
+
+      actorCommentAdd({ actorId: this.id, comment: this.value }).then(res => {
+        this.submitting = false
+        if (res.code == 200) {
+          this.getComment()
+          this.value = ''
+        }
+      })
+      //   setTimeout(() => {}, 1000)
+    },
+    handleChange(e) {
+      this.value = e.target.value
+    },
+    getDetail() {
+      this.detail = true
+      actorDetail({ actorId: this.id }).then(res => {
+        console.log(res)
+        if (res.code == 0) {
+          this.form.name = res.result.name
+          this.form.birthday = res.result.birthday
+          this.form.sex = res.result.sex
+          this.form.speciality = res.result.speciality
+        }
+      })
     },
-    data: function () {
-        return {
-            to:null
+    getComment() {
+      this.visible = true
+      this.comments = []
+      actorCommentList({ actorId: this.id }).then(res => {
+        if (res.code == 0) {
+          console.log(res)
+          this.comments = res.result.records.reverse()
         }
+      })
     },
-    methods: {
+    detele(item, index) {
+      console.log(item, index)
 
+      actorCommentDetele({ id: item.id }).then(res => {
+        if (res.code == 200) {
+          this.comments.splice(index, 1)
+        }
+      })
+    },
+    callback(key) {
+      console.log(key)
+      if (key == '2') {
+        actorPhotoList({ pageNo: 1, pageSize: 4 }).then(res => {
+          if (res.code == 0) {
+            console.log(res)
+            this.photoList = res.result.records
+            this.total = res.result.total
+          }
+        })
+      }
     }
   }
+}
 </script>

+ 19 - 7
src/components/ctop/vm-image-list.vue

@@ -42,7 +42,7 @@
           <!--          <Button type="ghost" @click="search"><i class="fa fa-search"></i></Button>-->
         </div>
         <a-row type="flex" align="middle" class="page">
-          <span>第</span>
+          <!-- <span>第</span>
           <a-input
             :max="40"
             :min="1"
@@ -58,19 +58,22 @@
             :current="currentPage"
             :pageSize="showNum"
             @change="pageChange"
-          ></a-pagination>
+          ></a-pagination> -->
+
+          <a-pagination showQuickJumper :total="total" @change="pageChange" :pageSize.sync="showNum"/>
         </a-row>
       </a-row>
     </a-row>
     <a-row class="image-list" :gutter="16">
-      <a-col :lg="6" :sm="12" class="vm-margin" v-for="item in dataShow" :key="item.id">
+      <a-col :lg="6" :sm="12" class="vm-margin" v-for="(item,index) of dataShow" :key="index">
         <vm-card
           :editable="true"
-          :title="item.title"
-          :img="item.img"
-          :desc="item.desc"
-          :detailUrl="item.detailUrl"
+          :title="item.name"
+          :img="item.coverUrl"
+          :desc="item.speciality"
+          :detailUrl="item.videoUrl"
           :editUrl="item.editUrl"
+          :id="item.id"
           @delete-ok=" deleteOk(item) "
         ></vm-card>
       </a-col>
@@ -109,6 +112,12 @@ export default {
           }
         ]
       }
+    },
+    total:{
+        type:Number,
+        default(){
+            return 0
+        }
     }
   },
   data: function() {
@@ -126,8 +135,11 @@ export default {
       this.dataShow = this.data.slice(startPage, endPage)
     },
     pageChange: function(page) {
+      console.log(page)
       this.currentPage = page
+
       this.updateDataShow()
+      this.$emit("getList",page)
     },
     search: function() {
       let that = this

+ 16 - 2
src/views/modules/appad/AdList.vue

@@ -1,5 +1,5 @@
 <template>
-  <a-row :gutter="10">
+  <a-row :gutter="10" class="list-pubu">
     <a-col :sm="24" style="margin-bottom: 20px;z-index: 10">
       <a-card :bordered="false">
         <div class="table-page-search-wrapper">
@@ -347,7 +347,7 @@ export default {
           }
         }
       })
-    },
+    }
   },
   created() {
     this.getData()
@@ -411,4 +411,18 @@ export default {
   color: #1890ff;
   font-size: 40px;
 }
+</style>
+<style>
+.list-pubu .ball-beat {
+  height: 100px;
+}
+.list-pubu .loading {
+  position: fixed !important;
+  z-index: 10 !important;
+  left: 60% !important;
+  bottom: 0 !important;
+}
+.sider.light {
+  z-index: 11;
+}
 </style>

+ 147 - 128
src/views/modules/image/ImageList.vue

@@ -1,138 +1,157 @@
 <template>
-  <vm-image-list :data="dataImageList" @delete-ok="deletefn" class="vm-margin"></vm-image-list>
+  <vm-image-list
+    :data="dataImageList"
+    :total="total"
+    @delete-ok="deletefn"
+    class="vm-margin"
+    @getList="getActorList"
+  ></vm-image-list>
 </template>
 
 <script>
-  import VmImageList from '@/components/ctop/vm-image-list'
-  import {actorList} from "@/api/actor"
-  export default {
-    name: 'ImageList',
-    components: {
-      VmImageList
-    },
-    mounted(){
-        this.$nextTick(()=>{
-            this.getActorList()
-        })
-    },
-    methods: {
-      deletefn: function (data) {
-        for (let i = 0; i < this.dataImageList.length; i++) {
-          if (this.dataImageList[i].id === data.id) {
-            this.dataImageList.splice(i, 1)
-          }
+import VmImageList from '@/components/ctop/vm-image-list'
+import { actorList  } from '@/api/actor'
+export default {
+  name: 'ImageList',
+  components: {
+    VmImageList
+  },
+  mounted() {
+    this.$nextTick(() => {
+      this.getActorList(1)
+    })
+  },
+  methods: {
+    deletefn: function(data) {
+      for (let i = 0; i < this.dataImageList.length; i++) {
+        if (this.dataImageList[i].id === data.id) {
+          this.dataImageList.splice(i, 1)
         }
-      },
-      getActorList(){
-          
-          actorList({pageSize:8}).then(res =>{
-              if(res.code == 0){
-                  this.dataImageList.push(...res.result.records)
-              }
-          })
       }
     },
-    data: function () {
-      return {
-        dataImageList: [
-          {
-            id: '1',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '2',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569379371&di=cc78b98e59098b91b71b86aef92dcf43&imgtype=jpg&er=1&src=http%3A%2F%2Fi3.sinaimg.cn%2Fent%2Fj%2F2009-08-31%2FU2223P28T3D2676725F358DT20090831022144.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '3',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '4',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '5',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '6',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '7',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '8',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '9',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '10',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '11',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          },
-          {
-            id: '12',
-            title: '佟丽娅',
-            img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
-            desc: '代表作《北京爱情故事》',
-            detailUrl: 'http://www.baidu.com',
-            editUrl: 'http://www.baidu.com'
-          }
-        ]
-      }
+    getActorList(page) {
+      actorList({ pageNo: page, pageSize: 8 }).then(res => {
+        if (res.code == 0) {
+          this.dataImageList = res.result.records
+          this.total = res.result.total
+        }
+      })
+    }
+  },
+  data: function() {
+    return {
+      dataImageList: [
+        {
+          id: '1',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '2',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569379371&di=cc78b98e59098b91b71b86aef92dcf43&imgtype=jpg&er=1&src=http%3A%2F%2Fi3.sinaimg.cn%2Fent%2Fj%2F2009-08-31%2FU2223P28T3D2676725F358DT20090831022144.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '3',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '4',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '5',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '6',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '7',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '8',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '9',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '10',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '11',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        },
+        {
+          id: '12',
+          title: '佟丽娅',
+          img:
+            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569329515&di=192e14566c758fcd55c1cc71fa19421a&imgtype=jpg&er=1&src=http%3A%2F%2Fstatic.ws.126.net%2Fent%2F2015%2F8%2F5%2F20150805175229d97cb.jpg',
+          desc: '代表作《北京爱情故事》',
+          detailUrl: 'http://www.baidu.com',
+          editUrl: 'http://www.baidu.com'
+        }
+      ],
+      total: null
     }
   }
+}
 </script>