discovery.js.map 16 KB

1
  1. {"version":3,"sources":["webpack:///D:/Code2024/sulibao-mini/pages/discovery/discovery.vue?70a0","webpack:///D:/Code2024/sulibao-mini/pages/discovery/discovery.vue?2a24","webpack:///D:/Code2024/sulibao-mini/pages/discovery/discovery.vue?888c","webpack:///D:/Code2024/sulibao-mini/pages/discovery/discovery.vue?f95b","uni-app:///pages/discovery/discovery.vue","webpack:///D:/Code2024/sulibao-mini/pages/discovery/discovery.vue?38c0"],"names":["renderjs","component","options","__file","components","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped","data","indicatorDots","autoplay","companyList","prodList","hideComps","hideProds","fontSize","onReady","methods","closeComps","closeProds","showProds","showComps","fetchData","loadData","request","newList","that","loadData2","showImgs","urls","uni","current","showAdd","url","showAdd2"],"mappings":"0HAAA,oIACIA,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,KACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,gCACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,iCCRvB,yHAA8zB,eAAG,G,6HC2Ej0B,e,EACA,CACAC,gBACA,OACAC,iBACAC,YACAC,eACAC,YACAC,aACAC,aACAC,cAGAC,mBAAA,WACA,qBACA,kEACA,2BACA,aACA,kBAGAC,SAEAC,sBACA,mBAGAC,sBACA,mBAGAC,qBACA,mBAGAC,qBACA,mBAEAC,qBACA,gBACA,kBAEAC,oBACA,WACAC,gDAEA,kBACA,iBAGA,IAFA,iBACA,KACA,mBACA,oBACAC,aAGAC,qBAIAC,qBACA,WACAH,qDAEA,kBACA,iBAGA,IAFA,iBACA,KACA,mBACA,oBACAC,aAGAC,kBAIAE,uBAEA,IADA,SACA,mBACAC,oBAIAC,gBACAD,OACAE,aAGAC,mBACA,2BACAF,cACAG,6BAGAH,mDACAA,cACAG,6BAKAC,oBACA,2BACAJ,cACAG,+BAGAH,qDACAA,cACAG,+BAMA,c,6EC9LA,yHAAiqC,eAAG,G","file":"pages/discovery/discovery.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./discovery.vue?vue&type=template&id=7c8314a8&\"\nvar renderjs\nimport script from \"./discovery.vue?vue&type=script&lang=js&\"\nexport * from \"./discovery.vue?vue&type=script&lang=js&\"\nimport style0 from \"./discovery.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../self software/HBuilderX.3.99.2023122611/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 = \"pages/discovery/discovery.vue\"\nexport default component.exports","export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./discovery.vue?vue&type=template&id=7c8314a8&\"","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 \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./discovery.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./discovery.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"discovery tn-safe-area-inset-bottom\" style=\"max-height: 100vh\">\r\n\t\t\r\n\t\n\t<view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\n\t\t<view style=\"width: 100%;padding-bottom: 0;\">\r\n\t\t\t<view style=\"display: flex;width: 100%;background: linear-gradient(0deg, #fff, #f8f8f\">\r\n\t\t\t\t<view style=\"margin:16px\">\r\n\t\t\t\t\t<image style=\"width: 56px; height: 50px; margin-right: 12px;\" :mode=\"fit\"\r\n\t\t\t\t\t\tsrc=\"../../static/logo.png\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"margin:16px 0;margin-left: -8px;\">\r\n\t\t\t\t\t<view style=\"font-weight: bold;font-size: 22px;\" :style=\"{fontSize:(fontSize+4)+'px'}\">速立保</view>\r\n\t\t\t\t\t<text style=\"margin-top:12px;color:#888;font-size:15px\" :style=\"{fontSize:(fontSize-3)+'px'}\">生物制药产业一站式产品资源供需平台</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t\r\n\t\t</view>\r\n\t\t\r\n\t\t<view style=\"padding: 0px 0 4px 16px;font-weight: bold;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t 优质入驻企业 ▼ \r\n\t\t</view>\r\n\t\t\r\n\t\t<swiper class=\"swiper\" circular :indicator-dots=\"indicatorDots\" :autoplay=\"autoplay\" v-if=\"!hideComps\">\r\n\t\t\t<swiper-item v-for=\"(item,index) of companyList\" :key=\"item.id\" style=\"position:relative\">\r\n\t\t\t\t<text class=\"tn-icon-close\" @click=\"closeComps\" style=\"position: absolute;right: 0px;color: red;background: #00000066;border-top-right-radius: 0;padding: 0px 2px 2px 6px;font-size: 13px;\n border-bottom-left-radius: 30px;\"></text>\r\n\t\t\t\t<!-- <view style=\"position: absolute;bottom: 28px;right: 16px;color: #ffffff75;\" class=\"swiper-item uni-bg-red\">{{item.company}}</view> -->\r\n\t\t\t\t<image :src=\"item.picUrl?item.picUrl:'../../static/bg.png'\" @click=\"showImgs(index,companyList)\" mode=\"aspectFill\" style=\"width: 100%;height: 100%;\"></image>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\t\t<view v-if=\"hideComps\" style=\"height: 200px;display: flex;align-items: center;justify-content: center;color: #2196f36e;\">\r\n\t\t\t<text @click=\"showComps()\">〈恢复展示〉</text>\r\n\t\t</view>\r\n\t\t<view style=\"padding: 16px 0 4px 16px;font-weight: bold;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t 优质供应 ▼ \r\n\t\t</view>\r\n\t\t<swiper class=\"swiper\" circular :indicator-dots=\"indicatorDots\" :autoplay=\"autoplay\" v-if=\"!hideProds\">\r\n\t\t\t<swiper-item v-for=\"(item,index) of prodList\" :key=\"item.id\">\r\n\t\t\t\t<text class=\"tn-icon-close\" @click=\"closeProds\" style=\"position: absolute;right: 0px;color: red;background: #00000066;border-top-right-radius: 0;padding: 0px 2px 2px 6px;font-size: 13px;border-bottom-left-radius: 30px;\"></text>\r\n\t\t\t\t<!-- <view style=\"position: absolute;bottom: 28px;right: 16px;color: #ffffff75;\" class=\"swiper-item uni-bg-red\">{{item.company}}</view> -->\r\n\t\t\t\t<image :src=\"item.picUrl?item.picUrl:'../../static/bg.png'\" @click=\"showImgs(index,prodList)\" style=\"width: 100%;height: 100%;\" mode=\"aspectFill\"></image>\r\n\t\t\t</swiper-item>\r\n\t\t\t \r\n\t\t</swiper>\r\n\t\t<view v-if=\"hideProds\" style=\"height: 200px;display: flex;align-items: center;justify-content: center;color: #2196f36e;\">\r\n\t\t\t<text @click=\"showProds()\">〈恢复展示〉</text>\r\n\t\t</view>\r\n\t\t<!-- <image style=\"width: 180px;height: 150px\" src=\"../../static/logo.png\"></image>\r\n\t\t\r\n\t\t\r\n\t\t<view style=\"margin-top:24px\"><text style=\"font-size:30px;\">生物制药产业</text></view>\r\n\t\t<view><text style=\"font-size:30px\">国际产品展示中心</text></view>\r\n\t\t<view style=\"margin-top:24px\"><text style=\"font-size:20px;\">生物制药产业一站式产品资源供需平台</text></view> -->\r\n\t\t \r\n\t\t<view style=\"display: flex;margin-top:32px;margin: 24px;\">\r\n\t\t\t<view style=\"flex: 1;padding: 0 0 0 16px;\" class=\"bg01\" @click=\"showAdd\">\r\n\t\t\t\t<text style=\"font-size: 32px;margin-right: 10px;vertical-align: sub;\" class=\"tn-icon-email-fill\" ></text>\r\n\t\t\t\t<text style=\"line-height: 72px;font-size: 18px;\" :style=\"{fontSize:(fontSize+1)+'px'}\">我要什么</text>\r\n\t\t\t\t\r\n\t\t\t</view>\r\n\t\t\t<view style=\"flex: 1;padding: 0 0 0 16px;\" class=\"bg02\" @click=\"showAdd2\">\r\n\t\t\t\t<text style=\"font-size: 32px;margin-right: 10px;vertical-align: sub;\" class=\"tn-icon-paperbag-fill\" ></text>\r\n\t\t\t\t<text style=\"line-height: 72px;font-size: 18px;\" :style=\"{fontSize:(fontSize+1)+'px'}\">我有什么</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class='tn-tabbar-height'></view>\r\n\t\t\n\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport request from '../../utils/request'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t indicatorDots: true,\r\n\t\t\t\t autoplay: false,\r\n\t\t\t\t companyList:[],\r\n\t\t\t\t prodList:[],\r\n\t\t\t\t hideComps: false,\r\n\t\t\t\t hideProds: false,\r\n\t\t\t\t fontSize:17\n\t\t\t}\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tconst appBaseInfo = wx.getAppBaseInfo();\r\n\t\t\tthis.fontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;\r\n\t\t\tthis.$nextTick(() => {\r\n\t\t\t\tthis.loadData()\r\n\t\t\t\tthis.loadData2()\r\n\t\t\t})\r\n\t\t},\n\t\tmethods: {\r\n\t\t\t//关闭banner1\r\n\t\t\tcloseComps(){\r\n\t\t\t\tthis.hideComps = true;\r\n\t\t\t},\r\n\t\t\t//关闭banner2\r\n\t\t\tcloseProds(){\r\n\t\t\t\tthis.hideProds = true;\r\n\t\t\t},\r\n\t\t\t//显示banner2\r\n\t\t\tshowProds(){\r\n\t\t\t\tthis.hideProds = false;\r\n\t\t\t},\r\n\t\t\t//显示banner1\r\n\t\t\tshowComps(){\r\n\t\t\t\tthis.hideComps = false;\r\n\t\t\t},\r\n\t\t\tfetchData(){\r\n\t\t\t\tthis.loadData()\r\n\t\t\t\tthis.loadData2()\r\n\t\t\t},\r\n\t\t\tloadData() {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\trequest.post('/slbTopad/premiumCompanies', {\r\n\t\t\t\t\t \r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res&&res.success) {\r\n\t\t\t\t\t\tlet dataList = res.list||[];\r\n\t\t\t\t\t\tlet newList = [];\r\n\t\t\t\t\t\tfor(let i=0;i<dataList.length;i++){\r\n\t\t\t\t\t\t\t if(dataList[i].showFlag=='是'){\r\n\t\t\t\t\t\t\t\t newList.push(dataList[i]);\r\n\t\t\t\t\t\t\t }\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.companyList = newList; \r\n\t\t\t\t\t} \r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tloadData2() {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\trequest.post('/slbTopad/premiumShareCompanies', {\r\n\t\t\t\t\t \r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res&&res.success) {\r\n\t\t\t\t\t\t let dataList = res.list||[];\r\n\t\t\t\t\t\t let newList = [];\r\n\t\t\t\t\t\t for(let i=0;i<dataList.length;i++){\r\n\t\t\t\t\t\t\t if(dataList[i].showFlag=='是'){\r\n\t\t\t\t\t\t\t\t newList.push(dataList[i]);\r\n\t\t\t\t\t\t\t }\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t that.prodList = newList;\r\n\t\t\t\t\t} \r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tshowImgs(index, list){\r\n\t\t\t\tlet urls = [];\r\n\t\t\t\tfor(let i=0;i<list.length;i++){\r\n\t\t\t\t\turls.push(list[i].picUrl);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// 预览图片\r\n\t\t\t\tuni.previewImage({\r\n\t\t\t\t\turls: urls,\r\n\t\t\t\t\tcurrent: index,\r\n\t\t\t\t});\r\n\t\t\t},\n\t\t\tshowAdd(){\r\n\t\t\t\tif(uni.getStorageSync('userNo')){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/circlePages/circle'\r\n\t\t\t\t\t})\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.setStorageSync('nextPage','/circlePages/circle');\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/login/login'\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\tshowAdd2(){\r\n\t\t\t\tif(uni.getStorageSync('userNo')){\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/circlePages/addShare'\r\n\t\t\t\t\t})\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.setStorageSync('nextPage','/circlePages/addShare');\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/login/login'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style>\n.swiper-item {\r\n\ttext-align: center;\r\n}\r\n.swiper{\r\n\theight: 200px;\r\n}\r\n.bg01{\r\n\tcolor: #fff;\r\n\tbackground-image: url(./../../static/bg01.png);\r\n\tbackground-size: cover;\r\n\theight: 72px;\r\n\tborder-radius: 20px;\r\n\tmargin-right: 16px;\r\n}\r\n.bg02{\r\n\tcolor: #fff;\r\n\tbackground-image: url(./../../static/bg02.png);\r\n\tbackground-size: cover;\r\n\theight: 72px;\r\n\tborder-radius: 20px;\r\n}\r\n\r\n/* 底部安全边距 start*/\r\n\t.tn-tabbar-height {\r\n\t\tmin-height: 120rpx;\r\n\t\theight: calc(140rpx + env(safe-area-inset-bottom) / 2);\r\n\t\theight: calc(140rpx + constant(safe-area-inset-bottom));\r\n\t}\r\n\n</style>\n","import mod from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./discovery.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./discovery.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}