pages-learn-learn.4ad70427.js 5.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-learn-learn"],{4461:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"page"},[e("v-uni-view",{staticClass:"title"},[t._v("目录")]),e("v-uni-view",{staticClass:"content"},t._l(t.lesson,(function(n,a){return e("v-uni-view",{key:n.id,staticClass:"lesson-item",class:{learned:n.learned},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.navigateTo("/pages/learn/learnDetail/learnDetail")}}},[e("v-uni-view",{staticClass:"lesson-item-title"},[t._v(t._s(n.title))]),e("v-uni-view",{staticClass:"lesson-item-content"},[t._v(t._s(n.content))]),e("v-uni-view",{staticClass:"lesson-item-learnednum"},[e("v-uni-text",{staticClass:"num"},[t._v(t._s(n.learnedNum))]),t._v("学过")],1)],1)})),1)],1)},o=[]},"5ffc":function(t,n,e){"use strict";e.r(n);var a=e("4461"),i=e("9cb5");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("a8cf");var d,s=e("f0c5"),r=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"95d1b4d4",null,!1,a["a"],d);n["default"]=r.exports},"9cb5":function(t,n,e){"use strict";e.r(n);var a=e("e0ca"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},a070:function(t,n,e){var a=e("4bad");n=a(!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 */.u-swiper-wrap[data-v-95d1b4d4]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-95d1b4d4]{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-95d1b4d4]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-95d1b4d4]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-95d1b4d4]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-95d1b4d4]{padding:%?0?%!important}.u-list-item[data-v-95d1b4d4]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-95d1b4d4]{margin-top:%?0?%!important}.custom-list-item[data-v-95d1b4d4]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.title[data-v-95d1b4d4]{background:#f8f8f8;height:%?50?%;font-size:%?24?%;font-weight:400;color:#777;line-height:%?50?%;padding-left:%?30?%;position:fixed;z-index:2;top:var(--window-top);width:100%}.content[data-v-95d1b4d4]{margin-top:%?50?%;padding:%?0?% %?30?%}.content .lesson-item[data-v-95d1b4d4]{padding:%?30?% %?0?% %?0?% %?0?%}.content .lesson-item[data-v-95d1b4d4]::after{content:"";display:block;height:%?1?%;width:100%;background:#ddd;margin-top:%?30?%}.content .lesson-item .lesson-item-title[data-v-95d1b4d4]{font-size:%?30?%;font-weight:500;color:#000;margin-bottom:%?10?%}.content .lesson-item .lesson-item-content[data-v-95d1b4d4]{font-size:%?24?%;font-weight:400;color:#777;line-height:%?48?%;display:inline-block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.content .lesson-item .lesson-item-learnednum[data-v-95d1b4d4]{font-size:%?24?%;font-weight:400;color:#aaa;line-height:%?48?%}.content .lesson-item .lesson-item-learnednum .num[data-v-95d1b4d4]{color:#cf0d0d}.content .lesson-item.learned .lesson-item-title[data-v-95d1b4d4]{color:#aaa}.content .lesson-item.learned .lesson-item-content[data-v-95d1b4d4]{color:#aaa}.content .lesson-item.learned .lesson-item-learnednum[data-v-95d1b4d4]{color:#aaa}.content .lesson-item.learned .lesson-item-learnednum .num[data-v-95d1b4d4]{color:#aaa}',""]),t.exports=n},a8cf:function(t,n,e){"use strict";var a=e("f4fc"),i=e.n(a);i.a},e0ca:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{lesson:[{id:1,title:"庆祝中国共产党成立100周年大会",content:"中国共产党是中国工人阶级的先锋队,同时是中国人民和中……",learnedNum:328,learned:!0},{id:2,title:"庆祝中国共产党成立100周年大会",content:"中国共产党是中国工人阶级的先锋队,同时是中国人民和中……",learnedNum:328,learned:!1}]}},methods:{navigateTo:function(n){t.log(1),uni.navigateTo({url:n})}}};n.default=e}).call(this,e("5a52")["default"])},f4fc:function(t,n,e){var a=e("a070");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("4f06").default;i("63e9197b",a,!0,{sourceMap:!1,shadowMode:!1})}}]);