1 line
6.3 KiB
Plaintext
1 line
6.3 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-tu.vue?83bc","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-tu.vue?a8cc","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-tu.vue?7938","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-tu.vue?d92f","uni-app:///components/cate-items/cate-tu.vue"],"names":["name","props","list","type","default","isDetail","data","methods","choosetwo","uni","url","delSearch"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAorB,CAAgB,mqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBCmBxsB;EACAA;EACAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;IACA;EACA;EACAE;IACA,QAEA;EACA;EACAC;IACAC;MACA;MACA;MACA;MACA;QACAC;UACAC;QACA;MACA;QACAD;UACAC;QACA;MACA;IAEA;IACAC;MACA;MACA;IACA;EACA;AACA;AAAA,4B","file":"components/cate-items/cate-tu.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./cate-tu.vue?vue&type=template&id=de61c826&\"\nvar renderjs\nimport script from \"./cate-tu.vue?vue&type=script&lang=js&\"\nexport * from \"./cate-tu.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/cate-items/cate-tu.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cate-tu.vue?vue&type=template&id=de61c826&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cate-tu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cate-tu.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-if=\"list.lenght!=0\">\r\n\t\t<view v-for=\"(item,index) in list\" :key=\"index\">\r\n\t\t\t<!-- 一级title -->\r\n\t\t\t<view class=\"disjbac mar-x30 mar-s10\">\r\n\t\t\t\t<view class=\"fon34 bold col3\">{{item.title}}</view>\r\n\t\t\t\t<image class=\"mar-y50\" @tap=\"delSearch\" v-if=\"item.src!=''\" :src=\"item.src\" style=\"width: 30rpx;height: 30rpx;\" mode=\"heightFix\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"fon24 col6 disac fw\">\r\n\t\t\t\t<!-- 二级title -->\r\n\t\t\t\t<view @tap=\"choosetwo(index,indexo)\" \r\n\t\t\t\tv-for=\"(itemo,indexo) in item.list\" :key=\"indexo\"\r\n\t\t\t\tclass=\"radius10 mar-y20 flexs mar-x20 cate-tu-item\">{{itemo.content}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:\"cate-tu\",\r\n\t\tprops:{\r\n\t\t\tlist:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tisDetail:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tchoosetwo(e1,e2){\r\n\t\t\t\t// console.log('一级索引:',e1);\r\n\t\t\t\t// console.log('二级索引:',e2);\r\n\t\t\t\t// console.log(this.list[e1].list[e2].content);\r\n\t\t\t\tif(this.isDetail){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:`/pagesB/problemDetail/problemDetail?id=${this.list[e1].list[e2].id}&category_id=${this.list[e1].list[e2].category_id}`\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:`/pagesB/searchPage/searchPage?keyWorld=${this.list[e1].list[e2].content}`\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tdelSearch(){\r\n\t\t\t\t// this.list = []\r\n\t\t\t\tthis.$emit('delev')\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""} |