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.
1 lines
2.6 KiB
1 lines
2.6 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/advdetail/advdetail"],{"201a":function(t,e,n){"use strict";n.r(e);var a=n("85ac"),i=n("83df");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("9b6c");var o,c=n("f0c5"),u=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=u.exports},7247:function(t,e,n){"use strict";(function(t){n("8d0c");a(n("66fd"));var e=a(n("201a"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"83df":function(t,e,n){"use strict";n.r(e);var a=n("8e36"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"85ac":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]},"8e36":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("a34a"));function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n,a,i,r,o){try{var c=t[r](o),u=c.value}catch(d){return void n(d)}c.done?e(u):Promise.resolve(u).then(a,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function c(t){r(o,a,i,c,u,"next",t)}function u(t){r(o,a,i,c,u,"throw",t)}c(void 0)}))}}var c=function(){Promise.all([n.e("common/vendor"),n.e("components/u-parse/u-parse")]).then(function(){return resolve(n("61df"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("components/empty").then(function(){return resolve(n("9467"))}.bind(null,n)).catch(n.oe)},d={components:{uParse:c,empty:u},data:function(){return{adid:0,article:"",title:"",type:"",time:""}},onLoad:function(t){console.log("option: "+JSON.stringify(t));var e=parseInt(t.id);this.adid=e,this.detaildesc(this.adid)},methods:{detaildesc:function(t){var e=this;return o(a.default.mark((function n(){var i;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.detaildesc({action:"detaildesc",id:t});case 2:i=n.sent,e.title=i.data[0].title,e.time=i.data[0].create_time,e.type=i.data[0].type,e.article=i.data[0].contents.replace(/\<img/gi,'<img style="max-width:100%;height:auto" ');case 7:case"end":return n.stop()}}),n)})))()},preview:function(t,e){console.log(t,"图片地址"),console.log(e,"图片e")},navigate:function(t,e){}}};e.default=d},"9b6c":function(t,e,n){"use strict";var a=n("f4c6"),i=n.n(a);i.a},f4c6:function(t,e,n){}},[["7247","common/runtime","common/vendor"]]]);
|