pages-comments-comments.133603a0.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-comments-comments"],{"0b34":function(t,i,a){"use strict";var e=a("54ec"),n=a.n(e);n.a},"164e":function(t,i,a){var e=a("4bad");i=e(!1),i.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-2836caf1]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-2836caf1]{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-2836caf1]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-2836caf1]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-2836caf1]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-2836caf1]{padding:%?0?%!important}.u-list-item[data-v-2836caf1]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-2836caf1]{margin-top:%?0?%!important}.custom-list-item[data-v-2836caf1]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.comment-list.custom-list[data-v-2836caf1],\n.comment-list .custom-list[data-v-2836caf1],\n.swiper[data-v-2836caf1]{height:calc(100vh - %?60?% - var(--window-top))}.comment-list-item[data-v-2836caf1]{padding:%?0?% %?30?%}.comment-list-item .title[data-v-2836caf1]{width:100%;display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:%?45?%;font-size:%?30?%;font-weight:500;color:#000}.comment-list-item .extra-info[data-v-2836caf1]{margin-top:%?45?%;display:-webkit-box;display:-webkit-flex;display:flex;width:100%;position:relative}.comment-list-item .extra-info .divider[data-v-2836caf1]{margin:%?0?% %?20?%}.comment-list-item .extra-info .num[data-v-2836caf1]{font-size:%?24?%;font-weight:400;color:#cf0d0d}.comment-list-item .extra-info .date[data-v-2836caf1]{font-size:%?24?%;font-weight:400;color:#aaa}.comment-list-item .extra-info .status[data-v-2836caf1]{position:absolute;right:%?0?%;border:%?1?% solid #2cc554;color:#2cc554;border-radius:%?15?%;font-size:%?22?%;width:%?100?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;display:-webkit-box;display:-webkit-flex;display:flex}.comment-list-item .extra-info .status.warning[data-v-2836caf1]{color:#ffbb29;border-color:#ffbb29}.comment-list-item[data-v-2836caf1]::after{margin-top:%?34?%;content:" ";display:block;width:100%;height:%?1?%;background:#ddd}',""]),t.exports=i},"191b":function(t,i,a){"use strict";a.r(i);var e=a("9ecc"),n=a.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(s);i["default"]=n.a},"1b21":function(t,i,a){"use strict";var e;a.d(i,"b",(function(){return n})),a.d(i,"c",(function(){return s})),a.d(i,"a",(function(){return e}));var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"custom-tabs"},t._l(t.options,(function(i,e){return a("v-uni-view",{key:e,staticClass:"custom-tabs-item",class:{active:t.currentTab===e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tabClick(e)}}},[t._v(t._s(i))])})),1)},s=[]},"337a":function(t,i,a){var e=a("4bad");i=e(!1),i.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=i},"54ec":function(t,i,a){var e=a("164e");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("27afa36c",e,!0,{sourceMap:!1,shadowMode:!1})},"709f":function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,a("a9e3");var e={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)}}};i.default=e},"7ba5":function(t,i,a){var e=a("337a");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("0e2ae4d8",e,!0,{sourceMap:!1,shadowMode:!1})},"9ecc":function(t,i,a){"use strict";var e=a("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e(a("4a04")),s=e(a("a380")),r={components:{CustomList:n.default,CustomTabs:s.default},data:function(){return{tabList:["待考评","已考评"],activeTab:0,commentList:[{id:0,title:"2021年支部“先锋指数”量化考评党员自评化考评党员自评化考评党员自评化考评党员自评",num:"已评(1/2)",date:"2021-07-16 12:00 截至",type:"warning",typeText:"进行中"}],commentedList:[{id:0,title:"2021年支部“先锋指数”量化考评党员自评化考评党员自评化考评党员自评化考评党员自评",num:"已评(2/2)",date:"2021-07-16 12:00 截至",type:"success",typeText:"已结束"}]}},methods:{navigateTo:function(t){uni.navigateTo({url:t})}}};i.default=r},a380:function(t,i,a){"use strict";a.r(i);var e=a("1b21"),n=a("f0e2");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(s);a("a3dc");var r,o=a("f0c5"),c=Object(o["a"])(n["default"],e["b"],e["c"],!1,null,"57919bd3",null,!1,e["a"],r);i["default"]=c.exports},a3dc:function(t,i,a){"use strict";var e=a("7ba5"),n=a.n(e);n.a},b3bf:function(t,i,a){"use strict";var e;a.d(i,"b",(function(){return n})),a.d(i,"c",(function(){return s})),a.d(i,"a",(function(){return e}));var n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"page"},[a("custom-tabs",{attrs:{options:t.tabList,active:t.activeTab},on:{"update:active":function(i){arguments[0]=i=t.$handleEvent(i),t.activeTab=i}}}),a("v-uni-swiper",{staticClass:"swiper",attrs:{current:t.activeTab}},[a("v-uni-swiper-item",[a("custom-list",{staticClass:"comment-list"},t._l(t.commentList,(function(i,e){return a("v-uni-view",{key:i.id,staticClass:"comment-list-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navigateTo("/pages/commentDetail/commentDetail")}}},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(i.title))]),a("v-uni-view",{staticClass:"extra-info"},[a("v-uni-view",{staticClass:"num"},[t._v(t._s(i.num))]),a("v-uni-view",{staticClass:"divider"},[t._v("|")]),a("v-uni-view",{staticClass:"date"},[t._v(t._s(i.date))]),a("v-uni-view",{staticClass:"status",class:[i.type]},[t._v(t._s(i.typeText))])],1)],1)})),1)],1),a("v-uni-swiper-item",[a("custom-list",{staticClass:"comment-list"},t._l(t.commentedList,(function(i,e){return a("v-uni-view",{key:i.id,staticClass:"comment-list-item"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(i.title))]),a("v-uni-view",{staticClass:"extra-info"},[a("v-uni-view",{staticClass:"num"},[t._v(t._s(i.num))]),a("v-uni-view",{staticClass:"divider"},[t._v("|")]),a("v-uni-view",{staticClass:"date"},[t._v(t._s(i.date))]),a("v-uni-view",{staticClass:"status",class:[i.type]},[t._v(t._s(i.typeText))])],1)],1)})),1)],1)],1)],1)},s=[]},f0e2:function(t,i,a){"use strict";a.r(i);var e=a("709f"),n=a.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(s);i["default"]=n.a},f179:function(t,i,a){"use strict";a.r(i);var e=a("b3bf"),n=a("191b");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(s);a("0b34");var r,o=a("f0c5"),c=Object(o["a"])(n["default"],e["b"],e["c"],!1,null,"2836caf1",null,!1,e["a"],r);i["default"]=c.exports}}]);