Commit fb1ab99c by 肖康

x

parent c9cbc39f
......@@ -12,7 +12,7 @@
<template v-for="item2 in item.list">
<template v-if="item2.artcle_list&&item2.artcle_list.list&&item2.artcle_list.list.length>0">
<div class="title">{{item2.hccat_name}}</div>
<a v-for="it in item2.artcle_list.list" :href="'/h5/view/#/helpDetail?hccat_id='+it.hccat_id" class="text" v-html="it.content"></a>
<a v-for="it in item2.artcle_list.list" :href="'/h5/view/#/helpDetail?id='+it.hc_id" class="text">{{it.title}}</a>
</template>
</template>
......
......@@ -35,7 +35,7 @@
created() {
this.$store.dispatch({
type: "getQuestionInfo",
id:this.$route.query.hccat_id
id:this.$route.query.id
});
this.$store.dispatch({
type: "getCommonParams"
......
......@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"help\" },\n [\n _c(\"div\", { staticClass: \"head\" }, [\n _c(\n \"i\",\n {\n directives: [{ name: \"backGo\", rawName: \"v-backGo\" }],\n staticClass: \"icon iconfont fl\"\n },\n [_vm._v(\"\")]\n ),\n _c(\"a\", { staticClass: \"fr\", attrs: { href: _vm.phpParams.kfqq_xk } }, [\n _c(\"i\", { staticClass: \"icon iconfont \" }, [_vm._v(\"\")])\n ])\n ]),\n _vm.list.length > 0\n ? _c(\n \"div\",\n { staticClass: \"con\" },\n _vm._l(_vm.list, function(item) {\n return _c(\n \"div\",\n { staticClass: \"group \", class: { act: item.check } },\n [\n _c(\n \"h3\",\n {\n on: {\n click: function($event) {\n return _vm.tab(item.hccat_id)\n }\n }\n },\n [_vm._v(_vm._s(item.hccat_name))]\n ),\n _c(\"div\", { staticClass: \"gro-c\" }, [\n item.list && item.list.length > 0\n ? _c(\n \"div\",\n { staticClass: \"gc\" },\n [\n _vm._l(item.list, function(item2) {\n return [\n item2.artcle_list &&\n item2.artcle_list.list &&\n item2.artcle_list.list.length > 0\n ? [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(_vm._s(item2.hccat_name))\n ]),\n _vm._l(item2.artcle_list.list, function(\n it\n ) {\n return _c(\"a\", {\n staticClass: \"text\",\n attrs: {\n href:\n \"/h5/view/#/helpDetail?hccat_id=\" +\n it.hccat_id\n },\n domProps: {\n innerHTML: _vm._s(it.content)\n }\n })\n })\n ]\n : _vm._e()\n ]\n })\n ],\n 2\n )\n : _vm._e()\n ])\n ]\n )\n }),\n 0\n )\n : _vm._e(),\n _c(\"Menu\"),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/help/help.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n { staticClass: \"help\" },\n [\n _c(\"div\", { staticClass: \"head\" }, [\n _c(\n \"i\",\n {\n directives: [{ name: \"backGo\", rawName: \"v-backGo\" }],\n staticClass: \"icon iconfont fl\"\n },\n [_vm._v(\"\")]\n ),\n _c(\"a\", { staticClass: \"fr\", attrs: { href: _vm.phpParams.kfqq_xk } }, [\n _c(\"i\", { staticClass: \"icon iconfont \" }, [_vm._v(\"\")])\n ])\n ]),\n _vm.list.length > 0\n ? _c(\n \"div\",\n { staticClass: \"con\" },\n _vm._l(_vm.list, function(item) {\n return _c(\n \"div\",\n { staticClass: \"group \", class: { act: item.check } },\n [\n _c(\n \"h3\",\n {\n on: {\n click: function($event) {\n return _vm.tab(item.hccat_id)\n }\n }\n },\n [_vm._v(_vm._s(item.hccat_name))]\n ),\n _c(\"div\", { staticClass: \"gro-c\" }, [\n item.list && item.list.length > 0\n ? _c(\n \"div\",\n { staticClass: \"gc\" },\n [\n _vm._l(item.list, function(item2) {\n return [\n item2.artcle_list &&\n item2.artcle_list.list &&\n item2.artcle_list.list.length > 0\n ? [\n _c(\"div\", { staticClass: \"title\" }, [\n _vm._v(_vm._s(item2.hccat_name))\n ]),\n _vm._l(item2.artcle_list.list, function(\n it\n ) {\n return _c(\n \"a\",\n {\n staticClass: \"text\",\n attrs: {\n href:\n \"/h5/view/#/helpDetail?id=\" +\n it.hc_id\n }\n },\n [_vm._v(_vm._s(it.title))]\n )\n })\n ]\n : _vm._e()\n ]\n })\n ],\n 2\n )\n : _vm._e()\n ])\n ]\n )\n }),\n 0\n )\n : _vm._e(),\n _c(\"Menu\"),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/help/help.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options");
/***/ }),
......
......@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"helpDetail\",\n data: function data() {\n return {};\n },\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: \"getQuestionInfo\",\n id: this.$route.query.hccat_id\n });\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.help.loading;\n },\n info: function info(state) {\n return state.help.info;\n },\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n }\n })),\n methods: {},\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/help/helpDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"helpDetail\",\n data: function data() {\n return {};\n },\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: \"getQuestionInfo\",\n id: this.$route.query.id\n });\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.help.loading;\n },\n info: function info(state) {\n return state.help.info;\n },\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n }\n })),\n methods: {},\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/help/helpDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options");
/***/ }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment