recycapp/unpackage/dist/build/web/static/js/pages-question-index.a9e914bb.js

1 line
10 KiB
JavaScript
Raw Normal View History

2025-11-14 23:12:53 +08:00
(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;ov