(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/CommonQuestion/CommonQuestion"],{377:function(n,e,o){"use strict";o.r(e);var t=o(378),i=o.n(t);for(var u in t)"default"!==u&&function(n){o.d(e,n,(function(){return t[n]}))}(u);e["default"]=i.a},378:function(n,e,o){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=getApp().globalData.mainPageData,t=[],i=Array.from(o.question);if(i.length>4)for(var u=0;u<4;u++)t.push(i[u]);else t=i;var s={name:"CommonQuestion",data:function(){return{mainPageData:o,questions:t}},mounted:function(){this.getRandomShowItems()},methods:{getRandomShowItems:function(){this.questions=[];var n=[];n=Array.from(this.mainPageData.question);var e=4,o=n.length;if(o0){if(o=n.length,0==o)break;var t=this.$utils.random(0,o);this.questions.push(n[t]),n.splice(t,1),e-=1}},onTouchThisItem:function(e){var o=this.questions[e];console.log("点击了问题:",o),getApp().globalData.showingSkipData=o,n.navigateTo({url:"/pages/SkipView/SkipView"})}}};e.default=s}).call(this,o(0)["default"])},379:function(n,e,o){},446:function(n,e,o){"use strict";o.r(e);var t=o(487),i=o(377);for(var u in i)"default"!==u&&function(n){o.d(e,n,(function(){return i[n]}))}(u);o(447);var s,a=o(1),r=Object(a["a"])(i["default"],t["b"],t["c"],!1,null,"5b9e4324",null,!1,t["a"],s);r.options.__file="components/CommonQuestion/CommonQuestion.vue",e["default"]=r.exports},447:function(n,e,o){"use strict";var t=o(379),i=o.n(t);i.a},487:function(n,e,o){"use strict";var t;o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return u})),o.d(e,"a",(function(){return t}));try{t={uLine:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-line/u-line")]).then(o.bind(null,505))},uSkeleton:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-skeleton/u-skeleton")]).then(o.bind(null,529))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,511))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement;n._self._c},u=[];i._withStripped=!0}}]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/CommonQuestion/CommonQuestion.js.map ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/CommonQuestion/CommonQuestion-create-component', { 'components/CommonQuestion/CommonQuestion-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('0')['createComponent'](__webpack_require__(446)) }) }, [['components/CommonQuestion/CommonQuestion-create-component']] ]);