You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
2.5 KiB
10 lines
2.5 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CommonQuestion/CommonQuestion"],{"0a50":function(n,e,t){"use strict";var o=t("de1e"),u=t.n(o);u.a},"72eb":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=getApp().globalData.mainPageData,o=[],u=Array.from(t.question);if(u.length>4)for(var i=0;i<4;i++)o.push(u[i]);else o=u;var a={name:"CommonQuestion",data:function(){return{mainPageData:t,questions:o}},mounted:function(){this.getRandomShowItems()},methods:{getRandomShowItems:function(){this.questions=[];var n=[];n=Array.from(this.mainPageData.question);var e=4,t=n.length;if(t<e)this.questions=n;else while(e>0){if(t=n.length,0==t)break;var o=this.$utils.random(0,t);this.questions.push(n[o]),n.splice(o,1),e-=1}},onTouchThisItem:function(e){var t=this.questions[e];console.log("点击了问题:",t),getApp().globalData.showingSkipData=t,n.navigateTo({url:"/pages/SkipView/SkipView"})}}};e.default=a}).call(this,t("543d")["default"])},a28f:function(n,e,t){"use strict";t.r(e);var o=t("ed7f"),u=t("a904");for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);t("0a50");var a,s=t("f0c5"),r=Object(s["a"])(u["default"],o["b"],o["c"],!1,null,"261ec01b",null,!1,o["a"],a);e["default"]=r.exports},a904:function(n,e,t){"use strict";t.r(e);var o=t("72eb"),u=t.n(o);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=u.a},de1e:function(n,e,t){},ed7f:function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,"4db2"))},uSkeleton:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-skeleton/u-skeleton")]).then(t.bind(null,"649f"))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,"602e"))}},u=function(){var n=this,e=n.$createElement;n._self._c},i=[]}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/CommonQuestion/CommonQuestion-create-component',
|
|
{
|
|
'components/CommonQuestion/CommonQuestion-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("a28f"))
|
|
})
|
|
},
|
|
[['components/CommonQuestion/CommonQuestion-create-component']]
|
|
]);
|
|
|