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
12 KiB

{"version":3,"sources":["webpack:///./src/views/about/index.vue?3034","webpack:///./src/views/about/index.vue?1ebc","webpack:///src/views/about/index.vue","webpack:///./src/views/about/index.vue?d722","webpack:///./src/views/about/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","dataSheetList","length","directives","name","rawName","value","newSheetList","expression","iconUrl","on","$event","tapJumpDetail","industryDynamicId","_s","content","_l","item","key","title","createDate","_e","pageObj","total","handleCurrentChange","staticRenderFns","data","pageIndex","pageSize","created","getQuerySimpleIndustryDynamics","mounted","computed","methods","isPublish","type","res","list","forEach","ele","listNew","curPage","$router","push","query","id","component"],"mappings":"kHAAA,W,mECAA,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,qBAAqB,CAACJ,EAAIU,GAAG,WAAW,IAAI,GAAIV,EAAIW,cAAcC,OAAS,EAAGR,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACS,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOhB,EAAIiB,aAAaL,OAAS,EAAGM,WAAW,4BAA4BZ,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,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AAO,CACLC,GAAV,EACUV,KAAM,cCvH8U,I,wBCQ1VW,EAAY,eACd,EACAzD,EACAoC,GACA,EACA,KACA,WACA,MAIa,aAAAqB,E","file":"js/chunk-41e65bf9.86c529fc.js","sourcesContent":["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=9b5ead0e&lang=scss&scoped=true&\"","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].iconUrl ? _vm.newSheetList[0].iconUrl : '../../assets/zlxcimgs/second_image_xinwentu@2x.png'}})]),_c('div',{staticClass:\"left-text\",on:{\"click\":function($event){return _vm.tapJumpDetail(_vm.newSheetList[0].industryDynamicId)}}},[_c('p',{staticClass:\"tag\"},[_vm._v(\"最新\")]),_c('p',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.newSheetList[0].content))])])]),_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.industryDynamicId)}}},[_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.industryDynamicId)}}},[_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].iconUrl ? newSheetList[0].iconUrl : '../../assets/zlxcimgs/second_image_xinwentu@2x.png'\"\r\n >\r\n </div>\r\n <div class=\"left-text\" @click=\"tapJumpDetail(newSheetList[0].industryDynamicId)\">\r\n <p class=\"tag\">最新</p>\r\n <p class=\"text\">{{newSheetList[0].content}}</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.industryDynamicId)\">\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.industryDynamicId)\">\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 pageIndex: 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 pageIndex: this.pageObj.pageIndex,\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.createDate)\r\n })\r\n res.data.listNew.forEach(ele => {\r\n ele.createDate = formatTime(ele.createDate)\r\n })\r\n this.dataSheetList = res.data.list\r\n if (this.pageObj.pageIndex == 1) {\r\n this.newSheetList = res.data.listNew.filter((ele,idx) => idx < 5)\r\n }\r\n this.pageObj.total = res.data.count\r\n }\r\n })\r\n },\r\n // 当前currentPage 改变时会触发\r\n handleCurrentChange (curPage) {\r\n this.pageObj.pageIndex = 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=9b5ead0e&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=9b5ead0e&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 \"9b5ead0e\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}