1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-notice"],{"1de5":function(t,i,e){"use strict";t.exports=function(t,i){return i||(i={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),i.hash&&(t+=i.hash),/["'() \t\n]/.test(t)||i.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1e75":function(t,i,e){"use strict";var a=e("3657"),n=e.n(a);n.a},3657:function(t,i,e){var a=e("a5b3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("55e30ed2",a,!0,{sourceMap:!1,shadowMode:!1})},6278:function(t,i,e){t.exports=e.p+"static/img/empty.f330efae.png"},"6b4f":function(t,i,e){"use strict";var a;e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){return a}));var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"active"},[a("v-uni-view",{staticClass:"top"}),t.list.length>0?a("v-uni-view",{staticClass:"list"},t._l(t.list,(function(i,e){return a("v-uni-view",{key:e,staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.detail(i.id)}}},[a("v-uni-view",{staticClass:"tips"},[t._v("热")]),a("v-uni-view",{staticClass:"image",style:{backgroundImage:"url("+(i.cover_resource?i.cover_resource.url:"../../static/images/avator.png")+")"}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(i.title))]),a("v-uni-view",{staticClass:"text"},[t._v("发布人:"+t._s(i.admin_name))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(i.published_at))])],1)],1)})),1):a("v-uni-view",{staticClass:"empty"},[a("v-uni-view",{staticClass:"enptyStatus"},[a("v-uni-image",{attrs:{src:e("6278"),mode:""}}),a("v-uni-view",{staticClass:"words"},[t._v("暂无内容")])],1)],1)],1)},o=[]},a3f2:function(t,i,e){t.exports=e.p+"static/img/active-bg.05376446.png"},a538:function(t,i,e){"use strict";e.r(i);var a=e("6b4f"),n=e("f6ff");for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);e("1e75");var s,r=e("f0c5"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"4bd7715b",null,!1,a["a"],s);i["default"]=c.exports},a5b3:function(t,i,e){var a=e("24fb"),n=e("1de5"),o=e("a3f2");i=a(!1);var s=n(o);i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\r\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \r\n */uni-page-body[data-v-4bd7715b]{position:relative;background-color:#eee}.enptyStatus[data-v-4bd7715b]{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px 10px}.enptyStatus uni-image[data-v-4bd7715b]{width:120px;height:150px;margin-top:80px}.enptyStatus .words[data-v-4bd7715b]{color:#ffae21;font-size:18px;padding-top:16px}.add[data-v-4bd7715b]{position:fixed;bottom:75px;right:15px;text-align:center;z-index:6}.add .add-buttom[data-v-4bd7715b]{width:36px;height:36px;background:#6a6a6a;display:inline-block;text-align:center;line-height:36px;opacity:1;border-radius:50%}.add .add-tips[data-v-4bd7715b]{font-size:10px;font-family:PingFang SC;font-weight:700;line-height:14px;color:#292929;opacity:1;margin-top:3px}.active[data-v-4bd7715b]{position:relative;height:100%}.active .top[data-v-4bd7715b]{height:132px;background-image:url('+s+");background-size:100%;background-repeat:no-repeat}.active .tab[data-v-4bd7715b]{display:flex;align-items:center;width:80%;margin:0 auto}.active .tab .item[data-v-4bd7715b],\r\n.active .tab .active-item[data-v-4bd7715b]{margin-top:17px;font-size:18px;font-family:PingFang SC;font-weight:700;line-height:20px;color:hsla(0,0%,44.3%,.43);opacity:.43;opacity:1;flex:1;text-align:center}.active .tab .item uni-view[data-v-4bd7715b],\r\n.active .tab .active-item uni-view[data-v-4bd7715b]{display:block}.active .tab .item .week[data-v-4bd7715b],\r\n.active .tab .active-item .week[data-v-4bd7715b]{padding-bottom:12px}.active .tab .item .line[data-v-4bd7715b],\r\n.active .tab .active-item .line[data-v-4bd7715b]{width:48px;height:4px;background:#d12727;opacity:1;border-radius:1px;display:block;margin:0 auto}.active .tab .active-item[data-v-4bd7715b]{font-size:18px;font-family:PingFang SC;font-weight:700;line-height:20px;color:#d12727}.active .tab .active-item .week[data-v-4bd7715b]{padding-bottom:8px}.active .list[data-v-4bd7715b]{padding:20px 16px}.active .list .list-item[data-v-4bd7715b]{background:#fff;opacity:1;border-radius:12px;padding:20px 10px;position:relative;display:flex;align-items:center;margin-bottom:20px}.active .list .list-item .tips[data-v-4bd7715b]{position:absolute;width:52px;height:21px;text-align:center;line-height:21px;background:#fd6738;top:0;right:0;opacity:1;border-radius:0 12px 0 12px;font-size:12px;font-family:PingFang SC;font-weight:700;color:#fff}.active .list .list-item .image[data-v-4bd7715b]{flex:0 0 60px;width:60px;height:60px;margin-right:6px;background-position:50%;background-repeat:no-repeat;background-size:cover}.active .list .list-item .right[data-v-4bd7715b]{flex:1}.active .list .list-item .right .title[data-v-4bd7715b]{width:220px;font-size:16px;font-family:PingFang SC;font-weight:700;line-height:20px;color:#282828;overflow:hidden;opacity:1;white-space:nowrap;\r\n /*设置不换行*/overflow:hidden;\r\n /*设置隐藏*/text-overflow:ellipsis\r\n /*设置隐藏部分为省略号*/}.active .list .list-item .right .text[data-v-4bd7715b]{font-size:13px;font-family:PingFang SC;font-weight:400;line-height:20px;color:rgba(40,40,40,.47);margin-top:3px}.active .list .list-item .right .time[data-v-4bd7715b]{font-size:10px;font-family:PingFang SC;font-weight:400;line-height:20px;color:rgba(40,40,40,.47)}body.?%PAGE?%[data-v-4bd7715b]{background-color:#eee}",""]),t.exports=i},c141:function(t,i,e){"use strict";var a=e("4ea4");e("99af"),e("c975"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("96cf");var n=a(e("1da1")),o={data:function(){return{list:[],page:1,last:!1}},onShow:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.is_weixin()&&t.navTitle(),t.list=[],t.page=1,t.last=!1,i.next=6,t.getTabList();case 6:return i.next=8,t.getList();case 8:case"end":return i.stop()}}),i)})))()},onReachBottom:function(){this.last||this.page++,console.log(this.page),this.getList()},methods:{is_weixin:function(){var t=navigator.userAgent.toLowerCase();return-1!=t.indexOf("micromessenger")},navTitle:function(){var t=document.getElementsByTagName("uni-page-head");t[0].style.display="none"},getTabList:function(){var t=this;this.$u.get("/inform/category-user-tree",{type:1}).then((function(i){console.log(i,"pp"),t.tab_list=i.data,t.current_tab=i.data[0].id}))},getList:function(){var t=this;this.$u.get("/inform/information",{category_id:1,page:this.page,per_page:15}).then((function(i){console.log(i,"ppp");var e=i.data.list;console.log(i,"course1"),t.page>1&&0==e.length?(uni.showToast({title:"暂无更多",icon:"none"}),t.last=!0):t.list=t.list.concat(e)}))},detail:function(t){uni.navigateTo({url:"../activity/details?id="+t})},add:function(){uni.navigateTo({url:"./add"})}}};i.default=o},f6ff:function(t,i,e){"use strict";e.r(i);var a=e("c141"),n=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=n.a}}]);
|