(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-xiaoxi-xitong"],{"072e":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.xitong[data-v-506e023e]{padding:0 %?25?% %?25?%;overflow:hidden}.xitong .item[data-v-506e023e]{margin-top:%?30?%;overflow:hidden}.xitong .item .date[data-v-506e023e]{text-align:center;font-weight:500;font-size:%?24?%;color:#999}.xitong .item .content[data-v-506e023e]{background:#fff;border-radius:%?20?%;padding:%?30?% %?30?%;margin-top:%?30?%}.xitong .item .content .title[data-v-506e023e]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-weight:500;font-size:%?36?%;color:#222}.xitong .item .content .desc[data-v-506e023e]{margin-top:%?20?%;font-weight:500;font-size:%?24?%;color:#999;line-height:%?36?%;word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2\n /* 这里是超出几行省略 */}.xitong .item .content uni-image[data-v-506e023e]{width:100%;margin-top:%?30?%;border-radius:%?10?%}',""]),t.exports=e},"2e2f":function(t,e,n){"use strict";var i=n("69d4"),a=n.n(i);a.a},"30f7":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n("7a76"),n("c9b5")},"3d40":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2634")),o=i(n("b7c7")),r=i(n("2fdc"));n("473f"),n("bf0f"),n("aa9c"),n("c223");var u={data:function(){return{list:[],total:1,page:1}},onLoad:function(){this.getList()},onReachBottom:function(){var t=this;uni.showLoading({title:"加载中"}),t.list.length<=t.total&&(t.page++,setTimeout((function(){t.getList(1)}),1e3))},methods:{toPage:function(t){uni.setStorageSync("pcontent",t),uni.navigateTo({url:"/pages/xiaoxi/detail"})},arrayUnique:function(t,e){var n={};return t.reduce((function(t,i){return!n[i[e]]&&(n[i[e]]=t.push(i)),t}),[])},getList:function(t){var e=this;return(0,r.default)((0,a.default)().mark((function n(){var i,r,u;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.systemNoticeList({userId:uni.getStorageSync("userInfo").id,limit:20,page:e.page});case 2:i=n.sent,r=i.code,u=i.data,1==t&&uni.hideLoading(),200==r&&(e.isShow=0==u.total,e.list=e.arrayUnique([].concat((0,o.default)(e.list),(0,o.default)(u.list)),"id"));case 7:case"end":return n.stop()}}),n)})))()}}};e.default=u},4733:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(n("8d0b"))},6533:function(t,e,n){"use strict";n.r(e);var i=n("ed18"),a=n("dc91");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("2e2f");var r=n("828b"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"506e023e",null,!1,i["a"],void 0);e["default"]=u.exports},"69d4":function(t,e,n){var i=n("072e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("19711b90",i,!0,{sourceMap:!1,shadowMode:!1})},"7d86":function(t,e,n){t.exports=n.p+"static/empty.png"},b7c7:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,a.default)(t)||(0,o.default)(t)||(0,r.default)()};var i=u(n("4733")),a=u(n("d14d")),o=u(n("5d6b")),r=u(n("30f7"));function u(t){return t&&t.__esModule?t:{default:t}}},d14d:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("08eb")},dc91:function(t,e,n){"use strict";n.r(e);var i=n("3d40"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},ed18:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"xitong"},[t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toPage(e)}}},[i("v-uni-view",{staticClass:"date"},[t._v(t._s(e.createTime))]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.noticeTitle))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(e.noticeContent))])],1)],1)})),0==t.total?i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:n("7d86")}}),i("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],2)},a=[]}}]);