1 |
- {"version":3,"sources":["webpack:///./components/table/paramTable.vue?5c3a","webpack:///./components/table/paramTable.vue?69a5","webpack:///./pages/home/api.vue?f1b4","webpack:///./components/table/paramTable.vue?8eaa","webpack:///./components/table/paramTable.vue","webpack:///./components/table/paramTable.vue?e035","webpack:///./pages/home/api.vue?d0b1","webpack:///./pages/home/api.vue?d7e9","webpack:///./pages/home/api.vue","webpack:///./pages/home/api.vue?494d"],"names":["module","exports","props","data","colShow","type","Boolean","default","component","_vm","_c","_self","staticClass","attrs","_v","_e","_l","items","key","_s","parameters","required","description","components","paramTable","layout","middleware","indexShow","apiData","address","response","api1","api2","request_parameters","api3","api4","computed","code","_this$apiData$this$in","this","methods","handleSel","keyPath","setTimeout","Prism","highlightAll","_vm$apiData$_vm$index","_vm$apiData$_vm$index2","_vm$apiData$_vm$index3","_vm$apiData$_vm$index4","_vm$apiData$_vm$index5","_vm$apiData$_vm$index6","staticStyle","on","slot","directives","name","rawName","value","expression","ref","domProps"],"mappings":"iFACAA,EAAOC,QAAU,CAAC,C,mCCDlB,M,sBCCAD,EAAOC,QAAU,CAAC,C,0DCD8O,ECCjP,CACbC,MAAO,CACLC,KAAM,CAAC,EACPC,QAAS,CAAEC,KAAMC,QAASC,SAAS,K,iBCInCC,UAAY,YACd,GDTW,WAAkB,IAAIC,EAAI,KAAKC,EAAGD,EAAIE,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACA,EAAG,KAAK,CAACE,YAAY,SAAS,CAACF,EAAG,KAAK,CAACG,MAAM,CAAC,MAAQ,UAAU,CAACJ,EAAIK,GAAG,gBAAgBL,EAAIK,GAAG,KAAKJ,EAAG,KAAK,CAACG,MAAM,CAAC,MAAQ,UAAU,CAACJ,EAAIK,GAAG,UAAUL,EAAIK,GAAG,KAAML,EAAIL,QAASM,EAAG,KAAK,CAACG,MAAM,CAAC,MAAQ,UAAU,CAACJ,EAAIK,GAAG,cAAcL,EAAIM,K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EAAImB,QAAQnB,EAAIkB,kBAAU,IAAAsB,GAA1BA,EAA4BhB,mBAAoB,CAACvB,EAAG,KAAK,CAACD,EAAIK,GAAG,wBAAwBL,EAAIK,GAAG,KAAKJ,EAAG,cAAc,CAACG,MAAM,CAAC,KAAiC,QAA3BqC,EAACzC,EAAImB,QAAQnB,EAAIkB,kBAAU,IAAAuB,OAAA,EAA1BA,EAA4BjB,mBAAmB,SAAU,MAASxB,EAAIM,KAAKN,EAAIK,GAAG,KAAKJ,EAAG,KAAK,CAACD,EAAIK,GAAG,sBAAsBL,EAAIK,GAAG,KAAKJ,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACkD,IAAI,YAAYhD,YAAY,sBAAsBiD,SAAS,CAAC,UAAYpD,EAAIU,GAA6B,QAA3BgC,EAAC1C,EAAImB,QAAQnB,EAAIkB,kBAAU,IAAAwB,OAAA,EAA1BA,EAA4BrB,gBAAgB,MAAM,IAAI,IAAI,EAC/8G,GACsB,ICUpB,EACA,KACA,WACA,MAIa,UAAAtB,U","file":"c54ebd1.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=style&index=0&id=bfc99702&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=script&lang=js\"","\nexport default {\n props: {\n data: {},\n colShow: { type: Boolean, default: false },\n },\n};\n","import { render, staticRenderFns } from \"./paramTable.vue?vue&type=template&id=bfc99702&scoped=true\"\nimport script from \"./paramTable.vue?vue&type=script&lang=js\"\nexport * from \"./paramTable.vue?vue&type=script&lang=js\"\nimport style0 from \"./paramTable.vue?vue&type=style&index=0&id=bfc99702&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bfc99702\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=style&index=0&id=fdbdc544&prod&lang=scss&scoped=true\"","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=script&lang=js\"","\nimport Prism from 'prismjs' // 代码高亮core\nimport 'prismjs/plugins/line-numbers/prism-line-numbers.min.js'\nimport 'prismjs/themes/prism-okaidia.css' // 高亮主题\nimport 'prismjs/plugins/line-numbers/prism-line-numbers.min.css'\nimport paramTable from '@/components/table/paramTable'\nimport api1 from '@/assets/json/api1.json';\nimport api2 from '@/assets/json/api2.json';\nimport api3 from '@/assets/json/api3.json';\nimport api4 from '@/assets/json/api4.json';\nexport default {\n components: { paramTable },\n layout: 'blank_layout',\n middleware: 'auth',\n data() {\n return {\n indexShow: 'intro',\n apiData: {\n 1: {\n address: 'https://promocollection.uk/api/uk.api/authorization',\n description: 'Get interface authorization code.',\n parameters: [\n {\n parameters: 'email',\n type: 'string',\n description: '*Email account',\n },\n {\n parameters: 'password',\n type: 'string',\n description: '*Email password',\n },\n ],\n response: api1,\n },\n\n 2: {\n address: 'https://promocollection.uk/api/uk.api/categories',\n description:\n 'Returns a full list of product categories including subcategories.',\n parameters: [\n {\n parameters: 'Authorization',\n type: 'string',\n description: 'Authorization',\n },\n ],\n response: api2,\n },\n\n 3: {\n address: 'https://promocollection.uk/api/uk.api/product',\n description: 'Returns product data for an individual product.',\n parameters: [\n {\n parameters: 'Authorization',\n type: 'string',\n description: 'Authorization',\n },\n ],\n request_parameters: [\n {\n parameters: 'code',\n type: 'string',\n required: 'yes',\n description: 'The code of the product to retrieve',\n },\n {\n parameters: 'Format',\n type: 'string',\n required: 'no',\n description: 'Format of the response,default=json',\n },\n ],\n response: api3,\n },\n\n 4: {\n address: 'https://promocollection.uk/api/uk.api/products',\n description: 'Returns a list of all products.',\n parameters: [\n {\n parameters: 'Authorization',\n type: 'string',\n description: 'Authorization',\n },\n ],\n request_parameters: [\n {\n parameters: 'limit',\n type: 'int',\n required: 'no',\n description: 'Quantity of products obtained',\n },\n {\n parameters: 'order',\n type: 'string',\n required: 'no',\n description: 'Product sequencing default=desc, desc or aes',\n },\n {\n parameters: 'sort',\n type: 'string',\n required: 'no',\n description:\n 'Product sequencing default=create_time, create_time or update_time',\n },\n {\n parameters: 'page',\n type: 'int',\n required: 'no',\n description: 'Product pages obtained',\n },\n {\n parameters: 'cate_id',\n type: 'int',\n required: 'no',\n description: 'Get products under the specified category',\n },\n ],\n response: api4,\n },\n },\n }\n },\n computed: {\n code() {\n return this.apiData[this.indexShow]?.response\n },\n },\n methods: {\n handleSel(key, keyPath) {\n this.indexShow = key\n setTimeout(() => {\n Prism.highlightAll()\n }, 0)\n },\n },\n}\n","import { render, staticRenderFns } from \"./api.vue?vue&type=template&id=fdbdc544&scoped=true\"\nimport script from \"./api.vue?vue&type=script&lang=js\"\nexport * from \"./api.vue?vue&type=script&lang=js\"\nimport style0 from \"./api.vue?vue&type=style&index=0&id=fdbdc544&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fdbdc544\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|