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
14 KiB
1 lines
14 KiB
{"version":3,"sources":["webpack:///D:/Uni-App/HBuilderProjects/Test/components/MainPage/MainPage.vue?aaad","webpack:///D:/Uni-App/HBuilderProjects/Test/components/MainPage/MainPage.vue?6897","uni-app:///components/MainPage/MainPage.vue","webpack:///D:/Uni-App/HBuilderProjects/Test/components/MainPage/MainPage.vue?0bf4","webpack:///D:/Uni-App/HBuilderProjects/Test/components/MainPage/MainPage.vue?a029"],"names":["renderjs","component","options","__file","components","uText","uGap","uSwiper","HeroList","BusinessDynamics","CommonQuestion","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","_isMounted","e0","project_indicator_current","current","staticRenderFns","_withStripped"],"mappings":"6HAAA,yHACIA,EADJ,OASIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGFC,EAAUC,QAAQC,OAAS,mCACZ,aAAAF,E,0CCvBf,8GAAooB,eAAG,G,8eCiFvoB,CACA,gBACA,oBAEA,YACA,WACA,mBACA,kBAEA,KATA,WAUA,OACA,8CACA,qEAEA,8BAGA,SACA,gBADA,SACA,GACA,eACA,iCACA,eACA,SAOA,KACA,cACA,iDAGA,cACA,wCAXA,mBACA,cACA,mC,iGC3GA,sBAAmtC,EAAG,G,iCCAttC,IAAIG,E,sGACJ,IACEA,EAAa,CACXC,MAAO,WACL,OAAO,iHAITC,KAAM,WACJ,OAAO,+GAITC,QAAS,WACP,OAAO,qHAITC,SAAU,WACR,OAAO,4DAITC,iBAAkB,WAChB,OAAO,4EAITC,eAAgB,WACd,OAAO,yEAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,GACdL,EAAIM,aACPN,EAAIO,GAAK,SAASb,GAChB,OAAQM,EAAIQ,0BAA4Bd,EAAEe,WAK5CC,EAAkB,GACtBX,EAAOY,eAAgB","file":"components/MainPage/MainPage.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./MainPage.vue?vue&type=template&id=e95d59f8&scoped=true&\"\nvar renderjs\nimport script from \"./MainPage.vue?vue&type=script&lang=js&\"\nexport * from \"./MainPage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MainPage.vue?vue&type=style&index=0&id=e95d59f8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"e95d59f8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/MainPage/MainPage.vue\"\nexport default component.exports","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/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./MainPage.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/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./MainPage.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"main_background\">\r\n\t\t<view class=\"top\">\r\n\t\t\t<image :src=\"top_backgroun_image_src\" mode=\"widthFix\" class=\"top_image\"></image>\r\n\t\t\t<view class=\"top_action_panel\">\r\n\t\t\t\t<view class=\"top_action_item_panal\" style=\"left: 24rpx;\" @click=\"onTouchTopPanel(1)\">\r\n\t\t\t\t\t<image src=\"../../static/images/mainview/hezuo.png\" style=\"width: 79rpx;height: 67rpx;position: absolute;right: 131rpx;top: 37rpx;\"/>\r\n\t\t\t\t\t<!--title-->\r\n\t\t\t\t\t<u-text text=\"成为大富翁\"\r\n\t\t\t\t\t\t:bold=\"true\"\r\n\t\t\t\t\t\tsize=\"28rpx\"\r\n\t\t\t\t\t\tcolor=\"#333333\"\r\n\t\t\t\t\t\tlineHeight=\"40rpx\"\r\n\t\t\t\t\t\tmargin=\"123rpx 0 23rpx 0\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"top_action_item_panal\" style=\"right: 24rpx;\" @click=\"onTouchTopPanel(2)\">\r\n\t\t\t\t\t<image src=\"../../static/images/mainview/ditu.png\" style=\"width: 79rpx;height: 67rpx;position: absolute;right: 131rpx;top: 37rpx;\"/>\r\n\t\t\t\t\t<!--title-->\r\n\t\t\t\t\t<u-text text=\"大富翁区域\"\r\n\t\t\t\t\t\t:bold=\"true\"\r\n\t\t\t\t\t\tsize=\"28rpx\"\r\n\t\t\t\t\t\tcolor=\"#333333\"\r\n\t\t\t\t\t\tlineHeight=\"40rpx\"\r\n\t\t\t\t\t\tmargin=\"123rpx 0 23rpx 0\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!--间隙-->\r\n\t\t<u-gap height=\"58rpx\"/>\r\n\t\t<!--品牌项目-->\r\n\t\t<view class=\"project\">\r\n\t\t\t<!--title-->\r\n\t\t\t<u-text text=\"品牌项目\" :bold=\"true\"\r\n\t\t\t\tcolor=\"#333333\"\r\n\t\t\t\tsize=\"36rpx\"\r\n\t\t\t/>\r\n\t\t\t<u-gap height=\"21rpx\"/>\r\n\t\t\t<!--品牌项目搞定了-->\r\n\t\t\t<view v-if=\"mainPageData.brandpro.length == 0\" style=\"width: 750rpx;height: 180rpx;background-color: #FFFFFF;position: relative;border-radius: 20rpx;\">\r\n\t\t\t\t\t<!--如果没有从服务器获取到数据的时候-->\r\n\t\t\t</view>\r\n\t\t\t<!--轮播图-->\r\n\t\t\t<view style=\"margin-bottom: 20rpx;\" v-else>\r\n\t\t\t\t<u-swiper :list=\"mainPageData.brandpro\"\r\n\t\t\t\t\tkeyName=\"picurl\"\r\n\t\t\t\t\t:showTitle=\"false\"\r\n\t\t\t\t\t:autoplay=\"true\"\r\n\t\t\t\t\tcircular\r\n\t\t\t\t\timgMode=\"widthFix\"\r\n\t\t\t\t\t@change=\"e => project_indicator_current = e.current\"\r\n\t\t\t\t>\r\n\t\t\t\t</u-swiper>\r\n\t\t\t\t<u-gap height=\"15rpx\"/>\r\n\t\t\t\t<view\r\n\t\t\t\t\tclass=\"indicator\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tclass=\"indicator__dot\"\r\n\t\t\t\t\t\tv-for=\"(item,index) in mainPageData.brandpro\" :key=\"index\"\r\n\t\t\t\t\t\t:class=\"[index === project_indicator_current && 'indicator__dot__active']\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-gap height=\"40rpx\"/>\r\n\t\t<!-- 英雄榜-->\r\n\t\t<HeroList/>\r\n\t\t<u-gap height=\"45rpx\"/>\r\n\t\t<BusinessDynamics/>\r\n\t\t<u-gap height=\"30rpx\"/>\r\n\t\t<CommonQuestion />\r\n\t\t<u-gap height=\"75rpx\"/>\r\n\t</view>\n</template>\n\n<script>\r\n\timport HeroList from \"@/components/HeroList/HeroList.vue\"\r\n\timport CommonQuestion from \"@/components/CommonQuestion/CommonQuestion.vue\"\r\n\timport BusinessDynamics from \"@/components/BusinessDynamics/BusinessDynamics.vue\"\n\texport default {\n\t\tname:\"MainPage\",\r\n\t\tmixins: [uni.$u.mixin],\r\n\t\t///注册组件\r\n\t\tcomponents:{\r\n\t\t\tHeroList,\r\n\t\t\tBusinessDynamics,\r\n\t\t\tCommonQuestion\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tmainPageData : getApp().globalData.mainPageData,\n\t\t\t\ttop_backgroun_image_src:'../../static/images/mainview/banner_bg.png',\r\n\t\t\t\t///品牌项目当前轮播的indicator的索引\r\n\t\t\t\tproject_indicator_current : 0,\n\t\t\t};\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tonTouchTopPanel(id){\r\n\t\t\t\tconsole.log(id);\r\n\t\t\t\tvar Player\t= getApp().globalData.Player;\r\n\t\t\t\tvar token\t= Player.user_token;\r\n\t\t\t\tif(!token || token == ''){\r\n\t\t\t\t\t//需要先登录\r\n\t\t\t\t\tuni.$u.toast('请先登录');\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:\"/pages/WxLogin/WxLogin\",\r\n\t\t\t\t\t})\r\n\t\t\t\t}else{\r\n\t\t\t\t\tif(id==1){\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:\"/pages/CooperationApply/CooperationApply\",\r\n\t\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/PartnerArea/PartnerArea'\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}\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.main_background{\r\n\t\topacity: 1;\r\n\t\tborder-radius: 0px;\r\n\t\toverflow: scroll;\r\n\t\ttouch-action: auto;\r\n\t\tflex-direction: column;\r\n\t\tdisplay: flex;\r\n\t\tmargin: 0 auto;\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\tbottom: 0;\r\n\t\tright: 0;\r\n\t\tposition: relative;\r\n\t}\r\n\t.top{\r\n\t\theight: 589rpx;\r\n\t\tposition: relative;\r\n\t\t&_image{\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 589rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0rpx;\r\n\t\t}\r\n\t\t&_action_panel{\r\n\t\t\t@include flex(row);\r\n\t\t\twidth: 750rpx;\r\n\t\t\theight: 186rpx;\r\n\t\t\t//background-color: #0081FF;\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: row;\r\n\t\t}\r\n\t\t&_action_item_panal{\r\n\t\t\twidth: 341rpx;\r\n\t\t\theight: 186rpx;\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t\tposition: absolute;\r\n\t\t\tbox-shadow: 0rpx 3rpx 5rpx rgba(0, 0, 0, 0.1);\r\n\t\t\tborder-radius: 20rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\t//justify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\t///品牌项目\r\n\t.project{\r\n\t\theight: 360rpx;\r\n\t\tposition: relative;\r\n\t\tmargin-left: 24rpx;\r\n\t\tmargin-right: 24rpx;\r\n\t\t//background-color: #2979FF;\r\n\t}\r\n\t///轮播的自定义indecator\r\n\t.indicator{\r\n\t\t@include flex(row);\r\n\t\tjustify-content: center;\r\n\t\t&__dot {\r\n\t\t\theight: 12rpx;\r\n\t\t\twidth: 12rpx;\r\n\t\t\tborder-radius: 100rpx;\r\n\t\t\tbackground-color: #E2E2E2;\r\n\t\t\tmargin: 0 16rpx;\r\n\t\t\ttransition: background-color 0.3s;\r\n\t\t\t\r\n\t\t\t&__active{\r\n\t\t\t\tbackground-color: #D49B4B;\r\n\t\t\t\twidth: 17rpx;\r\n\t\t\t\theight: 10rpx;\r\n\t\t\t\tborder-radius: 50rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\n</style>\n","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./MainPage.vue?vue&type=style&index=0&id=e95d59f8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./MainPage.vue?vue&type=style&index=0&id=e95d59f8&lang=scss&scoped=true&\"","var components\ntry {\n components = {\n uText: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-text/u-text\" */ \"@/uni_modules/uview-ui/components/u-text/u-text.vue\"\n )\n },\n uGap: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-gap/u-gap\" */ \"@/uni_modules/uview-ui/components/u-gap/u-gap.vue\"\n )\n },\n uSwiper: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-swiper/u-swiper\" */ \"@/uni_modules/uview-ui/components/u-swiper/u-swiper.vue\"\n )\n },\n HeroList: function() {\n return import(\n /* webpackChunkName: \"components/HeroList/HeroList\" */ \"@/components/HeroList/HeroList.vue\"\n )\n },\n BusinessDynamics: function() {\n return import(\n /* webpackChunkName: \"components/BusinessDynamics/BusinessDynamics\" */ \"@/components/BusinessDynamics/BusinessDynamics.vue\"\n )\n },\n CommonQuestion: function() {\n return import(\n /* webpackChunkName: \"components/CommonQuestion/CommonQuestion\" */ \"@/components/CommonQuestion/CommonQuestion.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 if (!_vm._isMounted) {\n _vm.e0 = function(e) {\n return (_vm.project_indicator_current = e.current)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"],"sourceRoot":""}
|