船员公众号
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
2.6 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/video"],{2852:function(t,e,n){"use strict";n.r(e);var i=n("e81f"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"3ead":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("482e");i(n("3240"));var o=i(n("ce9a"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"7ea8":function(t,e,n){},9190:function(t,e,n){"use strict";var i=n("7ea8"),o=n.n(i);o.a},ce9a:function(t,e,n){"use strict";n.r(e);var i=n("d120"),o=n("2852");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("9190");var u=n("828b"),r=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"d13abcd2",null,!1,i["a"],void 0);e["default"]=r.exports},d120:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(n.bind(null,"1623"))},uPopup:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(n.bind(null,"2911"))}},o=function(){var t=this.$createElement,e=(this._self._c,this.staticUrl("/static/icon-play.png"));this.$mp.data=Object.assign({},{$root:{m0:e}})},a=[]},e81f:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7eb4")),a=i(n("ee10")),u={data:function(){return{isShow:!1,list:[],total:1,page:1,category_id:"",video_url:""}},onLoad:function(t){this.category_id=t.id,this.getList()},onReachBottom:function(){this.list.length<=this.total&&(this.page++,this.getCircleList())},methods:{close:function(){this.isShow=!1},openPage:function(t){this.isShow=!0,this.video_url=t},getList:function(){var e=this;return(0,a.default)(o.default.mark((function n(){var i,a,u,r;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.showLoading({title:"加载中"}),n.next=3,e.$api.videoList({page:e.page,category_id:e.category_id});case 3:i=n.sent,a=i.code,u=i.data,r=i.msg,200==a?(t.hideLoading(),e.list=e.arrayUnique(e.list.concat(u.list),"id"),e.total=u.total):(t.hideLoading(),t.showToast({icon:"none",title:r}));case 8:case"end":return n.stop()}}),n)})))()},arrayUnique:function(t,e){var n={};return t.reduce((function(t,i){return!n[i[e]]&&(n[i[e]]=t.push(i)),t}),[])}}};e.default=u}).call(this,n("df3c")["default"])}},[["3ead","common/runtime","common/vendor"]]]);