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");
/***/ }),
......
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