crm_second_opening_mini/pages/news/notice.js

1 line
1.9 KiB
JavaScript
Raw Normal View History

2023-03-13 01:13:08 +00:00
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/news/notice"],{"10f3":function(t,e,n){"use strict";n.r(e);var i=n("5a17"),a=n("ffcf");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("bbc4");var o=n("f0c5"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"2f94eb3d",null,!1,i["a"],void 0);e["default"]=c.exports},5267:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var a=i(n("10f3"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"5a17":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},u=[]},bbc4:function(t,e,n){"use strict";var i=n("efeb"),a=n.n(i);a.a},df77:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("db68"),a={data:function(){return{page:1,limit:10,totalPage:1,list:[]}},onShow:function(){this.page=1,this.list=[],this.getList()},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getList())},methods:{getList:function(){var t=this,e={page:this.page,limit:this.limit};(0,i.netNoticeList)(e).then((function(e){t.list=t.list.concat(e.data.data),t.totalPage=e.data.last_page}))},toDetail:function(e){t.navigateTo({url:"/pages/news/noticeDetail?id="+e})}}};e.default=a}).call(this,n("543d")["default"])},efeb:function(t,e,n){},ffcf:function(t,e,n){"use strict";n.r(e);var i=n("df77"),a=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=a.a}},[["5267","common/runtime","common/vendor"]]]);