Spaces:
Running
Running
File size: 9,004 Bytes
bcdcd19 |
1 |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-news"],{"02a0":function(t,a,i){"use strict";i.r(a);var e=i("8491"),n=i("53a5");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);var d=i("828b"),r=Object(d["a"])(n["default"],e["b"],e["c"],!1,null,"40a924b8",null,!1,e["a"],void 0);a["default"]=r.exports},"1bf7":function(t,a,i){"use strict";i.r(a);var e=i("216e"),n=i("829a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("650c");var d=i("828b"),r=Object(d["a"])(n["default"],e["b"],e["c"],!1,null,"4f1923d1",null,!1,e["a"],void 0);a["default"]=r.exports},"216e":function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return n})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"uni-load-more"},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[i("v-uni-view",{staticClass:"load1 load"},[i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}})],1),i("v-uni-view",{staticClass:"load2 load"},[i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}})],1),i("v-uni-view",{staticClass:"load3 load"},[i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}}),i("v-uni-view",{staticClass:"uni-load-view_wrapper",style:{background:t.color}})],1)],1),i("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},n=[]},2950:function(t,a,i){var e=i("b07f");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("967d").default;n("bc9118aa",e,!0,{sourceMap:!1,shadowMode:!1})},"2b5a":function(t,a,i){"use strict";i("6a54");var e=i("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("c223");var n=e(i("9b1b")),o=e(i("1bf7")),d=i("8f59"),r={data:function(){return{list:[],page:1,more:this.$t("home").up,show:!0}},components:{uniLoadMore:o.default},onLoad:function(){uni.setNavigationBarTitle({title:this.$t("home").news}),this.getList()},computed:(0,n.default)({},(0,d.mapState)(["theme"])),onShow:function(){this.$utils.setThemeTop(this.theme)},methods:{getList:function(){var t=this;uni.showLoading(),this.$utils.initData({url:"news/list",data:{page:this.page},type:"post"},(function(a,i){uni.hideLoading(),1==t.page&&a.list.length<=a.count&&(t.show=!1),t.list=t.list.concat(a.list),a.list.length>0?(t.more=t.$t("home").up,t.show=!0):t.more=t.$t("home").nomore}))}},onReachBottom:function(){this.status="loading",this.page++,this.getList()}};a.default=r},"53a5":function(t,a,i){"use strict";i.r(a);var e=i("2b5a"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},"650c":function(t,a,i){"use strict";var e=i("2950"),n=i.n(e);n.a},"829a":function(t,a,i){"use strict";i.r(a);var e=i("8992"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},8491:function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return n})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"plr10 ptb10",class:{light:"light"==t.theme}},[t._l(t.list,(function(a,e){return i("v-uni-navigator",{key:e,staticClass:" plr8 bdb_blue3 ptb20",attrs:{url:"/pages/home/newsDetail?id="+a.id}},[i("v-uni-view",{staticClass:"ft14 color1 ellipsis"},[t._v(t._s(a.title))])],1)})),t.show?i("v-uni-view",{staticClass:"tc mtb20 blue4 ft12"},[t._v(t._s(t.more))]):t._e()],2)},n=[]},8992:function(t,a,i){"use strict";i("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={name:"UniLoadMore",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};a.default=e},b07f:function(t,a,i){var e=i("c86c");a=e(!1),a.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/* 文章场景相关 */.uni-load-more[data-v-4f1923d1]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-4f1923d1]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-4f1923d1]{height:24px;width:24px;margin-right:10px}.uni-load-more__img > .load[data-v-4f1923d1]{position:absolute}.uni-load-more__img > .load .uni-load-view_wrapper[data-v-4f1923d1]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-4f1923d1 1.56s ease infinite;animation:load-data-v-4f1923d1 1.56s ease infinite}.uni-load-more__img > .load .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img > .load .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img > .load .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img > .load .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(4){top:11px;left:0}.load1[data-v-4f1923d1],\n.load2[data-v-4f1923d1],\n.load3[data-v-4f1923d1]{height:24px;width:24px}.load2[data-v-4f1923d1]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-4f1923d1]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .uni-load-view_wrapper[data-v-4f1923d1]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-4f1923d1{0%{opacity:1}100%{opacity:.2}}',""]),t.exports=a}}]); |