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
33 KiB
1 lines
33 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?d09a","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?0ce4","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?2508","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?c18e","uni-app:///pages/home/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?eabc","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/home/index.vue?5164","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/utils/subutil.wxs?c950","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/utils/subutil.wxs?bfd5"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkT;AAClT;AACyD;AACL;AACa;;;AAGjE;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gRAAM;AACR,EAAE,yRAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oRAAU;AACZ;AACA;;AAEA;AACuL;AACvL,WAAW,qMAAM,iBAAiB,6MAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/home/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=71e217db&filter-modules=eyJzcGwiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6NzI5MCwiYXR0cnMiOnsibW9kdWxlIjoic3BsIiwibGFuZyI6Ind4cyIsInNyYyI6Ii4uLy4uL3V0aWxzL3N1YnV0aWwud3hzIn0sImVuZCI6NzI5MH19&\"\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&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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\n/* custom blocks */\nimport block0 from \"../../utils/subutil.wxs?vue&type=custom&index=0&blockType=script&issuerPath=F%3A%5Czhaoshang%5CzhaoshangMiniApp_uni%5Cpages%5Chome%5Cindex.vue&module=spl&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"pages/home/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=71e217db&filter-modules=eyJzcGwiOnsidHlwZSI6InNjcmlwdCIsImNvbnRlbnQiOiIiLCJzdGFydCI6NzI5MCwiYXR0cnMiOnsibW9kdWxlIjoic3BsIiwibGFuZyI6Ind4cyIsInNyYyI6Ii4uLy4uL3V0aWxzL3N1YnV0aWwud3hzIn0sImVuZCI6NzI5MH19&\"","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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<view class=\"home-page\">\r\n <view class=\"top-bg-box\" @tap=\"toGuidePage\">\r\n <image src=\"https://download.cyjyyjy.com/index-top-bg2.png\"></image>\r\n </view>\r\n\r\n <!-- <view class=\"page-top-box\">\r\n <image src=\"../../images/home/top-bg.png\" class=\"top-bg\"></image>\r\n <view class=\"page-title\" style=\"top:{{menuTop}}px;height:{{menuHeight}}px;line-height: {{menuHeight}}px;\">禅意云生态</view>\r\n <view class=\"top-box-content\" style=\"top: {{CustomBar + menuHeight}}rpx;\">\r\n <view class=\"search-box acea-row row-between-wrapper\">\r\n <view class=\"localtion-box acea-row row-middle\">\r\n <image src=\"../../images/home/localtion.png\"></image>\r\n <text>{{city}}</text>\r\n </view>\r\n <view class=\"search acea-row row-middle\">\r\n <image src=\"../../images/home/search.png\"></image>\r\n <text>大家都在搜 APP开发</text>\r\n </view>\r\n <image class=\"message-icon\" src=\"../../images/home/message.png\"></image>\r\n </view>\r\n <view class=\"home-menu-box\">\r\n <view class=\"menu-list acea-row row-between\">\r\n <view class=\"menu-item acea-row row-column row-middle\" wx:for=\"{{menuList}}\" wx:key=\"index\">\r\n <image src=\"{{item.icon}}\"></image>\r\n <text>{{item.text}}</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view> -->\r\n <!-- 招商会 -->\r\n <view class=\"investment-box\">\r\n <view class=\"investment-title-box acea-row row-between-wrapper\">\r\n <view class=\"acea-row\">\r\n <text class=\"fz32\">热门活动</text>\r\n <view class=\"hot\">热</view>\r\n </view>\r\n <view class=\"more acea-row row-middle\">\r\n <text>全部</text>\r\n <image src=\"/static/images/home/arrow-r.png\"></image>\r\n </view>\r\n </view>\r\n <view class=\"investement-list\">\r\n <scroll-view class=\"scroll-view_H\" scroll-x=\"true\">\r\n <view v-for=\"(item, index) in recommendActivity\" v-if=\"index < 3\" :key=\"index\" class=\"investment-item\" @tap=\"toActiveDetail\" :data-id=\"item.id\">\r\n <image class=\"item-bg\" :src=\"item.images\" mode=\"aspectFill\"></image>\r\n <view class=\"tips-box acea-row row-right\">\r\n <view v-for=\"(flag, index2) in spl.spl(item.flag)\" :key=\"index2\" :class=\"'tips-item ' + (index2%2 == 0 ? 'bg2' : '' )\" v-if=\"index2 < 3\">{{flag}}</view>\r\n </view>\r\n <view class=\"item-info-box acea-row row-column row-center\">\r\n <view class=\"address-box line1\">\r\n <image src=\"/static/images/home/localtion.png\"></image>\r\n <text>{{item.address}}</text>\r\n </view>\r\n <view class=\"time-box\">\r\n <image src=\"/static/images/home/time.png\"></image>\r\n <text>{{item.activityStartTime}}</text>\r\n </view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n </view>\r\n <!-- 尊享福利 -->\r\n <!-- <view class=\"welfare-box\">\r\n <view class=\"welfare-title\">尊享福利</view>\r\n <view class=\"welfare-list-box\">\r\n <scroll-view class=\"scroll-view_H\" scroll-x=\"true\">\r\n <view class=\"welfare-item\" wx:for=\"{{3}}\" wx:key=\"index\">\r\n <view class=\"item-box acea-row\">\r\n <image src=\"../../images/home/welfare1.png\"></image>\r\n <view class=\"welfare-info-box acea-row row-column row-between\">\r\n <view>\r\n <view class=\"w-name\">保时捷Porsche-Panamera 4S E-Hybrid 行政加长版</view>\r\n <view class=\"w-address\">武汉光谷保时捷中心</view>\r\n </view>\r\n <view>\r\n <view class=\"w-price\">140万</view>\r\n <view class=\"w-oldPrice\">市场价约为¥157万</view>\r\n </view>\r\n </view>\r\n <view class=\"buy-btn\">立即抢购</view>\r\n </view>\r\n <view class=\"item-box acea-row\">\r\n <image src=\"../../images/home/welfare1.png\"></image>\r\n <view class=\"welfare-info-box acea-row row-column row-between\">\r\n <view>\r\n <view class=\"w-name\">保时捷Porsche-Panamera 4S E-Hybrid 行政加长版</view>\r\n <view class=\"w-address\">武汉光谷保时捷中心</view>\r\n </view>\r\n <view>\r\n <view class=\"w-price\">140万</view>\r\n <view class=\"w-oldPrice\">市场价约为¥157万</view>\r\n </view>\r\n </view>\r\n <view class=\"buy-btn\">立即抢购</view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n </view> -->\r\n <!-- 供需模块 -->\r\n <view class=\"demandhall-box\">\r\n <view class=\"tabs-box acea-row row-around\">\r\n <view :class=\"'tab-item ' + (active == 1 ? 'tab-item-a' : '')\" data-i=\"1\" @tap=\"tabClick\">最新供应</view>\r\n <view :class=\"'tab-item ' + (active == 2 ? 'tab-item-a' : '')\" data-i=\"2\" @tap=\"tabClick\">需求广场</view>\r\n <!-- <view class=\"tab-item {{active == 3 ? 'tab-item-a' : ''}}\" data-i=\"3\" bindtap=\"tabClick\">金牌投资人</view> -->\r\n </view>\r\n <view class=\"list-box\" v-if=\"active == 1\">\r\n <view v-for=\"(item, index) in resourcesList\" :key=\"index\" class=\"item\">\r\n <view class=\"item-top\">\r\n <view class=\"project-name line1\">{{item.title}}</view>\r\n <view class=\"tag\">{{item.cname}}</view>\r\n <view class=\"desc line2\">{{item.detailedDescription}}</view>\r\n <view class=\"buy-btn\" @tap=\"toResourcesDetail\" :data-id=\"item.id\">了解详情</view>\r\n </view>\r\n <view class=\"company-box acea-row\">\r\n <image :src=\"item.enterpriseDto.enterpriseLogo\" class=\"logo\"></image>\r\n <view class=\"company-info acea-row row-column row-between\">\r\n <view class=\"company-name fz28\">{{item.enterpriseDto.enterpriseName}}</view>\r\n <view class=\"company-name fz24\">{{item.enterpriseDto.enterpriseTitle}}</view>\r\n <view class=\"tags-box acea-row\">\r\n <!-- <view class=\"tag-item fz20\">网站建设</view> -->\r\n <view class=\"tag-item fz20 bgG\">{{item.cname}}</view>\r\n <!-- <view class=\"tag-item fz20 bgO\">网站建设</view> -->\r\n </view>\r\n </view>\r\n <view class=\"into-btn acea-row row-center-wrapper\" @tap=\"toCompanyDetail\" :data-id=\"item.enterpriseId\">\r\n <image src=\"/static/images/home/company-icon.png\"></image>\r\n <text>进入企业</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"list-box\" v-if=\"active == 2\">\r\n <view v-for=\"(item, index) in demandList\" :key=\"index\" class=\"item\" @tap=\"toNeedDetail\" :data-id=\"item.id\">\r\n <view class=\"item-top\">\r\n <view class=\"project-name\">{{item.title}}</view>\r\n <view class=\"desc line2\">{{item.detailedDescription}}</view>\r\n <view class=\"tags-box tags-box2 acea-row\">\r\n <view class=\"tag-item fz20\">{{item.enterpriseDto.cname}}</view>\r\n <!-- <view class=\"tag-item fz20 bgG\">网站建设</view>\r\n <view class=\"tag-item fz20 bgO\">网站建设</view> -->\r\n </view>\r\n <view class=\"price\">{{item.capital}}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"to-demandhall acea-row row-center row-middle\" @tap=\"toTab2\">\r\n <text>更多内容去供需大厅</text>\r\n <image src=\"/static/images/home/arrow-r.png\"></image>\r\n </view>\r\n <tabbar :current=\"currentTabIndex\" @click=\"tabBarClick\"></tabbar>\r\n</view>\r\n</template>\r\n\r\n<script module=\"spl\" lang=\"wxs\" src=\"../../utils/subutil.wxs\"></script>\r\n\r\n<script>\r\n// index.js\n// 获取应用实例\nconst app = getApp();\r\nimport util from '../../utils/util';\r\nvar QQMapWX = require(\"../../utils/qqmap-wx-jssdk.min.js\");\r\nvar qqmapsdk;\r\nimport tabbar from \"../../tabbarComponent/tabbar\";\r\n\r\nexport default {\n data() {\n return {\n menuList: [\r\n\t\t\t\t{\n\t\t\t\t\ticon: \"/static/images/home/menu1.png\",\n\t\t\t\t\ttext: 'IT制作'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu2.png\",\n\t\t\t\t\ttext: 'logo设计'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu3.png\",\n\t\t\t\t\ttext: '文案策划'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu4.png\",\n\t\t\t\t\ttext: 'app开发'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu5.png\",\n\t\t\t\t\ttext: '装修服务'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu6.png\",\n\t\t\t\t\ttext: '软件定制'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu7.png\",\n\t\t\t\t\ttext: '法律服务'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu8.png\",\n\t\t\t\t\ttext: '小程序'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu9.png\",\n\t\t\t\t\ttext: '网络营销'\n\t\t\t\t}, {\n\t\t\t\t\ticon: \"/static/images/home/menu10.png\",\n\t\t\t\t\ttext: '全部分类'\n\t\t\t\t},\r\n\t\t\t],\n CustomBar: app.globalData.CustomBar,\n menuHeight: app.globalData.menuHeight,\n navHeight: app.globalData.navHeight,\n menuTop: app.globalData.menuTop,\n active: 1,\n recommendActivity: [],\n demandList: [],\n resourcesList: [],\n province: '',\n city: '',\n cagetoryList: \"\",\n latitude: \"\",\n longitude: \"\",\r\n\t\t\tcurrentTabIndex: 0\n };\n },\n\n components: {\n tabbar\n },\n props: {},\n\n onLoad() {\r\n\t\tuni.hideTabBar();\n // app.globalData.editTabbar();\r\n\t\tthis.pagePath = '/pages/home/index'\n this.getCagetoryList();\n qqmapsdk = new QQMapWX({\n key: 'UVEBZ-M3VRS-CO4OH-6F5QZ-X7FB7-SVFOX' //这里自己的key秘钥进行填充\n\n });\n this.getLocation();\n },\n onPullDownRefresh: function () {\n //调用刷新时将执行的方法\n this.getCagetoryList();\n },\n methods: {\r\n\t\ttabBarClick(index){\r\n\t\t\t// console.log('返回tabBar索引:' + index)\r\n\t\t\tthis.currentTabIndex = index\r\n\t\t},\n toGuidePage() {\n uni.navigateTo({\n url: '/pages/guide/index'\n });\n },\n\n toActiveDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/activity/detail/index?id=' + id\n });\n },\n\n tabClick(e) {\n this.setData({\n active: e.currentTarget.dataset.i\n });\n },\n\n toTab2() {\n uni.switchTab({\n url: '/pages/demandHall/index'\n });\n },\n\n getCagetoryList() {\n uni.showNavigationBarLoading();\n app.http('get', 'index').then(res => {\n if (res.data.success) {\n res.data.data.recommendActivity.content.forEach(item => {\n item.activityStartTime = util.getWeek(item.activityStartTime);\n });\n this.setData({\n demandList: res.data.data.demandList,\n resourcesList: res.data.data.resourcesDtos,\n cagetoryList: res.data.data.cagetoryDtos,\n recommendActivity: res.data.data.recommendActivity.content\n }); //隐藏导航条加载动画\n uni.hideNavigationBarLoading(); //停止下拉刷新\n uni.stopPullDownRefresh();\n }\n });\n },\n\n toResourcesDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/resourcesDetail/index?id=' + id\n });\n },\n\n toCompanyDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/companyDetail/index?id=' + id\n });\n },\n\n toNeedDetail(e) {\n let id = e.currentTarget.dataset.id;\n uni.navigateTo({\n url: '/pages/demandHall/needsDetail/index?id=' + id\n });\n },\n\n getLocation() {\n let vm = this;\n uni.getLocation({\n type: 'wgs84',\n success: function (res) {\n // console.log(JSON.stringify(res))\n var latitude = res.latitude;\n var longitude = res.longitude;\n var speed = res.speed;\n var accuracy = res.accuracy;\n vm.getLocal(latitude, longitude);\n },\n fail: function (res) {\n console.log('fail' + JSON.stringify(res));\n }\n });\n },\n\n // 获取当前地理位置\n getLocal: function (latitude, longitude) {\n let vm = this;\n qqmapsdk.reverseGeocoder({\n location: {\n latitude: latitude,\n longitude: longitude\n },\n success: function (res) {\n // console.log(JSON.stringify(res));\n let province = res.result.ad_info.province;\n let city = res.result.ad_info.city;\n vm.setData({\n province: province,\n city: city,\n latitude: latitude,\n longitude: longitude\n }); // console.log(city)\n },\n fail: function (res) {\n console.log(res);\n },\n complete: function (res) {// console.log(res);\n }\n });\n }\n }\n};\r\n</script>\r\n<style>\r\n\r\n.home-page{\r\n padding-bottom: 190rpx;\r\n}\r\n.top-bg-box{\r\n width: 750rpx;\r\n height: 420rpx;\r\n}\r\n.top-bg-box image{\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.page-top-box{\r\n width: 100%;\r\n height: 598rpx;\r\n position: relative;\r\n}\r\n.page-title{\r\n width: 100%;\r\n color: #fff;\r\n text-align: center;\r\n position: relative;\r\n}\r\n.top-bg{\r\n width: 100%;\r\n height: 598rpx;\r\n position: absolute;\r\n}\r\n.top-box-content{\r\n position: relative;\r\n}\r\n.search-box{\r\n color: #fff;\r\n font-size: 32rpx;\r\n padding: 0 60rpx 0 40rpx;\r\n}\r\n.localtion-box image{\r\n width: 26rpx;\r\n height: 31rpx;\r\n margin-right: 10rpx;\r\n}\r\n.search{\r\n width: 448rpx;\r\n height: 68rpx;\r\n font-size: 28rpx;\r\n padding: 16rpx 20rpx;\r\n background: rgba(255, 255, 255, 0.38);\r\n border-radius: 8rpx;\r\n}\r\n.search image{\r\n width: 35rpx;\r\n height: 35rpx;\r\n margin-right: 16rpx;\r\n}\r\n.message-icon{\r\n width: 36rpx;\r\n height: 36rpx;\r\n}\r\n.home-menu-box{\r\n width: 670rpx;\r\n height: 286rpx;\r\n background: #FFFFFF;\r\n box-shadow: 0px 6rpx 20rpx rgba(151, 69, 34, 0.28);\r\n border-radius: 12rpx;\r\n margin: 28rpx auto 0;\r\n padding: 42rpx;\r\n}\r\n.menu-list{\r\n color: #1D1D1D;\r\n font-size: 24rpx;\r\n}\r\n.menu-item{\r\n width: 20%;\r\n /* margin-right:16rpx; */\r\n margin-bottom: 34rpx;\r\n}\r\n.menu-item:nth-child(5n){\r\n margin-right: 0;\r\n}\r\n.menu-item image{\r\n width: 52rpx;\r\n height: 52rpx;\r\n}\r\n\r\n.investment-box{\r\n width: 100%;\r\n padding: 40rpx 0 0 40rpx;\r\n}\r\n.investment-title-box{\r\n width: 100%;\r\n padding-right: 40rpx;\r\n}\r\n.fz32{\r\n font-size: 32rpx;\r\n color: #1D1D1D;\r\n}\r\n.hot{\r\n width: 26rpx;\r\n height: 26rpx;\r\n text-align: center;\r\n line-height: 26rpx;\r\n background: linear-gradient(147deg, #FB7E4A 0%, #FF5100 100%);\r\n border-radius: 8rpx 0px 8rpx 0px;\r\n font-size: 18rpx;\r\n color: #fff;\r\n margin-left: 16rpx;\r\n}\r\n.more{\r\n font-size: 24rpx;\r\n color: #999999;\r\n}\r\n.more image{\r\n width: 9rpx;\r\n height: 16rpx;\r\n margin-left: 12rpx;\r\n margin-top: 2rpx;\r\n}\r\n.investement-list{\r\n width: 100%;\r\n margin-top: 34rpx;\r\n}\r\n.scroll-view_H{\r\n white-space: nowrap;\r\n width: 100%;\r\n}\r\n.investment-item{\r\n display: inline-block;\r\n width: 324rpx;\r\n height: 408rpx;\r\n margin-right:20rpx;\r\n box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.16);\r\n border-radius: 8rpx;\r\n position: relative;\r\n}\r\n.investment-item .item-bg{\r\n width: 324rpx;\r\n height: 408rpx;\r\n position: absolute;\r\n}\r\n.tips-box{\r\n position: relative;\r\n top: 20rpx;\r\n}\r\n.tips-item{\r\n padding: 6rpx 10rpx;\r\n line-height: 28rpx;\r\n font-size: 20rpx;\r\n color: #fff;\r\n background: rgba(255, 81, 0, 0.63);\r\n border-radius: 8rpx;\r\n margin-right: 14rpx;\r\n}\r\n.bg2{\r\n background: rgba(255, 170, 0, 0.63);\r\n}\r\n.item-info-box{\r\n width: 300rpx;\r\n height: 102rpx;\r\n background: rgba(255, 255, 255, 0.8);\r\n box-shadow: 0px 6rpx 12rpx rgba(0, 0, 0, 0.2);\r\n border-radius: 8rpx;\r\n position: absolute;\r\n bottom: 18rpx;\r\n left: 50%;\r\n margin-left: -150rpx;\r\n font-size: 22rpx;\r\n color: #404040;\r\n}\r\n.item-info-box image{\r\n width: 14rpx;\r\n height: 17rpx;\r\n margin: 0 12rpx 0 12rpx;\r\n}\r\n\r\n.welfare-box{\r\n width: 100%;\r\n padding-left: 40rpx;\r\n margin-top: 52rpx;\r\n}\r\n.welfare-title{\r\n font-size: 32rpx;\r\n color: #1D1D1D;\r\n margin-bottom: 38rpx;\r\n}\r\n.welfare-list-box{\r\n width: 100%;\r\n}\r\n.welfare-item{\r\n display: inline-block;\r\n margin-right: 6rpx;\r\n padding: 12rpx;\r\n}\r\n.item-box{\r\n width: 650rpx;\r\n height: 248rpx;\r\n background: #FFFFFF;\r\n box-shadow: 0px 0rpx 12rpx rgba(0, 0, 0, 0.16);\r\n padding: 22rpx 16rpx;\r\n border-radius: 12rpx;\r\n margin-bottom: 20rpx;\r\n position: relative;\r\n}\r\n.buy-btn{\r\n width: 144rpx;\r\n height: 52rpx;\r\n text-align: center;\r\n line-height: 52rpx;\r\n background: linear-gradient(315deg, #FB966C 0%, #FFC2AA 100%);\r\n border-radius: 12rpx;\r\n color: #fff;\r\n font-size: 24rpx;\r\n position: absolute;\r\n bottom: 30rpx;\r\n right: 30rpx;\r\n}\r\n.item-box image{\r\n width: 198rpx;\r\n height: 204rpx;\r\n margin-right: 12rpx;\r\n}\r\n.welfare-info-box{\r\n width: 394rpx;\r\n}\r\n.w-name{\r\n width: 390rpx;\r\n font-size: 28rpx;\r\n line-height: 40rpx;\r\n color: #1D1D1D;\r\n overflow: hidden;\r\n text-overflow: ellipsis; \r\n display: -webkit-box;\r\n -webkit-line-clamp: 3;\r\n -webkit-box-orient: vertical;\r\n}\r\n.w-address{\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n color: #707070;\r\n margin: 8rpx 0 14rpx;\r\n}\r\n.w-price{\r\n font-size: 28rpx;\r\n font-weight: bold;\r\n line-height: 40rpx;\r\n color: #FF7942;\r\n}\r\n.w-oldPrice{\r\n font-size: 20rpx;\r\n color: #BCBCBC;\r\n text-decoration: line-through;\r\n}\r\n\r\n.demandhall-box{\r\n width: 100%;\r\n padding: 40rpx;\r\n}\r\n.tabs-box{\r\n padding-left: 30rpx;\r\n padding-right: 12rpx;\r\n}\r\n.tab-item{\r\n font-size: 28rpx;\r\n color: #9C9C9C;\r\n padding-bottom: 8rpx;\r\n}\r\n.tab-item-a{\r\n color: #1D1D1D;\r\n border-bottom: 4rpx solid #FF7942;\r\n}\r\n.list-box{\r\n width: 100%;\r\n margin-top: 36rpx;\r\n}\r\n.item{\r\n width: 670rpx;\r\n background: #FFFFFF;\r\n box-shadow: 0px 6rpx 12rpx rgba(190, 190, 190, 0.3);\r\n border-radius: 12rpx;\r\n padding: 28rpx 20rpx 18rpx;\r\n margin-bottom: 32rpx;\r\n}\r\n.item-top{\r\n padding-bottom: 24rpx;\r\n position: relative;\r\n}\r\n.item-top .buy-btn{\r\n right: 0;\r\n}\r\n.project-name{\r\n width: 400rpx;\r\n font-size: 32rpx;\r\n font-weight: 500;\r\n line-height: 58rpx;\r\n color: #1D1D1D;\r\n}\r\n.tags-box2{\r\n margin-top: 12rpx;\r\n}\r\n.price{\r\n color: #FF5100;\r\n font-size: 28rpx;\r\n position: absolute;\r\n top: 0;\r\n right: 0rpx;\r\n}\r\n.tag{\r\n color: #74BDF7;\r\n font-size: 20rpx;\r\n line-height: 28rpx;\r\n margin: 12rpx 0 20rpx;\r\n}\r\n.desc{\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n color: #666666;\r\n margin-top: 8rpx;\r\n}\r\n.company-box{\r\n padding-top: 12rpx;\r\n position: relative;\r\n border-top: 2rpx solid #ECECEC;\r\n}\r\n.company-box image{\r\n width: 128rpx;\r\n height: 128rpx;\r\n border-radius: 8rpx;\r\n border: 2rpx solid #EEEEEE;\r\n}\r\n.fz28{\r\n font-size: 28rpx;\r\n line-height: 40rpx;\r\n color: #1D1D1D;\r\n}\r\n.fz24{\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n}\r\n.fz20{\r\n font-size: 20rpx;\r\n line-height: 28rpx;\r\n}\r\n.company-info{\r\n margin-left: 12rpx;\r\n}\r\n.item-top .buy-btn{\r\n top: 0;\r\n}\r\n.into-btn{\r\n font-size: 20rpx;\r\n color: #FF5100;\r\n width: 144rpx;\r\n height: 40rpx;\r\n border: 1rpx solid #FF5100;\r\n opacity: 1;\r\n border-radius: 20rpx;\r\n position: absolute;\r\n top: 18rpx;\r\n right: 0rpx;\r\n}\r\n.into-btn image{\r\n width: 21rpx;\r\n height: 19rpx;\r\n margin-right: 6rpx;\r\n}\r\n.tag-item{\r\n width: 112rpx;\r\n height: 36rpx;\r\n line-height: 34rpx;\r\n text-align: center;\r\n border: 1rpx solid #FFAA00;\r\n color: #FFAA00;\r\n border-radius: 4rpx;\r\n margin-right: 8rpx;\r\n}\r\n.bgG{\r\n border: 1rpx solid #3A9EFA;\r\n color: #3A9EFA;\r\n}\r\n.bgO{\r\n border: 1rpx solid #FC9367;\r\n color: #FC9367;\r\n}\r\n.to-demandhall{\r\n font-size: 28rpx;\r\n color: #A7A7A7;\r\n margin-bottom: 28rpx;\r\n}\r\n.to-demandhall image{\r\n width: 13rpx;\r\n height: 23rpx;\r\n margin-left: 15rpx;\r\n}\r\n\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1634867347979\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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 ","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-filter-loader\\\\index.js!./subutil.wxs?vue&type=custom&index=0&blockType=script&issuerPath=F%3A%5Czhaoshang%5CzhaoshangMiniApp_uni%5Cpages%5Chome%5Cindex.vue&module=spl&lang=wxs\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-filter-loader\\\\index.js!./subutil.wxs?vue&type=custom&index=0&blockType=script&issuerPath=F%3A%5Czhaoshang%5CzhaoshangMiniApp_uni%5Cpages%5Chome%5Cindex.vue&module=spl&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n \n }"],"sourceRoot":""} |