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.
2 lines
3.6 KiB
2 lines
3.6 KiB
10 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPackages/onlineService/index"],{100:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{tagList:[],typeList:[],questionList:[],activeType:null}},onLoad:function(e){this.getTags(),this.getTypes()},methods:{getTags:function(){var e=this;this.Post({},"/api/Answer/tag").then((function(n){e.tagList=n.data||[]}))},getTypes:function(){var e=this;this.Post({},"/api/Answer/type").then((function(n){e.typeList=n.data||[],e.typeList.length>0&&(e.activeType=e.typeList[0].id,e.getQuestionByTypeId())}))},getQuestionByTypeId:function(){var e=this;this.Post({type_id:this.activeType},"/api/Answer/getAnswerByType").then((function(n){e.questionList=(n.data||[]).slice(0,5)}))},goSerachByTag:function(n){e.navigateTo({url:"/subPackages/onlineService/search?type=tag&id=".concat(n.id)})},changeType:function(e){this.activeType=e.id,this.getQuestionByTypeId()},viewDetail:function(n){e.navigateTo({url:"/subPackages/onlineService/detail?id=".concat(n.id)})},goSearchByType:function(){e.navigateTo({url:"/subPackages/onlineService/search?type=type&id=".concat(this.activeType)})},goBattle:function(){window.open("https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTU1MzE2NQ==#wechat_redirect")}}};n.default=t}).call(this,t(2)["default"])},101:function(e,n,t){"use strict";t.r(n);var i=t(102),o=t.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(c);n["default"]=o.a},102:function(e,n,t){},95:function(e,n,t){"use strict";(function(e,n){var i=t(4);t(26);i(t(25));var o=i(t(96));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},96:function(e,n,t){"use strict";t.r(n);var i=t(97),o=t(99);for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t(101);var a,r=t(32),s=Object(r["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"a2d6f5f6",null,!1,i["components"],a);s.options.__file="subPackages/onlineService/index.vue",n["default"]=s.exports},97:function(e,n,t){"use strict";t.r(n);var i=t(98);t.d(n,"render",(function(){return i["render"]})),t.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),t.d(n,"components",(function(){return i["components"]}))},98:function(e,n,t){"use strict";var i;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return c})),t.d(n,"components",(function(){return i}));try{i={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,238))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.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,t=(e._self._c,e.showImg("/uploads/20241202/2da555edc0420cfad68b0e7c6e90c99a.png"));e.$mp.data=Object.assign({},{$root:{m0:t}})},c=!1,a=[];o._withStripped=!0},99:function(e,n,t){"use strict";t.r(n);var i=t(100),o=t.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(c);n["default"]=o.a}},[[95,"common/runtime","common/vendor"]]]);
|
||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/subPackages/onlineService/index.js.map
|