1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_sgin_list-index"],{"063e":function(t,n,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i("d1ea"),s=i("86eb"),o=i("26cb"),u=e(i("42ff")),r={components:{emptyPage:u.default},data:function(){return{loading:!1,loadend:!1,loadtitle:this.$t("加载更多"),page:1,limit:8,signList:[],isAuto:!1,isShowAuth:!1}},computed:(0,o.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){t&&this.getSignMoneList()},deep:!0}},onLoad:function(){this.isLogin?this.getSignMoneList():(0,s.toLogin)()},onReachBottom:function(){this.getSignMoneList()},methods:{onLoadFun:function(){this.getSignMoneList()},authColse:function(t){this.isShowAuth=t},getSignMoneList:function(){var t=this;t.loading||t.loadend||(t.loading=!0,t.loadtitle="",(0,a.getSignMonthList)({page:t.page,limit:t.limit}).then((function(n){var i=n.data,e=i.length<t.limit;t.signList=t.$util.SplitArray(i,t.signList),t.$set(t,"signList",t.signList),t.loadend=e,t.loading=!1,t.loadtitle=e?t.$t("我也是有底线的"):t.$t("加载更多")})).catch((function(n){t.loading=!1,t.loadtitle=t.$t("加载更多")})))}}};n.default=r},"1eff":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",[i("v-uni-view",{staticClass:"sign-record"},[t._l(t.signList,(function(n,e){return i("v-uni-view",{key:e,staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"data"},[t._v(t._s(n.month))]),i("v-uni-view",{staticClass:"listn"},t._l(n.list,(function(n,e){return i("v-uni-view",{key:e,staticClass:"itemn acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.$t(n.title)))]),i("v-uni-view",[t._v(t._s(n.add_time))])],1),i("v-uni-view",{staticClass:"num"},[t._v("+"+t._s(n.number))])],1)})),1)],1)],1)})),t.signList.length>0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadtitle))],1):t._e(),0==t.signList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:t.$t("暂无签到记录~")}})],1):t._e()],2)],1)},a=[]},"2bb8":function(t,n,i){var e=i("e6ac");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=i("4f06").default;a("bf49ac90",e,!0,{sourceMap:!1,shadowMode:!1})},"42ff":function(t,n,i){"use strict";i.r(n);var e=i("eeb2"),a=i("59a7");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(s);i("55a0");var o=i("f0c5"),u=Object(o["a"])(a["default"],e["b"],e["c"],!1,null,"40a2f1ee",null,!1,e["a"],void 0);n["default"]=u.exports},"55a0":function(t,n,i){"use strict";var e=i("2bb8"),a=i.n(e);a.a},"59a7":function(t,n,i){"use strict";i.r(n);var e=i("f339"),a=i.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(s);n["default"]=a.a},b447:function(t,n,i){"use strict";i.r(n);var e=i("1eff"),a=i("f910");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(s);var o=i("f0c5"),u=Object(o["a"])(a["default"],e["b"],e["c"],!1,null,"19cb1dcc",null,!1,e["a"],void 0);n["default"]=u.exports},e6ac:function(t,n,i){var e=i("24fb");n=e(!1),n.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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-40a2f1ee]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-40a2f1ee]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-40a2f1ee]{font-size:%?26?%;color:#999}',""]),t.exports=n},eeb2:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=this._self._c||t;return n("v-uni-view",{staticClass:"empty-box"},[n("v-uni-image",{attrs:{src:this.imgHost+"/statics/images/empty-box.png"}}),n("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title||this.$t("暂无记录")))])],1)},a=[]},f339:function(t,n,i){"use strict";i("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("00a0"),a={props:{title:{type:String,default:""}},data:function(){return{imgHost:e.HTTP_REQUEST_URL}}};n.default=a},f910:function(t,n,i){"use strict";i.r(n);var e=i("063e"),a=i.n(e);for(var s in e)["default"].indexOf(s)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(s);n["default"]=a.a}}]);
|