introduce.js 3.4 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/expertDiagnosis/introduce"],{721:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(722));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},722:function(e,n,t){"use strict";t.r(n);var r=t(723),o=t(725);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(727);var u,a=t(32),c=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);c.options.__file="pages/expertDiagnosis/introduce.vue",n["default"]=c.exports},723:function(e,n,t){"use strict";t.r(n);var r=t(724);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},724:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return r}));try{r={uniNavBar:function(){return t.e("components/uni-nav-bar/uni-nav-bar").then(t.bind(null,1236))},uIcon:function(){return t.e("uview-ui/components/u-icon/u-icon").then(t.bind(null,1200))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},i=!1,u=[];o._withStripped=!0},725:function(e,n,t){"use strict";t.r(n);var r=t(726),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},726:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(41)),i=r(t(43)),u={data:function(){return{wormcasedata:{},unititle:"",wormdata:{},disease:{},preventionArr:[],regexptitle:[]}},methods:{getIntroduce:function(e){var n=this;return(0,i.default)(o.default.mark((function t(){var r,i,u,a,c,s;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$myRequest({url:"/api/api_gateway?method=pest.pests.pests_info",data:{pest_id:e}});case 2:for(r=t.sent,console.log(r),n.wormcasedata=r,i=/\[(.+?)\]/g,u=n.wormcasedata.prevention,a=u.match(i),c=[],s=0;s<a.length;s++)c.push(u.indexOf(a[s]));for(s=0;s<a.length;s++)n.preventionArr.push(u.slice(c[s]+a[s].length,c[s+1]));for(s=0;s<a.length;s++)a[s]=a[s].slice(1,a[s].length-1);n.regexptitle=a;case 13:case"end":return t.stop()}}),t)})))()},clickLeft:function(){e.navigateBack({delta:1})},examine:function(n){var t=[];t.push(n),console.log(t),e.previewImage({urls:t})}},onLoad:function(e){console.log(e),this.unititle=e.title,this.getIntroduce(e.id)}};n.default=u}).call(this,t(2)["default"])},727:function(e,n,t){"use strict";t.r(n);var r=t(728),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},728:function(e,n,t){}},[[721,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/expertDiagnosis/introduce.js.map