1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-question-index"],{1155:function(t,a,o){"use strict";o("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,o("5c47"),o("bf0f"),o("2797"),o("c223");var e={data:function(){return{list:[],ifBottomRefresh:!1,loadmore:"more",contentText:{contentdown:"查看更多",contentrefresh:"加载中",contentnomore:""}}},onLoad:function(t){this.getdata()},onShow:function(){},onReachBottom:function(){this.page+=1,"noMore"!=this.loadmore&&(this.ifBottomRefresh=!0,this.getData())},methods:{getH:function(){var t=uni.createSelectorQuery().in(this);t.select(".textBox").boundingClientRect((function(t){var a=t.height;console.log("square_giant的高度是:"+a+"px")})).exec()},load:function(){this.$refs.uReadMore.init()},show:function(t){var a=this.list;a.forEach((function(o,e){t==e&&(a[e].is_show=1==o.is_show?0:1)})),this.list=a},getdata:function(){var t=this,a={page:this.page};this.$api.question_list(a,(function(a){"1"==a.code&&(t.list=t.list.concat(a.data.list.data),t.loadmore=t.list.length<a.data.list.total?"more":"noMore")}))}}};a.default=e},"128c":function(t,a,o){"use strict";o.r(a);var e=o("487f"),r=o("dc88");for(var n in r)["default"].indexOf(n)<0&&function(t){o.d(a,t,(function(){return r[t]}))}(n);o("50b2");var i=o("828b"),d=Object(i["a"])(r["default"],e["b"],e["c"],!1,null,"03f47310",null,!1,e["a"],void 0);a["default"]=d.exports},"487f":function(t,a,o){"use strict";o.d(a,"b",(function(){return r})),o.d(a,"c",(function(){return n})),o.d(a,"a",(function(){return e}));var e={uniLoadMore:o("7f60").default},r=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"content"},[t.list.length>0?e("v-uni-view",{staticClass:"problem "},[e("v-uni-view",{staticClass:"problem_main"},t._l(t.list,(function(a,o){return e("v-uni-view",{key:o,staticClass:"li",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.show(o)}}},[e("v-uni-view",{staticClass:"left frex-start"},[e("v-uni-view",{staticClass:"zmLable"},[t._v("Q")]),e("v-uni-view",{staticClass:"left_2 rightContent"},[t._v(t._s(a.name))])],1),e("v-uni-view",{staticClass:"frex-start"},[e("v-uni-view",{staticClass:"zmLable"},[t._v("A")]),e("v-uni-view",{staticClass:"rightContent"},[e("lookMore",{attrs:{content:a.content}})],1)],1)],1)})),1)],1):t._e(),e("uni-load-more",{attrs:{status:t.loadmore,"content-text":t.contentText}}),0==t.list.length?e("v-uni-view",{staticClass:"zanwuimg"},[e("v-uni-image",{attrs:{src:o("f261"),mode:"widthFix"}}),e("v-uni-view",[t._v("暂无相关数据")])],1):t._e()],1)},n=[]},"50b2":function(t,a,o){"use strict";var e=o("9f20"),r=o.n(e);r.a},"9f20":function(t,a,o){var e=o("bd92");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var r=o("967d").default;r("dce97980",e,!0,{sourceMap:!1,shadowMode:!1})},bd92:function(t,a,o){var e=o("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 */.u-line-1[data-v-03f47310]{\n\n\ndisplay:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important\n}.u-line-2[data-v-03f47310]{\n\n\ndisplay:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important\n}.u-line-3[data-v-03f47310]{\n\n\ndisplay:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important\n}.u-line-4[data-v-03f47310]{\n\n\ndisplay:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important\n}.u-line-5[data-v-03f47310]{\n\n\ndisplay:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important\n}.u-border[data-v-03f47310]{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top[data-v-03f47310]{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left[data-v-03f47310]{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right[data-v-03f47310]{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom[data-v-03f47310]{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom[data-v-03f47310]{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button[data-v-03f47310]{padding:0;background-color:initial;\nfont-size:inherit;line-height:inherit;color:inherit;\n}\n.u-reset-button[data-v-03f47310]::after{border:none}\n.u-hover-class[data-v-03f47310]{opacity:.7}.u-primary-light[data-v-03f47310]{color:#ecf5ff}.u-warning-light[data-v-03f47310]{color:#fdf6ec}.u-success-light[data-v-03f47310]{color:#f5fff0}.u-error-light[data-v-03f47310]{color:#fef0f0}.u-info-light[data-v-03f47310]{color:#f4f4f5}.u-primary-light-bg[data-v-03f47310]{background-color:#ecf5ff}.u-warning-light-bg[data-v-03f47310]{background-color:#fdf6ec}.u-success-light-bg[data-v-03f47310]{background-color:#f5fff0}.u-error-light-bg[data-v-03f47310]{background-color:#fef0f0}.u-info-light-bg[data-v-03f47310]{background-color:#f4f4f5}.u-primary-dark[data-v-03f47310]{color:#398ade}.u-warning-dark[data-v-03f47310]{color:#f1a532}.u-success-dark[data-v-03f47310]{color:#53c21d}.u-error-dark[data-v-03f47310]{color:#e45656}.u-info-dark[data-v-03f47310]{color:#767a82}.u-primary-dark-bg[data-v-03f47310]{background-color:#398ade}.u-warning-dark-bg[data-v-03f47310]{background-color:#f1a532}.u-success-dark-bg[data-v-03f47310]{background-color:#53c21d}.u-error-dark-bg[data-v-03f47310]{background-color:#e45656}.u-info-dark-bg[data-v-03f47310]{background-color:#767a82}.u-primary-disabled[data-v-03f47310]{color:#9acafc}.u-warning-disabled[data-v-03f47310]{color:#f9d39b}.u-success-disabled[data-v-03f47310]{color:#a9e08f}.u-error-disabled[data-v-03f47310]{color:#f7b2b2}.u-info-disabled[data-v-03f47310]{color:#c4c6c9}.u-primary[data-v-03f47310]{color:#3c9cff}.u-warning[data-v-03f47310]{color:#f9ae3d}.u-success[data-v-03f47310]{color:#5ac725}.u-error[data-v-03f47310]{color:#f56c6c}.u-info[data-v-03f47310]{color:#909399}.u-primary-bg[data-v-03f47310]{background-color:#3c9cff}.u-warning-bg[data-v-03f47310]{background-color:#f9ae3d}.u-success-bg[data-v-03f47310]{background-color:#5ac725}.u-error-bg[data-v-03f47310]{background-color:#f56c6c}.u-info-bg[data-v-03f47310]{background-color:#909399}.u-main-color[data-v-03f47310]{color:#303133}.u-content-color[data-v-03f47310]{color:#606266}.u-tips-color[data-v-03f47310]{color:#909193}.u-light-color[data-v-03f47310]{color:#c0c4cc}\n.u-safe-area-inset-top[data-v-03f47310]{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right[data-v-03f47310]{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom[data-v-03f47310]{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left[data-v-03f47310]{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}\nuni-toast[data-v-03f47310]{z-index:10090}uni-toast .uni-toast[data-v-03f47310]{z-index:10090}\n[data-v-03f47310]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}\n\n\n\n\n\n\n\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-03f47310]{background:#f5f5fa}body.?%PAGE?%[data-v-03f47310]{background:#f5f5fa}.content[data-v-03f47310]{padding:%?20?% %?35?%}.problem[data-v-03f47310]{background-color:#fff;border-radius:%?30?%;padding-top:%?15?%;padding-bottom:%?17?%}.problem .problem_main[data-v-03f47310]{width:92%;margin:0 auto;padding-bottom:10px}.problem .problem_main .li[data-v-03f47310]{padding-top:%?20?%;border-bottom:1px solid #eee}.problem .problem_main .li .left[data-v-03f47310]{overflow:hidden;margin-bottom:%?20?%}.problem .problem_main .li .left .left_1[data-v-03f47310]{float:left;height:4vh;width:4vh}.problem .problem_main .li .left .left_2[data-v-03f47310]{font-size:%?30?%;float:left;width:90%}.problem .problem_main .li .left .left_3[data-v-03f47310]{font-size:%?24?%;float:left;width:92%;color:#676767;padding-left:12px}.problem .problem_main .li[data-v-03f47310]:last-child{border:none}.articleBox[data-v-03f47310]{padding:%?29?% %?24?% %?38?% %?35?%}.articleBox .articleInfo[data-v-03f47310]{display:flex;justify-content:space-between;align-items:flex-start}.articleBox .articleInfo .articleTitle[data-v-03f47310]{margin-top:%?10?%;font-weight:700;font-size:%?30?%;color:#282f38;width:%?350?%}.articleBox .articleInfo img[data-v-03f47310]{margin-left:%?20?%}.articleBox .articleData[data-v-03f47310]{font-size:%?24?%;color:#999;margin-top:%?36?%}.zmLable[data-v-03f47310]{color:#fb8f0c;font-weight:800;width:%?38?%}.frex-start[data-v-03f47310]{display:flex;align-items:center}.rightContent[data-v-03f47310]{width:calc(100% - %?38?%)}',""]),t.exports=a},dc88:function(t,a,o){"use strict";o.r(a);var e=o("1155"),r=o.n(e);for(var n in e)["default"].indexOf(n)<0&&function(t){o.d(a,t,(function(){return e[t]}))}(n);a["default"]=r.a},f261:function(t,a,o){t.exports=o.p+"static/img/null.png"}}]); |