pages-news-news.0b99285b.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-news-news"],{"0568":function(t,e,i){"use strict";var a=i("b58f"),n=i.n(a);n.a},1971:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("custom-tabs",{attrs:{options:t.tabList,active:t.activeTab},on:{"update:active":function(e){arguments[0]=e=t.$handleEvent(e),t.activeTab=e}}}),i("v-uni-swiper",{staticClass:"swiper",attrs:{current:t.activeTab}},[i("v-uni-swiper-item",[i("custom-list",{staticClass:"news-list"},[i("v-uni-view",{staticStyle:{content:"''",overflow:"hidden"}}),t._l(t.newsList,(function(e,a){return i("v-uni-view",{key:e.id,staticClass:"news-list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navigateTo("/pages/newsDetail/newsDetail")}}},[i("v-uni-view",{staticClass:"date"},[i("v-uni-view",{staticClass:"year-month"},[t._v(t._s(t._f("date")(e.date,"yyyy-mm")))]),i("v-uni-view",{staticClass:"day"},[t._v(t._s(t._f("date")(e.date,"dd")))]),i("v-uni-view",{staticClass:"week"},[t._v("星期"+t._s(t._f("dateFormate")(e.date,"{a}")))])],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"extra"},[t._v(t._s(e.extra)),i("v-uni-view",{staticClass:"status"},[t._v(t._s(e.status))])],1)],1)],1)}))],2)],1),i("v-uni-swiper-item",[i("custom-list",{staticClass:"news-list"},[i("v-uni-view",{staticStyle:{content:"''",overflow:"hidden"}}),t._l(t.newsedList,(function(e,a){return i("v-uni-view",{key:e.id,staticClass:"news-list-item"},[i("v-uni-view",{staticClass:"date"},[i("v-uni-view",{staticClass:"year-month"},[t._v(t._s(t._f("date")(e.date,"yyyy-mm")))]),i("v-uni-view",{staticClass:"day"},[t._v(t._s(t._f("date")(e.date,"dd")))]),i("v-uni-view",{staticClass:"week"},[t._v("星期"+t._s(t._f("dateFormate")(e.date,"{a}")))])],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"extra"},[t._v(t._s(e.extra))])],1)],1)}))],2)],1)],1)],1)},s=[]},"1b21":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"custom-tabs"},t._l(t.options,(function(e,a){return i("v-uni-view",{key:a,staticClass:"custom-tabs-item",class:{active:t.currentTab===a},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClick(a)}}},[t._v(t._s(e))])})),1)},s=[]},"337a":function(t,e,i){var a=i("4bad");e=a(!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 */.u-swiper-wrap[data-v-57919bd3]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-57919bd3]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-57919bd3]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-57919bd3]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-57919bd3]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-57919bd3]{padding:%?0?%!important}.u-list-item[data-v-57919bd3]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-57919bd3]{margin-top:%?0?%!important}.custom-list-item[data-v-57919bd3]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.custom-tabs[data-v-57919bd3]{width:100%;height:%?60?%;font-size:%?24?%;display:-webkit-box;display:-webkit-flex;display:flex;background:#fff;border-bottom:%?1?% solid #ddd}.custom-tabs-item[data-v-57919bd3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;color:#aaa}.custom-tabs-item.active[data-v-57919bd3]{color:#000}.custom-tabs-item[data-v-57919bd3]:not(:last-of-type)::after{content:" ";display:block;height:%?30?%;width:%?1?%;background:#ddd;position:absolute;right:%?0?%}',""]),t.exports=e},"4faf":function(t,e,i){"use strict";i.r(e);var a=i("793b"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"709f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var a={name:"CustomTabs",props:{options:{type:Array,default:[]},active:{type:Number,default:0}},data:function(){return{currentTab:0}},methods:{tabClick:function(t){this.currentTab=t,this.$emit("update:active",t)}}};e.default=a},"793b":function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("4a04")),s=a(i("a380")),d={components:{CustomList:n.default,CustomTabs:s.default},data:function(){return{activeTab:0,tabList:["待参加","已完成"],newsList:[{id:1,date:"2021-7-13",title:"7习近平对开展“两学一做”学习教育",extra:"09:30~10:30 小会议室",status:"进行中"}],newsedList:[{id:1,date:"2021-7-10",title:"7月份党支部委员会",extra:"09:30~10:30 小会议室",status:"进行中"}]}},methods:{}};e.default=d},"7ba5":function(t,e,i){var a=i("337a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("0e2ae4d8",a,!0,{sourceMap:!1,shadowMode:!1})},a380:function(t,e,i){"use strict";i.r(e);var a=i("1b21"),n=i("f0e2");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("a3dc");var d,r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"57919bd3",null,!1,a["a"],d);e["default"]=o.exports},a3dc:function(t,e,i){"use strict";var a=i("7ba5"),n=i.n(a);n.a},b58f:function(t,e,i){var a=i("e895");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("309a95ee",a,!0,{sourceMap:!1,shadowMode:!1})},c744:function(t,e,i){"use strict";i.r(e);var a=i("1971"),n=i("4faf");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("0568");var d,r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"88d6df54",null,!1,a["a"],d);e["default"]=o.exports},e895:function(t,e,i){var a=i("4bad");e=a(!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 */.u-swiper-wrap[data-v-88d6df54]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-88d6df54]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-88d6df54]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-88d6df54]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-88d6df54]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-88d6df54]{padding:%?0?%!important}.u-list-item[data-v-88d6df54]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-88d6df54]{margin-top:%?0?%!important}.custom-list-item[data-v-88d6df54]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.news-list.custom-list[data-v-88d6df54],\n.news-list .custom-list[data-v-88d6df54],\n.swiper[data-v-88d6df54]{height:calc(100vh - %?61?% - var(--window-top))}.news-list.custom-list[data-v-88d6df54],\n.news-list .custom-list[data-v-88d6df54]{background:#f8f8f8}.news-list .news-list-item[data-v-88d6df54]{margin:%?0?% %?30?%;margin-top:%?30?%;background:#fff;box-shadow:%?0?% %?5?% %?10?% %?0?% hsla(0,0%,75.3%,.3);border-radius:%?10?%;height:%?150?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:%?0?% %?25?%;position:relative}.news-list .news-list-item .text[data-v-88d6df54]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;justify-content:space-around;-webkit-align-content:space-around;align-content:space-around;height:%?100?%}.news-list .news-list-item .text .title[data-v-88d6df54]{font-size:%?30?%;font-weight:500;color:#000}.news-list .news-list-item .text .extra[data-v-88d6df54]{font-size:%?24?%;font-weight:400;color:#777;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.news-list .news-list-item .status[data-v-88d6df54]{color:#2cc554;height:%?36?%;font-size:%?24?%;line-height:%?36?%;padding:%?0?% %?22?%;border-radius:%?18?%;width:-webkit-fit-content;width:fit-content;border:%?1?% solid #2cc554}.news-list .news-list-item .date[data-v-88d6df54]{width:%?100?%;height:%?100?%;background:#ffbb29;border-radius:%?10?%;margin-right:%?25?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:#fff}.news-list .news-list-item .date .year-month[data-v-88d6df54],\n.news-list .news-list-item .date .week[data-v-88d6df54]{font-size:%?20?%;line-height:%?24?%}.news-list .news-list-item .date .day[data-v-88d6df54]{font-size:%?40?%;line-height:%?40?%}',""]),t.exports=e},f0e2:function(t,e,i){"use strict";i.r(e);var a=i("709f"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a}}]);