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OUJEQTJBMTFFQjlDNzlDOTY2QjNBNjM5RkIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RkQwMTZFOUNEQTJBMTFFQjlDNzlDOTY2QjNBNjM5RkIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ZTZ9hAAAB+klEQVR42pzUT0hUURTH8TdTIYWVmpH9gaASBFciLSqUsqAwC0TS1E0gzgSF0bJdQbmQFBciDfaPgiQqQShKy00LN9KiITeK5ErQGYwyBfujfQ/8bjwfg8zMgQ8zMO+eOffdc24oEol4gcjDGVTjKHYghG8Yw1sMYcYejsViaxaHA8kO4wn60YQNmMZXrOAcHmIAtV6K2Oj7fh5dOIjXeI44vuv3XP1Wj2b9cRse+ROGtGXb2isU4ZYS//BSxxZcQgd+o5Ftv/NvOR83fMlur5PMYgm9uKb33R6NRg/4E55CDQbRiT9eevFAynDRn/CsSrd3tuBlFk+xjCqqLHAJj6kF4l7mEVcrlWKfS1iIefzMIqGtmVSv7nQJQ172sar+DLueDmsCtqsdMg1bYyecRMIl/ITdKM4i4SFN17QbRUv4BpvREJicdKJJE/RBVf5POIo6tGaQrBI2ZuM2hkzLiks4h5tYRDda0jgou40eYyt6SDYRvG3e47qS3kcfjmssN8k2lOOubpv9rlKaujB4Obg4jTtaaPERU2oNS1CBHHzGPZzQ7fMCl6l0PngIdnFa+Y04iRIc0U6Smgo7gGdq6Je6My9YcVR6JdWp2mXargr2YJcWzao1Er5nkzqYv6r0V3idF2/j+AUjGNY2E8GHbJt8XNVFsfefAAMAgr99g7gUV44AAAAASUVORK5CYII="},"64f3":function(t,i,e){"use strict";e.r(i);var s=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"list"},[s("div",{staticClass:"serch-wrapper"},[s("div",{staticClass:"search"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],attrs:{type:"text",placeholder:"请输入内容进行搜索"},domProps:{value:t.keyword},on:{keyup:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"enter",13,i.key,"Enter")?null:t.getList()},input:function(i){i.target.composing||(t.keyword=i.target.value)}}}),s("img",{staticClass:"hand",attrs:{src:e("1e5e")},on:{click:function(i){return t.getList()}}})])]),0==t.tipList.length?s("div",{staticClass:"empty"},[t._v("暂无数据")]):t._e(),s("div",{staticClass:"wrapper"},[t._l(t.tipList,(function(i){return s("div",{key:i.id,staticClass:"tip",on:{click:function(e){return t.tipClick(i.id)}}},[s("img",{attrs:{src:i.image}}),s("div",{staticClass:"info hand"},[s("div",{staticClass:"title clamp"},[t._v(t._s(i.title))]),s("div",{staticClass:"content clamp"},[t._v(t._s(i.synopsis))]),s("div",{staticClass:"num"},[t._v(t._s(i.visit)+"人已观看")])])])})),s("el-pagination",{attrs:{layout:"prev, pager, next",total:t.total,background:"","prev-text":"上一页","next-text":"下一页","page-size":7},on:{"current-change":t.currentChange}})],2)])},n=[],a=e("fd03"),c={data:function(){return{tipList:[],alllist:[],total:0,page:1,limit:7,keyword:""}},created:function(){this.getAllList()},methods:{tipClick:function(t){this.$router.push("/popularScience/detail?id="+t)},currentChange:function(t){this.page=t,this.getList()},getAllList:function(){var t=this;this.page,this.limit;Object(a["c"])({ifyid:1,page:t.page,limit:t.limit,key:t.keyword}).then((function(i){var e=i.data;t.total=e.count,t.tipList=e.list,console.log(t.tipList," obj.tipList+++++")}))},getList:function(){var t=this;t.keyword&&(t.page=1),Object(a["c"])({ifyid:1,page:t.page,limit:t.limit,key:t.keyword}).then((function(i){var e=i.data;t.tipList=e.list}))}}},l=c,r=(e("f15b"),e("2877")),d=Object(r["a"])(l,s,n,!1,null,"8eb0b174",null);i["default"]=d.exports},"93fb":function(t,i,e){},f15b:function(t,i,e){"use strict";e("93fb")}}]);
|