dianshu.js.map
24.3 KB
{"version":3,"sources":["webpack:///E:/web/gangjurenminiprogram/main.js","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue?c820","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue?6f8d","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue?c78e","webpack:///../../../web/gangjurenminiprogram/pages/dianshu/dianshu.vue","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue?3915","webpack:///E:/web/gangjurenminiprogram/pages/dianshu/dianshu.vue?717a"],"names":["Page","App"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACI,kG;AACAA,IAAI,CAAC,+BAAYC,gBAAZ,CAAD,CAAJ,C;;;;;;;;;;;;ACHJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsF;AAC3B;AACL;AACa;;;AAGnE;AAC6H;AAC7H,gBAAgB,wIAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;ACvCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,8BAA8B;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,iBAAiB;AACjB,WAAW;AACX;AACA;AACA;AACA,eAAe,qBAAqB,iCAAiC,EAAE;AACvE;AACA,4BAA4B,6BAA6B;AACzD,+BAA+B,SAAS,4BAA4B,EAAE;AACtE;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,WAAW,sBAAsB;AACjC;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA,gBAAgB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AAKA;AACA;AACA,yCADA;;AAGA,SAJA,EAIA,IAJA;AAKA,OAZA,MAYA;AACA;AACA;AACA;AACA,4DADA;;AAGA,SALA,MAKA;AACA;AACA,yCADA;;AAGA;AACA;;;AAGA,KA3KA,EAjBA;;AA8LA,SA9LA,qBA8LA;AACA;AACA;AACA;AACA;AACA,GAnMA;AAoMA,QApMA,oBAoMA;AACA;AACA;AACA,GAvMA,E;;;;;;;;;;;;ACrEA;AAAA;AAAA;AAAA;AAAwyB,CAAgB,yxBAAG,EAAC,C;;;;;;;;;;ACA5zB,uC","file":"pages/dianshu/dianshu.js","sourcesContent":["import 'uni-pages';\nimport pageFactory from 'mpvue-page-factory'\n import App from './pages/dianshu/dianshu.vue'\n Page(pageFactory(App))","import { render, staticRenderFns } from \"./dianshu.vue?vue&type=template&id=572a36e8&\"\nimport script from \"./dianshu.vue?vue&type=script&lang=js&\"\nexport * from \"./dianshu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dianshu.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!module.hot.data) {\n api.createRecord('572a36e8', component.options)\n } else {\n api.reload('572a36e8', component.options)\n }\n module.hot.accept(\"./dianshu.vue?vue&type=template&id=572a36e8&\", function () {\n api.rerender('572a36e8', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"web/gangjurenminiprogram/pages/dianshu/dianshu.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dianshu.vue?vue&type=template&id=572a36e8&\"","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"view\", [\n _c(\n \"view\",\n { staticClass: \"swiper_image\" },\n [\n _c(\n \"swiper\",\n {\n staticClass: \"swimg\",\n attrs: {\n \"indicator-dots\": false,\n autoplay: true,\n interval: 3000,\n duration: 1000,\n eventid: \"29ace5e6-0\"\n },\n on: { change: _vm.swiperChange }\n },\n _vm._l(_vm.imgUrls, function(item, index) {\n return _c(\n \"swiper-item\",\n { key: index, attrs: { mpcomid: \"29ace5e6-0-\" + index } },\n [\n _c(\"view\", { staticClass: \"swiper-item\" }, [\n _c(\"image\", { attrs: { src: item.image, mode: \"\" } })\n ])\n ]\n )\n })\n ),\n _c(\n \"view\",\n { staticClass: \"dots\" },\n _vm._l(_vm.imgUrls, function(item, index) {\n return _c(\"view\", {\n key: index,\n staticClass: \"dot\",\n class: index == _vm.currentSwiper ? \"active\" : \"\"\n })\n })\n )\n ],\n 1\n ),\n _c(\"view\", { staticClass: \"list\" }, [\n _c(\n \"view\",\n {\n staticClass: \"listitem listitem1\",\n attrs: { eventid: \"29ace5e6-1\" },\n on: { click: _vm.sao }\n },\n [_c(\"view\", { staticClass: \"itemtitle\" }, [_vm._v(\"数板\")]), _vm._m(0)]\n ),\n _c(\n \"view\",\n {\n staticClass: \"listitem listitem2\",\n attrs: { eventid: \"29ace5e6-2\" },\n on: { click: _vm.shuguan }\n },\n [_c(\"view\", { staticClass: \"itemtitle\" }, [_vm._v(\"数管\")]), _vm._m(1)]\n ),\n _c(\n \"view\",\n {\n staticClass: \"listitem listitem1\",\n attrs: { \"data-id\": _vm.shubanintro.id, eventid: \"29ace5e6-3\" },\n on: { click: _vm.shubantiao }\n },\n [\n _c(\"view\", { staticClass: \"itemtitle\" }, [_vm._v(\"数板说明\")]),\n _c(\"view\", { staticClass: \"itemtext\" }, [\n _vm._v(_vm._s(_vm.shubanintro.introduce))\n ])\n ]\n ),\n _c(\n \"view\",\n {\n staticClass: \"listitem listitem2\",\n attrs: { \"data-id\": _vm.shuguanintro.id, eventid: \"29ace5e6-4\" },\n on: { click: _vm.shubantiao }\n },\n [\n _c(\"view\", { staticClass: \"itemtitle\" }, [_vm._v(\"数管说明\")]),\n _c(\"view\", { staticClass: \"itemtext\" }, [\n _vm._v(_vm._s(_vm.shuguanintro.introduce))\n ])\n ]\n )\n ]),\n _vm._m(2)\n ])\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"view\", { staticClass: \"itemimg\" }, [\n _c(\"image\", { attrs: { src: \"/static/img/shuban.png\" } })\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"view\", { staticClass: \"itemimg guanimg\" }, [\n _c(\"image\", { attrs: { src: \"/static/img/guanzi.png\" } })\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"view\", { staticClass: \"dibu\" }, [\n _c(\"view\", { staticClass: \"gangimg\" }, [\n _c(\"view\", { staticClass: \"heng\" }),\n _c(\"view\", { staticClass: \"jurenimg\" }, [\n _c(\"image\", { attrs: { src: \"/static/img/gang.png\" } })\n ]),\n _c(\"view\", { staticClass: \"heng\" })\n ]),\n _c(\"view\", { staticClass: \"jurentext\" }, [\n _vm._v(\"精准的智能识别算法,高效准确地自动计数\")\n ])\n ])\n }\n]\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--18-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dianshu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--18-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dianshu.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"swiper_image\">\r\n\t\t\t<swiper :indicator-dots=\"false\" :autoplay=\"true\" :interval=\"3000\" :duration=\"1000\" class=\"swimg\" @change=\"swiperChange\">\r\n\t\t\t\t<swiper-item v-for=\"(item,index) in imgUrls\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"swiper-item\">\r\n\t\t\t\t\t\t<image :src=\"item.image\" mode=\"\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</swiper-item>\r\n\t\t\t</swiper>\r\n\t\t\t<view class=\"dots\">\r\n\t\t\t\t<view class=\"dot\" :class=\"index==currentSwiper?'active':''\" v-for=\"(item,index) in imgUrls\" :key=\"index\"></view>\r\n\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\r\n\t\t<!-- 列表 -->\r\n\t\t<view class=\"list\">\r\n\t\t\t<view class=\"listitem listitem1\" @click=\"sao\">\r\n\t\t\t\t<view class=\"itemtitle\">数板</view>\r\n\r\n\t\t\t\t<view class=\"itemimg\">\r\n\t\t\t\t\t<image src=\"/static/img/shuban.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"listitem listitem2\" @click=\"shuguan\">\r\n\t\t\t\t<view class=\"itemtitle\">数管</view>\r\n\r\n\t\t\t\t<view class=\"itemimg guanimg\">\r\n\t\t\t\t\t<image src=\"/static/img/guanzi.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"listitem listitem1\" @click=\"shubantiao\" :data-id=\"shubanintro.id\">\r\n\t\t\t\t<view class=\"itemtitle\">数板说明</view>\r\n\r\n\t\t\t\t<view class=\"itemtext\">\r\n\t\t\t\t\t{{shubanintro.introduce}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"listitem listitem2\" @click=\"shubantiao\" :data-id=\"shuguanintro.id\">\r\n\t\t\t\t<view class=\"itemtitle\">数管说明</view>\r\n\r\n\t\t\t\t<view class=\"itemtext\">\r\n\t\t\t\t\t{{shuguanintro.introduce}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"dibu\">\r\n\t\t\t<view class=\"gangimg\">\r\n\r\n\t\t\t\t<view class=\"heng\"></view>\r\n\t\t\t\t<view class=\"jurenimg\">\r\n\t\t\t\t\t<image src=\"/static/img/gang.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"heng\"></view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"jurentext\">精准的智能识别算法,高效准确地自动计数</view>\r\n\r\n\t\t</view>\r\n\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport app from \"../../App.vue\"\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\timgUrls: [],\r\n\t\t\t\tindicatorDots: false,\r\n\t\t\t\tautoplay: true,\r\n\t\t\t\tinterval: 2000,\r\n\t\t\t\tduration: 1000,\r\n\t\t\t\tcurrentSwiper: 0,\r\n\t\t\t\tshubanintro: \"\",\r\n\t\t\t\tshuguanintro: \"\",\r\n\t\t\t\t// 判断是否有资格进入详情页\r\n\t\t\t\tis_allow: \"\",\r\n\t\t\t\t// 获取扫码之后的参数\r\n\t\t\t\tsao_number: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tswiperChange: function(e) {\r\n\r\n\t\t\t\tthis.currentSwiper = e.detail.current\r\n\r\n\t\t\t},\r\n\t\t\t// 判断是否有资格进入详情内容\r\n\t\t\tget_cations() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tlet url = \"api/shuguan/getShuguanRule\";\r\n\t\t\t\tlet param = {};\r\n\t\t\t\tapp.post(url, param, 'post').then(r => {\r\n\t\t\t\t\tconsole.log(r)\r\n\t\t\t\t\tt.is_allow = r.is_allow\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 扫码\r\n\t\t\tsao() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tlet re_id = uni.getStorageSync(\"re_id\");\r\n\t\t\t\tlet token = uni.getStorageSync(\"token\");\r\n\t\t\t\tconsole.log('9090909090',token)\r\n\t\t\t\tconsole.log('9090909090',re_id)\r\n\t\t\t\tif (token == '') {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请登录后操作',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/pages/qidong/qidong\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\r\n\r\n\t\t\t\t} else if (token != '' && re_id == 0) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请绑定客户',\r\n\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/pages/binding/binding\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.scanCode({\r\n\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\tconsole.log(res, \"扫码之后返回的参数\")\r\n\t\t\t\t\t\t\tconsole.log('条码类型:' + res.scanType);\r\n\t\t\t\t\t\t\tconsole.log('条码内容:' + res.result);\r\n\t\t\t\t\t\t\tt.sao_number = res.result;\r\n\t\t\t\t\t\t\tconsole.log('909090808080', t.sao_number)\r\n\t\t\t\t\t\t\tt.get_yes();\r\n\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail: function(res) {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '未能识别二维码',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\r\n\r\n\r\n\t\t\t},\r\n\t\t\t// 判断是否符合条件\r\n\t\t\tget_yes() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tlet url = \"api/equipment/getEquipmentNumber\";\r\n\t\t\t\tlet param = {\r\n\t\t\t\t\tnumber: t.sao_number\r\n\t\t\t\t};\r\n\t\t\t\tapp.post(url, param, 'post').then(r => {\r\n\t\t\t\t\tconsole.log(r)\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pages/shubanxinxi/shubanxinxi?num=' + t.sao_number\r\n\t\t\t\t\t})\r\n\t\t\t\t}).catch(err => {\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: err.msg,\r\n\t\t\t\t\t\ticon: \"none\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t});\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 获取轮播图数据\r\n\t\t\tgetbanner() {\r\n\r\n\t\t\t\tapp.post(\"api/index/getBanner\", '', 'get')\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tthis.imgUrls = res\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(err => {});\r\n\t\t\t},\r\n\t\t\t// 获取数板数管简介\r\n\t\t\tgetintroduce() {\r\n\t\t\t\tapp.post(\"api/index/getIntroduce\", '', 'get')\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res, \"数板数管简介\");\r\n\t\t\t\t\t\tthis.shubanintro = res[0];\r\n\t\t\t\t\t\tthis.shuguanintro = res[1];\r\n\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(err => {});\r\n\t\t\t},\r\n\r\n\t\t\t//跳到数板数管详情页\r\n\t\t\tshubantiao(e) {\r\n\t\t\t\tconsole.log(e)\r\n\t\t\t\tlet id = e.currentTarget.dataset.id;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/shuguanshubanintro/shuguanshubanintro?id=' + id\r\n\t\t\t\t});\r\n\r\n\t\t\t},\r\n\r\n\t\t\t//数管\r\n\t\t\tshuguan() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tlet re_id = uni.getStorageSync(\"re_id\");\r\n\t\t\t\tlet token = uni.getStorageSync(\"token\")\r\n\t\t\t\tif (token == '') {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请登录后操作',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/pages/qidong/qidong\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t} else if (token !=''&&re_id == 0) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请绑定客户',\r\n\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: \"/pages/binding/binding\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}, 1000)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tif (t.is_allow == 0) {\r\n\t\t\t\t\t\tconsole.log(123)\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: '/pages/shuguan/shuguan?showketime=' + true\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: '/pages/shuguan/shuguan'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\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},\r\n\t\tmounted() {\r\n\t\t\t//获取banner图\r\n\t\t\tthis.getbanner();\r\n\t\t\t//获取简介\r\n\t\t\tthis.getintroduce()\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t// 判断是否有资格进入详情页\r\n\t\t\tthis.get_cations()\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.swiper_image {\r\n\t\twidth: 686rpx;\r\n\t\theight: 368rpx;\r\n\t\tfont-size: 0;\r\n\t\tposition: relative;\r\n\t\tmargin: 20rpx auto 0;\r\n\t\tborder-radius: 10rpx;\r\n\r\n\r\n\t}\r\n\r\n\t.swimg {\r\n\t\theight: 368rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 368rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\r\n\tswiper-item {\r\n\t\theight: 368rpx;\r\n\t\twidth: 686rpx;\r\n\t\theight: 368rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\r\n\t.swiper-item {\r\n\t\twidth: 686rpx;\r\n\t\theight: 368rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\r\n\t.swiper-item image {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\r\n\t.dots {\r\n\t\t/* width: 156rpx; */\r\n\t\theight: 36rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t\tposition: absolute;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tleft: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 35rpx;\r\n\t}\r\n\r\n\t/*未选中时的小圆点样式 */\r\n\t.dot {\r\n\t\twidth: 28rpx;\r\n\t\theight: 4rpx;\r\n\t\tmargin-right: 26rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\topacity: 0.3;\r\n\t}\r\n\r\n\t/*选中以后的小圆点样式 */\r\n\t.active {\r\n\t\twidth: 28rpx;\r\n\t\theight: 4rpx;\r\n\t\tbackground: rgba(255, 255, 255, 1);\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t.list {\r\n\t\tpadding: 0 28rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-top: 4rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-wrap: wrap\r\n\t}\r\n\r\n\t.itemimg {\r\n\t\twidth: 82rpx;\r\n\t\theight: 78rpx;\r\n\t\tfont-size: 0;\r\n\t\tmargin-top: 64rpx;\r\n\t}\r\n\r\n\t.guanimg {\r\n\t\twidth: 67rpx;\r\n\t\theight: 79rpx;\r\n\t}\r\n\r\n\t.itemimg image {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.listitem {\r\n\t\twidth: 330rpx;\r\n\t\theight: 252rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t\t/* background: #F39800; */\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 28rpx;\r\n\t}\r\n\r\n\t.listitem1 {\r\n\t\tbackground: #F39800;\r\n\t}\r\n\r\n\t.listitem2 {\r\n\t\tbackground: #3E3A39;\r\n\t}\r\n\r\n\t.itemtitle {\r\n\t\tmargin-top: 45rpx;\r\n\t\tcolor: #fff;\r\n\t\tposition: relative\r\n\t}\r\n\r\n\t.itemtitle::after {\r\n\t\tdisplay: block;\r\n\t\tcontent: '';\r\n\t\twidth: 46rpx;\r\n\t\theight: 5rpx;\r\n\t\tbackground: #fff;\r\n\t\tposition: absolute;\r\n\t\tleft: 50%;\r\n\t\tright: 50%;\r\n\t\ttransform: translate(-50%, -50%);\r\n\r\n\t\tbottom: -20rpx;\r\n\r\n\t}\r\n\r\n\t.listitem:nth-child(2n) {\r\n\t\tmargin-left: 28rpx;\r\n\t}\r\n\r\n\t.itemtext {\r\n\t\twidth: 212rpx;\r\n\t\tmargin: 47rpx auto 0;\r\n\t\tcolor: #fff;\r\n\t\tfont-size: 26rpx;\r\n\t\ttext-overflow: -o-ellipsis-lastline;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 2;\r\n\t\tline-clamp: 2;\r\n\t\t-webkit-box-orient: vertical;\r\n\t}\r\n\r\n\t.gangimg {\r\n\t\tmargin-top: 36rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center\r\n\t}\r\n\r\n\t.jurenimg {\r\n\t\twidth: 226rpx;\r\n\t\theight: 68rpx;\r\n\t\tfont-size: 0;\r\n\t\tmargin: 0 32rpx;\r\n\r\n\r\n\t}\r\n\r\n\t.jurenimg image {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.heng {\r\n\t\twidth: 76rpx;\r\n\t\theight: 2rpx;\r\n\t\tbackground: #CCCCCC\r\n\t}\r\n\r\n\t.jurentext {\r\n\t\tcolor: #CCCCCC;\r\n\t\tfont-size: 22rpx;\r\n\t\ttext-align: center;\r\n\t\tmargin-top: 12rpx;\r\n\t}\r\n\r\n\t.dibu {\r\n\t\tposition: absolute;\r\n\t\tbottom: 45rpx;\r\n\t\twidth: 750rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\r\n\r\n\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dianshu.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dianshu.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}