shjz-applet/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map

1 line
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?b27b","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?57ef","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?65d1","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?e884","uni-app:///pages/index/index.vue","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?0f93","webpack:///D:/上海集正/shjz-applet/pages/index/index.vue?8f1d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,4F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACqC;;;AAGzF;AAC6K;AAC7K,gBAAgB,uLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mMAEN;AACP,KAAK;AACL;AACA,aAAa,uLAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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A;AACA,WAZA;AAaA;AACA;AACA,OAnBA;AAoBA,KA3DA;AA4DA;AACA,eA7DA,yBA6DA;AACA;AACA,oBADA;;AAGA;AACA,eADA;AAEA,eAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,+BAFA;AAGA,+BAHA;AAIA,gCAJA;AAKA,8BALA;;AAOA;AACA,WATA;AAUA;AACA;AACA;AACA;AACA,OAlBA;AAmBA,KAxFA,EAxDA,E;;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAm9B,CAAgB,k8BAAG,EAAC,C;;;;;;;;;;;ACAv+B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&scoped=true&\"\nvar renderjs\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=57280228&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX/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 \"57280228\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228&scoped=true&\"","var components\ntry {\n components = {\n statusNav: function() {\n return import(\n /* webpackChunkName: \"components/status-nav/status-nav\" */ \"@/components/status-nav/status-nav.vue\"\n )\n },\n footTab: function() {\n return import(\n /* webpackChunkName: \"components/foot-tab/foot-tab\" */ \"@/components/foot-tab/foot-tab.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"pad-x120\" v-if=\"isLoading\">\n\t\t<!-- 头部 -->\n\t\t<status-nav :ifReturn=\"false\" navBarTitle=\"首页\" marginBottom=\"0\"></status-nav>\n\t\t<!-- 轮播图 -->\n\t\t<view class=\"banner-bg pad-sx10 pad-zy20 border-box\">\n\t\t\t<view class=\"banner radius10\">\n\t\t\t\t<swiper-pull newRadius=\"10rpx\" :bannerList=\"bannerList\" newHeight=\"272rpx\" newBottom=\"16rpx\" :isplay='isplay'></swiper-pull>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 推荐视频 -->\n\t\t<view class=\"index-video-bg\">\n\t\t\t<view class=\"index-title\">\n\t\t\t\t<title-pull nameTxt=\"推荐视频\" moreUrl=\"/pagesA/video/video\"></title-pull>\n\t\t\t</view>\n\t\t\t<view class=\"index-video\">\n\t\t\t\t<list-all :videoList=\"videoList\" videoPadding=\"10rpx\"></list-all>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 线路信息及报价 -->\n\t\t<view class=\"index-line-bg\">\n\t\t\t<view class=\"index-title\">\n\t\t\t\t<title-pull nameTxt=\"线路信息及报价\" moreUrl=\"/pages/line/line\"></title-pull>\n\t\t\t</view>\n\t\t\t<view class=\"index-line\">\n\t\t\t\t<list-all :lineList=\"lineList\"></list-all>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 新闻资讯 -->\n\t\t<view class=\"index-news-bg\">\n\t\t\t<view class=\"index-title\">\n\t\t\t\t<title-pull nameTxt=\"新闻资讯\" moreUrl=\"/pagesA/news/news\"></title-pull>\n\t\t\t</view>\n\t\t\t<view class=\"index-news\">\n\t\t\t\t<list-all :newsList=\"newsList\"></list-all>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 尾部 -->\n\t\t<foot-tab></foot-tab>\n\t</view>\n</template>\n<script>\n\timport swiperPull from '@/components/swiper/swiper-pull.vue';\n\timport titlePull from '@/components/title/title-pull.vue';\n\timport listAll from '@/components/list/list-all.vue';\n\texport default {\n\t\tcomponents:{\n\t\t\tswiperPull,\n\t\t\ttitlePull,\n\t\t\tlistAll\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tscreenHeight:uni.getSystemInfoSync().screenHeight,\n\t\t\t\tstatusHeight:uni.getSystemInfoSync().statusBarHeight,\n\t\t\t\tbannerList:[], //banner列表\n\t\t\t\tisplay:false, //是否自动轮播\n\t\t\t\tplayTimer:null, //间隔时间\n\t\t\t\tvideoList:[], //视频列表\n\t\t\t\tlineList:[], //线路列表\n\t\t\t\tnewsList:[], //资讯列表\n\t\t\t\tisLoading:false,\n\t\t\t}\n\t\t},\n\t\tonLoad(op) {\n\t\t\t// 获取banner\n\t\t\tthis.getBannerList();\n\t\t\t// 获取推荐视频\n\t\t\tthis.getVideoList();\n\t\t\t// 获取推荐线路\n\t\t\tthis.getLineList();\n\t\t\t// 获取推荐资讯\n\t\t\tthis.getNewsList();\n\t\t},\n\t\tonShow() {\n\t\t\tthis.playTimer = setTimeout(()=>{\n\t\t\t\tthis.isplay = true;\n\t\t\t},2000)\n\t\t},\n\t\tonHide() {\n\t\t\tclearTimeout(this.playTimer);\n\t\t\tthis.isplay =false;\n\t\t},\n\t\t// 分享到微信\n\t\tonShareAppMessage(res) {\n\t\t\tlet shareObj = {\n\t\t\t\ttitle:'上海集正',\n\t\t\t\timageUrl:'/static/public/shear-logo.jpg',\n\t\t\t}\n\t\t\t// 返回shareObj\n\t\t\treturn shareObj;\n\t\t},\n\t\t// 分享到朋友圈\n\t\tonShareTimeline(res){\n\t\t\tlet shareObj = {\n\t\t\t\ttitle:'上海集正',\n\t\t\t\timageUrl:'/static/public/shear-logo.jpg',\n\t\t\t}\n\t\t\t// 返回shareObj\n\t\t\treturn shareObj;\n\t\t},\n\t\tmethods: {\n\t\t\t// 获取banner\n\t\t\tgetBannerList(){\n\t\t\t\tthis.$requst.get('/api/common/slides',{position:'home-banner'}).then(res=>{\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tconsole.log(res,'轮播列表');\n\t\t\t\t\t\tlet bannerArr= []\n\t\t\t\t\t\tres.data.forEach(item=>{\n\t\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\t\timgSrc: item.src,\n\t\t\t\t\t\t\t\turl: item.url\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbannerArr.push(obj);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.bannerList = bannerArr;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 获取推荐视频\n\t\t\tgetVideoList(){\n\t\t\t\tthis.$requst.post('/api/common/recommend-video').then(res=>{\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tconsole.log(res,'推荐视频');\n\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\tid:res.data.id,\n\t\t\t\t\t\t\ttitle:res.data.title,\n\t\t\t\t\t\t\tcover:res.data.cover,\n\t\t\t\t\t\t\tsrc:res.data.src,\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.videoList.push(obj);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 获取推荐线路\n\t\t\tgetLineList(){\n\t\t\t\tlet params = {\n\t\t\t\t\tpage:1,\n\t\t\t\t\tsize:4\n\t\t\t\t}\n\t\t\t\tthis.$requst.post('/api/common/line-list',params).then(res=>{\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tconsole.log(res,'推荐线路');\n\t\t\t\t\t\tlet lineArr = [];\n\t\t\t\t\t\tres.data.list.forEach(item=>{\n\t\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\t\tflag:item.logistics_type_text,\n\t\t\t\t\t\t\t\ttitle:item.title,\n\t\t\t\t\t\t\t\tstart_addr:item.place_origin,\n\t\t\t\t\t\t\t\tarrive_addr:item.destination,\n\t\t\t\t\t\t\t\tstart_time:item.start_time.slice(0,10).split('-').join('.'),\n\t\t\t\t\t\t\t\tend_time:item.end_time.slice(0,10).split('-').join('.'),\n\t\t\t\t\t\t\t\tmax_price:item.highest_price,\n\t\t\t\t\t\t\t\tmin_price:item.minimum_price\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tlineArr.push(obj);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.lineList = lineArr;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 获取推荐资讯\n\t\t\tgetNewsList(){\n\t\t\t\tuni.showLoading({\n\t\t\t\t\ttitle:'加载中'\n\t\t\t\t})\n\t\t\t\tlet params = {\n\t\t\t\t\tpage:1,\n\t\t\t\t\tsize:4\n\t\t\t\t}\n\t\t\t\tthis.$requst.post('/api/common/news-list',params).then(res=>{\n\t\t\t\t\tif(res.code==0){\n\t\t\t\t\t\tconsole.log(res,'推荐资讯');\n\t\t\t\t\t\tlet newsArr = [];\n\t\t\t\t\t\tres.data.list.forEach(item=>{\n\t\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\t\tid:item.id,\n\t\t\t\t\t\t\t\tcover:item.cover,\n\t\t\t\t\t\t\t\ttitle:item.title,\n\t\t\t\t\t\t\t\tinfo:item.summary,\n\t\t\t\t\t\t\t\tclick:item.view\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnewsArr.push(obj);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.newsList = newsArr;\n\t\t\t\t\t\tuni.hideLoading();\n\t\t\t\t\t\tthis.isLoading = true;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n<style scoped>\n\t/* banner */\n\t.banner-bg{\n\t\twidth: 100%;\n\t\tbackground-image: linear-gradient(to top,#bdc0dd,#3b45b2);\n\t}\n\t.banner{\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t}\n\t/* 推荐视频 */\n\t.index-video-bg{\n\t\tbackground-image: linear-gradient(to top,#f6f7fb,#bdc0dd);\n\t}\n\t/* 标题 */\n\t.index-title{\n\t\tpadding-top: 32rpx;\n\t}\n</style>","import mod from \"-!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=57280228&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=57280228&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663056474090\n var cssReload = require(\"D:/HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}