You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
17 KiB

{"version":3,"sources":["webpack:///./src/views/about/index.vue?f51c","webpack:///src/views/about/index.vue","webpack:///./src/views/about/index.vue?d722","webpack:///./src/views/about/index.vue","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/views/about/index.vue?76cc"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","dataSheetList","length","directives","name","rawName","value","newSheetList","expression","picture","on","$event","tapJumpDetail","id","_s","title","_l","item","key","industryDynamicId","createDate","_e","pageObj","total","handleCurrentChange","staticRenderFns","data","pageNo","pageSize","created","getQuerySimpleIndustryDynamics","mounted","computed","methods","isPublish","type","res","list","forEach","ele","curPage","$router","push","query","component","$","global","toAbsoluteIndex","toIntegerOrInfinity","lengthOfArrayLike","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","TypeError","max","Math","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","target","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","actualStart","argumentsLength","arguments"],"mappings":"0HAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiBF,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,SAAW,YAAY,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,gBAAgB,CAACI,MAAM,CAAC,UAAY,MAAM,CAACJ,EAAG,qBAAqB,CAACI,MAAM,CAAC,GAAK,CAAEC,KAAM,OAAQ,CAACT,EAAIU,GAAG,QAAQN,EAAG,qBA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GxC,GADAF,EAAEnE,OAASkE,EACPD,EAAcC,EAAmB,CACnC,IAAKE,EAAIK,EAAaL,EAAII,EAAMN,EAAmBE,IACjDC,EAAOD,EAAIF,EACXI,EAAKF,EAAIH,EACLI,KAAQE,EAAGA,EAAED,GAAMC,EAAEF,UACbE,EAAED,GAEhB,IAAKF,EAAII,EAAKJ,EAAII,EAAMN,EAAoBD,EAAaG,WAAYG,EAAEH,EAAI,QACtE,GAAIH,EAAcC,EACvB,IAAKE,EAAII,EAAMN,EAAmBE,EAAIK,EAAaL,IACjDC,EAAOD,EAAIF,EAAoB,EAC/BI,EAAKF,EAAIH,EAAc,EACnBI,KAAQE,EAAGA,EAAED,GAAMC,EAAEF,UACbE,EAAED,GAGlB,IAAKF,EAAI,EAAGA,EAAIH,EAAaG,IAC3BG,EAAEH,EAAIK,GAAeE,UAAUP,EAAI,GAGrC,OADAG,EAAEvE,OAASwE,EAAMN,EAAoBD,EAC9BE,M,kCCnEX","file":"js/chunk-658b2534.b6ee2477.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"about\"},[_c('div',{staticClass:\"about-wrapper\"},[_c('div',{staticClass:\"about-banner\"}),_c('div',{staticClass:\"zlxc-container\",staticStyle:{\"overflow\":\"visible\"}},[_c('div',{staticClass:\"bread-crumbs\"},[_c('el-breadcrumb',{attrs:{\"separator\":\"/\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/' }}},[_vm._v(\"首页\")]),_c('el-breadcrumb-item',[_vm._v(\"行业动态\")])],1)],1),(_vm.dataSheetList.length > 0)?_c('div',{staticClass:\"about-newest\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newSheetList.length > 0),expression:\"newSheetList.length > 0\"}],staticClass:\"newest-left\"},[_c('div',{staticClass:\"left-backimg\"},[_c('img',{staticClass:\"img\",attrs:{\"src\":_vm.newSheetList[0].picture ? _vm.newSheetList[0].picture : '../../assets/zlxcimgs/second_image_xinwentu@2x.png'}})]),_c('div',{staticClass:\"left-text\",on:{\"click\":function($event){return _vm.tapJumpDetail(_vm.newSheetList[0].id)}}},[_c('p',{staticClass:\"tag\"},[_vm._v(\"最新\")]),_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.newSheetList[0].title))])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.newSheetList.length > 0),expression:\"newSheetList.length > 0\"}],staticClass:\"newest-right\"},[_c('ul',{staticClass:\"newest-list\"},_vm._l((_vm.newSheetList),function(item){return _c('li',{key:item.industryDynamicId,staticClass:\"list-li\",on:{\"click\":function($event){return _vm.tapJumpDetail(item.id)}}},[_c('div',{staticClass:\"li-text\"},[_c('p',{staticClass:\"tag\"},[_vm._v(\"最新\")]),_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(item.title))])]),_c('p',{staticClass:\"li-date\"},[_vm._v(_vm._s(item.createDate))])])}),0)])]):_vm._e(),_c('div',{staticClass:\"newest-lists\"},_vm._l((_vm.dataSheetList),function(item){return _c('div',{key:item.industryDynamicId,staticClass:\"newest-li\",on:{\"click\":function($event){return _vm.tapJumpDetail(item.id)}}},[_c('div',{staticClass:\"newest-center\"},[_c('p',{staticClass:\"center-line\"}),_c('p',{staticClass:\"center-text\"},[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"date\"},[_vm._v(_vm._s(item.createDate))])])}),0),_c('div',{staticClass:\"newest-page\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"prev, pager, next\",\"total\":_vm.pageObj.total},on:{\"current-change\":_vm.handleCurrentChange}})],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"about\">\r\n <div class=\"about-wrapper\">\r\n <div class=\"about-banner\"></div>\r\n <div class=\"zlxc-container\" style=\"overflow: visible\">\r\n <div class=\"bread-crumbs\">\r\n <el-breadcrumb separator=\"/\">\r\n <el-breadcrumb-item :to=\"{ path: '/' }\">首页</el-breadcrumb-item>\r\n <el-breadcrumb-item>行业动态</el-breadcrumb-item>\r\n </el-breadcrumb>\r\n </div>\r\n <div class=\"about-newest\" v-if=\"dataSheetList.length > 0\">\r\n <div class=\"newest-left\" v-show=\"newSheetList.length > 0\">\r\n <div class=\"left-backimg\">\r\n <img\r\n class=\"img\"\r\n :src=\"newSheetList[0].picture ? newSheetList[0].picture : '../../assets/zlxcimgs/second_image_xinwentu@2x.png'\"\r\n >\r\n </div>\r\n <div class=\"left-text\" @click=\"tapJumpDetail(newSheetList[0].id)\">\r\n <p class=\"tag\">最新</p>\r\n <p class=\"text\">{{newSheetList[0].title}}</p>\r\n </div>\r\n </div>\r\n <div class=\"newest-right\" v-show=\"newSheetList.length > 0\">\r\n <ul class=\"newest-list\">\r\n <li class=\"list-li\" v-for=\"item in newSheetList\" :key=\"item.industryDynamicId\" @click=\"tapJumpDetail(item.id)\">\r\n <div class=\"li-text\">\r\n <p class=\"tag\">最新</p>\r\n <p class=\"text\">{{item.title}}</p>\r\n </div>\r\n <p class=\"li-date\">{{item.createDate}}</p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"newest-lists\">\r\n <div class=\"newest-li\" v-for=\"item in dataSheetList\" :key=\"item.industryDynamicId\" @click=\"tapJumpDetail(item.id)\">\r\n <div class=\"newest-center\">\r\n <p class=\"center-line\"></p>\r\n <p class=\"center-text\">{{item.title}}</p>\r\n </div>\r\n <div class=\"date\" >{{ item.createDate }}</div>\r\n </div>\r\n </div>\r\n <div class=\"newest-page\">\r\n <el-pagination\r\n background\r\n layout=\"prev, pager, next\"\r\n :total=\"pageObj.total\"\r\n @current-change=\"handleCurrentChange\">\r\n </el-pagination>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { querySimpleIndustryDynamics } from '@/api/herbalMedicine'\r\nimport { formatTime } from '@/utils/common.js'\r\n\r\nexport default {\r\n name: 'About',\r\n data () {\r\n return {\r\n // 分页信息\r\n pageObj: {\r\n pageNo: 1,\r\n pageSize: 10,\r\n total: 0\r\n },\r\n // 行业动态列表\r\n dataSheetList: [],\r\n // 最新行业动态列表\r\n newSheetList: []\r\n }\r\n },\r\n created() {\r\n // 行业动态列表\r\n this.getQuerySimpleIndustryDynamics()\r\n },\r\n mounted() {},\r\n computed: {},\r\n methods: {\r\n // 行业动态列表 type: 1\r\n getQuerySimpleIndustryDynamics () {\r\n querySimpleIndustryDynamics({\r\n isPublish: 1,\r\n pageNo: this.pageObj.pageNo,\r\n pageSize: this.pageObj.pageSize,\r\n type: 1\r\n }).then(res => {\r\n if (res.data.list.length > 0) {\r\n res.data.list.forEach(ele => {\r\n ele.createDate = formatTime(ele.createTime)\r\n })\r\n \r\n if (this.pageObj.pageNo == 1&&res.data.list.length>3) {\r\n this.newSheetList = res.data.list.splice(0, 3)\r\n }\r\n this.dataSheetList = res.data.list\r\n this.pageObj.total = res.data.total\r\n }\r\n })\r\n },\r\n // 当前currentPage 改变时会触发\r\n handleCurrentChange (curPage) {\r\n this.pageObj.pageNo = curPage\r\n this.getQuerySimpleIndustryDynamics()\r\n },\r\n // 跳转详情页\r\n tapJumpDetail (id) {\r\n this.$router.push({\r\n name:'Details',\r\n query: {\r\n id,\r\n type: 'about'\r\n }\r\n })\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"./index.scss\";\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=1397690d&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=1397690d&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 \"1397690d\",\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar TypeError = global.TypeError;\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=1397690d&lang=scss&scoped=true&\""],"sourceRoot":""}